drm/dsi: Implement DCS get_power_mode command
commit3d9a8fcf1c6a9032eb389d3c90323ae980c9d50a
authorThierry Reding <treding@nvidia.com>
Tue, 5 Aug 2014 09:17:06 +0000 (5 11:17 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 13 Nov 2014 12:56:03 +0000 (13 13:56 +0100)
tree0197a547bc4e1f44673a7a2707451b9ada1d1126
parent2f16b89737e24b729305dcd4a3573c175615aa4c
drm/dsi: Implement DCS get_power_mode command

Provide a small convenience wrapper that transmits a DCS get_power_mode
command. A set of bitmasks for the mode bits is also provided.

Acked-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