drm/amdgpu: add support for per VM BOs v2
authorChristian König <christian.koenig@amd.com>
Wed, 16 Aug 2017 09:13:48 +0000 (11:13 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 31 Aug 2017 17:46:26 +0000 (13:46 -0400)
commit73fb16e7ebee12953de32a7a2552e0cf2bf74ebf
treeb34d1547d41f98758a12d1ca1fcc17199da0f201
parent4f5839c56ec38e2f8fcc59ca0e01defa8702987b
drm/amdgpu: add support for per VM BOs v2

Per VM BOs are handled like VM PDs and PTs. They are always valid and don't
need to be specified in the BO lists.

v2: validate PDs/PTs first

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_cs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h