From 4e61dd033c918f2ff1a4b492f8fcf782c42d6ca0 Mon Sep 17 00:00:00 2001 From: Bang Nguyen Date: Tue, 30 Jul 2019 14:12:34 -0500 Subject: [PATCH] Add new macro MIPI_DSI_MSG_READ Add a new macro MIPI_DSI_MSG_READ (bit 4) in drm_mipi_dsi.h for MIPI DSI READ Message Change-Id: I8d6ed4aa10b915f7ff74339c8bdabe061c09ecd5 Signed-off-by: Bang Nguyen Reviewed-on: https://gerrit.mot.com/1697680 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Shuo Yan Reviewed-by: Guobin Zhang Submit-Approved: Jira Key --- include/drm/drm_mipi_dsi.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/drm/drm_mipi_dsi.h b/include/drm/drm_mipi_dsi.h index f307f014440b..2159df2ae857 100644 --- a/include/drm/drm_mipi_dsi.h +++ b/include/drm/drm_mipi_dsi.h @@ -22,6 +22,8 @@ struct mipi_dsi_device; #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) +/* transmit message is a DSI read message */ +#define MIPI_DSI_MSG_READ BIT(4) /** * struct mipi_dsi_msg - read/write DSI buffer