drm/nouveau: Add TV-out quirk for an MSI nForce2 IGP.
authorFrancisco Jerez <currojerez@riseup.net>
Sat, 14 Aug 2010 16:45:58 +0000 (18:45 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 17 Aug 2010 01:59:38 +0000 (11:59 +1000)
The blob also thinks there's a TV connected, so hardware bug...

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv17_tv.c

index 44fefb0c7083caf5c4e77011675927dc3d60aec6..eefa5c856932887812f2ac3469cfda513469165a 100644 (file)
@@ -129,6 +129,14 @@ get_tv_detect_quirks(struct drm_device *dev, uint32_t *pin_mask)
                return false;
        }
 
+       /* MSI nForce2 IGP */
+       if (dev->pdev->device == 0x01f0 &&
+           dev->pdev->subsystem_vendor == 0x1462 &&
+           dev->pdev->subsystem_device == 0x5710) {
+               *pin_mask = 0xc;
+               return false;
+       }
+
        return true;
 }