diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2010-05-28 10:04:05 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2010-05-28 16:06:45 +1000 |
commit | 2c58077541cc6859a9a9046d9c3a4d61bdbd4f18 (patch) | |
tree | 8f565e0f61a6fc892035319eccad6c2c96e38eb0 /drivers/gpu | |
parent | 23484874e6bf837704bf1fa61605d33a12b174e3 (diff) | |
download | op-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>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_connector.c | 3 |
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; |