File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
drivers/gpu/drm/i915/display Expand file tree Collapse file tree 1 file changed +4
-4
lines changed 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,
1938
1938
int index , len ;
1939
1939
1940
1940
if (drm_WARN_ON (display -> drm ,
1941
- !data || panel -> vbt .dsi .seq_version != 1 ))
1941
+ !data || panel -> vbt .dsi .seq_version >= 3 ))
1942
1942
return 0 ;
1943
1943
1944
1944
/* index = 1 to skip sequence byte */
@@ -1961,7 +1961,7 @@ static int get_init_otp_deassert_fragment_len(struct intel_display *display,
1961
1961
}
1962
1962
1963
1963
/*
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.
1965
1965
* The deassert must be done before calling intel_dsi_device_ready, so for
1966
1966
* these devices we split the init OTP sequence into a deassert sequence and
1967
1967
* the actual init OTP part.
@@ -1972,9 +1972,9 @@ static void vlv_fixup_mipi_sequences(struct intel_display *display,
1972
1972
u8 * init_otp ;
1973
1973
int len ;
1974
1974
1975
- /* Limit this to v1 vid-mode sequences */
1975
+ /* Limit this to v1/v2 vid-mode sequences */
1976
1976
if (panel -> vbt .dsi .config -> is_cmd_mode ||
1977
- panel -> vbt .dsi .seq_version != 1 )
1977
+ panel -> vbt .dsi .seq_version >= 3 )
1978
1978
return ;
1979
1979
1980
1980
/* 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