drm/dsi: Implement generic read and write commands
authorThierry Reding <treding@nvidia.com>
Tue, 5 Aug 2014 08:36:21 +0000 (10:36 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 13 Nov 2014 12:55:51 +0000 (13:55 +0100)
commit550ab8483641c6d5f059d66816b1d32dad4bcfde
tree83b6339c685ca35ee657e053a059bee1848db894
parent8677affc6cc24ebc0c5728c8f11140f0c509152f
drm/dsi: Implement generic read and write commands

Implement generic read and write commands. Selection of the proper data
type for packets is done automatically based on the number of parameters
or payload length.

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