On 15-10-2025 09:38, Suraj Kandpal wrote:
When we get the eDP tables we reuse dp tables for some data rates.
We need to modify the 3rd config value of this table to 1 instead
of 0 since that is the only difference in the dp and edp table for
that particular data rate.

Signed-off-by: Suraj Kandpal <[email protected]>
---

Reviewed-by: Arun R Murthy <[email protected]>

Thanks and Regards,
Arun R Murthy
--------------------

  drivers/gpu/drm/i915/display/intel_lt_phy.c | 4 ++++
  1 file changed, 4 insertions(+)

diff --git a/drivers/gpu/drm/i915/display/intel_lt_phy.c 
b/drivers/gpu/drm/i915/display/intel_lt_phy.c
index 9380ba530901..8cd0009609d4 100644
--- a/drivers/gpu/drm/i915/display/intel_lt_phy.c
+++ b/drivers/gpu/drm/i915/display/intel_lt_phy.c
@@ -1226,6 +1226,10 @@ intel_lt_phy_pll_calc_state(struct intel_crtc_state 
*crtc_state,
        for (i = 0; tables[i]; i++) {
                if (crtc_state->port_clock == tables[i]->clock) {
                        crtc_state->dpll_hw_state.ltpll = *tables[i];
+                       if (intel_crtc_has_dp_encoder(crtc_state)) {
+                               if (intel_crtc_has_type(crtc_state, 
INTEL_OUTPUT_EDP))
+                                       
crtc_state->dpll_hw_state.ltpll.config[2] = 1;
+                       }
                        return 0;
                }
        }

Reply via email to