]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/powerplay: actually return the power with the new query
authorAlex Deucher <alexander.deucher@amd.com>
Sat, 21 Apr 2018 19:09:59 +0000 (14:09 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 May 2018 18:43:48 +0000 (13:43 -0500)
commit8b555e97c21386405366e319cf5f7d7ff6d56c58
tree21ef42882fd11d97edfea87e95527c0a896268df
parentfd4b038183e76cc8a5006a2091177a4328b32a86
drm/amdgpu/powerplay: actually return the power with the new query

Set query to the power value so we actually return it.  Fixes
no power value returned on asics with the new query.

Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
Reviewed-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c