drm/amdgpu: validate the VM root PD from the VM code
authorChristian König <christian.koenig@amd.com>
Wed, 15 Aug 2018 17:10:40 +0000 (19:10 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:11:17 +0000 (11:11 -0500)
commit262b9c392e7dbe264b075fa5ad6a0de5a403da7a
treeeea6c7be9c387989ec8a3427925a1d656d7561c5
parent12938fad234a3924cc9b82080db4f62fe1cf52bb
drm/amdgpu: validate the VM root PD from the VM code

Preparation for following changes. This validates the root PD twice,
but the overhead of that should be minimal.

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