[PATCH v5 05/11] drm: add Atmel HLCDC Display Controller support

2014-09-28 Thread Rob Clark
On Sat, Sep 27, 2014 at 4:12 PM, Boris BREZILLON wrote: >> > +static int atmel_hlcdc_rgb_mode_valid(struct drm_connector *connector, >> > + struct drm_display_mode *mode) >> > +{ >> > + return MODE_OK; >> > +} >> >> your _mode_valid() should perhaps

[PATCH v5 05/11] drm: add Atmel HLCDC Display Controller support

2014-09-27 Thread Boris BREZILLON
Hi Rob, On Fri, 26 Sep 2014 17:10:49 -0400 Rob Clark wrote: > On Mon, Sep 8, 2014 at 4:43 AM, Boris BREZILLON > wrote: > > The Atmel HLCDC (HLCD Controller) IP available on some Atmel SoCs (i.e. > > at91sam9n12, at91sam9x5 family or sama5d3 family) provides a display > > controller device. > >

[PATCH v5 05/11] drm: add Atmel HLCDC Display Controller support

2014-09-26 Thread Rob Clark
On Mon, Sep 8, 2014 at 4:43 AM, Boris BREZILLON wrote: > The Atmel HLCDC (HLCD Controller) IP available on some Atmel SoCs (i.e. > at91sam9n12, at91sam9x5 family or sama5d3 family) provides a display > controller device. > > This display controller supports at least one primary plane and might >

[PATCH v5 05/11] drm: add Atmel HLCDC Display Controller support

2014-09-23 Thread Nicolas Ferre
Hi Thierry, On 23/09/2014 10:42, Thierry Reding : > On Tue, Sep 23, 2014 at 09:24:36AM +0200, Boris BREZILLON wrote: >> Hi Thierry, >> >> On Tue, 23 Sep 2014 08:32:33 +0200 >> Thierry Reding wrote: >> >>> On Mon, Sep 22, 2014 at 09:18:11PM +0200, Boris BREZILLON wrote: On Mon, 8 Sep 2014

[PATCH v5 05/11] drm: add Atmel HLCDC Display Controller support

2014-09-23 Thread Thierry Reding
On Tue, Sep 23, 2014 at 09:24:36AM +0200, Boris BREZILLON wrote: > Hi Thierry, > > On Tue, 23 Sep 2014 08:32:33 +0200 > Thierry Reding wrote: > > > On Mon, Sep 22, 2014 at 09:18:11PM +0200, Boris BREZILLON wrote: > > > On Mon, 8 Sep 2014 10:43:36 +0200 Boris BREZILLON > > free-electrons.com>

[PATCH v5 05/11] drm: add Atmel HLCDC Display Controller support

2014-09-23 Thread Boris BREZILLON
Hi Thierry, On Tue, 23 Sep 2014 08:32:33 +0200 Thierry Reding wrote: > On Mon, Sep 22, 2014 at 09:18:11PM +0200, Boris BREZILLON wrote: > > On Mon, 8 Sep 2014 10:43:36 +0200 Boris BREZILLON > free-electrons.com> wrote: > [...] > > > diff --git a/drivers/gpu/drm/atmel-hlcdc/Kconfig > > >

[PATCH v5 05/11] drm: add Atmel HLCDC Display Controller support

2014-09-23 Thread Thierry Reding
On Mon, Sep 22, 2014 at 09:18:11PM +0200, Boris BREZILLON wrote: > On Mon, 8 Sep 2014 10:43:36 +0200 Boris BREZILLON free-electrons.com> wrote: [...] > > diff --git a/drivers/gpu/drm/atmel-hlcdc/Kconfig > > b/drivers/gpu/drm/atmel-hlcdc/Kconfig > > new file mode 100644 > > index

[PATCH v5 05/11] drm: add Atmel HLCDC Display Controller support

2014-09-22 Thread Boris BREZILLON
On Mon, 8 Sep 2014 10:43:36 +0200 Boris BREZILLON wrote: > The Atmel HLCDC (HLCD Controller) IP available on some Atmel SoCs (i.e. > at91sam9n12, at91sam9x5 family or sama5d3 family) provides a display > controller device. > > This display controller supports at least one primary plane and

[PATCH v5 05/11] drm: add Atmel HLCDC Display Controller support

2014-09-22 Thread Boris BREZILLON
Hi David, On Fri, 19 Sep 2014 15:10:02 +0200 David Herrmann wrote: > Hi > > On Mon, Sep 8, 2014 at 10:43 AM, Boris BREZILLON > wrote: > [snip] > > +static int atmel_hlcdc_dc_drm_probe(struct platform_device *pdev) > > +{ > > + int ret; > > + > > + ret = dma_set_coherent_mask(>dev,

[PATCH v5 05/11] drm: add Atmel HLCDC Display Controller support

2014-09-19 Thread David Herrmann
Hi On Mon, Sep 8, 2014 at 10:43 AM, Boris BREZILLON wrote: [snip] > +static int atmel_hlcdc_dc_drm_probe(struct platform_device *pdev) > +{ > + int ret; > + > + ret = dma_set_coherent_mask(>dev, DMA_BIT_MASK(32)); > + if (ret) > + return ret; > + > + ret =

[PATCH v5 05/11] drm: add Atmel HLCDC Display Controller support

2014-09-08 Thread Boris BREZILLON
The Atmel HLCDC (HLCD Controller) IP available on some Atmel SoCs (i.e. at91sam9n12, at91sam9x5 family or sama5d3 family) provides a display controller device. This display controller supports at least one primary plane and might provide several overlays and an hardware cursor depending on the IP