Re: [PATCH 4/4] drm/meson: convert to the new canvas module

2018-08-11 Thread Maxime Jourdan
2018-08-10 0:41 GMT+02:00 Rob Herring : > Hi, this is an automated email from Rob's (experimental) review bot. I > found a couple of common problems with your patch. Please see below. > > On Wed, 1 Aug 2018 20:51:28 +0200, Maxime Jourdan wrote: >> This removes the meson_canvas files within the mes

Re: [PATCH 4/4] drm/meson: convert to the new canvas module

2018-08-10 Thread Neil Armstrong
On 10/08/2018 08:35, Maxime Jourdan wrote: > 2018-08-10 0:41 GMT+02:00 Rob Herring : >> Hi, this is an automated email from Rob's (experimental) review bot. I >> found a couple of common problems with your patch. Please see below. >> >> On Wed, 1 Aug 2018 20:51:28 +0200, Maxime Jourdan wrote: >>>

Re: [PATCH 4/4] drm/meson: convert to the new canvas module

2018-08-09 Thread Rob Herring
Hi, this is an automated email from Rob's (experimental) review bot. I found a couple of common problems with your patch. Please see below. On Wed, 1 Aug 2018 20:51:28 +0200, Maxime Jourdan wrote: > This removes the meson_canvas files within the meson/drm layer > and makes use of the new canvas m

Re: [PATCH 4/4] drm/meson: convert to the new canvas module

2018-08-03 Thread Maxime Jourdan
Hi Jerome, 2018-08-02 10:39 GMT+02:00 Jerome Brunet : > I looks like the consumer of your 'canvas' devices must know how the canvas > device is organized internally. Maybe something better can be done ? > > Your canvas driver could provide a consumer API, for example: > meson_canvas_get(): to tran

Re: [PATCH 4/4] drm/meson: convert to the new canvas module

2018-08-03 Thread Jerome Brunet
On Wed, 2018-08-01 at 20:51 +0200, Maxime Jourdan wrote: > This removes the meson_canvas files within the meson/drm layer > and makes use of the new canvas module that is referenced in the dts. > > Canvases can be used by different IPs and modules, and it is as such > preferable to rely on a modul

Re: [PATCH 4/4] drm/meson: convert to the new canvas module

2018-08-03 Thread Maxime Jourdan
2018-08-02 15:01 GMT+02:00 Jerome Brunet : > What I don't like is precisely that you need to expose this 'struct ops' to > the > consumer. I would prefer an API for this (it can be a 1:1 mapping). The canvas > should remain some abstract object you get from DT. > > IMO, this is the same as a reset

Re: [PATCH 4/4] drm/meson: convert to the new canvas module

2018-08-03 Thread Jerome Brunet
On Thu, 2018-08-02 at 14:34 +0200, Maxime Jourdan wrote: > Hi Jerome, > > 2018-08-02 10:39 GMT+02:00 Jerome Brunet : > > I looks like the consumer of your 'canvas' devices must know how the canvas > > device is organized internally. Maybe something better can be done ? > > > > Your canvas driver

[PATCH 4/4] drm/meson: convert to the new canvas module

2018-08-02 Thread Maxime Jourdan
This removes the meson_canvas files within the meson/drm layer and makes use of the new canvas module that is referenced in the dts. Canvases can be used by different IPs and modules, and it is as such preferable to rely on a module that can safely dispatch canvases on demand. Signed-off-by: Maxi