Merge "disp: msm: dsi: batch ROI DCS commands together"

This commit is contained in:
qctecmdr
2021-06-30 21:31:16 -07:00
gecommit door Gerrit - the friendly Code Review server
bovenliggende 1d9cf1d656 87e1c4f2b2
commit fada9dc2ca

Bestand weergeven

@@ -4407,6 +4407,7 @@ static int dsi_panel_roi_prepare_dcs_cmds(struct dsi_panel_cmd_set *set,
set->cmds[0].msg.channel = 0;
set->cmds[0].msg.type = MIPI_DSI_DCS_LONG_WRITE;
set->cmds[0].msg.flags = unicast ? MIPI_DSI_MSG_UNICAST_COMMAND : 0;
set->cmds[0].msg.flags |= MIPI_DSI_MSG_BATCH_COMMAND;
set->cmds[0].msg.tx_len = ROI_CMD_LEN;
set->cmds[0].msg.tx_buf = caset;
set->cmds[0].msg.rx_len = 0;