[igt-dev] [PATCH i-g-t v4 7/9] tests/kms_chamelium: enable audio test on HDMI ports

Simon Ser
2019-05-15T07:29:40Z

Now that we have all the required EDID bits in place, we can add a new
hdmi-audio test.

Signed-off-by: Simon Ser <simon.ser@intel.com>
Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
---
tests/kms_chamelium.c | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/tests/kms_chamelium.c b/tests/kms_chamelium.c
index a686d3479a80..51f335efb94b 100644
--- a/tests/kms_chamelium.c
+++ b/tests/kms_chamelium.c
@@ -1927,6 +1927,10 @@ igt_main

connector_subtest("hdmi-frame-dump", HDMIA)
test_display_frame_dump(&data, port);
+
+ connector_subtest("hdmi-audio", HDMIA)
+ test_display_audio(&data, port, "HDMI",
+ TEST_EDID_HDMI_AUDIO);
}

igt_subtest_group {