Re: (subset) [PATCH] drm/vc4: Fix YUV plane handling when planes are in different buffers

2023-02-09 Thread Maxime Ripard
On Fri, 27 Jan 2023 16:57:08 +0100, Maxime Ripard wrote: > YUV images can either be presented as one allocation with offsets > for the different planes, or multiple allocations with 0 offsets. > > The driver only ever calls drm_fb_[dma|cma]_get_gem_obj with plane > index 0, therefore any applicati

[PATCH] drm/vc4: Fix YUV plane handling when planes are in different buffers

2023-01-27 Thread Maxime Ripard
From: Dave Stevenson YUV images can either be presented as one allocation with offsets for the different planes, or multiple allocations with 0 offsets. The driver only ever calls drm_fb_[dma|cma]_get_gem_obj with plane index 0, therefore any application using the second approach was incorrectly