]> 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:07:52 +0000 (14:07 -0500)
commit5ae22195e4493fbf6cb5b7c4ba88252f2815ab12
tree40de20901e3f0d8b867d2682b6ed20d3a5e0f333
parent4b45456a4f175cdfc6e681b13c779d936313d3d6
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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c