Hi Jacopo,
On Sun, Aug 25, 2019 at 3:51 PM Jacopo Mondi jacopo+renesas@jmondi.org wrote:
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 feature will be implemented on top of this basic one.
Signed-off-by: Jacopo Mondi jacopo+renesas@jmondi.org
Thanks for your patch!
--- /dev/null +++ b/drivers/gpu/drm/rcar-du/rcar_cmm.c
+static const struct of_device_id rcar_cmm_of_table[] = {
{ .compatible = "renesas,cmm-r8a7795", },
{ .compatible = "renesas,cmm-r8a7796", },
{ .compatible = "renesas,cmm-r8a77965", },
{ .compatible = "renesas,cmm-r8a77990", },
{ .compatible = "renesas,cmm-r8a77995", },
{ .compatible = "renesas,rcar-gen3-cmm", },
As they're all handled the same, you can drop the SoC-specific values from the driver's match table.
{ .compatible = "renesas,rcar-gen2-cmm", },
Just wondering: has this been tested on R-Car Gen2?
Gr{oetje,eeting}s,
Geert