summaryrefslogtreecommitdiff
path: root/tests/syncobj_eventfd.c
AgeCommit message (Collapse)AuthorFilesLines
2024-05-23tests: Fix Sub-category in documentationKatarzyna Piecielska1-3/+4
We do not want to have the same name for Category and Sub-category or any other collision in documented fields. After I unified Category field for Core tests there are some duplicated names in Category and Sub-category. Let's remove them. When doing that change I find few tests that do not have Mega feature defined. Cc: Aditya Chauhan <aditya.chauhan@intel.com> Cc: Gandi Ramadevi <ramadevi.gandi@intel.com> Cc: Girotra Himanshu <himanshu.girotra@intel.com> Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com> Signed-off-by: Katarzyna Piecielska <katarzyna.piecielska@intel.com> Reviewed-by: Kamil Konieczny <kamil.konieczny@linux.intel.com>
2024-05-23tests: Unify Category for Core tests documentationKatarzyna Piecielska1-1/+1
All Display tests are using Category field to show that these are display tests. For Core we were having various values: Software building block, Desktop client, Infrastructure, Server, Selftest, Obsolete, etc. With Mega feature/Sub-category/Functionality properly set and aligned, there is no need to have so many values in 'Category' field. Let's have 'Category=Core' for all Core tests. Adding change to xe_test_config.json and i915_test_config.json files to show correct Category value and remove mandatory field. Cc: Aditya Chauhan <aditya.chauhan@intel.com> Cc: Gandi Ramadevi <ramadevi.gandi@intel.com> Cc: Girotra Himanshu <himanshu.girotra@intel.com> Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com> Signed-off-by: Katarzyna Piecielska <katarzyna.piecielska@intel.com> Reviewed-by: Mauro Carvalho Chehab <mauro.chehab@linux.intel.com>
2024-03-22tests: Remove 'Run type' documentation fieldKatarzyna Piecielska1-1/+0
It has been easier to maintain the Run type field by reading it from testlists instead of from C file, as this changes dynamically, and different devices may have either have it inside, for instance, BAT test list or not. So, drop the field from the C file. Signed-off-by: Katarzyna Piecielska <katarzyna.piecielska@intel.com> Cc: Mauro Carvalho Chehab <mauro.chehab@linux.intel.com> Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com> Acked-by: Mauro Carvalho Chehab <mauro.chehab@linux.intel.com>
2023-10-27tests/syncobj_eventfd: new testSimon Ser1-0/+326
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>