]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita245a0d106c7d38428ba701eba12a1fcd8373014
tree733549419ebe9ec73788a3df9a6137c293b06d60
parentc6f271c4a348e144128e5fc995f17c7503d1dfe5
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