drm/nv50/disp: allow interlaced and doublescan modes on digital outputs

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
Ben Skeggs 2011-10-19 13:06:48 +10:00
parent 4ceca5f864
commit c833442306

View File

@ -198,6 +198,10 @@ nouveau_connector_set_encoder(struct drm_connector *connector,
return; return;
nv_connector->detected_encoder = nv_encoder; 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 || if (nv_encoder->dcb->type == OUTPUT_LVDS ||
nv_encoder->dcb->type == OUTPUT_TMDS) { nv_encoder->dcb->type == OUTPUT_TMDS) {
connector->doublescan_allowed = false; connector->doublescan_allowed = false;