[igt-dev] [i-g-t V7 48/81] tests/kms_flip_event_leak: Document each subtest for testplan
Bhanuprakash Modem
bhanuprakash.modem at intel.com
Tue Aug 15 16:47:42 UTC 2023
Add documentation for all kms tests which is used by IGT testplan
documentation.
V2: - Fix test description
V3: - Driver requirement: s/any/i915, xe/
Cc: Karthik B S <karthik.b.s at intel.com>
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
Reviewed-by: Karthik B S <karthik.b.s at intel.com>
---
tests/kms_flip_event_leak.c | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/tests/kms_flip_event_leak.c b/tests/kms_flip_event_leak.c
index 423ce40df..d638a4495 100644
--- a/tests/kms_flip_event_leak.c
+++ b/tests/kms_flip_event_leak.c
@@ -31,6 +31,23 @@
#include "igt_device.h"
#include "xe/xe_query.h"
+/**
+ * TEST: kms flip event leak
+ * Category: Display
+ * Description: Test to validate flip event leak
+ *
+ * SUBTEST: basic
+ * Description: This test tries to provoke the kernel into leaking a pending
+ * page flip event when the fd is closed before the flip has
+ * completed. The test itself won't fail even if the kernel leaks
+ * the event, but the resulting dmesg WARN will indicate a failure.
+ * Driver requirement: i915, xe
+ * Functionality: kms_core
+ * Mega feature: General Display Features
+ * Run type: FULL
+ * Test category: functionality test
+ */
+
typedef struct {
int drm_fd;
igt_display_t display;
--
2.40.0
More information about the igt-dev
mailing list