Commit b6dc60cf authored by Eric Huang's avatar Eric Huang Committed by Alex Deucher

drm/amd/powerplay: fix pcie dpm table for vega10

This resolves pcie low speed problem.
Signed-off-by: default avatarEric Huang <JinHuiEric.Huang@amd.com>
Acked-by: default avatarFelix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 9312d9a6
...@@ -1161,7 +1161,7 @@ static int vega10_setup_default_pcie_table(struct pp_hwmgr *hwmgr) ...@@ -1161,7 +1161,7 @@ static int vega10_setup_default_pcie_table(struct pp_hwmgr *hwmgr)
"Incorrect number of PCIE States from VBIOS!", "Incorrect number of PCIE States from VBIOS!",
return -1); return -1);
for (i = 0; i < NUM_LINK_LEVELS - 1; i++) { for (i = 0; i < NUM_LINK_LEVELS; i++) {
if (data->registry_data.pcieSpeedOverride) if (data->registry_data.pcieSpeedOverride)
pcie_table->pcie_gen[i] = pcie_table->pcie_gen[i] =
data->registry_data.pcieSpeedOverride; data->registry_data.pcieSpeedOverride;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment