public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* Re: [PATCH v5] drm/fsl-dcu: Implement gamma_lut atomic crtc properties
       [not found] <1475051069-24452-1-git-send-email-meng.yi@nxp.com>
@ 2016-10-08 22:26 ` Rob Herring
  0 siblings, 0 replies; only message in thread
From: Rob Herring @ 2016-10-08 22:26 UTC (permalink / raw)
  To: Meng Yi, linux-arm-kernel; +Cc: stefan 

On Wed, Sep 28, 2016 at 04:24:29PM +0800, Meng Yi wrote:
> Gamma correction is optional and can be used to adjust the color
> output values to match the gamut of a particular TFT LCD panel
> 
> Split the DCU regs into "regs", "palette", "gamma" and "cursor".
> Create a second regmap for gamma memory space using little endian.
> The registers after the first address space are not accessed yet,
> hence new device trees would even work with old kernels. Just new
> kernel need the new format so we can access the separate gamma
> reg space.
> 
> Suggested-by: Stefan Agner <stefan@agner.ch>
> Signed-off-by: Meng Yi <meng.yi@nxp.com>
> ---
> Changes since V1:
> -created a second regmap for gamma
> -updated the DCU DT binding
> -removed Kconfig for gamma and enable gamma when valid data filled.
> -extended and simplified comment lines.
> ---
>  .../devicetree/bindings/display/fsl,dcu.txt        | 12 +++++++-

Acked-by: Rob Herring <robh@kernel.org>

>  drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c         | 33 ++++++++++++++++++++
>  drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c          | 35 +++++++++++++++++++++-
>  drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.h          |  7 +++++
>  4 files changed, 85 insertions(+), 2 deletions(-)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-10-08 22:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1475051069-24452-1-git-send-email-meng.yi@nxp.com>
2016-10-08 22:26 ` [PATCH v5] drm/fsl-dcu: Implement gamma_lut atomic crtc properties Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox