drm/amd/pm: correct the BootLinkLevel setup
authorEvan Quan <evan.quan@amd.com>
Thu, 18 Jun 2020 08:16:51 +0000 (16:16 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 27 Oct 2020 15:57:36 +0000 (11:57 -0400)
Set the BootLinkLevel as the max level.

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/pm/powerplay/smumgr/polaris10_smumgr.c

index a6c8f12..d9d53fb 100644 (file)
@@ -2023,7 +2023,7 @@ static int polaris10_init_smc_table(struct pp_hwmgr *hwmgr)
        table->VoltageResponseTime = 0;
        table->PhaseResponseTime = 0;
        table->MemoryThermThrottleEnable = 1;
-       table->PCIeBootLinkLevel = 0;
+       table->PCIeBootLinkLevel = hw_data->dpm_table.pcie_speed_table.count;
        table->PCIeGenInterval = 1;
        table->VRConfig = 0;