drm/amdgpu: Return EINVAL if no PT BO
authorHarish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Fri, 12 May 2017 02:39:31 +0000 (22:39 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 31 May 2017 18:16:37 +0000 (14:16 -0400)
commitcc28c4ed7e735fc09043054b22370202583f69c3
tree10c0c94fd26b1c04ad5fca2089a013e14bd6a8f0
parent92456b933cd257845587697a0875878849cef973
drm/amdgpu: Return EINVAL if no PT BO

This change is also useful for the upcoming changes where page tables
can be updated by CPU.

Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Reviewed-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