diff options
author | Jason Ekstrand <jason@jlekstrand.net> | 2017-08-25 10:52:25 -0700 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2017-08-29 06:27:41 +1000 |
commit | 1fc08218ed2a42c86af5c905fe4c00885376a07e (patch) | |
tree | d143951efc18fe4669a2944916d07204e9460f4b /include/uapi/drm | |
parent | 9c19fb10a5893d6501df4d0fb93d954d5fc1d91b (diff) | |
download | linux-stable-1fc08218ed2a42c86af5c905fe4c00885376a07e.tar.gz linux-stable-1fc08218ed2a42c86af5c905fe4c00885376a07e.tar.bz2 linux-stable-1fc08218ed2a42c86af5c905fe4c00885376a07e.zip |
drm/syncobj: Add a CREATE_SIGNALED flag
This requests that the driver create the sync object such that it
already has a signaled dma_fence attached. Because we don't need
anything in particular (just something signaled), we use a dummy null
fence. This is useful for Vulkan which has a similar flag that can be
passed to vkCreateFence.
Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/uapi/drm')
-rw-r--r-- | include/uapi/drm/drm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/drm/drm.h b/include/uapi/drm/drm.h index 0757c1a41821..ade7f68d32b5 100644 --- a/include/uapi/drm/drm.h +++ b/include/uapi/drm/drm.h @@ -700,6 +700,7 @@ struct drm_prime_handle { struct drm_syncobj_create { __u32 handle; +#define DRM_SYNCOBJ_CREATE_SIGNALED (1 << 0) __u32 flags; }; |