drm/radeon/kms: extend the Fujitsu D3003-S2 board connector quirk to cover later...
authorTvrtko Ursulin <tvrtko.ursulin@onelan.co.uk>
Mon, 20 Aug 2012 14:16:04 +0000 (15:16 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 12 Sep 2012 02:37:16 +0000 (03:37 +0100)
commit 52e9b39d9a89ae33662596bd30e62dd56bddbe73 upstream.

There is a more recent APU stepping with a new PCI ID
shipping in the same board by Fujitsu which needs the
same quirk to correctly mark the back plane connectors.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@onelan.co.uk>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/gpu/drm/radeon/radeon_atombios.c

index 9d2c369ee3198f18985f8fcc6897c43c1add982e..38585c5e47ccbdbb74c3a8894d8677add3fa1c7b 100644 (file)
@@ -446,7 +446,7 @@ static bool radeon_atom_apply_quirks(struct drm_device *dev,
        }
 
        /* Fujitsu D3003-S2 board lists DVI-I as DVI-D and VGA */
-       if ((dev->pdev->device == 0x9802) &&
+       if (((dev->pdev->device == 0x9802) || (dev->pdev->device == 0x9806)) &&
            (dev->pdev->subsystem_vendor == 0x1734) &&
            (dev->pdev->subsystem_device == 0x11bd)) {
                if (*connector_type == DRM_MODE_CONNECTOR_VGA) {