[igt-dev] [i-g-t V2 52/81] tests/kms_hdmi_inject: Document each subtest for testplan
Bhanuprakash Modem
bhanuprakash.modem at intel.com
Wed May 17 06:32:54 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/kms_hdmi_inject.c | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/tests/kms_hdmi_inject.c b/tests/kms_hdmi_inject.c
index 2085d1453..244768f36 100644
--- a/tests/kms_hdmi_inject.c
+++ b/tests/kms_hdmi_inject.c
@@ -30,6 +30,31 @@
#include "igt_edid.h"
#include "igt_eld.h"
#include "xe/xe_query.h"
+/**
+ * TEST: kms hdmi inject
+ * Category: Display
+ * Description: Test that in-kernel EDID parsing is producing expected results
+ * by forcing a HDMI connector with a known EDID and checking that
+ * the metadata exposed to user space matches.
+ *
+ * SUBTEST: inject-4k
+ * Description: Make sure that 4K modes exposed by DRM match the forced EDID and
+ * modesetting using it succeed.
+ * Driver requirement: any
+ * Functionality: force_connector
+ * Mega feature: HDMI
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * SUBTEST: inject-audio
+ * Description: Make sure that audio information exposed by ALSA match the forced
+ * EDID.
+ * Driver requirement: any
+ * Functionality: force_connector
+ * Mega feature: Disply Audio
+ * Run type: FULL
+ * Test category: functionality test
+ */
#define HDISPLAY_4K 3840
#define VDISPLAY_4K 2160
--
2.40.0
More information about the igt-dev
mailing list