mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
Merge "disp: msm: dsi: handle panel detection after a pp done timeout"
This commit is contained in:
commit
bb3029af82
1 changed files with 5 additions and 4 deletions
|
|
@ -885,16 +885,17 @@ int dsi_display_check_status(struct drm_connector *connector, void *display,
|
|||
panel->esd_config.esd_enabled = false;
|
||||
}
|
||||
|
||||
if (rc <= 0 && te_check_override)
|
||||
/*
|
||||
* TE check may fail even if status read is passing. In case of
|
||||
* te_check_override, check the status both from reg read and TE.
|
||||
*/
|
||||
if (rc > 0 && te_check_override)
|
||||
rc = dsi_display_status_check_te(dsi_display, te_rechecks);
|
||||
/* Unmask error interrupts if check passed*/
|
||||
if (rc > 0) {
|
||||
dsi_display_set_ctrl_esd_check_flag(dsi_display, false);
|
||||
dsi_display_mask_ctrl_error_interrupts(dsi_display, mask,
|
||||
false);
|
||||
if (te_check_override && panel->esd_config.esd_enabled == false)
|
||||
rc = dsi_display_status_check_te(dsi_display,
|
||||
te_rechecks);
|
||||
}
|
||||
|
||||
dsi_display_clk_ctrl(dsi_display->dsi_clk_handle,
|
||||
|
|
|
|||
Loading…
Reference in a new issue