drm/nv50/disp: allow interlaced and doublescan modes on digital outputs
authorBen Skeggs <bskeggs@redhat.com>
Wed, 19 Oct 2011 03:06:48 +0000 (13:06 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 21 Dec 2011 09:01:22 +0000 (19:01 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_connector.c

index 592fcfb9b389755b5ef64a7f8c4219637047b77f..576fb9af5d13c091ae85024b0e07ae9b5c8bc84e 100644 (file)
@@ -198,6 +198,10 @@ nouveau_connector_set_encoder(struct drm_connector *connector,
                return;
        nv_connector->detected_encoder = nv_encoder;
 
+       if (dev_priv->card_type >= NV_50) {
+               connector->interlace_allowed = true;
+               connector->doublescan_allowed = true;
+       } else
        if (nv_encoder->dcb->type == OUTPUT_LVDS ||
            nv_encoder->dcb->type == OUTPUT_TMDS) {
                connector->doublescan_allowed = false;