summaryrefslogtreecommitdiffstats
path: root/drivers/virt
diff options
context:
space:
mode:
authorDarren Powell <darren.powell@amd.com>2021-05-26 17:31:16 -0400
committerAlex Deucher <alexander.deucher@amd.com>2021-06-08 12:13:56 -0400
commit4f9cbeb317bd4684129b5190f452607ea85aa9d0 (patch)
treeb869fff0997a52874c5a67a17030a449460f730b /drivers/virt
parent04bec52127b131b828e0305e02366e64969c5efc (diff)
downloadlinux-4f9cbeb317bd4684129b5190f452607ea85aa9d0.tar.bz2
amdgpu/pm: modify and add smu_get_power_limit to Powerplay API
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>
Diffstat (limited to 'drivers/virt')
0 files changed, 0 insertions, 0 deletions