linux/drivers/gpu/drm/amd/pm
Darren Powell a40a020de2 amdgpu/pm: clean up smu_get_power_limit function signature
add two new powerplay enums (limit_level, type)
 add enums to smu_get_power_limit signature
 remove input bitfield stuffing of output variable limit
 update calls to smu_get_power_limit

* 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>
2021-06-08 12:13:40 -04:00
..
inc amdgpu/pm: clean up smu_get_power_limit function signature 2021-06-08 12:13:40 -04:00
powerplay drm/amd/pm: Fix fall-through warning for Clang 2021-06-04 16:03:04 -04:00
swsmu amdgpu/pm: clean up smu_get_power_limit function signature 2021-06-08 12:13:40 -04:00
amdgpu_dpm.c drm/amd/pm: unify the interface for power gating 2021-04-09 16:46:46 -04:00
amdgpu_pm.c amdgpu/pm: clean up smu_get_power_limit function signature 2021-06-08 12:13:40 -04:00
Makefile drm/amd/swsmu: add aldebaran smu13 ip support (v3) 2021-03-23 22:54:24 -04:00