aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2010-05-27 20:04:05 -0400
committerBen Skeggs <bskeggs@redhat.com>2010-05-28 02:06:45 -0400
commit2c58077541cc6859a9a9046d9c3a4d61bdbd4f18 (patch)
tree8f565e0f61a6fc892035319eccad6c2c96e38eb0 /drivers/gpu
parent23484874e6bf837704bf1fa61605d33a12b174e3 (diff)
drm/nv50: obey dcb->duallink_possible
It was once assumed that all G8x had dual-link TMDS everywhere, this isn't actually the case - especially considering passive DP->DVI converters and some HDMI connectors only support single-link. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_connector.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_connector.c b/drivers/gpu/drm/nouveau/nouveau_connector.c
index 7e663a79829f..bfa65629517b 100644
--- a/drivers/gpu/drm/nouveau/nouveau_connector.c
+++ b/drivers/gpu/drm/nouveau/nouveau_connector.c
@@ -593,8 +593,7 @@ nouveau_connector_mode_valid(struct drm_connector *connector,
593 break; 593 break;
594 case OUTPUT_TMDS: 594 case OUTPUT_TMDS:
595 if ((dev_priv->card_type >= NV_50 && !nouveau_duallink) || 595 if ((dev_priv->card_type >= NV_50 && !nouveau_duallink) ||
596 (dev_priv->card_type < NV_50 && 596 !nv_encoder->dcb->duallink_possible)
597 !nv_encoder->dcb->duallink_possible))
598 max_clock = 165000; 597 max_clock = 165000;
599 else 598 else
600 max_clock = 330000; 599 max_clock = 330000;