drm/radeon: add additional pci revision to dpm workaround
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 2 Dec 2016 05:21:48 +0000 (00:21 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Jan 2017 07:07:46 +0000 (08:07 +0100)
commit 8729675c00a8d13cb2094d617d70a4a4da7d83c5 upstream.

New variant.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/si_dpm.c

index 10191b935937c55ea125ace1a55d344bbe4bf146..eb2a2a49974f7ef18e00bb8e9c7078bcd3349e68 100644 (file)
@@ -3026,6 +3026,7 @@ static void si_apply_state_adjust_rules(struct radeon_device *rdev,
                    (rdev->pdev->revision == 0x80) ||
                    (rdev->pdev->revision == 0x81) ||
                    (rdev->pdev->revision == 0x83) ||
                    (rdev->pdev->revision == 0x80) ||
                    (rdev->pdev->revision == 0x81) ||
                    (rdev->pdev->revision == 0x83) ||
+                   (rdev->pdev->revision == 0x87) ||
                    (rdev->pdev->device == 0x6604) ||
                    (rdev->pdev->device == 0x6605)) {
                        max_sclk = 75000;
                    (rdev->pdev->device == 0x6604) ||
                    (rdev->pdev->device == 0x6605)) {
                        max_sclk = 75000;