aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-10-18 23:06:48 -0400
committerBen Skeggs <bskeggs@redhat.com>2011-12-21 04:01:22 -0500
commitc833442306c6578236af32561c229c9e7ca58079 (patch)
tree93edc3dfdd318b4d914748cc2d430a30a7f0de55
parent4ceca5f8649125645fc4e7f178a1dca1345ab9b4 (diff)
drm/nv50/disp: allow interlaced and doublescan modes on digital outputs
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_connector.c4
1 files changed, 4 insertions, 0 deletions
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,
198 return; 198 return;
199 nv_connector->detected_encoder = nv_encoder; 199 nv_connector->detected_encoder = nv_encoder;
200 200
201 if (dev_priv->card_type >= NV_50) {
202 connector->interlace_allowed = true;
203 connector->doublescan_allowed = true;
204 } else
201 if (nv_encoder->dcb->type == OUTPUT_LVDS || 205 if (nv_encoder->dcb->type == OUTPUT_LVDS ||
202 nv_encoder->dcb->type == OUTPUT_TMDS) { 206 nv_encoder->dcb->type == OUTPUT_TMDS) {
203 connector->doublescan_allowed = false; 207 connector->doublescan_allowed = false;