linux/drivers/gpu/drm/amd/pm/swsmu
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
..
smu11 drm/amd/pm: Use generic BACO function for smu11 ASICs 2021-06-04 16:02:33 -04:00
smu12 drm/amdgpu/pm: display vcn pp dpm (v4) 2021-05-21 10:31:55 -04:00
smu13 drm/amd/pm: disable manually setting MCLK power level on yellow carp 2021-06-04 16:03:25 -04:00
amdgpu_smu.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
smu_cmn.c Merge tag 'amd-drm-next-5.14-2021-06-02' of https://gitlab.freedesktop.org/agd5f/linux into drm-next 2021-06-04 06:13:57 +10:00
smu_cmn.h drm/amd/pm: Modify mode2 msg sequence on aldebaran 2021-04-09 16:45:57 -04:00
smu_internal.h