mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-07-08 00:23:23 -04:00
This is supported by Sienna Cichlid, Navy Flounder and Dimgrey Cavefish. For these ASICs, the target voltage calculation can be illustrated by "voltage = voltage calculated from v/f curve + overdrive vddgfx offset". V2: limit the smu_version check for Sienna Cichlid only Here are some sample usages about this new OD setting: 1. Check current vddgfx offset setting by cat /sys/class/drm/card0/device/pp_od_clk_voltage ... ... OD_VDDGFX_OFFSET: 0mV ... ... 2. Set new vddgfx offset by echo "vo 10" > /sys/class/drm/card0/device/pp_od_clk_voltage cat /sys/class/drm/card0/device/pp_od_clk_voltage ... ... OD_VDDGFX_OFFSET: 10mV ... ... 3. Commit the new setting by echo "c" > /sys/class/drm/card0/device/pp_od_clk_voltage Signed-off-by: Evan Quan <evan.quan@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> |
||
---|---|---|
.. | ||
asic_reg | ||
ivsrcid | ||
amd_acpi.h | ||
amd_pcie.h | ||
amd_pcie_helpers.h | ||
amd_shared.h | ||
arct_ip_offset.h | ||
atom-bits.h | ||
atom-names.h | ||
atom-types.h | ||
atombios.h | ||
atomfirmware.h | ||
atomfirmwareid.h | ||
cgs_common.h | ||
cik_structs.h | ||
dimgrey_cavefish_ip_offset.h | ||
discovery.h | ||
displayobject.h | ||
dm_pp_interface.h | ||
kgd_kfd_interface.h | ||
kgd_pp_interface.h | ||
navi10_enum.h | ||
navi10_ip_offset.h | ||
navi12_ip_offset.h | ||
navi14_ip_offset.h | ||
pptable.h | ||
renoir_ip_offset.h | ||
sienna_cichlid_ip_offset.h | ||
soc15_hw_ip.h | ||
soc15_ih_clientid.h | ||
v9_structs.h | ||
v10_structs.h | ||
vangogh_ip_offset.h | ||
vega10_enum.h | ||
vega10_ip_offset.h | ||
vega20_ip_offset.h | ||
vi_structs.h |