diff options
author | Ben Skeggs | 2011-10-19 13:06:48 +1000 |
---|---|---|
committer | Ben Skeggs | 2011-12-21 19:01:22 +1000 |
commit | c833442306c6578236af32561c229c9e7ca58079 (patch) | |
tree | 93edc3dfdd318b4d914748cc2d430a30a7f0de55 /drivers | |
parent | 4ceca5f8649125645fc4e7f178a1dca1345ab9b4 (diff) |
drm/nv50/disp: allow interlaced and doublescan modes on digital outputs
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_connector.c | 4 |
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, 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; |