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