summaryrefslogtreecommitdiff
path: root/include/drm/drm_mipi_dsi.h
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2014-11-04 14:59:14 +0100
committerThierry Reding <treding@nvidia.com>2014-11-13 13:55:24 +0100
commit02acb76d72b3672330b6a20d2773048658b2d176 (patch)
tree3b94b9085c953ed129df66529f8355eb7f7bc8b4 /include/drm/drm_mipi_dsi.h
parentd85a1609e62c22730aa4e3ef09884f04606b086e (diff)
drm/dsi: Introduce packet format helpers
Add two helpers, mipi_dsi_packet_format_is_{short,long}(), that help in determining the format of a packet. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'include/drm/drm_mipi_dsi.h')
-rw-r--r--include/drm/drm_mipi_dsi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/drm/drm_mipi_dsi.h b/include/drm/drm_mipi_dsi.h
index 8569dc5a1026..f1a07e302559 100644
--- a/include/drm/drm_mipi_dsi.h
+++ b/include/drm/drm_mipi_dsi.h
@@ -43,6 +43,9 @@ struct mipi_dsi_msg {
void *rx_buf;
};
+bool mipi_dsi_packet_format_is_short(u8 type);
+bool mipi_dsi_packet_format_is_long(u8 type);
+
/**
* struct mipi_dsi_host_ops - DSI bus operations
* @attach: attach DSI device to DSI host