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)
commit9e70b539292652d31091568f89e73b54e3a4f79d
tree21ef42882fd11d97edfea87e95527c0a896268df
parenta3c991f922f99160cb695f9d28e04cd8e818d6f9
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