drm/msm/dsi-staging: add support to batch commands and kickoff
Add support to group commands until last_command
bit is set in the dtsi commands packing array
and transfer the batch of commands in one dma kickoff.
Change-Id: I0b6d91f2e26553c37f1e6adfc44542312c18340f
Signed-off-by: Vara Reddy <varar@codeaurora.org>
diff --git a/include/drm/drm_mipi_dsi.h b/include/drm/drm_mipi_dsi.h
index f5678aa..0dbddb3 100644
--- a/include/drm/drm_mipi_dsi.h
+++ b/include/drm/drm_mipi_dsi.h
@@ -23,6 +23,8 @@
#define MIPI_DSI_MSG_USE_LPM BIT(1)
/* read mipi_dsi_msg.ctrl and unicast to only that ctrls */
#define MIPI_DSI_MSG_UNICAST BIT(2)
+/* Stack all commands until lastcommand bit and trigger all in one go */
+#define MIPI_DSI_MSG_LASTCOMMAND BIT(3)
/**
* struct mipi_dsi_msg - read/write DSI buffer