]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix issue with overlapping userptrs
authorChristian König <christian.koenig@amd.com>
Mon, 8 Feb 2016 09:57:22 +0000 (10:57 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Feb 2016 19:16:43 +0000 (14:16 -0500)
commitcf57216f8849734bf90c5c4cc05a64fa15ea3132
tree5688e0d3eaed9d4fdf404dfe6bfbe5a1c2a9be19
parent947ca4dc25d14438602c5ed2f2e49d7621441d33
drm/amdgpu: fix issue with overlapping userptrs

Otherwise we could try to evict overlapping userptr BOs in get_user_pages(),
leading to a possible circular locking dependency.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c