Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4e21518c authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/radeon: set bootup pcie level to max for ci dpm



Avoids problems when re-loading the driver.  Does not
affect power saving when dpm is enabled.

Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent b6b41cf3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3242,7 +3242,7 @@ static int ci_init_smc_table(struct radeon_device *rdev)
	table->VddcVddciDelta = 4000;
	table->PhaseResponseTime = 0;
	table->MemoryThermThrottleEnable = 1;
	table->PCIeBootLinkLevel = 0;
	table->PCIeBootLinkLevel = pi->dpm_table.pcie_speed_table.count - 1;
	table->PCIeGenInterval = 1;
	if (pi->voltage_control == CISLANDS_VOLTAGE_CONTROL_BY_SVID2)
		table->SVI2Enable  = 1;