summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-10-19 13:06:48 +1000
committerBen Skeggs <bskeggs@redhat.com>2011-12-21 19:01:22 +1000
commitc833442306c6578236af32561c229c9e7ca58079 (patch)
tree93edc3dfdd318b4d914748cc2d430a30a7f0de55 /drivers/gpu/drm
parent4ceca5f8649125645fc4e7f178a1dca1345ab9b4 (diff)
downloadblackbird-op-linux-c833442306c6578236af32561c229c9e7ca58079.tar.gz
blackbird-op-linux-c833442306c6578236af32561c229c9e7ca58079.zip
drm/nv50/disp: allow interlaced and doublescan modes on digital outputs
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm')
-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,
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;
OpenPOWER on IntegriCloud