All of lore.kernel.org
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Jacopo Mondi <jacopo+renesas@jmondi.org>,
	Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>,
	Simon Horman <horms@verge.net.au>,
	Ulrich Hecht <uli+renesas@fpond.eu>,
	David Airlie <airlied@linux.ie>, Daniel Vetter <daniel@ffwll.ch>,
	Linux-Renesas <linux-renesas-soc@vger.kernel.org>,
	DRI Development <dri-devel@lists.freedesktop.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v7 3/7] drm: rcar-du: Add support for CMM
Date: Thu, 28 Nov 2019 09:24:13 +0100	[thread overview]
Message-ID: <CAMuHMdUeeV23qqfi6AH5S_KG2Ly3J1sbEKc0hg0eJcJ91JCtQA@mail.gmail.com> (raw)
In-Reply-To: <20191128080946.GF4711@pendragon.ideasonboard.com>

Hi Laurent,

On Thu, Nov 28, 2019 at 9:09 AM Laurent Pinchart
<laurent.pinchart@ideasonboard.com> wrote:
> On Thu, Nov 28, 2019 at 08:56:14AM +0100, Geert Uytterhoeven wrote:
> > On Wed, Nov 13, 2019 at 11:04 AM 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 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>
> >
> > > --- a/drivers/gpu/drm/rcar-du/Kconfig
> > > +++ b/drivers/gpu/drm/rcar-du/Kconfig
> > > @@ -5,6 +5,7 @@ config DRM_RCAR_DU
> > >         depends on ARM || ARM64
> > >         depends on ARCH_RENESAS || COMPILE_TEST
> > >         imply DRM_RCAR_LVDS
> > > +       imply DRM_RCAR_CMM
> > >         select DRM_KMS_HELPER
> > >         select DRM_KMS_CMA_HELPER
> > >         select DRM_GEM_CMA_HELPER
> > > @@ -13,6 +14,13 @@ config DRM_RCAR_DU
> > >           Choose this option if you have an R-Car chipset.
> > >           If M is selected the module will be called rcar-du-drm.
> > >
> > > +config DRM_RCAR_CMM
> > > +       tristate "R-Car DU Color Management Module (CMM) Support"
> > > +       depends on DRM && OF
> > > +       depends on DRM_RCAR_DU
> >
> > DRM_RCAR_DU already depends on DRM && OF, so the line above
> > can be removed.
>
> I've sent a pull request already. Can we address this on top ? Or is it
> worth a separate patch, should we wait until we have to touch this and
> then fix it in a "while at it" fashion ?

Sure. "while at it" is fine for me.  It's not blocker.

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

WARNING: multiple messages have this Message-ID (diff)
From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Simon Horman <horms@verge.net.au>,
	David Airlie <airlied@linux.ie>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	DRI Development <dri-devel@lists.freedesktop.org>,
	Linux-Renesas <linux-renesas-soc@vger.kernel.org>,
	Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>,
	Jacopo Mondi <jacopo+renesas@jmondi.org>,
	Ulrich Hecht <uli+renesas@fpond.eu>
Subject: Re: [PATCH v7 3/7] drm: rcar-du: Add support for CMM
Date: Thu, 28 Nov 2019 09:24:13 +0100	[thread overview]
Message-ID: <CAMuHMdUeeV23qqfi6AH5S_KG2Ly3J1sbEKc0hg0eJcJ91JCtQA@mail.gmail.com> (raw)
Message-ID: <20191128082413.XprqhzuBTwntHNYr40wwbyvdzH2Gx_fl_1DUNDoTyx8@z> (raw)
In-Reply-To: <20191128080946.GF4711@pendragon.ideasonboard.com>

Hi Laurent,

On Thu, Nov 28, 2019 at 9:09 AM Laurent Pinchart
<laurent.pinchart@ideasonboard.com> wrote:
> On Thu, Nov 28, 2019 at 08:56:14AM +0100, Geert Uytterhoeven wrote:
> > On Wed, Nov 13, 2019 at 11:04 AM 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 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>
> >
> > > --- a/drivers/gpu/drm/rcar-du/Kconfig
> > > +++ b/drivers/gpu/drm/rcar-du/Kconfig
> > > @@ -5,6 +5,7 @@ config DRM_RCAR_DU
> > >         depends on ARM || ARM64
> > >         depends on ARCH_RENESAS || COMPILE_TEST
> > >         imply DRM_RCAR_LVDS
> > > +       imply DRM_RCAR_CMM
> > >         select DRM_KMS_HELPER
> > >         select DRM_KMS_CMA_HELPER
> > >         select DRM_GEM_CMA_HELPER
> > > @@ -13,6 +14,13 @@ config DRM_RCAR_DU
> > >           Choose this option if you have an R-Car chipset.
> > >           If M is selected the module will be called rcar-du-drm.
> > >
> > > +config DRM_RCAR_CMM
> > > +       tristate "R-Car DU Color Management Module (CMM) Support"
> > > +       depends on DRM && OF
> > > +       depends on DRM_RCAR_DU
> >
> > DRM_RCAR_DU already depends on DRM && OF, so the line above
> > can be removed.
>
> I've sent a pull request already. Can we address this on top ? Or is it
> worth a separate patch, should we wait until we have to touch this and
> then fix it in a "while at it" fashion ?

Sure. "while at it" is fine for me.  It's not blocker.

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  reply	other threads:[~2019-11-28  8:24 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-13 10:05 [PATCH v7 0/7] drm: rcar-du: Add Color Management Module (CMM) Jacopo Mondi
2019-11-13 10:05 ` Jacopo Mondi
2019-11-13 10:05 ` [PATCH v7 1/7] dt-bindings: display: renesas,cmm: Add R-Car CMM documentation Jacopo Mondi
2019-11-13 10:05   ` [PATCH v7 1/7] dt-bindings: display: renesas, cmm: " Jacopo Mondi
2019-11-13 10:05 ` [PATCH v7 2/7] dt-bindings: display, renesas,du: Document cmms property Jacopo Mondi
2019-11-13 10:05   ` [PATCH v7 2/7] dt-bindings: display, renesas, du: " Jacopo Mondi
2019-11-13 13:34   ` [PATCH v7 2/7] dt-bindings: display, renesas,du: " Geert Uytterhoeven
2019-11-13 13:34     ` [PATCH v7 2/7] dt-bindings: display, renesas, du: " Geert Uytterhoeven
2019-11-28  1:50     ` [PATCH v7 2/7] dt-bindings: display, renesas,du: " Laurent Pinchart
2019-11-28  1:50       ` Laurent Pinchart
2019-11-13 10:05 ` [PATCH v7 3/7] drm: rcar-du: Add support for CMM Jacopo Mondi
2019-11-13 10:05   ` Jacopo Mondi
2019-11-28  1:52   ` Laurent Pinchart
2019-11-28  1:52     ` Laurent Pinchart
2019-11-28  7:56   ` Geert Uytterhoeven
2019-11-28  7:56     ` Geert Uytterhoeven
2019-11-28  8:09     ` Laurent Pinchart
2019-11-28  8:09       ` Laurent Pinchart
2019-11-28  8:24       ` Geert Uytterhoeven [this message]
2019-11-28  8:24         ` Geert Uytterhoeven
2019-11-13 10:05 ` [PATCH v7 4/7] drm: rcar-du: kms: Initialize CMM instances Jacopo Mondi
2019-11-13 10:05   ` Jacopo Mondi
2019-11-13 10:05 ` [PATCH v7 5/7] drm: rcar-du: crtc: Control CMM operations Jacopo Mondi
2019-11-13 10:05   ` Jacopo Mondi
2019-12-17 23:02   ` [PATCH v7.1 5.7] " Laurent Pinchart
2019-12-17 23:02     ` Laurent Pinchart
2019-11-13 10:05 ` [PATCH v7 6/7] drm: rcar-du: crtc: Register GAMMA_LUT properties Jacopo Mondi
2019-11-13 10:05   ` Jacopo Mondi
2019-11-13 10:05 ` [PATCH v7 7/7] drm: rcar-du: kms: Expand comment in vsps parsing routine Jacopo Mondi
2019-11-13 10:05   ` Jacopo Mondi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMuHMdUeeV23qqfi6AH5S_KG2Ly3J1sbEKc0hg0eJcJ91JCtQA@mail.gmail.com \
    --to=geert@linux-m68k.org \
    --cc=airlied@linux.ie \
    --cc=daniel@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=horms@verge.net.au \
    --cc=jacopo+renesas@jmondi.org \
    --cc=kieran.bingham+renesas@ideasonboard.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=uli+renesas@fpond.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.