drm/radeon/kms: Add MSI quirk for Dell RS690
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 1 Nov 2011 18:14:18 +0000 (14:14 -0400)
committerDave Airlie <airlied@redhat.com>
Thu, 3 Nov 2011 17:53:09 +0000 (17:53 +0000)
Some Dell laptops only seem to work with MSIs.  This
looks like a platform/bios bug.

Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=37679

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_irq_kms.c

index f88c1a2450364935c8ca62a350de54d6f11b4542..914d9ee8fd35c85cb65c18566c1437957eb2ada2 100644 (file)
@@ -125,6 +125,12 @@ static bool radeon_msi_ok(struct radeon_device *rdev)
            (rdev->pdev->subsystem_device == 0x30c2))
                return true;
 
+       /* Dell RS690 only seems to work with MSIs. */
+       if ((rdev->pdev->device == 0x791f) &&
+           (rdev->pdev->subsystem_vendor == 0x1028) &&
+           (rdev->pdev->subsystem_device == 0x01fd))
+               return true;
+
        if (rdev->flags & RADEON_IS_IGP) {
                /* APUs work fine with MSIs */
                if (rdev->family >= CHIP_PALM)