|
This series implements a new test suite for the DRM_IOCTL_SYNCOBJ_EVENTFD
IOCTL introduced in [1].
v2:
- Check for DRM_CAP_SYNCOBJ_TIMELINE instead of DRM_CAP_SYNCOBJ
- Fix syncobj_eventfd availability check: ENOENT is returned when an
IOCTL doesn't exist, so use an error path which returns a different
errno
v3: fix IOCTL number conflict with GETFB2 (Vitaly Prosyak)
v4: revert the fix for syncobj_eventfd availability check done in v2,
this was a red herring due to the IOCTL number conflict, and drm_ioctl()
will return EINVAL for unknown IOCTL numbers
v5: use SPDX license identifier, sort headers, rebase on top of drm-uapi
header update patch (Kamil Konieczny)
[1]: https://lore.kernel.org/dri-devel/20230714111257.11940-1-contact@emersion.fr/
Signed-off-by: Simon Ser <contact@emersion.fr>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Acked-by: Christian König <christian.koenig@amd.com>
Cc: Faith Ekstrand <faith.ekstrand@collabora.com>
Cc: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Cc: Daniel Stone <daniel@fooishbar.org>
Cc: James Jones <jajones@nvidia.com>
Cc: Austin Shafer <ashafer@nvidia.com>
Cc: Vitaly Prosyak <Vitaly.Prosyak@amd.com>
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
|