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:
Dhaval Patel
2019-07-09 16:29:11 -07:00
父節點 84fc2163e1
當前提交 bcd97aa368
共有 7 個文件被更改,包括 73 次插入55 次删除

查看文件

@@ -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);
}