]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
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 a6c8f121f41c83f61cd0124f788ed919fcacdd8c..d9d53fbd438df4f65dccf7747e2c55d3c71ad7bf 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;