Short summary of fixes:

- DSI panel's version 2 mipi-sequences fix (Hans)
 -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCgAdFiEEbSBwaO7dZQkcLOKj+mJfZA7rE8oFAmhwP0oACgkQ+mJfZA7r
 E8qlTAf+OWsY6cstZb+A+Y7i/13FsFJXfeot/Lpxy0G5sHjMTm5V54DfSzuIifrS
 NMnWH/2DPj9K8auW4lgUeg/oUFvRwSmDQfnpp9HPAYlJnh09fmWsjQoNHvaLb9KQ
 E+rPhp2eSxi9/zjvkpOp8Bw5S4zLqflxJTMcQqBZk68DebdYrMYVwsR4JmFIouPd
 lJ+LPKx5FsfaJBAeB6DBUPk5hzwfFV6wNjWvBWdVAk3h/msMewDKGoW4SKFHYigh
 nh0R0R7PMY0DwTpSYzLcvTQrtZaof103petv0gFbIMV82K5F7OdCDo3vX1FOcOGI
 w91W88zHWLK9pxgdveNlRqbg8Xj//w==
 =DfiW
 -----END PGP SIGNATURE-----

Merge tag 'drm-intel-fixes-2025-07-10' of https://gitlab.freedesktop.org/drm/i915/kernel into drm-fixes

Short summary of fixes:
- DSI panel's version 2 mipi-sequences fix (Hans)

Signed-off-by: Simona Vetter <simona.vetter@ffwll.ch>
From: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/aHA_eR0G7X2P6_ib@intel.com
This commit is contained in:
Simona Vetter 2025-07-11 11:28:41 +02:00
commit 3638e6a84b

View File

@ -1938,7 +1938,7 @@ static int get_init_otp_deassert_fragment_len(struct intel_display *display,
int index, len; int index, len;
if (drm_WARN_ON(display->drm, if (drm_WARN_ON(display->drm,
!data || panel->vbt.dsi.seq_version != 1)) !data || panel->vbt.dsi.seq_version >= 3))
return 0; return 0;
/* index = 1 to skip sequence byte */ /* index = 1 to skip sequence byte */
@ -1961,7 +1961,7 @@ static int get_init_otp_deassert_fragment_len(struct intel_display *display,
} }
/* /*
* Some v1 VBT MIPI sequences do the deassert in the init OTP sequence. * Some v1/v2 VBT MIPI sequences do the deassert in the init OTP sequence.
* The deassert must be done before calling intel_dsi_device_ready, so for * The deassert must be done before calling intel_dsi_device_ready, so for
* these devices we split the init OTP sequence into a deassert sequence and * these devices we split the init OTP sequence into a deassert sequence and
* the actual init OTP part. * the actual init OTP part.
@ -1972,9 +1972,9 @@ static void vlv_fixup_mipi_sequences(struct intel_display *display,
u8 *init_otp; u8 *init_otp;
int len; int len;
/* Limit this to v1 vid-mode sequences */ /* Limit this to v1/v2 vid-mode sequences */
if (panel->vbt.dsi.config->is_cmd_mode || if (panel->vbt.dsi.config->is_cmd_mode ||
panel->vbt.dsi.seq_version != 1) panel->vbt.dsi.seq_version >= 3)
return; return;
/* Only do this if there are otp and assert seqs and no deassert seq */ /* Only do this if there are otp and assert seqs and no deassert seq */