Skip to content

Commit 07a13f9

Browse files
irql-notlessorequalalexdeucher
authored andcommitted
drm/amd/pm/powerplay/smumgr: Fix PCIeBootLinkLevel value on Fiji
Previously this was initialized with zero which represented PCIe Gen 1.0 instead of using the maximum value from the speed table which is the behaviour of all other smumgr implementations. Fixes: 18edef1 ("drm/amd/powerplay: implement fw image related smu interface for Fiji.") Signed-off-by: John Smith <[email protected]> Signed-off-by: Alex Deucher <[email protected]> (cherry picked from commit c52238c)
1 parent 238d468 commit 07a13f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpu/drm/amd/pm/powerplay/smumgr/fiji_smumgr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2024,7 +2024,7 @@ static int fiji_init_smc_table(struct pp_hwmgr *hwmgr)
20242024
table->VoltageResponseTime = 0;
20252025
table->PhaseResponseTime = 0;
20262026
table->MemoryThermThrottleEnable = 1;
2027-
table->PCIeBootLinkLevel = 0; /* 0:Gen1 1:Gen2 2:Gen3*/
2027+
table->PCIeBootLinkLevel = (uint8_t) (data->dpm_table.pcie_speed_table.count);
20282028
table->PCIeGenInterval = 1;
20292029
table->VRConfig = 0;
20302030

0 commit comments

Comments
 (0)