diff options
author | Stefan Schake <[email protected]> | 2018-04-25 00:00:56 +0200 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2018-05-17 16:04:21 +0100 |
commit | 580d1f4c607bc6cd5bf24f9d303a502d6d9dcaec (patch) | |
tree | fa742068d82ec4c44f83045e48a492a16c48970b /include/drm-uapi/vc4_drm.h | |
parent | 1ec01a911b7b4dc63c47fb16288b6d9962aeb60f (diff) |
drm-uapi: Update vc4 header with syncobj submit support
v2: Synchronized with kernel v2
v3: Update for the finalized kernel ABI (pad2 field)
Signed-off-by: Stefan Schake <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'include/drm-uapi/vc4_drm.h')
-rw-r--r-- | include/drm-uapi/vc4_drm.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/include/drm-uapi/vc4_drm.h b/include/drm-uapi/vc4_drm.h index 4117117b420..31f50de39ac 100644 --- a/include/drm-uapi/vc4_drm.h +++ b/include/drm-uapi/vc4_drm.h @@ -183,10 +183,17 @@ 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 in_sync; + + /* Syncobj handle to export fence to. If set, the fence in the syncobj + * will be replaced with a fence that signals upon completion of this + * render job. 0 means ignore. + */ + __u32 out_sync; + __u32 pad2; }; |