drm/syncobj: disable the timeline UAPI for now
Subsystems (2)
PATCH 1/1 drm/syncobj: disable the timeline UAPI for now
Until we have sorted out all problems.
Signed-off-by Christian König <[email protected]>
--- include/drm/drm_syncobj.h | 3 +++ include/uapi/drm/drm.h | 1 - 2 files changed, 3 insertions(+), 1 deletion(-)
include/drm/drm_syncobj.h +3 -0
@@ -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
include/uapi/drm/drm.h +0 -1
@@ -717,7 +717,6 @@ struct drm_prime_handle {struct drm_syncobj_create {__u32 handle;#define DRM_SYNCOBJ_CREATE_SIGNALED (1 << 0) -#define DRM_SYNCOBJ_CREATE_TYPE_TIMELINE (1 << 1)__u32 flags; };
Signature · 6 lines
2.17.1 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 13 lines · Christian König
Until we have sorted out all problems.
Signed-off-by Christian König <[email protected]>--- include/drm/drm_syncobj.h | 3 +++ include/uapi/drm/drm.h | 1 - 2 files changed, 3 insertions(+), 1 deletion(-)include/drm/drm_syncobj.h +0
-0
include/drm/drm_syncobj.h line 34
Quoted 5 lines
include/drm/drm_syncobj.h +2
-0@@ -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)
Also needs the EINVAL check in drm_syncobj_create_ioctl() updated. With that:
Reviewed-by Daniel Vetter <[email protected]>
Quoted 23 lines
include/drm/drm_syncobj.h +1
-0+enum drm_syncobj_type {DRM_SYNCOBJ_TYPE_BINARY ,DRM_SYNCOBJ_TYPE_TIMELINE include/uapi/drm/drm.h +0
-1@@ -717,7 +717,6 @@ struct drm_prime_handle {struct drm_syncobj_create {__u32 handle;#define DRM_SYNCOBJ_CREATE_SIGNALED (1 << 0) -#define DRM_SYNCOBJ_CREATE_TYPE_TIMELINE (1 << 1)__u32 flags; };Signature · 6 lines
2.17.1 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel