]> git.itanic.dy.fi Git - linux-stable/commit
drm/amdgpu: move shadow bo validation to VM code
authorNirmoy Das <nirmoy.das@amd.com>
Tue, 25 May 2021 18:46:08 +0000 (20:46 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 2 Jun 2021 02:55:38 +0000 (22:55 -0400)
commit2a675640bc2db198866499cdc1cc28709a90d8c5
tree481ad0f14a97a312db1cec3b1109c37b2d97d7f0
parent6fdd6f4aa5c75aba87439cf9f3a9aaa95cd331f6
drm/amdgpu: move shadow bo validation to VM code

Do the shadow bo validation in the VM code as
VM code knows/owns shadow BOs.

Signed-off-by: Nirmoy Das <nirmoy.das@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c