drm/dsi: Introduce packet format helpers
authorThierry Reding <treding@nvidia.com>
Tue, 4 Nov 2014 13:59:14 +0000 (14:59 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 13 Nov 2014 12:55:24 +0000 (13:55 +0100)
commit02acb76d72b3672330b6a20d2773048658b2d176
tree3b94b9085c953ed129df66529f8355eb7f7bc8b4
parentd85a1609e62c22730aa4e3ef09884f04606b086e
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>
drivers/gpu/drm/drm_mipi_dsi.c
include/drm/drm_mipi_dsi.h