linux/drivers/gpu/drm/amd/powerplay
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
..
eventmgr drm/amd/powerplay: refine powerplay interface. 2017-01-27 11:12:58 -05:00
hwmgr drm/amd/amdgpu: Update read_sensor calls to have size parameter (v3) 2017-03-29 23:52:59 -04:00
inc drm/amd/amdgpu: Update read_sensor calls to have size parameter (v3) 2017-03-29 23:52:59 -04:00
smumgr drm/amd/powerplay: add power profile support for Polaris 2017-03-29 23:52:51 -04:00
amd_powerplay.c drm/amd/amdgpu: Update read_sensor calls to have size parameter (v3) 2017-03-29 23:52:59 -04:00
Makefile drm/amdgpu: clean up path handling for powerplay 2016-03-21 11:52:13 -04:00