]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb782b4f62075739dcaae953bee3ba0724aa61d9a
treec2d63a127f6abcd8da692f9bb6a8bcb9a5b72ead
parentd13d645db19ce058e74cd17fd1021c464a2cb11d
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