aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2019-09-12 12:56:34 +0000
committerLinus Torvalds <[email protected]>2019-09-12 13:55:03 +0000
commit505a8ec7e11ae5236c4a154a1e24ef49a8349600 (patch)
tree9d1fac93a7f0a94710763bc2ef19ff4e623ca262 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentMerge tag 'for-linus-20190912' of gitolite.kernel.org:pub/scm/linux/kernel/gi... (diff)
downloadkernel-505a8ec7e11ae5236c4a154a1e24ef49a8349600.tar.gz
kernel-505a8ec7e11ae5236c4a154a1e24ef49a8349600.zip
Revert "drm/i915/userptr: Acquire the page lock around set_page_dirty()"
The userptr put_pages can be called from inside try_to_unmap, and so enters with the page lock held on one of the object's backing pages. We cannot take the page lock ourselves for fear of recursion. Reported-by: Lionel Landwerlin <[email protected]> Reported-by: Martin Wilck <[email protected]> Reported-by: Leo Kraav <[email protected]> Fixes: aa56a292ce62 ("drm/i915/userptr: Acquire the page lock around set_page_dirty()") References: https://bugzilla.kernel.org/show_bug.cgi?id=203317 Signed-off-by: Chris Wilson <[email protected]> Cc: Tvrtko Ursulin <[email protected]> Cc: Jani Nikula <[email protected]> Cc: Joonas Lahtinen <[email protected]> Cc: [email protected] Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions