summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
diff options
context:
space:
mode:
authorRex Zhu2018-04-10 04:58:43 +0200
committerAlex Deucher2018-05-15 20:43:07 +0200
commit45313e5f1c72962a21df58af52a421e4c076b2d4 (patch)
treebf5a96e2a088fb99988a2891cc751c17c9c1f728 /drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
parentdrm/amd/display: remove dummy is_blanked() to optimise boot time (diff)
downloadkernel-qcow2-linux-45313e5f1c72962a21df58af52a421e4c076b2d4.tar.gz
kernel-qcow2-linux-45313e5f1c72962a21df58af52a421e4c076b2d4.tar.xz
kernel-qcow2-linux-45313e5f1c72962a21df58af52a421e4c076b2d4.zip
drm/amd/pp: Move same macro definitions to hwmgr.h
Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c')
-rw-r--r--drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
index 14332159227e..21c021ba0f49 100644
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
@@ -61,10 +61,6 @@
#define SMC_CG_IND_START 0xc0030000
#define SMC_CG_IND_END 0xc0040000
-#define VOLTAGE_SCALE 4
-#define VOLTAGE_VID_OFFSET_SCALE1 625
-#define VOLTAGE_VID_OFFSET_SCALE2 100
-
#define MEM_FREQ_LOW_LATENCY 25000
#define MEM_FREQ_HIGH_LATENCY 80000