st/va: remove fence handling v3
authorChristian König <christian.koenig@amd.com>
Tue, 8 Dec 2015 13:28:13 +0000 (14:28 +0100)
committerChristian König <christian.koenig@amd.com>
Wed, 16 Dec 2015 20:13:42 +0000 (21:13 +0100)
commita87a1420d6c13e6ccf9fbc28c073789d09225e17
tree58632fd1ba7b9720efba2d807ca28ed508ab1900
parent61cdb7665f7bd147533cdc5977750d990c2eafd5
st/va: remove fence handling v3

It's nonsense to drain the pipeline like this.

v2: keep the drain for DMA-buf exports.
v3: flush before the export and after compositing and add TODO comment.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Julien Isorce <j.isorce@samsung.com>
Tested-by: Julien Isorce <j.isorce@samsung.com>
src/gallium/state_trackers/va/buffer.c
src/gallium/state_trackers/va/image.c
src/gallium/state_trackers/va/postproc.c
src/gallium/state_trackers/va/surface.c
src/gallium/state_trackers/va/va_private.h