]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
drm/amd/powerplay: Replace per-asic print_performance with generic
authorTom St Denis <tom.stdenis@amd.com>
Mon, 19 Sep 2016 16:48:52 +0000 (12:48 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 22 Sep 2016 14:24:16 +0000 (10:24 -0400)
commit3de4ec57271a1979b5d960d8610939fff7dc38f9
treefbed9494ace8145c1f1f5477f954fb67e6311697
parent884031f0aacf57dad1575f96714efc80de9b19cc
drm/amd/powerplay:  Replace per-asic print_performance with generic

Replace per-asic print_current_performance() functions with generic
that calls read_sensor.  Tested on Tonga and Carrizo for aesthetics
and accuracy.

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>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
drivers/gpu/drm/amd/powerplay/amd_powerplay.c
drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
drivers/gpu/drm/amd/powerplay/inc/amd_powerplay.h
drivers/gpu/drm/amd/powerplay/inc/hwmgr.h