drm/radeon: disable mclk dpm on R7 260X
authorAlex Deucher <alexdeucher@gmail.com>
Fri, 11 Apr 2014 02:29:03 +0000 (22:29 -0400)
committerJiri Slaby <jslaby@suse.cz>
Fri, 6 Jun 2014 09:40:26 +0000 (11:40 +0200)
commit 57700ad1f2f21d5d7ab7ee0e58d11b5954852434 upstream.

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>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/gpu/drm/radeon/ci_dpm.c

index 51e947a97edf945d02594dc0731b098ac033e1e0..79682ff51b63d63134af983fe1fb34a8530934f8 100644 (file)
@@ -5098,6 +5098,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;