History

drm: introduce a capability flag for syncobj timeline support

Unfortunately userspace users of this API cannot be publicly disclosed yet. This commit effectively disables timeline syncobj ioctls for all drivers. Each driver wishing to support this feature will need to expose DRIVER_SYNCOBJ_TIMELINE. v2: Add uAPI capability check (Christian)

Lionel Landwerlin committed 7 years ago

Commit 060cebb1 parent 5ec77634 files · +16 −5Browse files

Showing the changes to include/uapi (1 of 4 files). Show all

Unified · Split

include/uapi/drm/drm.h+1−0
@@ -649,6 +649,7 @@ struct drm_gem_open { · 648 unmodified lines
649#define DRM_CAP_PAGE_FLIP_TARGET 0x11649#define DRM_CAP_PAGE_FLIP_TARGET 0x11
650#define DRM_CAP_CRTC_IN_VBLANK_EVENT 0x12650#define DRM_CAP_CRTC_IN_VBLANK_EVENT 0x12
651#define DRM_CAP_SYNCOBJ 0x13651#define DRM_CAP_SYNCOBJ 0x13
652#define DRM_CAP_SYNCOBJ_TIMELINE 0x14
652 653
653/** DRM_IOCTL_GET_CAP ioctl argument type */654/** DRM_IOCTL_GET_CAP ioctl argument type */
654struct drm_get_cap {655struct drm_get_cap {