HomePhabricator
Diffusion Mesa b0acc3a5628c

broadcom/vc4: Native fence fd support

Authored by Stefan Schake <stschake@gmail.com> on Apr 25 2018, 12:01 AM.

Description

broadcom/vc4: Native fence fd support

With the syncobj support in place, lets use it to implement the
EGL_ANDROID_native_fence_sync extension. This mostly follows previous
implementations in freedreno and etnaviv.

v2: Drop the flags (Eric)

Handle in_fence_fd already in job_submit (Eric)
Drop extra vc4_fence_context_init (Eric)
Dup fds with CLOEXEC (Eric)
Mention exact extension name (Eric)

Signed-off-by: Stefan Schake <stschake@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>

Details

Committed
Eric Anholt <eric@anholt.net>May 17 2018, 5:04 PM
Pushed
pmoreauMay 22 2018, 7:03 PM
Parents
rMESA44036c354d80: broadcom/vc4: Store job fence in syncobj
Branches
Unknown
Tags
Unknown

Event Timeline

Eric Anholt <eric@anholt.net> committed rMESAb0acc3a5628c: broadcom/vc4: Native fence fd support (authored by Stefan Schake <stschake@gmail.com>).May 17 2018, 5:04 PM