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>
这个提交包含在:
Rajeev Nandan
2020-12-01 17:05:52 +05:30
父节点 5caf284ecc
当前提交 e60959b052
修改 3 个文件,包含 20 行新增1 行删除

查看文件

@@ -1086,4 +1086,10 @@ int sde_connector_get_panel_vfp(struct drm_connector *connector,
*/
int sde_connector_esd_status(struct drm_connector *connector);
/**
* sde_connector_helper_post_kickoff - helper function for drm connector post kickoff
* @connector: Pointer to DRM connector object
*/
void sde_connector_helper_post_kickoff(struct drm_connector *connector);
#endif /* _SDE_CONNECTOR_H_ */