]> 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)
commit1ed51512be833d3bae6af4e15f30ec2815098548
tree21ef42882fd11d97edfea87e95527c0a896268df
parent450bf105227ae349cff8c3d2bb550d60c5b23053
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