diff options
| author | Sandeep Panda <spanda@codeaurora.org> | 2017-04-03 11:12:31 +0530 |
|---|---|---|
| committer | Sandeep Panda <spanda@codeaurora.org> | 2017-04-03 18:26:45 +0530 |
| commit | ef1b6dbf4d277288dd4f62fedb9be7ac272f85d3 (patch) | |
| tree | f01decf9b469cd54099e77270087ab1de6aaaacb | |
| parent | 44f5f07cfca714fa0d1b68a8f3d0f87d80a62074 (diff) | |
msm: mdss: configure SMART_PANEL_ALIGN_MODE for split display
As per HW recommendation, configure the SMART_PANEL_ALIGN_MODE
control to start of frame for command mode split display use
cases. This will avoid any issues related to the skew that can
develop between the 2 interfaces used for sending data to panel.
Change-Id: I067db541bf29a8ca8c6c395fe05b5e159e733476
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
| -rw-r--r-- | drivers/video/fbdev/msm/mdss_mdp_ctl.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/video/fbdev/msm/mdss_mdp_ctl.c b/drivers/video/fbdev/msm/mdss_mdp_ctl.c index bd70535e79f9..e64910506dfd 100644 --- a/drivers/video/fbdev/msm/mdss_mdp_ctl.c +++ b/drivers/video/fbdev/msm/mdss_mdp_ctl.c @@ -4090,6 +4090,13 @@ static void mdss_mdp_ctl_split_display_enable(int enable, if (is_pingpong_split(main_ctl->mfd)) lower |= BIT(2); upper = lower; + + /* + * align command mode stream0 output for + * intferace 1 and 2 to start of frame. + */ + if (main_ctl->mdata->mdp_rev >= MDSS_MDP_HW_REV_320) + lower |= BIT(12); } else { /* interface controlling sw trigger (video mode) */ if (main_ctl->intf_num == MDSS_MDP_INTF2) { |
