diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2016-09-26 15:32:50 -0400 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2016-10-07 10:03:58 +0200 |
commit | 88aef089920e0c1ab7c49aeb1539d4119b5219dc (patch) | |
tree | b34ae6cf8e963aaa6ad9791a38d482036a7c695b | |
parent | 1ab93b13fe17bbab243148d6b77ed672bd558c53 (diff) | |
download | linux-stable-88aef089920e0c1ab7c49aeb1539d4119b5219dc.tar.gz linux-stable-88aef089920e0c1ab7c49aeb1539d4119b5219dc.tar.bz2 linux-stable-88aef089920e0c1ab7c49aeb1539d4119b5219dc.zip |
drm/radeon/si/dpm: add workaround for for Jet parts
commit 670bb4fd21c966d0d2a59ad4a99bb4889f9a2987 upstream.
Add clock quirks for Jet parts.
Reviewed-by: Sonny Jiang <sonny.jiang@amd.com>
Tested-by: Sonny Jiang <sonny.jiang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
-rw-r--r-- | drivers/gpu/drm/radeon/si_dpm.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/si_dpm.c b/drivers/gpu/drm/radeon/si_dpm.c index 393217886d98..db9c7d26ed16 100644 --- a/drivers/gpu/drm/radeon/si_dpm.c +++ b/drivers/gpu/drm/radeon/si_dpm.c @@ -3012,6 +3012,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 */ |