drm/amd/powerplay: fix bug that get wrong polaris evv voltage.
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 29 Jun 2016 08:37:35 +0000 (16:37 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Jul 2016 21:44:14 +0000 (17:44 -0400)
commite5eb37170b3cbbf948c6aeaccece818a59e76a6c
treee2db33d3e81cd211712790d87980d90173481b5a
parent4b2427605e5325eafb5cfc2698f517db68e41075
drm/amd/powerplay: fix bug that get wrong polaris evv voltage.

value is 32 bits for polaris, not 16.

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Ken Wang <Qingqing.Wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c
drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.h