From: Ville Syrjälä Date: Tue, 30 Jun 2015 12:33:52 +0000 (+0300) Subject: drm/i915: Bump HDMI min port clock to 25 MHz X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6fd765d0591a79934b268137fc7c0fbfa0e2e3b4;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git drm/i915: Bump HDMI min port clock to 25 MHz Increase the HDMI port minimum port clock from 20 to 25 MHz. This is is the minimum listed in the DVI/HDMI specs, and it's also the documented minimum DPLL frequency for most of our platforms. Signed-off-by: Ville Syrjälä Reviewed-and-tested-by: Imre Deak Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/intel_hdmi.c b/drivers/gpu/drm/i915/intel_hdmi.c index 00c4b40e0158..69244ed2c352 100644 --- a/drivers/gpu/drm/i915/intel_hdmi.c +++ b/drivers/gpu/drm/i915/intel_hdmi.c @@ -1175,7 +1175,7 @@ intel_hdmi_mode_valid(struct drm_connector *connector, if (clock > hdmi_portclock_limit(intel_attached_hdmi(connector), true)) return MODE_CLOCK_HIGH; - if (clock < 20000) + if (clock < 25000) return MODE_CLOCK_LOW; if (mode->flags & DRM_MODE_FLAG_DBLSCAN)