drm/amdgpu: make set_prt callback optional and fix error handling
authorChristian König <christian.koenig@amd.com>
Mon, 13 Mar 2017 09:13:36 +0000 (10:13 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:53:59 +0000 (23:53 -0400)
commit4388fc2ab0e83fd6247c48c7e97064cc75511848
treeaaed2442332d9ecfe63488799b40db40184405db
parentd319c2bcc6b5d716e10f5cb3efe0adf43d3b06ed
drm/amdgpu: make set_prt callback optional and fix error handling

PRT support is completely implemented now and we left it
turned on accidentially in the error path.

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