Re: [linux-sunxi] [PATCH] drm/sun4i: wait on implicit fence before display

2018-11-22 Thread Jernej Škrabec
Hi, Dne ponedeljek, 19. november 2018 ob 15:33:11 CET je Qiang Yu napisal(a): > Render like lima will attach a fence to the framebuffer > dma_buf, display like sun4i should wait it finish before > show the framebuffer. Otherwise tearing will be observed. Please resend this patch to all emails lis

Re: [PATCH] drm/sun4i: wait on implicit fence before display

2018-11-22 Thread Daniel Vetter
On Thu, Nov 22, 2018 at 09:44:17AM +0800, Qiang Yu wrote: > Render like lima will attach a fence to the framebuffer > dma_buf, display like sun4i should wait it finish before > show the framebuffer. Otherwise tearing will be observed. > > Signed-off-by: Qiang Yu Thanks for submitting this fix, a

[PATCH] drm/sun4i: wait on implicit fence before display

2018-11-21 Thread Qiang Yu
Render like lima will attach a fence to the framebuffer dma_buf, display like sun4i should wait it finish before show the framebuffer. Otherwise tearing will be observed. Signed-off-by: Qiang Yu --- drivers/gpu/drm/sun4i/sun4i_layer.c| 2 ++ drivers/gpu/drm/sun4i/sun8i_ui_layer.c | 2 ++ dri

Re: [linux-sunxi] [PATCH] drm/sun4i: wait on implicit fence before display

2018-11-21 Thread Qiang Yu
Thanks, thought linux-sunxi is enough. Regards, Qiang On Wed, Nov 21, 2018 at 11:45 PM Jernej Škrabec wrote: > > Hi, > > Dne ponedeljek, 19. november 2018 ob 15:33:11 CET je Qiang Yu napisal(a): > > Render like lima will attach a fence to the framebuffer > > dma_buf, display like sun4i should wai

[PATCH] drm/sun4i: wait on implicit fence before display

2018-11-19 Thread Qiang Yu
Render like lima will attach a fence to the framebuffer dma_buf, display like sun4i should wait it finish before show the framebuffer. Otherwise tearing will be observed. Signed-off-by: Qiang Yu --- drivers/gpu/drm/sun4i/sun4i_layer.c| 2 ++ drivers/gpu/drm/sun4i/sun8i_ui_layer.c | 2 ++ dri