diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2016-03-28 17:21:20 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-04-20 09:41:56 +0300 |
commit | 0bccb7a91e02086d7fcdd61042d508e012ba87ef (patch) | |
tree | 72cc4abd6a81e24fd748fcc6718f6ba4d4dfd064 /drivers/gpu/drm | |
parent | ddf58bfd05fc6b71858228962dffcaa91d1b4d53 (diff) | |
download | linux-0bccb7a91e02086d7fcdd61042d508e012ba87ef.tar.xz |
drm/radeon: add a dpm quirk for all R7 370 parts
commit 0e5585dc870af947fab2af96a88c2d8b4270247c upstream.
Higher mclk values are not stable due to a bug somewhere.
Limit them for now.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/radeon/si_dpm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/si_dpm.c b/drivers/gpu/drm/radeon/si_dpm.c index 444935dec7af..7285adb27099 100644 --- a/drivers/gpu/drm/radeon/si_dpm.c +++ b/drivers/gpu/drm/radeon/si_dpm.c @@ -3010,6 +3010,10 @@ static void si_apply_state_adjust_rules(struct radeon_device *rdev, } ++p; } + /* limit mclk on all R7 370 parts for stability */ + if (rdev->pdev->device == 0x6811 && + rdev->pdev->revision == 0x81) + max_mclk = 120000; if (rps->vce_active) { rps->evclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].evclk; |