aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorMaarten Lankhorst <[email protected]>2020-11-24 11:57:07 +0000
committerMaarten Lankhorst <[email protected]>2020-11-25 09:48:28 +0000
commitbf8975837dac156c33a4d15d46602700998cb6dd (patch)
tree7bac66a93ef0397f6ca4eb738f56c739b5aa1b7b /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentpanel-simple: add Innolux N125HCE-GN1 (diff)
downloadkernel-bf8975837dac156c33a4d15d46602700998cb6dd.tar.gz
kernel-bf8975837dac156c33a4d15d46602700998cb6dd.zip
dma-buf/dma-resv: Respect num_fences when initializing the shared fence list.
We hardcode the maximum number of shared fences to 4, instead of respecting num_fences. Use a minimum of 4, but more if num_fences is higher. This seems to have been an oversight when first implementing the api. Fixes: 04a5faa8cbe5 ("reservation: update api and add some helpers") Cc: <[email protected]> # v3.17+ Reported-by: Niranjana Vishwanathapura <[email protected]> Signed-off-by: Maarten Lankhorst <[email protected]> Reviewed-by: Thomas Hellström <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions