]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: separate per VM BOs from normal in the moved state
authorChristian König <christian.koenig@amd.com>
Sat, 1 Sep 2018 11:25:31 +0000 (13:25 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Sep 2018 03:40:16 +0000 (22:40 -0500)
commit952b7ab7ae2bc00356519b57aa5ec19e293f11cc
tree09c6ad6e42350dbe3d4bf5faeb66b828e0e03f7b
parenta737d64118acd7ea77a43f39ada455365a6d10b9
drm/amdgpu: separate per VM BOs from normal in the moved state

Allows us to avoid taking the spinlock in more places.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h