drm/radeon/kms: quirk for Gigabyte RV515 card, DVI+VGA not 2xDVI.
authorDave Airlie <airlied@redhat.com>
Fri, 4 Dec 2009 01:51:34 +0000 (11:51 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 4 Dec 2009 01:56:28 +0000 (11:56 +1000)
Similiar to other quirks for RV515, this card has no second DVI port.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_atombios.c

index 0802b30879d988253a257e6d62bbefcbd4ea0f95..5e414102c8755eb5e5ea1fdd0f2ccac71c23c6ab 100644 (file)
@@ -143,6 +143,15 @@ static bool radeon_atom_apply_quirks(struct drm_device *dev,
                        return false;
        }
 
+       /* Gigabyte X1300 is DVI+VGA, not DVI+DVI */
+       if ((dev->pdev->device == 0x7142) &&
+           (dev->pdev->subsystem_vendor == 0x1458) &&
+           (dev->pdev->subsystem_device == 0x2134)) {
+               if (supported_device == ATOM_DEVICE_DFP1_SUPPORT)
+                       return false;
+       }
+
+
        /* Funky macbooks */
        if ((dev->pdev->device == 0x71C5) &&
            (dev->pdev->subsystem_vendor == 0x106b) &&