]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
drm/radeon: add connector quirk for fujitsu board
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Sep 2014 17:55:51 +0000 (13:55 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Sep 2014 17:55:51 +0000 (13:55 -0400)
Vbios connector table lists non-existent VGA port.

Bug:
https://bugs.freedesktop.org/show_bug.cgi?id=83184

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/radeon_atombios.c

index 92b2d8dd47355f7f7b601025082868d3e29e60be..5f3b041330d62ea0d8840f7b07f670ec972915fc 100644 (file)
@@ -447,6 +447,13 @@ static bool radeon_atom_apply_quirks(struct drm_device *dev,
                }
        }
 
+       /* Fujitsu D3003-S2 board lists DVI-I as DVI-I and VGA */
+       if ((dev->pdev->device == 0x9805) &&
+           (dev->pdev->subsystem_vendor == 0x1734) &&
+           (dev->pdev->subsystem_device == 0x11bd)) {
+               if (*connector_type == DRM_MODE_CONNECTOR_VGA)
+                       return false;
+       }
 
        return true;
 }