OSDN Git Service

drm: rcar-du: Add support for CMM
authorJacopo Mondi <jacopo+renesas@jmondi.org>
Thu, 17 Oct 2019 13:43:32 +0000 (15:43 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 18 Dec 2019 00:40:03 +0000 (02:40 +0200)
commite08e934d6c289ed0d6bc222271f69dc35fb2caa5
treed28530e958012e497c74ad12150f0781971385a3
parent6e2258b58f819e73aad229fd0af7d8274ef22669
drm: rcar-du: Add support for CMM

Add a driver for the R-Car Display Unit Color Correction Module.

In most of Gen3 SoCs, each DU output channel is provided with a CMM unit
to perform image enhancement and color correction.

Add support for CMM through a driver that supports configuration of
the 1-dimensional LUT table. More advanced CMM features will be
implemented on top of this initial one.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
drivers/gpu/drm/rcar-du/Kconfig
drivers/gpu/drm/rcar-du/Makefile
drivers/gpu/drm/rcar-du/rcar_cmm.c [new file with mode: 0644]
drivers/gpu/drm/rcar-du/rcar_cmm.h [new file with mode: 0644]