File tree Expand file tree Collapse file tree
drivers/gpu/drm/i915/display Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1938,7 +1938,7 @@ static int get_init_otp_deassert_fragment_len(struct intel_display *display,
19381938 int index , len ;
19391939
19401940 if (drm_WARN_ON (display -> drm ,
1941- !data || panel -> vbt .dsi .seq_version != 1 ))
1941+ !data || panel -> vbt .dsi .seq_version >= 3 ))
19421942 return 0 ;
19431943
19441944 /* index = 1 to skip sequence byte */
@@ -1961,7 +1961,7 @@ static int get_init_otp_deassert_fragment_len(struct intel_display *display,
19611961}
19621962
19631963/*
1964- * Some v1 VBT MIPI sequences do the deassert in the init OTP sequence.
1964+ * Some v1/v2 VBT MIPI sequences do the deassert in the init OTP sequence.
19651965 * The deassert must be done before calling intel_dsi_device_ready, so for
19661966 * these devices we split the init OTP sequence into a deassert sequence and
19671967 * the actual init OTP part.
@@ -1972,9 +1972,9 @@ static void vlv_fixup_mipi_sequences(struct intel_display *display,
19721972 u8 * init_otp ;
19731973 int len ;
19741974
1975- /* Limit this to v1 vid-mode sequences */
1975+ /* Limit this to v1/v2 vid-mode sequences */
19761976 if (panel -> vbt .dsi .config -> is_cmd_mode ||
1977- panel -> vbt .dsi .seq_version != 1 )
1977+ panel -> vbt .dsi .seq_version >= 3 )
19781978 return ;
19791979
19801980 /* Only do this if there are otp and assert seqs and no deassert seq */
You can’t perform that action at this time.
0 commit comments