drm/amdgpu: reserve root PD while releasing it
authorChristian König <christian.koenig@amd.com>
Fri, 13 Oct 2017 15:24:31 +0000 (17:24 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 19 Oct 2017 19:27:11 +0000 (15:27 -0400)
commit2642cf110d08a403f585a051e4cbf45a90b3adea
treec2d63a127f6abcd8da692f9bb6a8bcb9a5b72ead
parent5c42c64f7d54ba560b0b001e4e73e4a1aeed1355
drm/amdgpu: reserve root PD while releasing it

Otherwise somebody could try to evict it at the same time and try to use
half torn down structures.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-and-Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c