disp: msm: dsi: prepare resources for cmd transfer at the start of the cmd packet
For batched commands, prepare resources at the start of the command packet and not for the command with LAST_COMMAND flag set. Change-Id: Ibbb0d1d1acd4ddeebd07bf9dd6ea1a949edd8d02 Signed-off-by: Satya Rama Aditya Pinapala <psraditya30@codeaurora.org>
This commit is contained in:
@@ -713,7 +713,8 @@ static void dsi_display_set_cmd_tx_ctrl_flags(struct dsi_display *display,
|
||||
}
|
||||
|
||||
/* Set flags for last command */
|
||||
if (!(msg->flags & MIPI_DSI_MSG_BATCH_COMMAND))
|
||||
if (!(msg->flags & MIPI_DSI_MSG_BATCH_COMMAND) || (flags & DSI_CTRL_CMD_FIFO_STORE)
|
||||
|| (flags & DSI_CTRL_CMD_NON_EMBEDDED_MODE))
|
||||
flags |= DSI_CTRL_CMD_LAST_COMMAND;
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user