aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
diff options
context:
space:
mode:
authorChristian König <[email protected]>2021-01-15 13:32:39 +0000
committerChristian König <[email protected]>2021-01-20 14:05:45 +0000
commit7621350c6bb20fb6ab7eb988833ab96eac3dcbef (patch)
tree24929d0358a69f7b0a0f65cfa09b41b4687c2ed8 /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
parentdrm/ttm: optimize ttm pool shrinker a bit (diff)
downloadkernel-7621350c6bb20fb6ab7eb988833ab96eac3dcbef.tar.gz
kernel-7621350c6bb20fb6ab7eb988833ab96eac3dcbef.zip
drm/syncobj: make lockdep complain on WAIT_FOR_SUBMIT v3
DRM_SYNCOBJ_WAIT_FLAGS_WAIT_FOR_SUBMIT can't be used when we hold locks since we are basically waiting for userspace to do something. Holding a lock while doing so can trivial deadlock with page faults etc... So make lockdep complain when a driver tries to do this. v2: Add lockdep_assert_none_held() macro. v3: Add might_sleep() and also use lockdep_assert_none_held() in the IOCTL path. Signed-off-by: Christian König <[email protected]> Reviewed-by: Daniel Vetter <[email protected]> Acked-by: Peter Zijlstra (Intel) <[email protected]> Link: https://patchwork.freedesktop.org/patch/414944/
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c')
0 files changed, 0 insertions, 0 deletions