summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_screen.h
diff options
context:
space:
mode:
authorStefan Schake <[email protected]>2018-04-25 00:01:00 +0200
committerEric Anholt <[email protected]>2018-05-17 16:04:30 +0100
commitb0acc3a5628c6c6dd669cbb7cff2d974b175605e (patch)
treeef0d04117ae2f56fc3c891e4baf1cb93974af265 /src/gallium/drivers/vc4/vc4_screen.h
parent44036c354d800dda08d3688b042130039f3d592a (diff)
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 <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_screen.h')
-rw-r--r--src/gallium/drivers/vc4/vc4_screen.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/vc4/vc4_screen.h b/src/gallium/drivers/vc4/vc4_screen.h
index 438e90a1a2c..f4550d1c286 100644
--- a/src/gallium/drivers/vc4/vc4_screen.h
+++ b/src/gallium/drivers/vc4/vc4_screen.h
@@ -119,9 +119,9 @@ vc4_screen_get_compiler_options(struct pipe_screen *pscreen,
extern uint32_t vc4_debug;
void
-vc4_fence_init(struct vc4_screen *screen);
+vc4_fence_screen_init(struct vc4_screen *screen);
struct vc4_fence *
-vc4_fence_create(struct vc4_screen *screen, uint64_t seqno);
+vc4_fence_create(struct vc4_screen *screen, uint64_t seqno, int fd);
#endif /* VC4_SCREEN_H */