disp: msm: dsi: move backlight operations to post kickoff

This change moves the backlight update operation from
drm bridge enable to connector post kickoff.

When timing engine is enabled with programmable fetch
enabled, the timing engine will start counting from
the prog_fetch_start point (which is somewhere in VFP).
It’s a grey area from that point to the actual panel
vsync and SW should not trigger DMA command during that
time.

During display resume, sometimes the INTF timing engine
do not get enabled completely at the first vblank irq.
The backlight update cmd transfer trigger as part of the
drm bridge enable can also take place at the same time,
that may cause DSI cmd transfer failure.

Change-Id: I2722d3c23012ef0e7bcc7f728ec5658318ce4e60
Signed-off-by: Rajeev Nandan <rajeevny@codeaurora.org>
Šī revīzija ir iekļauta:
Rajeev Nandan
2020-12-01 17:05:52 +05:30
vecāks 5caf284ecc
revīzija e60959b052
3 mainīti faili ar 20 papildinājumiem un 1 dzēšanām

Parādīt failu

@@ -1094,6 +1094,9 @@ int dsi_conn_post_kickoff(struct drm_connector *connector,
dsi_ctrl_setup_avr(display->ctrl[i].ctrl, enable);
}
if (display->drm_conn)
sde_connector_helper_post_kickoff(display->drm_conn);
return 0;
}