summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h
diff options
context:
space:
mode:
authorEvan Quan <evan.quan@amd.com>2019-05-14 11:46:27 +0800
committerAlex Deucher <alexander.deucher@amd.com>2019-05-24 12:20:59 -0500
commit917048d132d736f31b1240d99287b9a2c6e524cd (patch)
tree7c48466963885d55460092695df3645d185f8bd2 /drivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h
parent986b21b8c88d7c2a862e774dd987120b1d8c89ed (diff)
downloadlinux-917048d132d736f31b1240d99287b9a2c6e524cd.tar.bz2
drm/amd/powerplay: support sw smu hotspot and memory temperature retrieval
Support hotspot and memory temperature retrieval on sw smu routine. Signed-off-by: Evan Quan <evan.quan@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/powerplay/inc/smu_v11_0.h')
-rw-r--r--drivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h b/drivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h
index aa8d81f4111e..02c965d64256 100644
--- a/drivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h
+++ b/drivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h
@@ -36,6 +36,9 @@
#define smnMP0_FW_INTF 0x30101c0
#define smnMP1_PUB_CTRL 0x3010b14
+#define TEMP_RANGE_MIN (0)
+#define TEMP_RANGE_MAX (80 * 1000)
+
struct smu_11_0_max_sustainable_clocks {
uint32_t display_clock;
uint32_t phy_clock;