summaryrefslogtreecommitdiff
path: root/tests/kms_atomic.c
diff options
context:
space:
mode:
authorBhanuprakash Modem <bhanuprakash.modem@intel.com>2023-11-25 21:50:10 +0530
committerBhanuprakash Modem <bhanuprakash.modem@intel.com>2023-11-27 11:00:35 +0530
commit5db2e8b3fe2d492df73585b5fd32f302d9cf212d (patch)
tree08a9ef042f88122cdcacab71a1b088d10aee0903 /tests/kms_atomic.c
parentb88ef1a06ad599265c3661219ea6b07028277a92 (diff)
tests/kms/testplan: Regroup testplan documentation
For redability purpose, re-group testplan documentation. Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Swati Sharma <swati2.sharma@intel.com>
Diffstat (limited to 'tests/kms_atomic.c')
-rw-r--r--tests/kms_atomic.c75
1 files changed, 32 insertions, 43 deletions
diff --git a/tests/kms_atomic.c b/tests/kms_atomic.c
index 28af27f22..9b69fc892 100644
--- a/tests/kms_atomic.c
+++ b/tests/kms_atomic.c
@@ -49,6 +49,30 @@
#include "sw_sync.h"
/**
+ * SUBTEST: atomic-invalid-params
+ * Description: Test abuse the atomic ioctl directly in order to test various
+ * invalid conditions which the libdrm wrapper won't allow us to
+ * create.
+ * Driver requirement: i915, xe
+ * Functionality: kms_core
+ * Mega feature: General Display Features
+ * Test category: functionality test
+ *
+ * SUBTEST: atomic-plane-damage
+ * Description: Simple test cases to use FB_DAMAGE_CLIPS plane property
+ * Driver requirement: i915, xe
+ * Functionality: kms_core, plane
+ * Mega feature: General Display Features
+ * Test category: functionality test
+ *
+ * SUBTEST: test-only
+ * Description: Test to ensure that DRM_MODE_ATOMIC_TEST_ONLY really only touches
+ * the free-standing state objects and nothing else.
+ * Driver requirement: i915, xe
+ * Functionality: kms_core
+ * Mega feature: General Display Features
+ * Test category: functionality test
+ *
* SUBTEST: plane-primary-overlay-mutable-zpos
* Description: Verify that the overlay plane can cover the primary one (and
* vice versa) by changing their zpos property.
@@ -81,18 +105,8 @@
*/
/**
- * SUBTEST: test-only
- * Description: Test to ensure that DRM_MODE_ATOMIC_TEST_ONLY really only touches
- * the free-standing state objects and nothing else.
- * Driver requirement: i915, xe
- * Functionality: kms_core
- * Mega feature: General Display Features
- * Test category: functionality test
- */
-
-/**
- * SUBTEST: plane-invalid-%s
- * Description: Test error handling when invalid %arg[1] are passed
+ * SUBTEST: %s-invalid-%s
+ * Description: Test error handling when invalid %arg[1] %arg[2] are passed
* Driver requirement: i915, xe
* Functionality: kms_core, plane
* Mega feature: General Display Features
@@ -100,41 +114,16 @@
*
* arg[1]:
*
- * @params: plane parameters
- * @params-fence: plane fence parameters
- */
-
-/**
- * SUBTEST: crtc-invalid-%s
- * Description: Test error handling when invalid %arg[1] are passed
- * Driver requirement: i915, xe
- * Functionality: kms_core
- * Mega feature: General Display Features
- * Test category: functionality test
+ * @crtc: CRTC
+ * @plane: Plane
*
- * arg[1]:
+ * arg[2]:
*
- * @params: crtc parameters
- * @params-fence: crtc fence parameters
+ * @params: parameters
+ * @params-fence: fence parameters
*/
-/**
- * SUBTEST: atomic-invalid-params
- * Description: Test abuse the atomic ioctl directly in order to test various
- * invalid conditions which the libdrm wrapper won't allow us to
- * create.
- * Driver requirement: i915, xe
- * Functionality: kms_core
- * Mega feature: General Display Features
- * Test category: functionality test
- *
- * SUBTEST: atomic-plane-damage
- * Description: Simple test cases to use FB_DAMAGE_CLIPS plane property
- * Driver requirement: i915, xe
- * Functionality: kms_core, plane
- * Mega feature: General Display Features
- * Test category: functionality test
- */
+
#ifndef DRM_CAP_CURSOR_WIDTH
#define DRM_CAP_CURSOR_WIDTH 0x8