drm/i915: Reject 446-480MHz HDMI clock on GLK
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 3 Feb 2021 09:30:44 +0000 (11:30 +0200)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 8 Feb 2021 21:57:02 +0000 (16:57 -0500)
commit7a6c6243b44a439bda4bf099032be35ebcf53406
treea03d73e75bdc53e55e85c5d228b96e99d1b6a942
parentd5109f739c9f14a3bda249cb48b16de1065932f0
drm/i915: Reject 446-480MHz HDMI clock on GLK

The BXT/GLK DPLL can't generate certain frequencies. We already
reject the 233-240MHz range on both. But on GLK the DPLL max
frequency was bumped from 300MHz to 594MHz, so now we get to
also worry about the 446-480MHz range (double the original
problem range). Reject any frequency within the higher
problematic range as well.

Cc: stable@vger.kernel.org
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/3000
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210203093044.30532-1-ville.syrjala@linux.intel.com
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
(cherry picked from commit 41751b3e5c1ac656a86f8d45a8891115281b729e)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/display/intel_hdmi.c