drm/vc4: Hook up plane prepare_fb to lookup dma-buf reservations.
authorEric Anholt <eric@anholt.net>
Wed, 21 Jun 2017 18:49:59 +0000 (11:49 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 22 Jun 2017 18:13:54 +0000 (11:13 -0700)
commit334dbd69c604cb33d906a30195010d090e6eb80c
tree22287dfcfa282a40020eec27c317097515436d5d
parent7d2818f54e38e40232c65866b58c8b627dbf5711
drm/vc4: Hook up plane prepare_fb to lookup dma-buf reservations.

This way drm_atomic_helper_wait_for_fences() will actually do
something.  The vc4_seqno_cb has been doing the fence waits on V3D
manually, so far.

Signed-off-by: Eric Anholt <eric@anholt.net>
Link: http://patchwork.freedesktop.org/patch/msgid/20170621185002.28563-1-eric@anholt.net
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/gpu/drm/vc4/vc4_plane.c