mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
Merge "disp: msm: dsi: fix ESD checks for sim and vid panel modes"
This commit is contained in:
commit
1916b3ae6c
1 changed files with 5 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue