linux/drivers/gpu/drm/amd/powerplay/inc
Tom St Denis 9f8df7d71e drm/amd/amdgpu: Update read_sensor calls to have size parameter (v3)
This update allows sensors to return more than 1 value and
indicates to the caller how many bytes are written.

The debugfs interface has been updated to handle reading all
of the values.  Simply seek to the enum value (multiplied
by 4) and then read as many bytes as the sensor provides.

(v2):  Don't set size to 4 before reading GPU_POWER
(v3): agd: rebase

Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-03-29 23:52:59 -04:00
..
amd_powerplay.h drm/amd/amdgpu: Update read_sensor calls to have size parameter (v3) 2017-03-29 23:52:59 -04:00
cz_ppsmc.h
eventmanager.h
eventmgr.h drm/amd/powerplay: refine powerplay interface. 2017-01-27 11:12:58 -05:00
fiji_ppsmc.h
fiji_pwrvirus.h drm/amd: Mark some tables as const 2016-05-04 20:20:00 -04:00
hardwaremanager.h scripts/spelling.txt: add "overrided" pattern and fix typo instances 2017-02-27 18:43:47 -08:00
hwmgr.h drm/amd/amdgpu: Update read_sensor calls to have size parameter (v3) 2017-03-29 23:52:59 -04:00
polaris10_ppsmc.h drm/amd/powerplay: add some definition for FFC feature on polaris. 2016-06-23 14:14:12 -04:00
polaris10_pwrvirus.h drm/amd/powerplay: use smu7 common functions and data on Polars10. 2016-09-19 13:22:15 -04:00
power_state.h drm/amdgpu: use same vce state definition in dpm and powerplay 2016-10-25 14:38:39 -04:00
pp_acpi.h drm/amdgpu: change function declarations and add missing header dependencies 2016-10-25 14:38:58 -04:00
pp_asicblocks.h
pp_debug.h drm/amd/powerplay: add prefix for all powerplay pr_* prints 2017-01-27 11:12:48 -05:00
pp_endian.h drm/amd/powerplay: add a common pp endian header 2016-03-14 13:35:03 -04:00
pp_feature.h
pp_instance.h drm/amd/powerplay: refine powerplay interface. 2017-01-27 11:12:58 -05:00
pp_power_source.h
ppinterrupt.h
smu7_common.h drm/amd/powerplay: implement smu7 hwmgr to manager asics with smu ip version 7. 2016-09-19 13:22:10 -04:00
smu7_discrete.h
smu7_fusion.h
smu7_ppsmc.h drm/amd/powerplay: add new smu message. 2017-01-27 11:13:13 -05:00
smu7.h
smu8_fusion.h
smu8.h
smu71_discrete.h drm/amd/powerplay: add SMU71 header files for iceland (v2) 2016-08-08 11:32:22 -04:00
smu71.h drm/amd/powerplay: add SMU71 header files for iceland (v2) 2016-08-08 11:32:22 -04:00
smu72_discrete.h
smu72.h
smu73_discrete.h
smu73.h
smu74_discrete.h drm/amd/powerplay: add some definition for FFC feature on polaris. 2016-06-23 14:14:12 -04:00
smu74.h drm/amd/powerplay: add avfs related define for polaris 2016-06-21 10:22:40 -04:00
smu_ucode_xfer_cz.h drm/amdgpu: add missing licenses on a couple of files 2016-05-11 12:31:22 -04:00
smu_ucode_xfer_vi.h drm/amd/powerplay: Add smc_sk firmware to baffin & ellesmere. 2016-05-04 20:26:26 -04:00
smumgr.h drm/amd/powerplay: add power profile support for SMU7 2017-03-29 23:52:49 -04:00
tonga_ppsmc.h