]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: reserve the pd while cleaning up PRTs
authorChristian König <christian.koenig@amd.com>
Mon, 7 Feb 2022 08:05:23 +0000 (09:05 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Feb 2022 23:03:50 +0000 (18:03 -0500)
commit8d3e0f7b8cb3198876a2a078be47e3b876c52a88
treee57a89b0c940d2a3fb79668a381f880660355f85
parentcdfd0dc362d8d2af785267119873b6950c4fd0ae
drm/amdgpu: reserve the pd while cleaning up PRTs

We want to have lockdep annotation here, so make sure that we reserve
the PD while removing PRTs even if it isn't strictly necessary since the
VM object is about to be destroyed anyway.

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_kms.c