Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1916b3ae authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "disp: msm: dsi: fix ESD checks for sim and vid panel modes"

parents 77a8b983 cfa1f491
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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)