drm/amd/powerplay: correct vega12 bootup values settings
authorEvan Quan <evan.quan@amd.com>
Mon, 28 May 2018 00:59:16 +0000 (08:59 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Jul 2018 21:38:52 +0000 (16:38 -0500)
commitacee16f4deab484b9b78876b8b292174e95ccf88
tree2614c8d5ef03727ed45b62ca2ecbc124b1616fa7
parentb1c6fddb583f70892f2dd6de8c63af3aa4600a7b
drm/amd/powerplay: correct vega12 bootup values settings

The vbios firmware structure changed between v3_1 and v3_2. So,
the code to setup bootup values needs different paths based
on header version.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c
drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.h
drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.h