From 4eff2d1bce3bfbf4759d3f6194ff99a85c804bf2 Mon Sep 17 00:00:00 2001 From: Steve Cohen Date: Mon, 30 Nov 2020 12:20:15 -0500 Subject: [PATCH] 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 --- msm/sde/sde_kms.c | 1 + 1 file changed, 1 insertion(+) diff --git a/msm/sde/sde_kms.c b/msm/sde/sde_kms.c index e00ae39464..5a0f4d6bb8 100644 --- a/msm/sde/sde_kms.c +++ b/msm/sde/sde_kms.c @@ -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,