summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.h
diff options
context:
space:
mode:
authorLe Ma <le.ma@amd.com>2019-08-09 18:57:15 +0800
committerAlex Deucher <alexander.deucher@amd.com>2019-08-12 12:47:49 -0500
commitcb15e8046d0df90deeec9ed79dc432043f11d07b (patch)
tree88e09852f37998b3990a16dfe7379d827410c479 /drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.h
parent15e2f43a72cfe2c122281e7872ad8eaa71387d98 (diff)
drm/amdgpu: add mmhub clock gating for Arcturus
Add 2 mmhub instances CG Signed-off-by: Le Ma <le.ma@amd.com> Reviewed-by: Kevin Wang <kevin1.wang@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.h3
1 files changed, 3 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 9ba3dd808826..d435cfcec1a8 100644
--- a/drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.h
+++ b/drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.h
@@ -29,5 +29,8 @@ void mmhub_v9_4_gart_disable(struct amdgpu_device *adev);
void mmhub_v9_4_set_fault_enable_default(struct amdgpu_device *adev,
bool value);
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);
#endif