]> Git Repo - linux.git/commitdiff
drm/radeon/si/dpm: add workaround for for Jet parts
authorAlex Deucher <[email protected]>
Mon, 26 Sep 2016 19:32:50 +0000 (15:32 -0400)
committerAlex Deucher <[email protected]>
Tue, 27 Sep 2016 16:22:29 +0000 (12:22 -0400)
Add clock quirks for Jet parts.

Reviewed-by: Sonny Jiang <[email protected]>
Tested-by: Sonny Jiang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Cc: [email protected]
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/radeon/si_dpm.c

index e6abc09b67e3e63e82fea3bbda2b1c91234c525c..1f78ec2548ec69403e12b0d136c3a5564ee224aa 100644 (file)
@@ -3015,6 +3015,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;
+       }
 
        if (rps->vce_active) {
                rps->evclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].evclk;
This page took 0.053107 seconds and 4 git commands to generate.