Commit 00a4335d authored by Tom St Denis's avatar Tom St Denis Committed by Sasha Levin

drm/radeon/si_dpm: Limit clocks on HD86xx part

[ Upstream commit fb9a5b0c ]

Limit clocks on a specific HD86xx part to avoid
crashes (while awaiting an appropriate PP fix).
Signed-off-by: default avatarTom St Denis <tom.stdenis@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarSasha Levin <alexander.levin@verizon.com>
parent 469bc68e
...@@ -2970,6 +2970,12 @@ static void si_apply_state_adjust_rules(struct radeon_device *rdev, ...@@ -2970,6 +2970,12 @@ static void si_apply_state_adjust_rules(struct radeon_device *rdev,
max_sclk = 75000; max_sclk = 75000;
max_mclk = 80000; max_mclk = 80000;
} }
/* limit clocks on HD8600 series */
if (rdev->pdev->device == 0x6660 &&
rdev->pdev->revision == 0x83) {
max_sclk = 75000;
max_mclk = 80000;
}
if ((rdev->pm.dpm.new_active_crtc_count > 1) || if ((rdev->pm.dpm.new_active_crtc_count > 1) ||
ni_dpm_vblank_too_short(rdev)) ni_dpm_vblank_too_short(rdev))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment