mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2026-01-08 09:50:03 +00:00
modify args of smu_get_power_limit to match Powerplay API .get_power_limit
add smu_get_power_limit to Powerplay API swsmu_pm_funcs
remove special handling of smu in amdgpu_hwmon_show_power_cap*
* Test
AMDGPU_PCI_ADDR=`lspci -nn | grep "VGA\|Display" | cut -d " " -f 1`
AMDGPU_HWMON=`ls -la /sys/class/hwmon | grep $AMDGPU_PCI_ADDR | cut -d " " -f 11`
HWMON_DIR=/sys/class/hwmon/${AMDGPU_HWMON}
lspci -nn | grep "VGA\|Display" ; \
echo "=== power1 cap ===" ; cat $HWMON_DIR/power1_cap ; \
echo "=== power1 cap max ===" ; cat $HWMON_DIR/power1_cap_max ; \
echo "=== power1 cap def ===" ; cat $HWMON_DIR/power1_cap_default
Signed-off-by: Darren Powell <darren.powell@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
|
||
|---|---|---|
| .. | ||
| vega12 | ||
| aldebaran_ppsmc.h | ||
| amd_powerplay.h | ||
| amdgpu_dpm.h | ||
| amdgpu_pm.h | ||
| amdgpu_smu.h | ||
| arcturus_ppsmc.h | ||
| cz_ppsmc.h | ||
| fiji_ppsmc.h | ||
| hardwaremanager.h | ||
| hwmgr.h | ||
| polaris10_pwrvirus.h | ||
| power_state.h | ||
| pp_debug.h | ||
| pp_endian.h | ||
| pp_thermal.h | ||
| ppinterrupt.h | ||
| rv_ppsmc.h | ||
| smu7_common.h | ||
| smu7_discrete.h | ||
| smu7_fusion.h | ||
| smu7_ppsmc.h | ||
| smu7.h | ||
| smu8_fusion.h | ||
| smu8.h | ||
| smu9_driver_if.h | ||
| smu9.h | ||
| smu10_driver_if.h | ||
| smu10.h | ||
| smu11_driver_if_arcturus.h | ||
| smu11_driver_if_navi10.h | ||
| smu11_driver_if_sienna_cichlid.h | ||
| smu11_driver_if_vangogh.h | ||
| smu11_driver_if.h | ||
| smu12_driver_if.h | ||
| smu13_driver_if_aldebaran.h | ||
| smu13_driver_if_yellow_carp.h | ||
| smu71_discrete.h | ||
| smu71.h | ||
| smu72_discrete.h | ||
| smu72.h | ||
| smu73_discrete.h | ||
| smu73.h | ||
| smu74_discrete.h | ||
| smu74.h | ||
| smu75_discrete.h | ||
| smu75.h | ||
| smu_11_0_cdr_table.h | ||
| smu_types.h | ||
| smu_ucode_xfer_cz.h | ||
| smu_ucode_xfer_vi.h | ||
| smu_v11_0_7_ppsmc.h | ||
| smu_v11_0_7_pptable.h | ||
| smu_v11_0_ppsmc.h | ||
| smu_v11_0_pptable.h | ||
| smu_v11_0.h | ||
| smu_v11_5_pmfw.h | ||
| smu_v11_5_ppsmc.h | ||
| smu_v12_0_ppsmc.h | ||
| smu_v12_0.h | ||
| smu_v13_0_1_pmfw.h | ||
| smu_v13_0_1_ppsmc.h | ||
| smu_v13_0_1.h | ||
| smu_v13_0_pptable.h | ||
| smu_v13_0.h | ||
| smumgr.h | ||
| tonga_ppsmc.h | ||
| vega10_ppsmc.h | ||
| vega12_ppsmc.h | ||
| vega20_ppsmc.h | ||