disp: msm: dsi: limit dma read commands to sublink 0

Limit dma read commands to sublink 0 in split link
configuration since all panels do not support read
on sublink 1.

Change-Id: I537abafc02afe1c3306175ac850f4f080154f443
Signed-off-by: Shashank Babu Chinta Venkata <sbchin@codeaurora.org>
这个提交包含在:
Shashank Babu Chinta Venkata
2021-10-21 15:04:12 -07:00
父节点 a6400b2c81
当前提交 43697d6331

查看文件

@@ -299,6 +299,14 @@ void dsi_ctrl_hw_22_configure_splitlink(struct dsi_ctrl_hw *ctrl,
else
reg |= (BIT(12) | BIT(13));
/**
* Avoid dma trigger on sublink1 for read commands. This can be
* enabled in future if panel supports sending read command on sublink1.
*/
if (flags & DSI_CTRL_CMD_READ) {
reg = reg & ~BIT(13);
}
DSI_W32(ctrl, DSI_SPLIT_LINK, reg);
/* Make sure the split link config is updated */