drm/amdgpu: prevent get_user_pages recursion
authorChristian König <christian.koenig@amd.com>
Thu, 3 Mar 2016 13:24:57 +0000 (14:24 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 8 Mar 2016 16:01:46 +0000 (11:01 -0500)
commit637dd3b5ca9e0d38b046f04e97a1d2f7523e7e25
tree6986a05d8ae674d2b2bcae6fb0ccbf2a198971d8
parent211dff5518d938d0c11205af3113d2c7a292dd98
drm/amdgpu: prevent get_user_pages recursion

Remember the tasks which are inside get_user_pages()
and ignore MMU callbacks from there.

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