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/
This commit is contained in:
@@ -483,6 +483,10 @@ int drm_syncobj_create(struct drm_syncobj **out_syncobj, uint32_t flags,
|
||||
int ret;
|
||||
struct drm_syncobj *syncobj;
|
||||
|
||||
/* Disabled for now */
|
||||
if (flags & DRM_SYNCOBJ_CREATE_TYPE_TIMELINE)
|
||||
return -EINVAL;
|
||||
|
||||
syncobj = kzalloc(sizeof(struct drm_syncobj), GFP_KERNEL);
|
||||
if (!syncobj)
|
||||
return -ENOMEM;
|
||||
|
Reference in New Issue
Block a user