drm/amdgpu: Expose *_setup_vm_pt_regs for kfd to use
authorYong Zhao <Yong.Zhao@amd.com>
Fri, 12 Oct 2018 19:22:46 +0000 (15:22 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Nov 2018 19:21:06 +0000 (14:21 -0500)
commitc7ff7be62bc25864dd4571763a8ba76d6270e6ce
tree733549419ebe9ec73788a3df9a6137c293b06d60
parentf4f859408cad43c4b7c1ae91d87dbe33929bc8e2
drm/amdgpu: Expose *_setup_vm_pt_regs for kfd to use

kfd has the same need to set the VM page table base register, so expose
them for kfd to use for better maintainability.

Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.h
drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c