aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.h
diff options
context:
space:
mode:
authorYong Zhao <[email protected]>2019-09-24 21:23:12 +0000
committerAlex Deucher <[email protected]>2019-10-03 14:11:05 +0000
commite7956997b1e601781d110918c64d43c36cfb6993 (patch)
treea467d4742c45fb7ec41094bab960f4147d3de65e /drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.h
parentdrm/amdgpu: Add the HDP flush support for Navi (diff)
downloadkernel-e7956997b1e601781d110918c64d43c36cfb6993.tar.gz
kernel-e7956997b1e601781d110918c64d43c36cfb6993.zip
drm/amdgpu: Export setup_vm_pt_regs() logic for mmhub 2.0
The KFD code will call this function later. Signed-off-by: Yong Zhao <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.h b/drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.h
index db16f3ece218..3ea4344f0315 100644
--- a/drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.h
+++ b/drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.h
@@ -31,5 +31,7 @@ void mmhub_v2_0_init(struct amdgpu_device *adev);
int mmhub_v2_0_set_clockgating(struct amdgpu_device *adev,
enum amd_clockgating_state state);
void mmhub_v2_0_get_clockgating(struct amdgpu_device *adev, u32 *flags);
+void mmhub_v2_0_setup_vm_pt_regs(struct amdgpu_device *adev, uint32_t vmid,
+ uint64_t page_table_base);
#endif