summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/nid.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2012-12-14 20:57:36 +0400
committerAlex Deucher <alexander.deucher@amd.com>2013-06-27 18:49:17 +0400
commit29a152218980fee821da952cb4edea2e3231ee0c (patch)
treeabef5398674ab0eeaef42e8a4bb2c68043d73c4a /drivers/gpu/drm/radeon/nid.h
parent6bd1c3853210e36569601096e2344f8258fd516d (diff)
downloadlinux-29a152218980fee821da952cb4edea2e3231ee0c.tar.xz
drm/radeon: add support for thermal sensor on tn
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/nid.h')
-rw-r--r--drivers/gpu/drm/radeon/nid.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/nid.h b/drivers/gpu/drm/radeon/nid.h
index e226faf16fea..7b8da5214729 100644
--- a/drivers/gpu/drm/radeon/nid.h
+++ b/drivers/gpu/drm/radeon/nid.h
@@ -489,6 +489,9 @@
# define CACHE_FLUSH_AND_INV_EVENT_TS (0x14 << 0)
# define CACHE_FLUSH_AND_INV_EVENT (0x16 << 0)
+/* TN SMU registers */
+#define TN_CURRENT_GNB_TEMP 0x1F390
+
/*
* UVD
*/