etnaviv: native fence fd support

Graphics / Mesa 3D Graphics Library / Mesa - Philipp Zabel [pengutronix.de] - 14 April 2017 19:47 EDT

This adds native fence fd support to etnaviv, similarly to commit 0b98e84e9ba0 ("freedreno: native fence fd"), enabled for kernel driver version 1.1 or later.

36f2101 etnaviv: native fence fd support
configure.ac | 2 +-
src/gallium/drivers/etnaviv/etnaviv_context.c | 14 +++++++--
src/gallium/drivers/etnaviv/etnaviv_context.h | 1 +
src/gallium/drivers/etnaviv/etnaviv_fence.c | 45 +++++++++++++++++++++++++--
src/gallium/drivers/etnaviv/etnaviv_fence.h | 14 ++++++++-
src/gallium/drivers/etnaviv/etnaviv_screen.c | 12 ++++++-
src/gallium/drivers/etnaviv/etnaviv_screen.h | 2 ++
7 files changed, 83 insertions(+), 7 deletions(-)

Upstream: cgit.freedesktop.org


  • Share