ANDROID: drivers: gpu: drm: add support to batch commands

MSM DSI framework has capability to batch commands and
do kickoff once MIPI_DSI_MSG_LASTCOMMAND flag is set. This enables
related commands to be grouped and sent in one dma kickoff.

Signed-off-by: Shashank Babu Chinta Venkata <[email protected]>
Bug: 139653858
Change-Id: I2742c62a90e9a194848a612eef40a22103bb6596
This commit is contained in:
Shashank Babu Chinta Venkata 2019-11-19 14:02:09 -08:00
commit 1026fb2f81
2 changed files with 3 additions and 0 deletions

View file

@ -20,6 +20,8 @@ struct mipi_dsi_device;
#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