Only a few simple display fixes around DP MST, CRTC color

state, and PLL sequencing.
 -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCgAdFiEEbSBwaO7dZQkcLOKj+mJfZA7rE8oFAmoyb9gACgkQ+mJfZA7r
 E8pYdwf/W2yy6bNSoUMe8bL6bZzoxHygFSfiNupqHtE9E19LulAaQDcNVjySeWj4
 OXrXOkTy2FjtsV4Q9pJJX2cZpAN4TdcDMgB+BRdn+4Z5sja7cGRXmHtIkgHjLzPJ
 4TnR/eyKl5+dNZCU/W+W7wX+rUmknnkFUemifOQAC110ts6IYFaNIw94MPAZ3PT0
 h5RplS3d54NJs8ma5G/C+u+qMuU8ZIOa5ES32WpNwsDkIVfeyt8sDmEffPCeFxya
 RrOC1xp3Bfxh0CuM40NOkZtlBdmLj6Q2oN8L3RruelsWLtfEzS9NarlAkChFLtEJ
 Y1Nozk1Lye2FGCOqJsF6YqJ8W713JA==
 =GMAa
 -----END PGP SIGNATURE-----

Merge tag 'drm-intel-next-fixes-2026-06-17' of https://gitlab.freedesktop.org/drm/i915/kernel into drm-next

Only a few simple display fixes around DP MST, CRTC color
state, and PLL sequencing.

Signed-off-by: Dave Airlie <airlied@redhat.com>

From: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patch.msgid.link/ajJxbrt3a_USBecY@intel.com
This commit is contained in:
Dave Airlie 2026-06-22 08:52:33 +10:00
commit 44e3aeeb9a
3 changed files with 18 additions and 3 deletions

View File

@ -288,6 +288,12 @@ static void intel_crtc_put_color_blobs(struct intel_crtc_state *crtc_state)
drm_property_blob_put(crtc_state->pre_csc_lut);
drm_property_blob_put(crtc_state->post_csc_lut);
crtc_state->hw.degamma_lut = NULL;
crtc_state->hw.gamma_lut = NULL;
crtc_state->hw.ctm = NULL;
crtc_state->pre_csc_lut = NULL;
crtc_state->post_csc_lut = NULL;
}
void intel_crtc_free_hw_state(struct intel_crtc_state *crtc_state)

View File

@ -2652,9 +2652,6 @@ static void mtl_ddi_pre_enable_dp(struct intel_atomic_state *state,
/* 3. Select Thunderbolt */
mtl_port_buf_ctl_io_selection(encoder);
/* 4. Enable Panel Power if PPS is required */
intel_pps_on(intel_dp);
/* 5. Enable the port PLL */
intel_ddi_enable_clock(encoder, crtc_state);
@ -3708,6 +3705,14 @@ intel_ddi_pre_pll_enable(struct intel_atomic_state *state,
else if (display->platform.geminilake || display->platform.broxton)
bxt_dpio_phy_set_lane_optim_mask(encoder,
crtc_state->lane_lat_optim_mask);
/*
* There is no direct connection between the PLL and PPS, however
* enabling PPS before PLL is required to avoid PLL/DDI BUF timeouts
* during system resume. Do that matching the Bspec order as well.
*/
if (DISPLAY_VER(display) >= 14)
intel_pps_on(&dig_port->dp);
}
static void adlp_tbt_to_dp_alt_switch_wa(struct intel_encoder *encoder)

View File

@ -722,6 +722,10 @@ static int mst_stream_compute_config(struct intel_encoder *encoder,
pipe_config->sink_format = INTEL_OUTPUT_FORMAT_RGB;
pipe_config->output_format = INTEL_OUTPUT_FORMAT_RGB;
ret = intel_pfit_compute_config(pipe_config, conn_state);
if (ret)
return ret;
ret = intel_pfit_compute_config(pipe_config, conn_state);
if (ret)
return ret;