Re: Re: [PATCH v7 5/9] drm/fb_dma: Add generic get_scanout_buffer() for drm_panic

2024-01-26 Thread Maxime Ripard
On Thu, Jan 18, 2024 at 02:38:53PM +0100, Daniel Vetter wrote: > On Fri, Jan 12, 2024 at 02:56:17PM +0100, Maxime Ripard wrote: > > On Fri, Jan 12, 2024 at 02:41:53PM +0100, Daniel Vetter wrote: > > > > + fb = plane->state->fb; > > > > + /* Only support linear modifier *

Re: [PATCH v7 5/9] drm/fb_dma: Add generic get_scanout_buffer() for drm_panic

2024-01-18 Thread Daniel Vetter
On Wed, Jan 17, 2024 at 03:28:09PM +0100, Jocelyn Falempe wrote: > > > On 12/01/2024 14:41, Daniel Vetter wrote: > > On Thu, Jan 04, 2024 at 05:00:49PM +0100, Jocelyn Falempe wrote: > > > This was initialy done for imx6, but should work on most drivers > > > using drm_fb_dma_helper. > > > > > >

Re: [PATCH v7 5/9] drm/fb_dma: Add generic get_scanout_buffer() for drm_panic

2024-01-18 Thread Daniel Vetter
On Fri, Jan 12, 2024 at 02:56:17PM +0100, Maxime Ripard wrote: > On Fri, Jan 12, 2024 at 02:41:53PM +0100, Daniel Vetter wrote: > > > + fb = plane->state->fb; > > > + /* Only support linear modifier */ > > > + if (fb->modifier != DRM_FORMAT_MOD_LINEAR) > > > +

Re: [PATCH v7 5/9] drm/fb_dma: Add generic get_scanout_buffer() for drm_panic

2024-01-17 Thread Jocelyn Falempe
On 12/01/2024 14:41, Daniel Vetter wrote: On Thu, Jan 04, 2024 at 05:00:49PM +0100, Jocelyn Falempe wrote: This was initialy done for imx6, but should work on most drivers using drm_fb_dma_helper. Signed-off-by: Jocelyn Falempe --- drivers/gpu/drm/drm_fb_dma_helper.c | 55

Re: [PATCH v7 5/9] drm/fb_dma: Add generic get_scanout_buffer() for drm_panic

2024-01-12 Thread Maxime Ripard
On Fri, Jan 12, 2024 at 02:41:53PM +0100, Daniel Vetter wrote: > > + fb = plane->state->fb; > > + /* Only support linear modifier */ > > + if (fb->modifier != DRM_FORMAT_MOD_LINEAR) > > + continue; > > + > > + /* Check if color format is sup

Re: [PATCH v7 5/9] drm/fb_dma: Add generic get_scanout_buffer() for drm_panic

2024-01-12 Thread Daniel Vetter
On Thu, Jan 04, 2024 at 05:00:49PM +0100, Jocelyn Falempe wrote: > This was initialy done for imx6, but should work on most drivers > using drm_fb_dma_helper. > > Signed-off-by: Jocelyn Falempe > --- > drivers/gpu/drm/drm_fb_dma_helper.c | 55 + > include/drm/drm_fb_d

Re: [PATCH v7 5/9] drm/fb_dma: Add generic get_scanout_buffer() for drm_panic

2024-01-12 Thread Jocelyn Falempe
On 08/01/2024 11:20, Maxime Ripard wrote: Hi, On Thu, Jan 04, 2024 at 05:00:49PM +0100, Jocelyn Falempe wrote: This was initialy done for imx6, but should work on most drivers using drm_fb_dma_helper. Signed-off-by: Jocelyn Falempe --- drivers/gpu/drm/drm_fb_dma_helper.c | 55 +++

Re: [PATCH v7 5/9] drm/fb_dma: Add generic get_scanout_buffer() for drm_panic

2024-01-08 Thread Maxime Ripard
Hi, On Thu, Jan 04, 2024 at 05:00:49PM +0100, Jocelyn Falempe wrote: > This was initialy done for imx6, but should work on most drivers > using drm_fb_dma_helper. > > Signed-off-by: Jocelyn Falempe > --- > drivers/gpu/drm/drm_fb_dma_helper.c | 55 + > include/drm/drm

Re: [PATCH v7 5/9] drm/fb_dma: Add generic get_scanout_buffer() for drm_panic

2024-01-05 Thread kernel test robot
: 50a3c772bd927dd409c484832ddd9f6bf00b7389 patch link: https://lore.kernel.org/r/20240104160301.185915-6-jfalempe%40redhat.com patch subject: [PATCH v7 5/9] drm/fb_dma: Add generic get_scanout_buffer() for drm_panic config: mips-gcw0_defconfig (https://download.01.org/0day-ci/archive/20240106

[PATCH v7 5/9] drm/fb_dma: Add generic get_scanout_buffer() for drm_panic

2024-01-04 Thread Jocelyn Falempe
This was initialy done for imx6, but should work on most drivers using drm_fb_dma_helper. Signed-off-by: Jocelyn Falempe --- drivers/gpu/drm/drm_fb_dma_helper.c | 55 + include/drm/drm_fb_dma_helper.h | 4 +++ 2 files changed, 59 insertions(+) diff --git a/drive