summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2014-04-10 22:29:03 -0400
committerChristian König <christian.koenig@amd.com>2014-04-17 13:59:36 +0200
commit57700ad1f2f21d5d7ab7ee0e58d11b5954852434 (patch)
treeaa4e4efdf34cffd4378ce57c558ce02aebcfda98 /drivers/gpu/drm
parent5df5242d34c131d049359e01b9ce928659885c4b (diff)
downloadblackbird-op-linux-57700ad1f2f21d5d7ab7ee0e58d11b5954852434.tar.gz
blackbird-op-linux-57700ad1f2f21d5d7ab7ee0e58d11b5954852434.zip
drm/radeon: disable mclk dpm on R7 260X
Setting higher mclks seems to cause stability issues on some R7 260X boards. Disable it for now for stability until we find a proper fix. bug: https://bugs.freedesktop.org/show_bug.cgi?id=75992 Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/radeon/ci_dpm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/ci_dpm.c b/drivers/gpu/drm/radeon/ci_dpm.c
index cad89a977527..6d395ec25c13 100644
--- a/drivers/gpu/drm/radeon/ci_dpm.c
+++ b/drivers/gpu/drm/radeon/ci_dpm.c
@@ -5146,6 +5146,10 @@ int ci_dpm_init(struct radeon_device *rdev)
pi->mclk_dpm_key_disabled = 0;
pi->pcie_dpm_key_disabled = 0;
+ /* mclk dpm is unstable on some R7 260X cards */
+ if (rdev->pdev->device == 0x6658)
+ pi->mclk_dpm_key_disabled = 1;
+
pi->caps_sclk_ds = true;
pi->mclk_strobe_mode_threshold = 40000;
OpenPOWER on IntegriCloud