drm/amdgpu: add some lockdep checks to the VM code
authorChristian König <christian.koenig@amd.com>
Tue, 1 Feb 2022 15:21:04 +0000 (16:21 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Feb 2022 22:13:52 +0000 (17:13 -0500)
commit2d022081b333a7f15ba27607696d4a41a7a2b5f9
tree4d0dff31ebf4bd1200c9a5d5cfdc2b1118ac0c76
parent7e2ec174945fa98048b39baf2a87973eddca3241
drm/amdgpu: add some lockdep checks to the VM code

Whenever a bo_va structure is added or removed the VM and eventually
added BO should be locked.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c