summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2018-11-08 09:39:46 +0100
committerChristian König <christian.koenig@amd.com>2018-11-08 11:31:34 +0100
commit783195ec1cada862d54dee8f312a60bcbba5c0e4 (patch)
tree7e4480c5be424d30bbab9034551695452517f3c4 /include/drm
parentd9be05b784225e68cf0c9b95180d3081b4663745 (diff)
downloadlinux-783195ec1cada862d54dee8f312a60bcbba5c0e4.tar.bz2
drm/syncobj: disable the timeline UAPI for now v2
Until we have sorted out all problems. v2: return -EINVAL during create if flag is set. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/260937/
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drm_syncobj.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/drm/drm_syncobj.h b/include/drm/drm_syncobj.h
index 29244cbcd05e..ffd1f4fcf519 100644
--- a/include/drm/drm_syncobj.h
+++ b/include/drm/drm_syncobj.h
@@ -30,6 +30,9 @@
struct drm_syncobj_cb;
+/* Move the define here for the moment to avoid exposing the UAPI just yet */
+#define DRM_SYNCOBJ_CREATE_TYPE_TIMELINE (1 << 1)
+
enum drm_syncobj_type {
DRM_SYNCOBJ_TYPE_BINARY,
DRM_SYNCOBJ_TYPE_TIMELINE