msm: mdss: fix screen shifting in some scenarios when split display enabled
Split display configuration requires that lower and upper pipe control registers get programmed accordingly. This change fixes a missing configuration bit in one of the control registers. Change-Id: I17c71c004dbf6807483f132cb22271230b27960c Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
This commit is contained in:
parent
d2aaad863b
commit
e4056eeb02
1 changed files with 8 additions and 11 deletions
|
@ -1758,17 +1758,14 @@ static void mdss_mdp_ctl_split_display_enable(int enable,
|
|||
if (main_ctl->opmode & MDSS_MDP_CTL_OP_CMD_MODE) {
|
||||
upper |= BIT(1);
|
||||
lower |= BIT(1);
|
||||
|
||||
/* interface controlling sw trigger */
|
||||
if (main_ctl->intf_num == MDSS_MDP_INTF2)
|
||||
upper |= BIT(4);
|
||||
else
|
||||
upper |= BIT(8);
|
||||
} else { /* video mode */
|
||||
if (main_ctl->intf_num == MDSS_MDP_INTF2)
|
||||
lower |= BIT(4);
|
||||
else
|
||||
lower |= BIT(8);
|
||||
}
|
||||
/* interface controlling sw trigger (cmd & video mode)*/
|
||||
if (main_ctl->intf_num == MDSS_MDP_INTF2) {
|
||||
lower |= BIT(4);
|
||||
upper |= BIT(4);
|
||||
} else {
|
||||
lower |= BIT(8);
|
||||
upper |= BIT(8);
|
||||
}
|
||||
}
|
||||
writel_relaxed(upper, main_ctl->mdata->mdp_base +
|
||||
|
|
Loading…
Add table
Reference in a new issue