diff options
author | Radhakrishna Sripada <[email protected]> | 2023-06-15 21:39:50 -0700 |
---|---|---|
committer | Radhakrishna Sripada <[email protected]> | 2023-06-20 14:19:37 -0700 |
commit | 7e8d87e2da3b359ad73246233673a84c4dabfa07 (patch) | |
tree | 23effd393ac37558ffdfbaa66fb3422f0b82d104 | |
parent | 0641e54fc3476a8d5d64d9ccf7f99bc2a8b0a925 (diff) |
drm/i915/mtl: Fix SSC selection for MPLLA
Driver does not clear the default SSC for MPLLA. This causes link training
failure when trying to use 10G and 20G rates. Fix the behaviour and enable
ssc only when we really want.
Fixes: 237e7be0bf57 ("drm/i915/mtl: For DP2.0 10G and 20G rates use MPLLA")
Cc: Mika Kahola <[email protected]>
Cc: Clint Taylor <[email protected]>
Cc: Khaled Almahallawy <[email protected]>
Cc: Arun R Murthy <[email protected]>
Signed-off-by: Radhakrishna Sripada <[email protected]>
Tested-by: Khaled Almahallawy <[email protected]>
Reviewed-by: Mika Kahola <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_cx0_phy.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_cx0_phy.c b/drivers/gpu/drm/i915/display/intel_cx0_phy.c index f235df5646ed..1b00ef2c6185 100644 --- a/drivers/gpu/drm/i915/display/intel_cx0_phy.c +++ b/drivers/gpu/drm/i915/display/intel_cx0_phy.c @@ -2434,7 +2434,8 @@ static void intel_program_port_clock_ctl(struct intel_encoder *encoder, intel_de_rmw(i915, XELPDP_PORT_CLOCK_CTL(encoder->port), XELPDP_LANE1_PHY_CLOCK_SELECT | XELPDP_FORWARD_CLOCK_UNGATE | - XELPDP_DDI_CLOCK_SELECT_MASK | XELPDP_SSC_ENABLE_PLLB, val); + XELPDP_DDI_CLOCK_SELECT_MASK | XELPDP_SSC_ENABLE_PLLA | + XELPDP_SSC_ENABLE_PLLB, val); } static u32 intel_cx0_get_powerdown_update(u8 lane_mask) |