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

Commit 64ea25c3 authored by Thierry Reding's avatar Thierry Reding
Browse files

drm/tegra: sor: Reject HDMI 2.0 modes



Enabling HDMI 2.0 modes requires extra programming and will not work
with the current driver, so reject all those modes.

Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent f8c79120
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1372,6 +1372,10 @@ static enum drm_mode_status
tegra_sor_connector_mode_valid(struct drm_connector *connector,
			       struct drm_display_mode *mode)
{
	/* HDMI 2.0 modes are not yet supported */
	if (mode->clock > 340000)
		return MODE_NOCLOCK;

	return MODE_OK;
}