linux/drivers/gpu/drm/amd/include
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
..
asic_reg drm/amdgpu: add yellow carp asic header files (v3) 2021-06-04 16:03:05 -04:00
ivsrcid drm/amdgpu: add DMUB outbox event IRQ source define/complete/debug flag 2021-04-09 16:54:42 -04:00
aldebaran_ip_offset.h drm/amd/include/aldebaran_ip_offset: Mark top-level IP_BASE as __maybe_unused 2021-05-21 10:32:16 -04:00
amd_acpi.h drm/amdgpu: support atcs method powershift (v4) 2021-06-01 22:36:48 -04:00
amd_pcie_helpers.h
amd_pcie.h
amd_shared.h Merge drm/drm-next into drm-misc-next 2021-05-22 07:17:05 +02:00
arct_ip_offset.h
atom-bits.h
atom-names.h
atom-types.h
atombios.h gpu: drm: replace occurrences of invalid character 2021-05-19 12:39:08 -04:00
atomfirmware.h drm/amdgpu: Update atomfirmware for DCN3.1 phy tuning and eDP caps 2021-06-04 16:03:25 -04:00
atomfirmwareid.h
beige_goby_ip_offset.h drm/amd/amdgpu: initialize IP offset for beige_goby 2021-05-19 22:40:09 -04:00
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 amdgpu/pm: clean up smu_get_power_limit function signature 2021-06-08 12:13:40 -04:00
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
yellow_carp_offset.h drm/amdgpu: add yellow_carp_reg_base_init function for yellow carp (v2) 2021-06-04 16:03:06 -04:00