[igt-dev] [i-g-t V2 06/81] tests/chamelium/kms_chamelium_audio: Document each subtest for testplan
Bhanuprakash Modem
bhanuprakash.modem at intel.com
Wed May 17 06:32:08 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/chamelium/kms_chamelium_audio.c | 44 +++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/tests/chamelium/kms_chamelium_audio.c b/tests/chamelium/kms_chamelium_audio.c
index a4204fbb6..e657f7791 100644
--- a/tests/chamelium/kms_chamelium_audio.c
+++ b/tests/chamelium/kms_chamelium_audio.c
@@ -28,6 +28,12 @@
#include "igt_infoframe.h"
#include "igt_chamelium_helper.h"
+/**
+ * TEST: kms chamelium audio
+ * Category: Display
+ * Description: Testing Audio with a Chamelium board
+ */
+
/* Playback parameters control the audio signal we synthesize and send */
#define PLAYBACK_CHANNELS 2
#define PLAYBACK_SAMPLES 1024
@@ -669,6 +675,25 @@ static bool check_audio_configuration(struct alsa *alsa,
return true;
}
+/**
+ * SUBTEST: dp-audio
+ * Description: Playback various audio signals with various audio formats/rates,
+ * capture them and check they are correct
+ * Functionality: dp_audio
+ * Mega feature: DP
+ * Run type: FULL
+ * Test category: functionality test
+ * Driver requirement: any
+ *
+ * SUBTEST: hdmi-audio
+ * Description: Playback various audio signals with various audio formats/rates,
+ * capture them and check they are correct
+ * Functionality: hdmi_audio
+ * Mega feature: HDMI
+ * Run type: FULL
+ * Test category: functionality test
+ * Driver requirement: any
+ */
static const char test_display_audio_desc[] =
"Playback various audio signals with various audio formats/rates, "
"capture them and check they are correct";
@@ -763,6 +788,25 @@ static void test_display_audio(chamelium_data_t *data,
free(alsa);
}
+/**
+ * SUBTEST: dp-audio-edid
+ * Description: Plug a connector with an EDID suitable for audio, check ALSA's
+ * EDID-Like Data reports the correct audio parameters
+ * Functionality: dp_audio
+ * Mega feature: DP
+ * Run type: FULL
+ * Test category: functionality test
+ * Driver requirement: any
+ *
+ * SUBTEST: hdmi-audio-edid
+ * Description: Plug a connector with an EDID suitable for audio, check ALSA's
+ * EDID-Like Data reports the correct audio parameters
+ * Functionality: hdmi_audio
+ * Mega feature: HDMI
+ * Run type: FULL
+ * Test category: functionality test
+ * Driver requirement: any
+ */
static const char test_display_audio_edid_desc[] =
"Plug a connector with an EDID suitable for audio, check ALSA's "
"EDID-Like Data reports the correct audio parameters";
--
2.40.0
More information about the igt-dev
mailing list