drm/amd/powerplay/vega20: tell the correct gfx voltage V2
authorEvan Quan <evan.quan@amd.com>
Mon, 17 Sep 2018 10:41:28 +0000 (18:41 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 9 Oct 2018 21:45:58 +0000 (16:45 -0500)
commit42fae99520090423ad639af889d7376774df7fdf
tree87b9e1694d1a4d2172e862e9de841339a54e3522
parent3546916f426f3bac6487d37446d8cc743c53554d
drm/amd/powerplay/vega20: tell the correct gfx voltage V2

Export the correct gfx voltage by hwmon interface.

V2: update the register naming for consistency

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/include/asic_reg/smuio/smuio_9_0_offset.h
drivers/gpu/drm/amd/include/asic_reg/smuio/smuio_9_0_sh_mask.h
drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c