drm/radeon: Add dpm quirk for Jet PRO (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 21 Nov 2017 17:09:38 +0000 (12:09 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Jan 2018 20:44:14 +0000 (15:44 -0500)
Fixes stability issues.

v2: clamp sclk to 600 Mhz

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=103370
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/si_dpm.c

index ee3e74266a1332a03f18f4d15ed1b0dfdf6244a0..97a0a639dad90b082d5c8856f042a00932fcabd0 100644 (file)
@@ -2984,6 +2984,11 @@ static void si_apply_state_adjust_rules(struct radeon_device *rdev,
                    (rdev->pdev->device == 0x6667)) {
                        max_sclk = 75000;
                }
+               if ((rdev->pdev->revision == 0xC3) ||
+                   (rdev->pdev->device == 0x6665)) {
+                       max_sclk = 60000;
+                       max_mclk = 80000;
+               }
        } else if (rdev->family == CHIP_OLAND) {
                if ((rdev->pdev->revision == 0xC7) ||
                    (rdev->pdev->revision == 0x80) ||