linux/drivers/gpu/drm/amd/powerplay/inc
Rex Zhu c5a4484941 drm/amd/pp: Add OVERDRIVE support on Vega10 (v2)
when bit14 in module parameter ppfeaturemask was set.
od feature will be enabled on Vega10 except vbios not support.

user can read od range by reading sysfs pp_od_clk_voltage,
cat pp_od_clk_voltage
OD_SCLK:
0:        852Mhz        800mV
1:        991Mhz        900mV
2:       1138Mhz        950mV
3:       1269Mhz       1000mV
4:       1348Mhz       1050mV
5:       1399Mhz       1100mV
6:       1440Mhz       1150mV
7:       1500Mhz       1200mV
OD_MCLK:
0:        167Mhz        800mV
1:        500Mhz        800mV
2:        800Mhz        950mV
3:        945Mhz       1000mV
OD_RANGE:
SCLK:     852MHz       2200MHz
MCLK:     167MHz       1500MHz
VDDC:     800mV        1200mV

and can configure the clock/voltage by writing pp_od_clk_voltage
for example:

echo "s 0 900 820">pp_od_clk_voltage to change the sclk/vddc
to 900MHz and 820 mV in dpm level0.

echo "r" to change the clk/voltage to  default value.

echo "c">pp_od_clk_voltage
to commit the change

v2: squash in warning fix (Alex)

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>
2018-05-15 13:43:52 -05:00
..
vega12 drm/amd/powerplay: header file interface to SMU update 2018-05-15 13:43:34 -05:00
amd_powerplay.h drm/amd/pp: Simplify the create of powerplay instance 2018-03-05 15:38:12 -05:00
cz_ppsmc.h
fiji_ppsmc.h
hardwaremanager.h drm/amd/pp: Add OVERDRIVE support on Vega10 (v2) 2018-05-15 13:43:52 -05:00
hwmgr.h drm/amd/powerplay: add gfx off control function 2018-05-15 13:43:39 -05:00
polaris10_pwrvirus.h amdgpu/pp: rewrite polaris pwrvirus upload code. 2017-09-29 12:24:40 -04:00
power_state.h drm/amd/powerplay: correct PP_TemperatureRange member type since negative values are part of the valid range 2018-02-19 14:17:05 -05:00
pp_debug.h drm/amd/powerplay: added didt support for vega10 2017-07-14 11:06:26 -04:00
pp_endian.h drm/amd/powerplay: add a common pp endian header 2016-03-14 13:35:03 -04:00
pp_power_source.h
pp_thermal.h drm/amd/powerplay: export the thermal ranges of VI asics (V2) 2018-02-19 14:17:08 -05:00
ppinterrupt.h
rv_ppsmc.h drm/amd/powerplay: send CGPG smc message if PG is enabled for raven 2018-05-15 13:43:38 -05:00
smu7_common.h drm/amd/powerplay: implement smu7 hwmgr to manager asics with smu ip version 7. 2016-09-19 13:22:10 -04:00
smu7_discrete.h drm/amd/pp: Implement voltage regulator config on CI 2018-02-19 14:17:50 -05:00
smu7_fusion.h
smu7_ppsmc.h drm/amdgpu/powerplay: enable LEDs on Fiji boards 2017-03-29 23:53:20 -04:00
smu7.h drm/amd/pp: Implement voltage regulator config on CI 2018-02-19 14:17:50 -05:00
smu8_fusion.h
smu8.h
smu9_driver_if.h drm/amd/powerplay: ACG frequency added in PPTable 2017-08-29 15:27:42 -04:00
smu9.h drm/amd/pp: Export new smu message for PCC feature on Vega10 2018-03-05 15:39:12 -05:00
smu10_driver_if.h drm/amdgpu/powerplay: add header file for smu10. (v2) 2017-05-24 17:41:49 -04:00
smu10.h drm/amdgpu/powerplay: add header file for smu10. (v2) 2017-05-24 17:41:49 -04:00
smu71_discrete.h drm/amd/powerplay: add SMU71 header files for iceland (v2) 2016-08-08 11:32:22 -04:00
smu71.h drm/amd/powerplay: add SMU71 header files for iceland (v2) 2016-08-08 11:32:22 -04:00
smu72_discrete.h drm/amdgpu: add license to files where it was missing 2017-12-07 11:51:25 -05:00
smu72.h drm/amdgpu: add license to files where it was missing 2017-12-07 11:51:25 -05:00
smu73_discrete.h
smu73.h
smu74_discrete.h drm/amd/powerplay: add some definition for FFC feature on polaris. 2016-06-23 14:14:12 -04:00
smu74.h drm/amd/powerplay: add avfs related define for polaris 2016-06-21 10:22:40 -04:00
smu_ucode_xfer_cz.h drm/amdgpu: add missing licenses on a couple of files 2016-05-11 12:31:22 -04:00
smu_ucode_xfer_vi.h drm/amd/powerplay: Add smc_sk firmware to baffin & ellesmere. 2016-05-04 20:26:26 -04:00
smumgr.h drm/amd/pp: Move functions to smu backend table for vega10 2018-03-19 13:35:30 -05:00
tonga_ppsmc.h
vega10_ppsmc.h drm/amd/pp: fix the wrong readout engine clock in deep sleep 2018-05-15 13:43:04 -05:00
vega12_ppsmc.h drm/amd/powerplay: add vega12_ppsmc.h 2018-03-21 14:36:54 -05:00