drm/imx: implement fence sync
authorLucas Stach <l.stach@pengutronix.de>
Tue, 9 Feb 2016 13:51:26 +0000 (14:51 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 1 Mar 2016 07:33:40 +0000 (08:33 +0100)
commit17a8d08df107a903ccdd5e7733ab9f0a796fac5c
tree4b327d8aea5b8b853f90cbb0fe154b57971f4009
parent0a7ad343c8717a11b9e1feeac511d61b76c05766
drm/imx: implement fence sync

If the FB is backed by a GEM object with an dma-buf attached
we need to wait for any pending fences to signal before executing
the page flip.

The implementation is straight forward by deferring the flip to
a workqueue in that case.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/drm/imx/ipuv3-crtc.c