]> git.baikalelectronics.ru Git - kernel.git/commit
drm/dsi: Add message to packet translator
authorThierry Reding <treding@nvidia.com>
Thu, 16 Oct 2014 11:44:02 +0000 (13:44 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 13 Nov 2014 12:55:26 +0000 (13:55 +0100)
commit0eb6181e94a7a87ce1296e56ff6a4f191e6caccb
treedaba30972f3fc580fb3b6c818d31500bd3be2597
parent6b026f96874a1db887aeadfcae8235f7a9c91e38
drm/dsi: Add message to packet translator

This commit introduces a new function, mipi_dsi_create_packet(), which
converts from a MIPI DSI message to a MIPI DSI packet. The MIPI DSI
packet is as close to the protocol described in the DSI specification as
possible and useful in drivers that need to write a DSI packet into a
FIFO to send a message off to the peripheral.

Suggested-by: Andrzej Hajda <a.hajda@samsung.com>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/drm_mipi_dsi.c
include/drm/drm_mipi_dsi.h