aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/powerplay/navi10_ppt.h
diff options
context:
space:
mode:
authorKenneth Feng <kenneth.feng@amd.com>2019-11-12 16:27:11 +0800
committerAlex Deucher <alexander.deucher@amd.com>2019-11-13 15:29:42 -0500
commitfddbfb1c6503b5218cec4b2bfa71ebd8177d97ba (patch)
treea87a65381877048c6a951f915e311da51aa96fc3 /drivers/gpu/drm/amd/powerplay/navi10_ppt.h
parentdrm/amdgpu/smu_v11: Unify and fix power limits (diff)
downloadlinux-dev-fddbfb1c6503b5218cec4b2bfa71ebd8177d97ba.tar.xz
linux-dev-fddbfb1c6503b5218cec4b2bfa71ebd8177d97ba.zip
drm/amd/powerplay: read pcie speed/width info (v2)
sysfs interface to read pcie speed&width info on navi1x. v2: fix warning (trivial) Signed-off-by: Kenneth Feng <kenneth.feng@amd.com> Reviewed-by: Evan Quan <evan.quan@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/navi10_ppt.h')
-rw-r--r--drivers/gpu/drm/amd/powerplay/navi10_ppt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/navi10_ppt.h b/drivers/gpu/drm/amd/powerplay/navi10_ppt.h
index fd6dda1a67a1..ec03c7992f6d 100644
--- a/drivers/gpu/drm/amd/powerplay/navi10_ppt.h
+++ b/drivers/gpu/drm/amd/powerplay/navi10_ppt.h
@@ -35,6 +35,9 @@
#define NAVI10_VOLTAGE_SCALE (4)
+#define smnPCIE_LC_SPEED_CNTL 0x11140290
+#define smnPCIE_LC_LINK_WIDTH_CNTL 0x11140288
+
extern void navi10_set_ppt_funcs(struct smu_context *smu);
#endif