Re: [RESEND] [PATCH v3 3/4] drm/dsi: Implement dcs set/get display brightness

From: Thierry Reding
Date: Wed Aug 24 2016 - 07:46:59 EST


On Sun, Jul 31, 2016 at 08:45:22PM +0530, Vinay Simha BN wrote:
> Provide a small convenience wrapper that set/get the
> display brightness value
>
> Cc: John Stultz <john.stultz@xxxxxxxxxx>
> Cc: Sumit Semwal <sumit.semwal@xxxxxxxxxx>
> Cc: Archit Taneja <archit.taneja@xxxxxxxxx>
> Cc: Rob Clark <robdclark@xxxxxxxxx>
> Cc: Jani Nikula <jani.nikula@xxxxxxxxxxxxxxx>
> Cc: Thierry Reding <thierry.reding@xxxxxxxxx>
> Cc: Emil Velikov <emil.l.velikov@xxxxxxxxx>
> Signed-off-by: Vinay Simha BN <simhavcs@xxxxxxxxx>
> Reviewed-by: Emil Velikov <emil.l.velikov@xxxxxxxxx>
>
> ---
> v1:
> *tested in nexus7 2nd gen.
>
> v2:
> * implemented jani review comments
> -functions name mapped accordingly
> -bl value increased from 0xff to 0xffff
> -backlight interface will be handled in panel driver,
> so it is moved from the mipi_dsi helper function
>
> v3:
> * emil review comments
> (err < 0) supposed to be (err <= 0)
> ---
> drivers/gpu/drm/drm_mipi_dsi.c | 49 ++++++++++++++++++++++++++++++++++++++++++
> include/drm/drm_mipi_dsi.h | 4 ++++
> 2 files changed, 53 insertions(+)

Applied, thanks.

Thierry

Attachment: signature.asc
Description: PGP signature