Driver Changes:

- DSI panel's version 2 mipi-sequences fix (Hans)
 -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCgAdFiEEbSBwaO7dZQkcLOKj+mJfZA7rE8oFAmhwPj4ACgkQ+mJfZA7r
 E8pmGQgAmznm3EvJUvMGQMtw4KppMDDl6wIHjpiMoUepIJl/WECZHO3V6IN+LocK
 NfZtcj8jWoDO9D1aBf4JIwpO1MlBOyxntNrYUa/FGNDehkGXscUUHjl7g1/AdpGz
 TEVgxd+HBTbS8Vg0y+a6pcX55qYHdhD0nzTwO09kYtC8djkhaGYC7N93H9DISZMO
 QW2TLlJ632n6omtO6lwBZHj0po9aSV3eySvSzo+HHFmjFqTUiDKEUB+j5NGsgAlI
 tLX9gJUXdd6mt0WMKe0w8U6sUuQl68iVOnhdhkvYuBl2ENJ+WEgssvZrJXLPaSHz
 QNdtNCU5Lvj/GjS6GJD6vLLg74Qqrg==
 =FNrT
 -----END PGP SIGNATURE-----

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

Driver Changes:
- 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-qrFQ00TaNsGr@intel.com
This commit is contained in:
Simona Vetter 2025-07-11 11:25:34 +02:00
commit 3a252ff9d8

View File

@ -1939,7 +1939,7 @@ static int get_init_otp_deassert_fragment_len(struct intel_display *display,
int index, len;
if (drm_WARN_ON(display->drm,
!data || panel->vbt.dsi.seq_version != 1))
!data || panel->vbt.dsi.seq_version >= 3))
return 0;
/* index = 1 to skip sequence byte */
@ -1962,7 +1962,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
* these devices we split the init OTP sequence into a deassert sequence and
* the actual init OTP part.
@ -1973,9 +1973,9 @@ static void vlv_fixup_mipi_sequences(struct intel_display *display,
u8 *init_otp;
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 ||
panel->vbt.dsi.seq_version != 1)
panel->vbt.dsi.seq_version >= 3)
return;
/* Only do this if there are otp and assert seqs and no deassert seq */