From: Ben Skeggs Date: Wed, 19 Oct 2011 03:06:48 +0000 (+1000) Subject: drm/nv50/disp: allow interlaced and doublescan modes on digital outputs X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c833442306c6578236af32561c229c9e7ca58079;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git drm/nv50/disp: allow interlaced and doublescan modes on digital outputs Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/nouveau_connector.c b/drivers/gpu/drm/nouveau/nouveau_connector.c index 592fcfb9b389..576fb9af5d13 100644 --- a/drivers/gpu/drm/nouveau/nouveau_connector.c +++ b/drivers/gpu/drm/nouveau/nouveau_connector.c @@ -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;