diff options
author | Yong Zhao <Yong.Zhao@amd.com> | 2019-12-03 07:12:10 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-12-03 19:08:24 +0300 |
commit | 6dcab16b4118b3ef3bcefdf67d7c010aeb90a644 (patch) | |
tree | 2901306f0bc2460c1cea5ccecf3697ec2dac94ba /drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.h | |
parent | f275cde7066a27ab7afa0a1d95390dbf237726a2 (diff) | |
download | linux-6dcab16b4118b3ef3bcefdf67d7c010aeb90a644.tar.xz |
drm/amdkfd: Contain MMHUB number in mmhub_v9_4_setup_vm_pt_regs()
Adjust the exposed function prototype so that the caller does not need
to know the MMHUB number.
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_v9_4.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.h b/drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.h index 354a4b7e875b..1b979773776c 100644 --- a/drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.h +++ b/drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.h @@ -34,5 +34,7 @@ void mmhub_v9_4_init(struct amdgpu_device *adev); int mmhub_v9_4_set_clockgating(struct amdgpu_device *adev, enum amd_clockgating_state state); void mmhub_v9_4_get_clockgating(struct amdgpu_device *adev, u32 *flags); +void mmhub_v9_4_setup_vm_pt_regs(struct amdgpu_device *adev, uint32_t vmid, + uint64_t page_table_base); #endif |