disp: msm: sde: fix cwb, dp and wb tear down sequence
CWB, DP and WB displays tear down sequence must reset 3d_merge, ctl, pingpong_binding, etc. MDP HW blocks. This change fixes the tear down sequence register programming. It also moves flush sw reset before encoder_disable call. That allows CWB tear down to update the flush configuration on primary ctl path. Change-Id: I21c521b39456af4144cf836c65d46a25c985f51d Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
This commit is contained in:
@@ -368,13 +368,13 @@ static void sde_hw_intf_bind_pingpong_blk(
|
||||
mux_cfg = SDE_REG_READ(c, INTF_MUX);
|
||||
mux_cfg &= ~0xf;
|
||||
|
||||
if (enable)
|
||||
if (enable) {
|
||||
mux_cfg |= (pp - PINGPONG_0) & 0x7;
|
||||
else
|
||||
mux_cfg |= 0xf;
|
||||
|
||||
if (intf->cfg.split_link_en)
|
||||
mux_cfg = 0x60000;
|
||||
if (intf->cfg.split_link_en)
|
||||
mux_cfg = 0x60000;
|
||||
} else {
|
||||
mux_cfg = 0xf000f;
|
||||
}
|
||||
|
||||
SDE_REG_WRITE(c, INTF_MUX, mux_cfg);
|
||||
}
|
||||
|
Reference in New Issue
Block a user