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: Steve Cohen <cohens@codeaurora.org>
This commit is contained in:
Steve Cohen
2020-11-30 12:20:15 -05:00
والد a2a3c5e864
کامیت 4eff2d1bce

مشاهده پرونده

@@ -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,