diff options
author | Rex Zhu <Rex.Zhu@amd.com> | 2016-07-31 01:46:01 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-08-08 11:33:07 -0400 |
commit | 8e9fc800ec9e1a50a1fa7c38af8bf80d29dd85b4 (patch) | |
tree | fc519ffe84f4ea556ddb2aca6e160d35043bd5ab | |
parent | 6391b6ab3246fe23840ed3635b17ad83f0fd0942 (diff) |
drm/amd/powrplay: delete code no longer in use on Polaris.
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c index 7d552966de3e..98e01d17635a 100644 --- a/drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c | |||
@@ -98,19 +98,6 @@ | |||
98 | #define PCIE_BUS_CLK 10000 | 98 | #define PCIE_BUS_CLK 10000 |
99 | #define TCLK (PCIE_BUS_CLK / 10) | 99 | #define TCLK (PCIE_BUS_CLK / 10) |
100 | 100 | ||
101 | |||
102 | static const uint16_t polaris10_clock_stretcher_lookup_table[2][4] = | ||
103 | { {600, 1050, 3, 0}, {600, 1050, 6, 1} }; | ||
104 | |||
105 | /* [FF, SS] type, [] 4 voltage ranges, and [Floor Freq, Boundary Freq, VID min , VID max] */ | ||
106 | static const uint32_t polaris10_clock_stretcher_ddt_table[2][4][4] = | ||
107 | { { {265, 529, 120, 128}, {325, 650, 96, 119}, {430, 860, 32, 95}, {0, 0, 0, 31} }, | ||
108 | { {275, 550, 104, 112}, {319, 638, 96, 103}, {360, 720, 64, 95}, {384, 768, 32, 63} } }; | ||
109 | |||
110 | /* [Use_For_Low_freq] value, [0%, 5%, 10%, 7.14%, 14.28%, 20%] (coming from PWR_CKS_CNTL.stretch_amount reg spec) */ | ||
111 | static const uint8_t polaris10_clock_stretch_amount_conversion[2][6] = | ||
112 | { {0, 1, 3, 2, 4, 5}, {0, 2, 4, 5, 6, 5} }; | ||
113 | |||
114 | /** Values for the CG_THERMAL_CTRL::DPM_EVENT_SRC field. */ | 101 | /** Values for the CG_THERMAL_CTRL::DPM_EVENT_SRC field. */ |
115 | enum DPM_EVENT_SRC { | 102 | enum DPM_EVENT_SRC { |
116 | DPM_EVENT_SRC_ANALOG = 0, | 103 | DPM_EVENT_SRC_ANALOG = 0, |