disp: msm: dsi: avoid restoring bit clk & front porches during set mode
Suppose there's a mode change in Nth commit and N+1th commit mode change request for dynamic clock came even before the Nth commit mode is set in DSI. Now, restoring the bit clock and porches during mode set of Nth commit will update the clock and porches according to the new dynamic clock request which should have actually been handled in N+1th commit mode set and this can lead to DSI underflow /overflow. Avoid restoring bit clock during bridge enable as it is already taken care during bridge mode fixup. Change-Id: Ieecb0020a77f5e082a8b9da0ecf461acdbe89e0c Signed-off-by: Anand Tarakh <quic_atarakh@quicinc.com>
This commit is contained in:
@@ -7805,12 +7805,6 @@ int dsi_display_set_mode(struct dsi_display *display,
|
||||
}
|
||||
}
|
||||
|
||||
rc = dsi_display_restore_bit_clk(display, &adj_mode);
|
||||
if (rc) {
|
||||
DSI_ERR("[%s] bit clk rate cannot be restored\n", display->name);
|
||||
goto error;
|
||||
}
|
||||
|
||||
rc = dsi_display_validate_mode_set(display, &adj_mode, flags);
|
||||
if (rc) {
|
||||
DSI_ERR("[%s] mode cannot be set\n", display->name);
|
||||
|
||||
Reference in New Issue
Block a user