Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Rex Zhu and committed by
Alex Deucher
8e9fc800 6391b6ab

-13
-13
drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c
··· 98 98 #define PCIE_BUS_CLK 10000 99 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 101 /** Values for the CG_THERMAL_CTRL::DPM_EVENT_SRC field. */ 115 102 enum DPM_EVENT_SRC { 116 103 DPM_EVENT_SRC_ANALOG = 0,