diff options
author | Yong Zhao <Yong.Zhao@amd.com> | 2019-09-25 00:23:12 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-10-03 17:11:05 +0300 |
commit | e7956997b1e601781d110918c64d43c36cfb6993 (patch) | |
tree | a467d4742c45fb7ec41094bab960f4147d3de65e /drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.h | |
parent | 923c087a1f1e51fd6534ad1e4c1650216423679e (diff) | |
download | linux-e7956997b1e601781d110918c64d43c36cfb6993.tar.xz |
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 <Yong.Zhao@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.h | 2 |
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 |