summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorChunming Zhou2019-04-01 11:51:02 +0200
committerChristian König2019-04-01 12:09:00 +0200
commit50d1ebef79ef6d09f4fb91f0b424e4f87db1d8a8 (patch)
treed374d5c0fe73097ef9d34587868378259f5d6b6b /include/uapi
parentdrm/syncobj: add transition iotcls between binary and timeline v2 (diff)
downloadkernel-qcow2-linux-50d1ebef79ef6d09f4fb91f0b424e4f87db1d8a8.tar.gz
kernel-qcow2-linux-50d1ebef79ef6d09f4fb91f0b424e4f87db1d8a8.tar.xz
kernel-qcow2-linux-50d1ebef79ef6d09f4fb91f0b424e4f87db1d8a8.zip
drm/syncobj: add timeline signal ioctl for syncobj v5
v2: individually allocate chain array, since chain node is free independently. v3: all existing points must be already signaled before cpu perform signal operation, so add check condition for that. v4: remove v3 change and add checking to prevent out-of-order v5: unify binary and timeline Signed-off-by: Chunming Zhou <david1.zhou@amd.com> Signed-off-by: Christian König <christian.koenig@amd.com> Cc: Tobias Hector <Tobias.Hector@amd.com> Cc: Jason Ekstrand <jason@jlekstrand.net> Cc: Dave Airlie <airlied@redhat.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Link: https://patchwork.freedesktop.org/patch/295792/?series=58813&rev=1
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/drm/drm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/drm/drm.h b/include/uapi/drm/drm.h
index e8d0d6b51875..236b01a1fabf 100644
--- a/include/uapi/drm/drm.h
+++ b/include/uapi/drm/drm.h
@@ -943,6 +943,7 @@ extern "C" {
#define DRM_IOCTL_SYNCOBJ_TIMELINE_WAIT DRM_IOWR(0xCA, struct drm_syncobj_timeline_wait)
#define DRM_IOCTL_SYNCOBJ_QUERY DRM_IOWR(0xCB, struct drm_syncobj_timeline_array)
#define DRM_IOCTL_SYNCOBJ_TRANSFER DRM_IOWR(0xCC, struct drm_syncobj_transfer)
+#define DRM_IOCTL_SYNCOBJ_TIMELINE_SIGNAL DRM_IOWR(0xCD, struct drm_syncobj_timeline_array)
/**
* Device specific ioctls should only be in their respective headers