drm/nv50: obey dcb->duallink_possible
authorBen Skeggs <bskeggs@redhat.com>
Fri, 28 May 2010 00:04:05 +0000 (10:04 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 28 May 2010 06:06:45 +0000 (16:06 +1000)
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>
drivers/gpu/drm/nouveau/nouveau_connector.c

index 7e663a79829f6768dfbd9c517122032faca8bb5a..bfa65629517b43fcc3595e5c7e91656a62bf3a3c 100644 (file)
@@ -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;