Re: [PATCH] drm: rcar-du: Fix pitch handling for fully planar YUV formats

2020-09-09 Thread Laurent Pinchart
Hi Kieran, On Wed, Sep 09, 2020 at 05:06:01PM +0100, Kieran Bingham wrote: > On 09/09/2020 13:08, Ville Syrjälä wrote: > > On Tue, Sep 08, 2020 at 05:05:48PM +0100, Kieran Bingham wrote: > >> On 08/09/2020 16:52, Laurent Pinchart wrote: > >>> On Tue, Sep 08, 2020 at 04:42:58PM +0100, Kieran Bingha

Re: [PATCH] drm: rcar-du: Fix pitch handling for fully planar YUV formats

2020-09-09 Thread Kieran Bingham
Hi Ville, Laurent, On 09/09/2020 13:08, Ville Syrjälä wrote: > On Tue, Sep 08, 2020 at 05:05:48PM +0100, Kieran Bingham wrote: >> Hi Laurent, >> >> On 08/09/2020 16:52, Laurent Pinchart wrote: >>> Hi Kieran, >>> >>> On Tue, Sep 08, 2020 at 04:42:58PM +0100, Kieran Bingham wrote: On 06/08/2020

Re: [PATCH] drm: rcar-du: Fix pitch handling for fully planar YUV formats

2020-09-09 Thread Daniel Vetter
On Tue, Sep 8, 2020 at 6:05 PM Kieran Bingham wrote: > > Hi Laurent, > > On 08/09/2020 16:52, Laurent Pinchart wrote: > > Hi Kieran, > > > > On Tue, Sep 08, 2020 at 04:42:58PM +0100, Kieran Bingham wrote: > >> On 06/08/2020 03:26, Laurent Pinchart wrote: > >>> When creating a frame buffer, the dri

Re: [PATCH] drm: rcar-du: Fix pitch handling for fully planar YUV formats

2020-09-09 Thread Ville Syrjälä
On Tue, Sep 08, 2020 at 05:05:48PM +0100, Kieran Bingham wrote: > Hi Laurent, > > On 08/09/2020 16:52, Laurent Pinchart wrote: > > Hi Kieran, > > > > On Tue, Sep 08, 2020 at 04:42:58PM +0100, Kieran Bingham wrote: > >> On 06/08/2020 03:26, Laurent Pinchart wrote: > >>> When creating a frame buffe

Re: [PATCH] drm: rcar-du: Fix pitch handling for fully planar YUV formats

2020-09-08 Thread Kieran Bingham
Hi Laurent, On 08/09/2020 16:52, Laurent Pinchart wrote: > Hi Kieran, > > On Tue, Sep 08, 2020 at 04:42:58PM +0100, Kieran Bingham wrote: >> On 06/08/2020 03:26, Laurent Pinchart wrote: >>> When creating a frame buffer, the driver verifies that the pitches for >>> the chroma planes match the luma

Re: [PATCH] drm: rcar-du: Fix pitch handling for fully planar YUV formats

2020-09-08 Thread Laurent Pinchart
Hi Kieran, On Tue, Sep 08, 2020 at 04:42:58PM +0100, Kieran Bingham wrote: > On 06/08/2020 03:26, Laurent Pinchart wrote: > > When creating a frame buffer, the driver verifies that the pitches for > > the chroma planes match the luma plane. This is done incorrectly for > > fully planar YUV formats

Re: [PATCH] drm: rcar-du: Fix pitch handling for fully planar YUV formats

2020-09-08 Thread Kieran Bingham
Hi Laurent, On 06/08/2020 03:26, Laurent Pinchart wrote: > When creating a frame buffer, the driver verifies that the pitches for > the chroma planes match the luma plane. This is done incorrectly for > fully planar YUV formats, without taking horizontal subsampling into > account. Fix it. > > Si

[PATCH] drm: rcar-du: Fix pitch handling for fully planar YUV formats

2020-08-05 Thread Laurent Pinchart
When creating a frame buffer, the driver verifies that the pitches for the chroma planes match the luma plane. This is done incorrectly for fully planar YUV formats, without taking horizontal subsampling into account. Fix it. Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/rcar-du/rcar_du_km