Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2c580775 authored by Ben Skeggs's avatar Ben Skeggs
Browse files

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: default avatarBen Skeggs <bskeggs@redhat.com>
parent 23484874
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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;