[igt-dev] [PATCH i-g-t v4 0/9] tests/kms_chamelium: add HDMI audio test

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

Changes from v3 to v4: per CI feedback, checking the error code to figure out
whether the Chamelium device supports a method doesn't work, as the API returns
a generic Python exception error.

Instead, fallback to checking the error message. This is ugly and fragile, but
I don't see a better solution (and it's too late to fix existing Chamelium
devices).

Simon Ser (9):
tests/kms_chamelium: skip if GetAudioFormat is not supported
lib/igt_edid: add support for Short Audio Descriptors
lib/igt_edid: add support for Vendor Specific Data blocks
lib/igt_chamelium: add CHAMELIUM_DEFAULT_EDID
tests/kms_chamelium: generate an EDID with audio support
tests/kms_chamelium: disable >48KHz audio tests
tests/kms_chamelium: enable audio test on HDMI ports
tests/kms_chamelium: don't abort audio test on first fail
HAX: add {dp,hdmi}-audio test to fast-feedback

lib/igt_chamelium.c | 77 ++++++--
lib/igt_chamelium.h | 7 +
lib/igt_edid.c | 113 +++++++++++-
lib/igt_edid.h | 103 ++++++++++-
tests/intel-ci/fast-feedback.testlist | 2 +
tests/kms_chamelium.c | 246 ++++++++++++++++++--------
6 files changed, 455 insertions(+), 93 deletions(-)