drm/radeon/kms: add quirk for MSI S270
authorAlex Deucher <alex@hp.localdomain>
Mon, 16 Nov 2009 23:33:51 +0000 (18:33 -0500)
committerDave Airlie <airlied@redhat.com>
Wed, 2 Dec 2009 01:36:45 +0000 (11:36 +1000)
doesn't have a tv-out port

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_combios.c

index f745971c6a53e5a1a654050eb5319fe19867e61f..adc47437569ed479b540e5289c70d58123601e08 100644 (file)
@@ -1715,6 +1715,12 @@ static bool radeon_apply_legacy_tv_quirks(struct drm_device *dev)
            dev->pdev->subsystem_device == 0x280a)
                return false;
 
+       /* MSI S270 has non-existent TV port */
+       if (dev->pdev->device == 0x5955 &&
+           dev->pdev->subsystem_vendor == 0x1462 &&
+           dev->pdev->subsystem_device == 0x0131)
+               return false;
+
        return true;
 }