aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorChristian König <[email protected]>2024-05-29 08:43:22 +0000
committerChristian König <[email protected]>2024-05-31 08:12:52 +0000
commitc9402efe492bb46ccbf94fedc4783eb8f8747567 (patch)
tree9e13353300e31e6340b00c6a11cdae66ab57f762 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentdrm/ci: validate drm/msm XML register files against schema (diff)
downloadkernel-c9402efe492bb46ccbf94fedc4783eb8f8747567.tar.gz
kernel-c9402efe492bb46ccbf94fedc4783eb8f8747567.zip
dma-buf: add a warning when drv try to reserve 0 fence slots
When dma_resv_reserve_fences() is called with num_fences=0 it usually means that a driver or other component messed up its calculation how many fences are needed. Warn in that situation. When no fence are needed the function shouldn't be called in the first place. Signed-off-by: Christian König <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Matthew Auld <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions