Commit 4a160ae9 authored by Alex Deucher's avatar Alex Deucher Committed by Ben Hutchings

drm/radeon/si/dpm: add workaround for for Jet parts

commit 670bb4fd upstream.

Add clock quirks for Jet parts.
Reviewed-by: default avatarSonny Jiang <sonny.jiang@amd.com>
Tested-by: default avatarSonny Jiang <sonny.jiang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
parent 0406c74e
......@@ -3022,6 +3022,12 @@ static void si_apply_state_adjust_rules(struct radeon_device *rdev,
if (rdev->pdev->device == 0x6811 &&
rdev->pdev->revision == 0x81)
max_mclk = 120000;
/* limit sclk/mclk on Jet parts for stability */
if (rdev->pdev->device == 0x6665 &&
rdev->pdev->revision == 0xc3) {
max_sclk = 75000;
max_mclk = 80000;
}
/* 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