summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.h
diff options
context:
space:
mode:
authorRex Zhu <Rex.Zhu@amd.com>2015-10-20 18:06:23 +0800
committerAlex Deucher <alexander.deucher@amd.com>2015-12-21 16:42:25 -0500
commit1e4854e96c356288a80a0dcd35aa8240df1156c3 (patch)
tree1ced1b0d88c8290b8a2012504588b2086fce9948 /drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.h
parent2dfea9cd1ffe3aacbf52a913257ab3adedfe1ac1 (diff)
downloadop-kernel-dev-1e4854e96c356288a80a0dcd35aa8240df1156c3.zip
op-kernel-dev-1e4854e96c356288a80a0dcd35aa8240df1156c3.tar.gz
drm/amdgpu/powerplay: implement thermal control for tonga.
Implement thermal and fan control for tonga. Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.h')
-rw-r--r--drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.h b/drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.h
index d773d12..44b985a 100644
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.h
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.h
@@ -426,6 +426,7 @@ int tonga_update_vce_dpm(struct pp_hwmgr *hwmgr, const void *input);
int tonga_update_uvd_dpm(struct pp_hwmgr *hwmgr, bool bgate);
int tonga_enable_disable_uvd_dpm(struct pp_hwmgr *hwmgr, bool enable);
int tonga_enable_disable_vce_dpm(struct pp_hwmgr *hwmgr, bool enable);
+uint32_t tonga_get_xclk(struct pp_hwmgr *hwmgr);
#endif
OpenPOWER on IntegriCloud