summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStefan Schake <stschake@gmail.com>2018-04-25 00:03:45 +0200
committerEric Anholt <eric@anholt.net>2018-04-30 16:04:14 -0700
commit818f5c8f4cd27747e8218e8a5fb230c322e02d1e (patch)
tree6e7fb9ceae3ff664104b17a56ff8a1bb19351e7a /include
parent3481fe768faeae3f1d2a929e401748893460d82e (diff)
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
Diffstat (limited to 'include')
-rw-r--r--include/uapi/drm/vc4_drm.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/uapi/drm/vc4_drm.h b/include/uapi/drm/vc4_drm.h
index b95a0e11cb07..d97065b86431 100644
--- a/include/uapi/drm/vc4_drm.h
+++ b/include/uapi/drm/vc4_drm.h
@@ -183,11 +183,10 @@ struct drm_vc4_submit_cl {
/* ID of the perfmon to attach to this job. 0 means no perfmon. */
__u32 perfmonid;
- /* Unused field to align this struct on 64 bits. Must be set to 0.
- * If one ever needs to add an u32 field to this struct, this field
- * can be used.
+ /* Syncobj handle to wait on. If set, processing of this render job
+ * will not start until the syncobj is signaled. 0 means ignore.
*/
- __u32 pad2;
+ __u32 in_sync;
};
/**