OSDN Git Service

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)
commitc12a2ee5d002e39a387001cdb5065b560568b4f5
tree09c6ad6e42350dbe3d4bf5faeb66b828e0e03f7b
parentc460f8a6f5918c2a8a2354a60b03a71310b943aa
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