Messages in this thread | | | From | Eric Anholt <> | Subject | Re: [PATCH 3/3] drm/vc4: Add support for dma-buf fencing. | Date | Wed, 12 Apr 2017 10:33:51 -0700 |
| |
Daniel Vetter <daniel@ffwll.ch> writes:
> On Mon, Apr 10, 2017 at 06:44:14PM -0700, Eric Anholt wrote: >> This is needed for proper synchronization with display on another DRM >> device (pl111 or tinydrm) with buffers produced by vc4 V3D. Fixes the >> new igt vc4_dmabuf_poll testcase, and rendering of one of the glmark2 >> desktop tests on pl111+vc4. >> >> This doesn't yet introduce waits on other device's fences before vc4's >> rendering/display, because I don't have testcases for them. >> >> Signed-off-by: Eric Anholt <eric@anholt.net> >> Cc: Gustavo Padovan <gustavo.padovan@collabora.com> > > So not sure I didn't look hard enough or why exactly, but I didn't find > anything like ->prepare_fb as implemented in e.g. drm_fb_cma_prepare_fb(). > Where is that? Otherwise looks good to me.
Yeah, I need to sort that out for vc4 as a consumer of busy buffers still. This patch just does vc4 as the producer. [unhandled content-type:application/pgp-signature] | |