]> 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)
commit211928a98ac2a3a6b4a7833542d5d43c8b408142
treedaba30972f3fc580fb3b6c818d31500bd3be2597
parentf55706363bb0e7f1977d033c7bbbd046910fd0fe
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