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

Commit 4eff2d1b authored by Steve Cohen's avatar Steve Cohen
Browse files

disp: msm: sde: use prepare_commit connector callback for DSI



Some DSI panels require qsync on/off DCS commands to be sent in
prepare commit phase. Add the hook for sending these commands
to the panel. If these commands are not present in the panel's
device tree node, it will be treated as a NO-OP.

Change-Id: Ida65512fe0214779dfa848f6c7b33644d3934afd
Signed-off-by: default avatarSteve Cohen <cohens@codeaurora.org>
parent a2a3c5e8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1740,6 +1740,7 @@ static int _sde_kms_setup_displays(struct drm_device *dev,
		.install_properties = NULL,
		.set_allowed_mode_switch = dsi_conn_set_allowed_mode_switch,
		.get_qsync_min_fps = dsi_display_get_qsync_min_fps,
		.prepare_commit = dsi_conn_prepare_commit,
	};
	static const struct sde_connector_ops wb_ops = {
		.post_init =    sde_wb_connector_post_init,