diff options
author | Thierry Reding <treding@nvidia.com> | 2014-11-04 14:59:14 +0100 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2014-11-13 13:55:24 +0100 |
commit | 02acb76d72b3672330b6a20d2773048658b2d176 (patch) | |
tree | 3b94b9085c953ed129df66529f8355eb7f7bc8b4 /include/drm | |
parent | d85a1609e62c22730aa4e3ef09884f04606b086e (diff) | |
download | op-kernel-dev-02acb76d72b3672330b6a20d2773048658b2d176.zip op-kernel-dev-02acb76d72b3672330b6a20d2773048658b2d176.tar.gz |
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')
-rw-r--r-- | include/drm/drm_mipi_dsi.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/drm/drm_mipi_dsi.h b/include/drm/drm_mipi_dsi.h index 8569dc5..f1a07e3 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 |