disp: msm: dsi: fix ESD checks for sim and vid panel modes
Enure that ESD check doesn't result in a false negative while booting up with a simulation panel or if TE based check is enabled and panel switches it operating mode to video. Change-Id: I62ff088f513d28d2883ce5a6d22f8bac1783fcd2 Signed-off-by: Satya Rama Aditya Pinapala <psraditya30@codeaurora.org>
This commit is contained in:
@@ -842,7 +842,8 @@ int dsi_display_check_status(struct drm_connector *connector, void *display,
|
||||
|
||||
status_mode = panel->esd_config.status_mode;
|
||||
|
||||
if (status_mode == ESD_MODE_SW_SIM_SUCCESS)
|
||||
if ((status_mode == ESD_MODE_SW_SIM_SUCCESS) ||
|
||||
(dsi_display->sw_te_using_wd))
|
||||
goto release_panel_lock;
|
||||
|
||||
if (status_mode == ESD_MODE_SW_SIM_FAILURE) {
|
||||
@@ -854,6 +855,9 @@ int dsi_display_check_status(struct drm_connector *connector, void *display,
|
||||
if (te_check_override)
|
||||
te_rechecks = MAX_TE_RECHECKS;
|
||||
|
||||
if (panel->panel_mode == DSI_OP_VIDEO_MODE)
|
||||
te_rechecks = 0;
|
||||
|
||||
ret = dsi_display_clk_ctrl(dsi_display->dsi_clk_handle,
|
||||
DSI_ALL_CLKS, DSI_CLK_ON);
|
||||
if (ret)
|
||||
|
Referens i nytt ärende
Block a user