Commit 76819907 authored by Martin Blumenstingl's avatar Martin Blumenstingl
Browse files

drm/meson: Meson8/8b/8m2 have a maximum HDMI PLL frequency of 2.971GHz



The maximum HDMI PLL frequency used by the vendor kernel is 2.971GHz.
Use the same to also ensure that we don't expose HDMI 2.0 4K modes.

Signed-off-by: default avatarMartin Blumenstingl <martin.blumenstingl@googlemail.com>
parent 39167536
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -247,6 +247,16 @@ struct meson_drm_soc_attr {
};

static const struct meson_drm_soc_attr meson_drm_soc_attrs[] = {
	/* The maximum frequency of HDMI PLL on Meson8/8b/8m2 is ~3GHz */
	{
		.limits = {
			.max_hdmi_phy_freq = 2971000,
		},
		.attrs = (const struct soc_device_attribute []) {
			{ .soc_id = "Meson8*", },
			{ /* sentinel */ },
		}
	},
	/* S805X/S805Y HDMI PLL won't lock for HDMI PHY freq > 1,65GHz */
	{
		.limits = {