Commit 3e8d9fb9 authored by Alex Deucher's avatar Alex Deucher Committed by Kamal Mostafa

drm/radeon: add a dpm quirk for all R7 370 parts

commit 0e5585dc upstream.

Higher mclk values are not stable due to a bug somewhere.
Limit them for now.
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarKamal Mostafa <kamal@canonical.com>
parent 4264ef36
...@@ -2956,6 +2956,10 @@ static void si_apply_state_adjust_rules(struct radeon_device *rdev, ...@@ -2956,6 +2956,10 @@ static void si_apply_state_adjust_rules(struct radeon_device *rdev,
} }
++p; ++p;
} }
/* limit mclk on all R7 370 parts for stability */
if (rdev->pdev->device == 0x6811 &&
rdev->pdev->revision == 0x81)
max_mclk = 120000;
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