aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
diff options
context:
space:
mode:
authorFrediano Ziglio <[email protected]>2015-09-24 13:18:22 +0000
committerDave Airlie <[email protected]>2015-10-07 05:33:45 +0000
commit266424b5377ed1c3033d97ed5bc4fca7d89921a1 (patch)
tree19c0707944021d1ef05edf5e727eee66769fe2c2 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
parentdrm/qxl: avoid buffer reservation in qxl_crtc_page_flip (diff)
downloadkernel-266424b5377ed1c3033d97ed5bc4fca7d89921a1.tar.gz
kernel-266424b5377ed1c3033d97ed5bc4fca7d89921a1.zip
drm/qxl: avoid dependency lock
qxl_bo_unref calls drm_gem_object_unreference_unlocked which locks dev->struct_mutex. However this lock could be already locked if the call came from qxl_gem_object_free. As we don't need to call qxl_bo_ref/qxl_bo_unref cause qxl_release_list_add will hold a reference by itself avoid to call them and the possible deadlock. Signed-off-by: Frediano Ziglio <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions