drm/vc4: Syncobj import support
authorStefan Schake <stschake@gmail.com>
Tue, 24 Apr 2018 22:03:45 +0000 (00:03 +0200)
committerEric Anholt <eric@anholt.net>
Mon, 30 Apr 2018 23:04:14 +0000 (16:04 -0700)
commit818f5c8f4cd27747e8218e8a5fb230c322e02d1e
tree6e7fb9ceae3ff664104b17a56ff8a1bb19351e7a
parent3481fe768faeae3f1d2a929e401748893460d82e
drm/vc4: Syncobj import support

Allow userland to specify a syncobj that is waited on before a render job
starts processing.

v2: Use 0 as invalid syncobj to drop flag (Eric)
    Drop extra newline (Eric)

Signed-off-by: Stefan Schake <stschake@gmail.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/1524607427-12876-2-git-send-email-stschake@gmail.com
drivers/gpu/drm/vc4/vc4_drv.h
drivers/gpu/drm/vc4/vc4_gem.c
include/uapi/drm/vc4_drm.h