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

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

Merge "disp: msm: sde: setting async cmd wait flag only for DSI"

parents bceea4e1 196502bc
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -729,8 +729,10 @@ int sde_connector_pre_kickoff(struct drm_connector *connector)
	 * in pre-kickoff. This flag must be reset at the
	 * end of display pre-kickoff.
	 */
	if (c_conn->connector_type == DRM_MODE_CONNECTOR_DSI) {
		display = (struct dsi_display *)c_conn->display;
		display->queue_cmd_waits = true;
	}

	rc = _sde_connector_update_dirty_properties(connector);
	if (rc) {
@@ -748,6 +750,7 @@ int sde_connector_pre_kickoff(struct drm_connector *connector)

	rc = c_conn->ops.pre_kickoff(connector, c_conn->display, &params);

	if (c_conn->connector_type == DRM_MODE_CONNECTOR_DSI)
		display->queue_cmd_waits = false;
end:
	return rc;