Re: Question about implicit fence sync in display DRM drivers

2018-11-21 Thread Qiang Yu
OK, meson has fix from Koen and Neil. I'll send the fix for sun4i. But rockchip and exynos need the help from Simon and Heiko because I don't have a device. Regards, Qiang On Wed, Nov 21, 2018 at 5:45 PM Daniel Vetter wrote: > > On Sun, Nov 18, 2018 at 08:44:57PM +0800, Qiang Yu wrote: > > add "

Re: Question about implicit fence sync in display DRM drivers

2018-11-21 Thread Daniel Vetter
On Sun, Nov 18, 2018 at 08:44:57PM +0800, Qiang Yu wrote: > add ".prepare_fb = drm_gem_fb_prepare_fb," in "drm_plane_helper_funcs" > solve my flicker problem on Allwinner A64. Yeah, some drivers fail to set this. Would be great if you could submit this bugfix. Thanks, Daniel > > Thanks, > Qian

Re: Question about implicit fence sync in display DRM drivers

2018-11-18 Thread Qiang Yu
add ".prepare_fb = drm_gem_fb_prepare_fb," in "drm_plane_helper_funcs" solve my flicker problem on Allwinner A64. Thanks, Qiang On Sun, Nov 18, 2018 at 8:14 PM Qiang Yu wrote: > > I find the reservation object will be created when: dma_buf_export > if no reservation object created when buffer ob

Re: Question about implicit fence sync in display DRM drivers

2018-11-18 Thread Qiang Yu
I find the reservation object will be created when: dma_buf_export if no reservation object created when buffer object creation. And the implicit fence can be synced before display in: drm_gem_fb_prepare_fb but seems most display driver doesn't call this function. Regards, Qiang On Sun, Nov 18, 2

Question about implicit fence sync in display DRM drivers

2018-11-17 Thread Qiang Yu
Hi Eric and Wladimir, GPU driver like VC4, Etnaviv and Lima only do rendering and left display to other DRM display drivers. So there should be a render/display sync problem for these drivers. As I know, there are two ways: implicit and explicit described here: https://www.collabora.com/news-and-