From: Alex Deucher Date: Fri, 7 Nov 2014 18:34:28 +0000 (-0500) Subject: drm/radeon: set bootup pcie level to max for ci dpm X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4e21518c3d635ad8cad7c07198bb3f592b25395c;p=linux-beck.git 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: Alex Deucher --- diff --git a/drivers/gpu/drm/radeon/ci_dpm.c b/drivers/gpu/drm/radeon/ci_dpm.c index dbc6d2aa6d22..befa84c4a6ae 100644 --- a/drivers/gpu/drm/radeon/ci_dpm.c +++ b/drivers/gpu/drm/radeon/ci_dpm.c @@ -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;