提交 2c580775 编写于 作者: B Ben Skeggs

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: NBen Skeggs <bskeggs@redhat.com>
上级 23484874
...@@ -593,8 +593,7 @@ nouveau_connector_mode_valid(struct drm_connector *connector, ...@@ -593,8 +593,7 @@ nouveau_connector_mode_valid(struct drm_connector *connector,
break; break;
case OUTPUT_TMDS: case OUTPUT_TMDS:
if ((dev_priv->card_type >= NV_50 && !nouveau_duallink) || 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; max_clock = 165000;
else else
max_clock = 330000; max_clock = 330000;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册