From: Suraj Kandpal <[email protected]>

Verify the HDMI FRL tables now that they are defined.
Also skip recalculating the HDMI state via port clock for HDMI
FRL use case.

Signed-off-by: Suraj Kandpal <[email protected]>
---
 drivers/gpu/drm/i915/display/intel_lt_phy.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/i915/display/intel_lt_phy.c 
b/drivers/gpu/drm/i915/display/intel_lt_phy.c
index 918ecb14fb5c..2c1da689fe00 100644
--- a/drivers/gpu/drm/i915/display/intel_lt_phy.c
+++ b/drivers/gpu/drm/i915/display/intel_lt_phy.c
@@ -2628,6 +2628,9 @@ static void intel_lt_phy_pll_verify_params(struct 
intel_display *display,
        if (!pll_params->is_hdmi)
                return;
 
+       if (intel_hdmi_is_frl(pll_params->clock_rate))
+               return;
+
        if (intel_lt_phy_calculate_hdmi_state(&pll_state, 
pll_params->clock_rate) != 0)
                return;
 
-- 
2.50.1

Reply via email to