drm/radeon: add a dpm quirk for all R7 370 parts
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 28 Mar 2016 14:21:20 +0000 (10:21 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 28 Mar 2016 14:21:20 +0000 (10:21 -0400)
Higher mclk values are not stable due to a bug somewhere.
Limit them for now.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/si_dpm.c

index a280a320183276d3eb5f88d1bc6e1fd4558ce38e..af4df81c4e0c79c721dca5dc610da235d53651f9 100644 (file)
@@ -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;
This page took 0.029917 seconds and 5 git commands to generate.