summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2010-05-28 10:04:05 +1000
committerBen Skeggs <bskeggs@redhat.com>2010-05-28 16:06:45 +1000
commit2c58077541cc6859a9a9046d9c3a4d61bdbd4f18 (patch)
tree8f565e0f61a6fc892035319eccad6c2c96e38eb0
parent23484874e6bf837704bf1fa61605d33a12b174e3 (diff)
downloadop-kernel-dev-2c58077541cc6859a9a9046d9c3a4d61bdbd4f18.zip
op-kernel-dev-2c58077541cc6859a9a9046d9c3a4d61bdbd4f18.tar.gz
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>
-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 7e663a7..bfa6562 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,
break;
case OUTPUT_TMDS:
if ((dev_priv->card_type >= NV_50 && !nouveau_duallink) ||
- (dev_priv->card_type < NV_50 &&
- !nv_encoder->dcb->duallink_possible))
+ !nv_encoder->dcb->duallink_possible)
max_clock = 165000;
else
max_clock = 330000;
OpenPOWER on IntegriCloud