[igt-dev] [i-g-t V4 16/82] tests/i915/kms_draw_crc: Document each subtest for testplan
Bhanuprakash Modem
bhanuprakash.modem at intel.com
Mon May 29 05:27:29 UTC 2023
Add documentation for all kms tests which is used by IGT testplan
documentation.
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
---
tests/i915/kms_draw_crc.c | 71 +++++++++++++++++++++++++++++++++++++--
1 file changed, 69 insertions(+), 2 deletions(-)
diff --git a/tests/i915/kms_draw_crc.c b/tests/i915/kms_draw_crc.c
index db6d71f2e..d6694faee 100644
--- a/tests/i915/kms_draw_crc.c
+++ b/tests/i915/kms_draw_crc.c
@@ -22,11 +22,78 @@
*
*/
-/* This program tests whether the igt_draw library actually works. */
-
+/**
+ * TEST: kms draw crc
+ * Category: Display
+ * Description: Tests whether the igt_draw library actually works.
+ */
#include "i915/gem.h"
#include "igt.h"
+/**
+ * SUBTEST: draw-method-blt
+ * Description: Verify that igt draw library works for the BLIT method with
+ * different modifiers & DRM formats.
+ * Driver requirement: any
+ * Functionality: kms_gem_interop
+ * Mega feature: General Display Features
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * SUBTEST: draw-method-mmap-cpu
+ * Description: Verify that igt draw library works for the MMAP-CPU method with
+ * different modifiers & DRM formats.
+ * Driver requirement: i915
+ * Functionality: kms_gem_interop
+ * Mega feature: General Display Features
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * SUBTEST: draw-method-mmap-gtt
+ * Description: Verify that igt draw library works for the MMAP-GTT method with
+ * different modifiers & DRM formats.
+ * Driver requirement: i915
+ * Functionality: gtt, kms_gem_interop
+ * Mega feature: General Display Features
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * SUBTEST: draw-method-mmap-wc
+ * Description: Verify that igt draw library works for the MMAP-WC method with
+ * different modifiers & DRM formats.
+ * Driver requirement: any
+ * Functionality: kms_gem_interop
+ * Mega feature: General Display Features
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * SUBTEST: draw-method-pwrite
+ * Description: Verify that igt draw library works for the PWRITE method with
+ * different modifiers & DRM formats.
+ * Driver requirement: i915
+ * Functionality: kms_gem_interop
+ * Mega feature: General Display Features
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * SUBTEST: draw-method-render
+ * Description: Verify that igt draw library works for the RENDER method with
+ * different modifiers & DRM formats.
+ * Driver requirement: any
+ * Functionality: kms_gem_interop
+ * Mega feature: General Display Features
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * SUBTEST: fill-fb
+ * Description: This subtest verifies CRC after filling fb with x-tiling or none.
+ * Driver requirement: i915
+ * Functionality: kms_gem_interop
+ * Mega feature: General Display Features
+ * Run type: FULL
+ * Test category: functionality test
+ */
+
#define MAX_CONNECTORS 32
int drm_fd;
--
2.40.0
More information about the igt-dev
mailing list