summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.h
diff options
context:
space:
mode:
authorEvan Quan <evan.quan@amd.com>2018-05-28 08:59:16 +0800
committerAlex Deucher <alexander.deucher@amd.com>2018-06-28 14:06:10 -0500
commit36953aa94a8fcc884b970d63d3e4c650257dd03e (patch)
tree527eff2ad64fd062d4dc2561bf2b21ea5e5ada48 /drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.h
parent363a3d3fb7d478d7dd49b8c6294436b8ba5984cc (diff)
downloadtalos-obmc-linux-36953aa94a8fcc884b970d63d3e4c650257dd03e.tar.gz
talos-obmc-linux-36953aa94a8fcc884b970d63d3e4c650257dd03e.zip
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>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.h')
-rw-r--r--drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.h b/drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.h
index fe10aa4db5e6..745bd3809549 100644
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.h
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.h
@@ -136,6 +136,9 @@ struct pp_atomfwctrl_bios_boot_up_values {
uint32_t ulUClk;
uint32_t ulSocClk;
uint32_t ulDCEFClk;
+ uint32_t ulEClk;
+ uint32_t ulVClk;
+ uint32_t ulDClk;
uint16_t usVddc;
uint16_t usVddci;
uint16_t usMvddc;
OpenPOWER on IntegriCloud