Commit 374ab4ba authored by Alex Deucher's avatar Alex Deucher Committed by Ben Hutchings

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 avatarBen Hutchings <ben@decadent.org.uk>
parent 8444918b
...@@ -3017,6 +3017,10 @@ static void si_apply_state_adjust_rules(struct radeon_device *rdev, ...@@ -3017,6 +3017,10 @@ static void si_apply_state_adjust_rules(struct radeon_device *rdev,
ps->performance_levels[i].sclk = max_sclk; ps->performance_levels[i].sclk = max_sclk;
} }
} }
/* limit mclk on all R7 370 parts for stability */
if (rdev->pdev->device == 0x6811 &&
rdev->pdev->revision == 0x81)
max_mclk = 120000;
/* XXX validate the min clocks required for display */ /* XXX validate the min clocks required for display */
......
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