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, 28 Jun 2018 19:06:10 +0000 (14:06 -0500)
commit36953aa94a8fcc884b970d63d3e4c650257dd03e
tree527eff2ad64fd062d4dc2561bf2b21ea5e5ada48
parent363a3d3fb7d478d7dd49b8c6294436b8ba5984cc
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