* [PATCH i-g-t] tests/chamelium/kms_chamelium_audio: Add suspend/resume audio tests
@ 2026-06-19 5:38 Jeevan B
2026-06-19 7:47 ` ✓ Xe.CI.BAT: success for tests/chamelium/kms_chamelium_audio: Add suspend/resume audio tests (rev7) Patchwork
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Jeevan B @ 2026-06-19 5:38 UTC (permalink / raw)
To: igt-dev; +Cc: kunal1.joshi, pranay.samala, Jeevan B
Add test to validate audio works before and after suspend/resume on
HDMI/DP connector.
v2: Perform a single suspend/resume for all audio combinations.
Re-enable chamelium after suspend and separate pre-suspend
and post-resume validation paths for clearer failure diagnostics.
v3: Drop commit and use igt_assert_f with explicit messages to
distinguish failure in audio tests.
v4: Updated test to avoid false-pass on zero executed configs.
Replace post-suspend forced re-enable with connector
re-probe/connected checks.
v5: Remove unused variable and add chamelium_assert_reachable check.
Signed-off-by: Jeevan B <jeevan.b@intel.com>
---
tests/chamelium/kms_chamelium_audio.c | 155 +++++++++++++++++++++++++-
1 file changed, 154 insertions(+), 1 deletion(-)
diff --git a/tests/chamelium/kms_chamelium_audio.c b/tests/chamelium/kms_chamelium_audio.c
index df8d27c0c..144f6a038 100644
--- a/tests/chamelium/kms_chamelium_audio.c
+++ b/tests/chamelium/kms_chamelium_audio.c
@@ -52,6 +52,12 @@
* 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
+ *
+ * SUBTEST: dp-audio-after-suspend
+ * Description: Verify audio works before and after system suspend/resume
+ *
+ * SUBTEST: hdmi-audio-after-suspend
+ * Description: Verify audio works before and after system suspend/resume
*/
/* Playback parameters control the audio signal we synthesize and send */
@@ -695,6 +701,66 @@ static bool check_audio_configuration(struct alsa *alsa,
return true;
}
+static bool run_audio_test_once(chamelium_data_t *data,
+ struct alsa *alsa,
+ struct chamelium_port *port,
+ snd_pcm_format_t format,
+ int channels,
+ int sampling_rate)
+{
+ struct audio_state state;
+ bool success;
+
+ audio_state_init(&state, data, alsa, port, format, channels,
+ sampling_rate);
+ success = test_audio_frequencies(&state);
+ success &= test_audio_flatline(&state);
+ audio_state_fini(&state);
+
+ return success;
+}
+
+static bool run_audio_tests(chamelium_data_t *data,
+ struct alsa *alsa,
+ struct chamelium_port *port,
+ const char *audio_device)
+{
+ bool run = false;
+ bool success = true;
+ int ret, i, j;
+ int channels, sampling_rate;
+ snd_pcm_format_t format;
+
+ for (i = 0; i < test_sampling_rates_count; i++) {
+ for (j = 0; j < test_formats_count; j++) {
+ ret = alsa_open_output(alsa, audio_device);
+ igt_assert_f(ret >= 0,
+ "Failed to open ALSA output\n");
+
+ format = test_formats[j];
+ channels = PLAYBACK_CHANNELS;
+ sampling_rate = test_sampling_rates[i];
+
+ if (!check_audio_configuration(alsa, format,
+ channels,
+ sampling_rate)) {
+ alsa_close_output(alsa);
+ continue;
+ }
+
+ run = true;
+
+ success &= run_audio_test_once(data, alsa, port,
+ format, channels,
+ sampling_rate);
+
+ alsa_close_output(alsa);
+ }
+ }
+
+ return run && success;
+}
+
static const char test_display_audio_desc[] =
"Playback various audio signals with various audio formats/rates, "
"capture them and check they are correct";
@@ -762,8 +828,10 @@ static void test_display_audio(chamelium_data_t *data,
sampling_rate = test_sampling_rates[i];
if (!check_audio_configuration(alsa, format, channels,
- sampling_rate))
+ sampling_rate)) {
+ alsa_close_output(alsa);
continue;
+ }
run = true;
@@ -789,6 +857,81 @@ static void test_display_audio(chamelium_data_t *data,
free(alsa);
}
+static const char test_display_audio_suspend_resume_desc[] =
+ "Verify audio works before and after system suspend/resume";
+static void test_display_audio_suspend_resume(
+ chamelium_data_t *data,
+ struct chamelium_port *port,
+ const char *audio_device,
+ enum igt_custom_edid_type edid)
+{
+ struct alsa *alsa;
+ igt_output_t *output;
+ struct igt_fb fb;
+ drmModeModeInfo *mode;
+ drmModeConnector *connector;
+ int fb_id;
+
+ igt_require(alsa_has_exclusive_access());
+
+ igt_require(chamelium_has_audio_support(data->chamelium,
+ port));
+
+ alsa = alsa_init();
+ igt_assert(alsa);
+
+ igt_modeset_disable_all_outputs(&data->display);
+
+ chamelium_reset_state(&data->display, data->chamelium,
+ port, data->ports,
+ data->port_count);
+
+ output = chamelium_prepare_output(data, port, edid);
+
+ connector = chamelium_port_get_connector(data->chamelium,
+ port, false);
+
+ igt_assert(connector->count_modes > 0);
+
+ mode = &connector->modes[0];
+
+ fb_id = igt_create_color_pattern_fb(data->drm_fd,
+ mode->hdisplay,
+ mode->vdisplay,
+ DRM_FORMAT_XRGB8888,
+ DRM_FORMAT_MOD_LINEAR,
+ 0, 0, 0, &fb);
+
+ igt_assert(fb_id > 0);
+
+ chamelium_enable_output(data, port, output,
+ mode, &fb);
+
+ igt_assert_f(run_audio_tests(data, alsa, port, audio_device),
+ "Audio test failed before suspend\n");
+
+ igt_system_suspend_autoresume(SUSPEND_STATE_MEM,
+ SUSPEND_TEST_NONE);
+ chamelium_assert_reachable(data->chamelium, ONLINE_TIMEOUT);
+
+ /* Re-probe connector state after resume instead of forcing a re-enable. */
+ drmModeFreeConnector(connector);
+ connector = chamelium_port_get_connector(data->chamelium, port, true);
+ igt_assert_f(connector->connection == DRM_MODE_CONNECTED,
+ "Connector disconnected after suspend/resume\n");
+ igt_assert_f(connector->count_modes > 0,
+ "No modes available after suspend/resume\n");
+
+ igt_assert_f(run_audio_tests(data, alsa, port, audio_device),
+ "Audio test failed after suspend\n");
+
+ igt_remove_fb(data->drm_fd, &fb);
+
+ drmModeFreeConnector(connector);
+
+ free(alsa);
+}
+
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";
@@ -866,6 +1009,11 @@ int igt_main()
connector_subtest("dp-audio-edid", DisplayPort, &data, test_display_audio_edid,
IGT_CUSTOM_EDID_DP_AUDIO);
+ igt_describe(test_display_audio_suspend_resume_desc);
+ connector_subtest("dp-audio-after-suspend", DisplayPort, &data,
+ test_display_audio_suspend_resume,
+ "HDMI", IGT_CUSTOM_EDID_DP_AUDIO);
+
igt_describe("HDMI tests");
igt_describe(test_display_audio_desc);
@@ -876,6 +1024,11 @@ int igt_main()
connector_subtest("hdmi-audio-edid", HDMIA, &data, test_display_audio_edid,
IGT_CUSTOM_EDID_HDMI_AUDIO);
+ igt_describe(test_display_audio_suspend_resume_desc);
+ connector_subtest("hdmi-audio-after-suspend", HDMIA, &data,
+ test_display_audio_suspend_resume,
+ "HDMI", IGT_CUSTOM_EDID_HDMI_AUDIO);
+
igt_fixture() {
igt_display_fini(&data.display);
drm_close_driver(data.drm_fd);
--
2.43.0
^ permalink raw reply related [flat|nested] 10+ messages in thread* ✓ Xe.CI.BAT: success for tests/chamelium/kms_chamelium_audio: Add suspend/resume audio tests (rev7)
2026-06-19 5:38 [PATCH i-g-t] tests/chamelium/kms_chamelium_audio: Add suspend/resume audio tests Jeevan B
@ 2026-06-19 7:47 ` Patchwork
2026-06-19 8:12 ` ✗ i915.CI.BAT: failure " Patchwork
2026-06-19 9:35 ` ✗ Xe.CI.FULL: " Patchwork
2 siblings, 0 replies; 10+ messages in thread
From: Patchwork @ 2026-06-19 7:47 UTC (permalink / raw)
To: Jeevan B; +Cc: igt-dev
[-- Attachment #1: Type: text/plain, Size: 1009 bytes --]
== Series Details ==
Series: tests/chamelium/kms_chamelium_audio: Add suspend/resume audio tests (rev7)
URL : https://patchwork.freedesktop.org/series/166012/
State : success
== Summary ==
CI Bug Log - changes from XEIGT_8974_BAT -> XEIGTPW_15406_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (13 -> 13)
------------------------------
No changes in participating hosts
Changes
-------
No changes found
Build changes
-------------
* IGT: IGT_8974 -> IGTPW_15406
* Linux: xe-5280-24209d838338d162bb25aadfd637b11747a357ca -> xe-5282-a21fadfbf1d34161adab1c6de52d688fefcefb81
IGTPW_15406: 15406
IGT_8974: 8974
xe-5280-24209d838338d162bb25aadfd637b11747a357ca: 24209d838338d162bb25aadfd637b11747a357ca
xe-5282-a21fadfbf1d34161adab1c6de52d688fefcefb81: a21fadfbf1d34161adab1c6de52d688fefcefb81
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/index.html
[-- Attachment #2: Type: text/html, Size: 1568 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* ✗ i915.CI.BAT: failure for tests/chamelium/kms_chamelium_audio: Add suspend/resume audio tests (rev7)
2026-06-19 5:38 [PATCH i-g-t] tests/chamelium/kms_chamelium_audio: Add suspend/resume audio tests Jeevan B
2026-06-19 7:47 ` ✓ Xe.CI.BAT: success for tests/chamelium/kms_chamelium_audio: Add suspend/resume audio tests (rev7) Patchwork
@ 2026-06-19 8:12 ` Patchwork
2026-06-19 9:35 ` ✗ Xe.CI.FULL: " Patchwork
2 siblings, 0 replies; 10+ messages in thread
From: Patchwork @ 2026-06-19 8:12 UTC (permalink / raw)
To: Jeevan B; +Cc: igt-dev
[-- Attachment #1: Type: text/plain, Size: 3676 bytes --]
== Series Details ==
Series: tests/chamelium/kms_chamelium_audio: Add suspend/resume audio tests (rev7)
URL : https://patchwork.freedesktop.org/series/166012/
State : failure
== Summary ==
CI Bug Log - changes from IGT_8974 -> IGTPW_15406
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with IGTPW_15406 absolutely need to be
verified manually.
If you think the reported changes have nothing to do with the changes
introduced in IGTPW_15406, please notify your bug team (I915-ci-infra@lists.freedesktop.org) to allow them
to document this new failure mode, which will reduce false positives in CI.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_15406/index.html
Participating hosts (41 -> 40)
------------------------------
Additional (1): fi-glk-j4005
Missing (2): bat-dg2-13 fi-snb-2520m
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_15406:
### IGT changes ###
#### Possible regressions ####
* igt@i915_selftest@live@gt_mocs:
- bat-arlh-2: [PASS][1] -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_8974/bat-arlh-2/igt@i915_selftest@live@gt_mocs.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_15406/bat-arlh-2/igt@i915_selftest@live@gt_mocs.html
Known issues
------------
Here are the changes found in IGTPW_15406 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_huc_copy@huc-copy:
- fi-glk-j4005: NOTRUN -> [SKIP][3] ([i915#2190])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_15406/fi-glk-j4005/igt@gem_huc_copy@huc-copy.html
* igt@gem_lmem_swapping@parallel-random-engines:
- fi-glk-j4005: NOTRUN -> [SKIP][4] ([i915#4613]) +3 other tests skip
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_15406/fi-glk-j4005/igt@gem_lmem_swapping@parallel-random-engines.html
* igt@i915_selftest@live:
- bat-arlh-2: [PASS][5] -> [INCOMPLETE][6] ([i915#15978])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_8974/bat-arlh-2/igt@i915_selftest@live.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_15406/bat-arlh-2/igt@i915_selftest@live.html
* igt@kms_psr@psr-primary-page-flip:
- fi-glk-j4005: NOTRUN -> [SKIP][7] +12 other tests skip
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_15406/fi-glk-j4005/igt@kms_psr@psr-primary-page-flip.html
#### Possible fixes ####
* igt@i915_pm_rpm@module-reload:
- bat-adlp-6: [DMESG-WARN][8] ([i915#15673]) -> [PASS][9] +78 other tests pass
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_8974/bat-adlp-6/igt@i915_pm_rpm@module-reload.html
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_15406/bat-adlp-6/igt@i915_pm_rpm@module-reload.html
[i915#15673]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/15673
[i915#15978]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/15978
[i915#2190]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/2190
[i915#4613]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4613
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_8974 -> IGTPW_15406
* Linux: CI_DRM_18702 -> CI_DRM_18704
CI-20190529: 20190529
CI_DRM_18702: 24209d838338d162bb25aadfd637b11747a357ca @ git://anongit.freedesktop.org/gfx-ci/linux
CI_DRM_18704: a21fadfbf1d34161adab1c6de52d688fefcefb81 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_15406: 15406
IGT_8974: 8974
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_15406/index.html
[-- Attachment #2: Type: text/html, Size: 4444 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread* ✗ Xe.CI.FULL: failure for tests/chamelium/kms_chamelium_audio: Add suspend/resume audio tests (rev7)
2026-06-19 5:38 [PATCH i-g-t] tests/chamelium/kms_chamelium_audio: Add suspend/resume audio tests Jeevan B
2026-06-19 7:47 ` ✓ Xe.CI.BAT: success for tests/chamelium/kms_chamelium_audio: Add suspend/resume audio tests (rev7) Patchwork
2026-06-19 8:12 ` ✗ i915.CI.BAT: failure " Patchwork
@ 2026-06-19 9:35 ` Patchwork
2 siblings, 0 replies; 10+ messages in thread
From: Patchwork @ 2026-06-19 9:35 UTC (permalink / raw)
To: Jeevan B; +Cc: igt-dev
[-- Attachment #1: Type: text/plain, Size: 29234 bytes --]
== Series Details ==
Series: tests/chamelium/kms_chamelium_audio: Add suspend/resume audio tests (rev7)
URL : https://patchwork.freedesktop.org/series/166012/
State : failure
== Summary ==
CI Bug Log - changes from XEIGT_8974_FULL -> XEIGTPW_15406_FULL
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with XEIGTPW_15406_FULL absolutely need to be
verified manually.
If you think the reported changes have nothing to do with the changes
introduced in XEIGTPW_15406_FULL, please notify your bug team (I915-ci-infra@lists.freedesktop.org) to allow them
to document this new failure mode, which will reduce false positives in CI.
Participating hosts (2 -> 2)
------------------------------
No changes in participating hosts
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in XEIGTPW_15406_FULL:
### IGT changes ###
#### Possible regressions ####
* igt@kms_chamelium_audio@dp-audio-after-suspend (NEW):
- shard-bmg: NOTRUN -> [SKIP][1] +1 other test skip
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-2/igt@kms_chamelium_audio@dp-audio-after-suspend.html
- shard-lnl: NOTRUN -> [SKIP][2] +1 other test skip
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-6/igt@kms_chamelium_audio@dp-audio-after-suspend.html
* igt@xe_pmu@gt-frequency:
- shard-bmg: [PASS][3] -> [WARN][4] +1 other test warn
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8974/shard-bmg-8/igt@xe_pmu@gt-frequency.html
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-6/igt@xe_pmu@gt-frequency.html
* igt@xe_sriov_scheduling@equal-throughput-low-priority@numvfs-random-gt1-vcs0:
- shard-bmg: [PASS][5] -> [FAIL][6]
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8974/shard-bmg-7/igt@xe_sriov_scheduling@equal-throughput-low-priority@numvfs-random-gt1-vcs0.html
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-2/igt@xe_sriov_scheduling@equal-throughput-low-priority@numvfs-random-gt1-vcs0.html
New tests
---------
New tests have been introduced between XEIGT_8974_FULL and XEIGTPW_15406_FULL:
### New IGT tests (2) ###
* igt@kms_chamelium_audio@dp-audio-after-suspend:
- Statuses : 2 skip(s)
- Exec time: [0.0] s
* igt@kms_chamelium_audio@hdmi-audio-after-suspend:
- Statuses : 2 skip(s)
- Exec time: [0.0] s
Known issues
------------
Here are the changes found in XEIGTPW_15406_FULL that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_big_fb@y-tiled-32bpp-rotate-90:
- shard-bmg: NOTRUN -> [SKIP][7] ([Intel XE#1124]) +1 other test skip
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-4/igt@kms_big_fb@y-tiled-32bpp-rotate-90.html
* igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-0-async-flip:
- shard-lnl: NOTRUN -> [SKIP][8] ([Intel XE#1124]) +1 other test skip
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-1/igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-0-async-flip.html
* igt@kms_ccs@crc-primary-rotation-180-y-tiled-gen12-rc-ccs-cc:
- shard-bmg: NOTRUN -> [SKIP][9] ([Intel XE#2887]) +2 other tests skip
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-10/igt@kms_ccs@crc-primary-rotation-180-y-tiled-gen12-rc-ccs-cc.html
- shard-lnl: NOTRUN -> [SKIP][10] ([Intel XE#2887]) +2 other tests skip
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-4/igt@kms_ccs@crc-primary-rotation-180-y-tiled-gen12-rc-ccs-cc.html
* igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs:
- shard-bmg: [PASS][11] -> [INCOMPLETE][12] ([Intel XE#7084] / [Intel XE#8150]) +1 other test incomplete
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8974/shard-bmg-3/igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs.html
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-2/igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs.html
* igt@kms_chamelium_color@ctm-0-25:
- shard-bmg: NOTRUN -> [SKIP][13] ([Intel XE#2325] / [Intel XE#7358])
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-7/igt@kms_chamelium_color@ctm-0-25.html
- shard-lnl: NOTRUN -> [SKIP][14] ([Intel XE#306] / [Intel XE#7358])
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-6/igt@kms_chamelium_color@ctm-0-25.html
* igt@kms_chamelium_edid@dp-edid-read:
- shard-bmg: NOTRUN -> [SKIP][15] ([Intel XE#2252])
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-9/igt@kms_chamelium_edid@dp-edid-read.html
- shard-lnl: NOTRUN -> [SKIP][16] ([Intel XE#373])
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-5/igt@kms_chamelium_edid@dp-edid-read.html
* igt@kms_cursor_crc@cursor-onscreen-128x42:
- shard-bmg: NOTRUN -> [SKIP][17] ([Intel XE#2320])
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-3/igt@kms_cursor_crc@cursor-onscreen-128x42.html
- shard-lnl: NOTRUN -> [SKIP][18] ([Intel XE#1424])
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-1/igt@kms_cursor_crc@cursor-onscreen-128x42.html
* igt@kms_cursor_legacy@2x-flip-vs-cursor-legacy:
- shard-lnl: NOTRUN -> [SKIP][19] ([Intel XE#309] / [Intel XE#7343]) +1 other test skip
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-3/igt@kms_cursor_legacy@2x-flip-vs-cursor-legacy.html
* igt@kms_cursor_legacy@short-busy-flip-before-cursor-toggle:
- shard-lnl: NOTRUN -> [SKIP][20] ([Intel XE#323] / [Intel XE#6035])
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-6/igt@kms_cursor_legacy@short-busy-flip-before-cursor-toggle.html
- shard-bmg: NOTRUN -> [SKIP][21] ([Intel XE#2286] / [Intel XE#6035])
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-6/igt@kms_cursor_legacy@short-busy-flip-before-cursor-toggle.html
* igt@kms_dp_link_training@non-uhbr-mst:
- shard-lnl: NOTRUN -> [SKIP][22] ([Intel XE#4354] / [Intel XE#5882])
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-4/igt@kms_dp_link_training@non-uhbr-mst.html
- shard-bmg: NOTRUN -> [SKIP][23] ([Intel XE#4354] / [Intel XE#5882])
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-8/igt@kms_dp_link_training@non-uhbr-mst.html
* igt@kms_flip@flip-vs-expired-vblank@b-edp1:
- shard-lnl: [PASS][24] -> [FAIL][25] ([Intel XE#301])
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8974/shard-lnl-7/igt@kms_flip@flip-vs-expired-vblank@b-edp1.html
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-5/igt@kms_flip@flip-vs-expired-vblank@b-edp1.html
* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling:
- shard-bmg: NOTRUN -> [SKIP][26] ([Intel XE#7178] / [Intel XE#7351])
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-9/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling.html
- shard-lnl: NOTRUN -> [SKIP][27] ([Intel XE#7178] / [Intel XE#7351])
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-3/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling.html
* igt@kms_frontbuffer_tracking@drrshdr-1p-primscrn-pri-shrfb-draw-blt:
- shard-lnl: NOTRUN -> [SKIP][28] ([Intel XE#6312]) +1 other test skip
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-6/igt@kms_frontbuffer_tracking@drrshdr-1p-primscrn-pri-shrfb-draw-blt.html
* igt@kms_frontbuffer_tracking@drrshdr-argb161616f-draw-mmap-wc:
- shard-bmg: NOTRUN -> [SKIP][29] ([Intel XE#7061]) +1 other test skip
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-2/igt@kms_frontbuffer_tracking@drrshdr-argb161616f-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@fbc-abgr161616f-draw-mmap-wc:
- shard-lnl: NOTRUN -> [SKIP][30] ([Intel XE#7061] / [Intel XE#7356]) +2 other tests skip
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-6/igt@kms_frontbuffer_tracking@fbc-abgr161616f-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@fbcdrrs-1p-primscrn-cur-indfb-draw-blt:
- shard-bmg: NOTRUN -> [SKIP][31] ([Intel XE#2311]) +4 other tests skip
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-4/igt@kms_frontbuffer_tracking@fbcdrrs-1p-primscrn-cur-indfb-draw-blt.html
- shard-lnl: NOTRUN -> [SKIP][32] ([Intel XE#6312] / [Intel XE#651]) +1 other test skip
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-8/igt@kms_frontbuffer_tracking@fbcdrrs-1p-primscrn-cur-indfb-draw-blt.html
* igt@kms_frontbuffer_tracking@fbchdr-1p-primscrn-indfb-plflip-blt:
- shard-lnl: NOTRUN -> [SKIP][33] ([Intel XE#7865]) +4 other tests skip
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-3/igt@kms_frontbuffer_tracking@fbchdr-1p-primscrn-indfb-plflip-blt.html
* igt@kms_frontbuffer_tracking@fbcpsrhdr-argb161616f-draw-render:
- shard-lnl: NOTRUN -> [SKIP][34] ([Intel XE#7061]) +1 other test skip
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-1/igt@kms_frontbuffer_tracking@fbcpsrhdr-argb161616f-draw-render.html
* igt@kms_frontbuffer_tracking@hdr-2p-primscrn-pri-indfb-draw-render:
- shard-lnl: NOTRUN -> [SKIP][35] ([Intel XE#7905]) +4 other tests skip
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-1/igt@kms_frontbuffer_tracking@hdr-2p-primscrn-pri-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@psr-2p-scndscrn-cur-indfb-draw-mmap-wc:
- shard-lnl: NOTRUN -> [SKIP][36] ([Intel XE#656] / [Intel XE#7905]) +1 other test skip
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-5/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-cur-indfb-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@psr-argb161616f-draw-blt:
- shard-bmg: NOTRUN -> [SKIP][37] ([Intel XE#7061] / [Intel XE#7356]) +2 other tests skip
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-1/igt@kms_frontbuffer_tracking@psr-argb161616f-draw-blt.html
* igt@kms_frontbuffer_tracking@psrhdr-2p-scndscrn-pri-shrfb-draw-render:
- shard-bmg: NOTRUN -> [SKIP][38] ([Intel XE#2313]) +5 other tests skip
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-2/igt@kms_frontbuffer_tracking@psrhdr-2p-scndscrn-pri-shrfb-draw-render.html
* igt@kms_hdmi_inject@inject-4k:
- shard-lnl: NOTRUN -> [SKIP][39] ([Intel XE#1470])
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-8/igt@kms_hdmi_inject@inject-4k.html
* igt@kms_hdmi_inject@inject-audio:
- shard-bmg: [PASS][40] -> [SKIP][41] ([Intel XE#7308])
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8974/shard-bmg-8/igt@kms_hdmi_inject@inject-audio.html
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-1/igt@kms_hdmi_inject@inject-audio.html
* igt@kms_panel_fitting@legacy:
- shard-bmg: NOTRUN -> [SKIP][42] ([Intel XE#2486])
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-3/igt@kms_panel_fitting@legacy.html
* igt@kms_plane_multiple@2x-tiling-x:
- shard-lnl: NOTRUN -> [SKIP][43] ([Intel XE#4596] / [Intel XE#5854])
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-8/igt@kms_plane_multiple@2x-tiling-x.html
* igt@kms_plane_scaling@plane-downscale-factor-0-5-with-pixel-format@pipe-c:
- shard-lnl: NOTRUN -> [SKIP][44] ([Intel XE#2763] / [Intel XE#6886]) +3 other tests skip
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-2/igt@kms_plane_scaling@plane-downscale-factor-0-5-with-pixel-format@pipe-c.html
* igt@kms_pm_rpm@modeset-non-lpsp-stress:
- shard-lnl: NOTRUN -> [SKIP][45] ([Intel XE#1439] / [Intel XE#3141] / [Intel XE#7383])
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-7/igt@kms_pm_rpm@modeset-non-lpsp-stress.html
* igt@kms_psr2_sf@pr-overlay-plane-move-continuous-exceed-sf:
- shard-bmg: NOTRUN -> [SKIP][46] ([Intel XE#1489])
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-4/igt@kms_psr2_sf@pr-overlay-plane-move-continuous-exceed-sf.html
- shard-lnl: NOTRUN -> [SKIP][47] ([Intel XE#2893] / [Intel XE#7304])
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-8/igt@kms_psr2_sf@pr-overlay-plane-move-continuous-exceed-sf.html
* igt@kms_psr@fbc-psr2-sprite-render:
- shard-bmg: NOTRUN -> [SKIP][48] ([Intel XE#2234] / [Intel XE#2850])
[48]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-10/igt@kms_psr@fbc-psr2-sprite-render.html
- shard-lnl: NOTRUN -> [SKIP][49] ([Intel XE#1406] / [Intel XE#7345])
[49]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-4/igt@kms_psr@fbc-psr2-sprite-render.html
* igt@kms_psr@fbc-psr2-sprite-render@edp-1:
- shard-lnl: NOTRUN -> [SKIP][50] ([Intel XE#1406] / [Intel XE#4609])
[50]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-4/igt@kms_psr@fbc-psr2-sprite-render@edp-1.html
* igt@kms_vrr@seamless-rr-switch-virtual@pipe-a-edp-1:
- shard-lnl: [PASS][51] -> [FAIL][52] ([Intel XE#2142]) +1 other test fail
[51]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8974/shard-lnl-1/igt@kms_vrr@seamless-rr-switch-virtual@pipe-a-edp-1.html
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-7/igt@kms_vrr@seamless-rr-switch-virtual@pipe-a-edp-1.html
* igt@xe_eudebug_online@single-step:
- shard-bmg: NOTRUN -> [SKIP][53] ([Intel XE#7636]) +1 other test skip
[53]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-6/igt@xe_eudebug_online@single-step.html
- shard-lnl: NOTRUN -> [SKIP][54] ([Intel XE#7636]) +1 other test skip
[54]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-6/igt@xe_eudebug_online@single-step.html
* igt@xe_evict@evict-mixed-many-threads-small:
- shard-bmg: [PASS][55] -> [INCOMPLETE][56] ([Intel XE#6321] / [Intel XE#8355])
[55]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8974/shard-bmg-10/igt@xe_evict@evict-mixed-many-threads-small.html
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-1/igt@xe_evict@evict-mixed-many-threads-small.html
* igt@xe_evict@evict-threads-small-multi-queue:
- shard-bmg: NOTRUN -> [SKIP][57] ([Intel XE#8370])
[57]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-9/igt@xe_evict@evict-threads-small-multi-queue.html
- shard-lnl: NOTRUN -> [SKIP][58] ([Intel XE#6540] / [Intel XE#688])
[58]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-3/igt@xe_evict@evict-threads-small-multi-queue.html
* igt@xe_exec_balancer@no-exec-parallel-userptr-invalidate-race:
- shard-lnl: NOTRUN -> [SKIP][59] ([Intel XE#7482]) +2 other tests skip
[59]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-3/igt@xe_exec_balancer@no-exec-parallel-userptr-invalidate-race.html
* igt@xe_exec_fault_mode@many-execqueues-multi-queue-invalid-userptr-fault:
- shard-bmg: NOTRUN -> [SKIP][60] ([Intel XE#8374]) +1 other test skip
[60]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-2/igt@xe_exec_fault_mode@many-execqueues-multi-queue-invalid-userptr-fault.html
* igt@xe_exec_fault_mode@twice-multi-queue-prefetch:
- shard-lnl: NOTRUN -> [SKIP][61] ([Intel XE#8374]) +1 other test skip
[61]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-3/igt@xe_exec_fault_mode@twice-multi-queue-prefetch.html
* igt@xe_exec_multi_queue@many-queues-preempt-mode-fault-basic:
- shard-bmg: NOTRUN -> [SKIP][62] ([Intel XE#8364]) +3 other tests skip
[62]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-8/igt@xe_exec_multi_queue@many-queues-preempt-mode-fault-basic.html
* igt@xe_exec_multi_queue@many-queues-preempt-mode-fault-priority:
- shard-lnl: NOTRUN -> [SKIP][63] ([Intel XE#8364]) +3 other tests skip
[63]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-5/igt@xe_exec_multi_queue@many-queues-preempt-mode-fault-priority.html
* igt@xe_exec_reset@long-spin-comp-reuse-many-preempt-threads:
- shard-bmg: [PASS][64] -> [FAIL][65] ([Intel XE#7850])
[64]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8974/shard-bmg-7/igt@xe_exec_reset@long-spin-comp-reuse-many-preempt-threads.html
[65]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-10/igt@xe_exec_reset@long-spin-comp-reuse-many-preempt-threads.html
* igt@xe_exec_reset@multi-queue-gt-reset:
- shard-lnl: NOTRUN -> [SKIP][66] ([Intel XE#8369])
[66]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-3/igt@xe_exec_reset@multi-queue-gt-reset.html
- shard-bmg: NOTRUN -> [SKIP][67] ([Intel XE#8369])
[67]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-6/igt@xe_exec_reset@multi-queue-gt-reset.html
* igt@xe_multigpu_svm@mgpu-coherency-fail-prefetch:
- shard-bmg: NOTRUN -> [SKIP][68] ([Intel XE#6964])
[68]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-10/igt@xe_multigpu_svm@mgpu-coherency-fail-prefetch.html
- shard-lnl: NOTRUN -> [SKIP][69] ([Intel XE#6964])
[69]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-7/igt@xe_multigpu_svm@mgpu-coherency-fail-prefetch.html
* igt@xe_pat@pat-index-xehpc:
- shard-lnl: NOTRUN -> [SKIP][70] ([Intel XE#1420] / [Intel XE#2838] / [Intel XE#7590])
[70]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-8/igt@xe_pat@pat-index-xehpc.html
* igt@xe_sriov_flr@flr-vf1-clear:
- shard-bmg: [PASS][71] -> [FAIL][72] ([Intel XE#6569]) +1 other test fail
[71]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8974/shard-bmg-5/igt@xe_sriov_flr@flr-vf1-clear.html
[72]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-4/igt@xe_sriov_flr@flr-vf1-clear.html
* igt@xe_sriov_scheduling@equal-throughput-low-priority:
- shard-bmg: [PASS][73] -> [FAIL][74] ([Intel XE#7992]) +1 other test fail
[73]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8974/shard-bmg-7/igt@xe_sriov_scheduling@equal-throughput-low-priority.html
[74]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-2/igt@xe_sriov_scheduling@equal-throughput-low-priority.html
#### Possible fixes ####
* igt@kms_cursor_legacy@flip-vs-cursor-atomic:
- shard-bmg: [FAIL][75] ([Intel XE#7571]) -> [PASS][76]
[75]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8974/shard-bmg-1/igt@kms_cursor_legacy@flip-vs-cursor-atomic.html
[76]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-1/igt@kms_cursor_legacy@flip-vs-cursor-atomic.html
* igt@kms_flip@flip-vs-expired-vblank@a-edp1:
- shard-lnl: [FAIL][77] ([Intel XE#301]) -> [PASS][78] +1 other test pass
[77]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8974/shard-lnl-7/igt@kms_flip@flip-vs-expired-vblank@a-edp1.html
[78]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-5/igt@kms_flip@flip-vs-expired-vblank@a-edp1.html
* igt@kms_hdr@static-toggle@pipe-a-hdmi-a-3-xrgb16161616f:
- shard-bmg: [SKIP][79] ([Intel XE#7915]) -> [PASS][80] +5 other tests pass
[79]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8974/shard-bmg-7/igt@kms_hdr@static-toggle@pipe-a-hdmi-a-3-xrgb16161616f.html
[80]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-1/igt@kms_hdr@static-toggle@pipe-a-hdmi-a-3-xrgb16161616f.html
* igt@kms_pm_dc@dc6-psr:
- shard-lnl: [FAIL][81] ([Intel XE#7340]) -> [PASS][82]
[81]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8974/shard-lnl-4/igt@kms_pm_dc@dc6-psr.html
[82]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-7/igt@kms_pm_dc@dc6-psr.html
* igt@kms_vrr@max-min:
- shard-lnl: [FAIL][83] ([Intel XE#4227]) -> [PASS][84] +1 other test pass
[83]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8974/shard-lnl-6/igt@kms_vrr@max-min.html
[84]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-8/igt@kms_vrr@max-min.html
* igt@xe_evict@evict-beng-mixed-many-threads-small:
- shard-bmg: [INCOMPLETE][85] ([Intel XE#6321] / [Intel XE#8355]) -> [PASS][86]
[85]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8974/shard-bmg-2/igt@xe_evict@evict-beng-mixed-many-threads-small.html
[86]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-8/igt@xe_evict@evict-beng-mixed-many-threads-small.html
* igt@xe_exec_reset@long-spin-reuse-many-preempt-media:
- shard-bmg: [FAIL][87] ([Intel XE#7850]) -> [PASS][88]
[87]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8974/shard-bmg-5/igt@xe_exec_reset@long-spin-reuse-many-preempt-media.html
[88]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-9/igt@xe_exec_reset@long-spin-reuse-many-preempt-media.html
* igt@xe_sriov_auto_provisioning@exclusive-ranges@numvfs-random:
- shard-bmg: [FAIL][89] ([Intel XE#7992]) -> [PASS][90] +2 other tests pass
[89]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8974/shard-bmg-1/igt@xe_sriov_auto_provisioning@exclusive-ranges@numvfs-random.html
[90]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-7/igt@xe_sriov_auto_provisioning@exclusive-ranges@numvfs-random.html
#### Warnings ####
* igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions:
- shard-lnl: [SKIP][91] ([Intel XE#309] / [Intel XE#7343]) -> [SKIP][92] ([Intel XE#309] / [Intel XE#7343] / [Intel XE#7935])
[91]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8974/shard-lnl-1/igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions.html
[92]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-8/igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions.html
* igt@kms_tiled_display@basic-test-pattern-with-chamelium:
- shard-bmg: [SKIP][93] ([Intel XE#2426] / [Intel XE#5848]) -> [SKIP][94] ([Intel XE#2509] / [Intel XE#7437])
[93]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8974/shard-bmg-9/igt@kms_tiled_display@basic-test-pattern-with-chamelium.html
[94]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-4/igt@kms_tiled_display@basic-test-pattern-with-chamelium.html
[Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
[Intel XE#1406]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1406
[Intel XE#1420]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1420
[Intel XE#1424]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1424
[Intel XE#1439]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1439
[Intel XE#1470]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1470
[Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
[Intel XE#2142]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2142
[Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
[Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
[Intel XE#2286]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2286
[Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311
[Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313
[Intel XE#2320]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2320
[Intel XE#2325]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2325
[Intel XE#2426]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2426
[Intel XE#2486]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2486
[Intel XE#2509]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2509
[Intel XE#2763]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2763
[Intel XE#2838]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2838
[Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
[Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
[Intel XE#2893]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2893
[Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
[Intel XE#306]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/306
[Intel XE#309]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/309
[Intel XE#3141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3141
[Intel XE#323]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/323
[Intel XE#373]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/373
[Intel XE#4227]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4227
[Intel XE#4354]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4354
[Intel XE#4596]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4596
[Intel XE#4609]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4609
[Intel XE#5848]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5848
[Intel XE#5854]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5854
[Intel XE#5882]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5882
[Intel XE#6035]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6035
[Intel XE#6312]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6312
[Intel XE#6321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6321
[Intel XE#651]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/651
[Intel XE#6540]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6540
[Intel XE#656]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/656
[Intel XE#6569]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6569
[Intel XE#688]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/688
[Intel XE#6886]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6886
[Intel XE#6964]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6964
[Intel XE#7061]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7061
[Intel XE#7084]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7084
[Intel XE#7178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7178
[Intel XE#7304]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7304
[Intel XE#7308]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7308
[Intel XE#7340]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7340
[Intel XE#7343]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7343
[Intel XE#7345]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7345
[Intel XE#7351]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7351
[Intel XE#7356]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7356
[Intel XE#7358]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7358
[Intel XE#7383]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7383
[Intel XE#7437]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7437
[Intel XE#7482]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7482
[Intel XE#7571]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7571
[Intel XE#7590]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7590
[Intel XE#7636]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7636
[Intel XE#7850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7850
[Intel XE#7865]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7865
[Intel XE#7905]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7905
[Intel XE#7915]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7915
[Intel XE#7935]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7935
[Intel XE#7992]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7992
[Intel XE#8150]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8150
[Intel XE#8355]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8355
[Intel XE#8364]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8364
[Intel XE#8369]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8369
[Intel XE#8370]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8370
[Intel XE#8374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8374
Build changes
-------------
* IGT: IGT_8974 -> IGTPW_15406
* Linux: xe-5280-24209d838338d162bb25aadfd637b11747a357ca -> xe-5282-a21fadfbf1d34161adab1c6de52d688fefcefb81
IGTPW_15406: 15406
IGT_8974: 8974
xe-5280-24209d838338d162bb25aadfd637b11747a357ca: 24209d838338d162bb25aadfd637b11747a357ca
xe-5282-a21fadfbf1d34161adab1c6de52d688fefcefb81: a21fadfbf1d34161adab1c6de52d688fefcefb81
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/index.html
[-- Attachment #2: Type: text/html, Size: 33158 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH i-g-t] tests/chamelium/kms_chamelium_audio: Add suspend/resume audio tests
@ 2026-06-11 3:52 Jeevan B
0 siblings, 0 replies; 10+ messages in thread
From: Jeevan B @ 2026-06-11 3:52 UTC (permalink / raw)
To: igt-dev; +Cc: kunal1.joshi, Jeevan B
Add test to validate audio works before and after suspend/resume on
HDMI/DP connector.
v2: Perform a single suspend/resume for all audio combinations.
Re-enable chamelium after suspend and separate pre-suspend
and post-resume validation paths for clearer failure diagnostics.
v3: Drop commit and use igt_assert_f with explicit messages to
distinguish failure in audio tests.
v4: Removed inner igt_assert, changed from tracking execution to
aggregating test results with success &=, so function now returns
actual pass/fail.
Signed-off-by: Jeevan B <jeevan.b@intel.com>
---
tests/chamelium/kms_chamelium_audio.c | 147 ++++++++++++++++++++++++++
1 file changed, 147 insertions(+)
diff --git a/tests/chamelium/kms_chamelium_audio.c b/tests/chamelium/kms_chamelium_audio.c
index df8d27c0c..bd121fa8d 100644
--- a/tests/chamelium/kms_chamelium_audio.c
+++ b/tests/chamelium/kms_chamelium_audio.c
@@ -52,6 +52,12 @@
* 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
+ *
+ * SUBTEST: dp-audio-after-suspend
+ * Description: Verify audio works before and after system suspend/resume
+ *
+ * SUBTEST: hdmi-audio-after-suspend
+ * Description: Verify audio works before and after system suspend/resume
*/
/* Playback parameters control the audio signal we synthesize and send */
@@ -695,6 +701,63 @@ static bool check_audio_configuration(struct alsa *alsa,
return true;
}
+static bool run_audio_test_once(chamelium_data_t *data,
+ struct alsa *alsa,
+ struct chamelium_port *port,
+ snd_pcm_format_t format,
+ int channels,
+ int sampling_rate)
+{
+ struct audio_state state;
+ bool success;
+
+ audio_state_init(&state, data, alsa, port, format, channels,
+ sampling_rate);
+ success = test_audio_frequencies(&state);
+ success &= test_audio_flatline(&state);
+ audio_state_fini(&state);
+
+ return success;
+}
+
+static bool run_audio_tests(chamelium_data_t *data,
+ struct alsa *alsa,
+ struct chamelium_port *port,
+ const char *audio_device)
+{
+ bool success = true;
+ int ret, i, j;
+ int channels, sampling_rate;
+ snd_pcm_format_t format;
+
+ for (i = 0; i < test_sampling_rates_count; i++) {
+ for (j = 0; j < test_formats_count; j++) {
+ ret = alsa_open_output(alsa, audio_device);
+ igt_assert_f(ret >= 0,
+ "Failed to open ALSA output\n");
+
+ format = test_formats[j];
+ channels = PLAYBACK_CHANNELS;
+ sampling_rate = test_sampling_rates[i];
+
+ if (!check_audio_configuration(alsa, format,
+ channels,
+ sampling_rate)) {
+ alsa_close_output(alsa);
+ continue;
+ }
+
+ success &= run_audio_test_once(data, alsa, port,
+ format, channels,
+ sampling_rate);
+
+ alsa_close_output(alsa);
+ }
+ }
+
+ return success;
+}
+
static const char test_display_audio_desc[] =
"Playback various audio signals with various audio formats/rates, "
"capture them and check they are correct";
@@ -789,6 +852,80 @@ static void test_display_audio(chamelium_data_t *data,
free(alsa);
}
+static const char test_display_audio_suspend_resume_desc[] =
+ "Verify audio works before and after system suspend/resume";
+static void test_display_audio_suspend_resume(
+ chamelium_data_t *data,
+ struct chamelium_port *port,
+ const char *audio_device,
+ enum igt_custom_edid_type edid)
+{
+ struct alsa *alsa;
+ igt_output_t *output;
+ igt_plane_t *primary;
+ struct igt_fb fb;
+ drmModeModeInfo *mode;
+ drmModeConnector *connector;
+ int fb_id;
+
+ igt_require(alsa_has_exclusive_access());
+
+ igt_require(chamelium_has_audio_support(data->chamelium,
+ port));
+
+ alsa = alsa_init();
+ igt_assert(alsa);
+
+ igt_modeset_disable_all_outputs(&data->display);
+
+ chamelium_reset_state(&data->display, data->chamelium,
+ port, data->ports,
+ data->port_count);
+
+ output = chamelium_prepare_output(data, port, edid);
+
+ connector = chamelium_port_get_connector(data->chamelium,
+ port, false);
+
+ primary = igt_output_get_plane_type(output,
+ DRM_PLANE_TYPE_PRIMARY);
+ igt_assert(primary);
+
+ igt_assert(connector->count_modes > 0);
+
+ mode = &connector->modes[0];
+
+ fb_id = igt_create_color_pattern_fb(data->drm_fd,
+ mode->hdisplay,
+ mode->vdisplay,
+ DRM_FORMAT_XRGB8888,
+ DRM_FORMAT_MOD_LINEAR,
+ 0, 0, 0, &fb);
+
+ igt_assert(fb_id > 0);
+
+ chamelium_enable_output(data, port, output,
+ mode, &fb);
+
+ igt_assert_f(run_audio_tests(data, alsa, port, audio_device),
+ "Audio test failed before suspend\n");
+
+ igt_system_suspend_autoresume(SUSPEND_STATE_MEM,
+ SUSPEND_TEST_NONE);
+
+ chamelium_enable_output(data, port, output,
+ mode, &fb);
+
+ igt_assert_f(run_audio_tests(data, alsa, port, audio_device),
+ "Audio test failed after suspend\n");
+
+ igt_remove_fb(data->drm_fd, &fb);
+
+ drmModeFreeConnector(connector);
+
+ free(alsa);
+}
+
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";
@@ -866,6 +1003,11 @@ int igt_main()
connector_subtest("dp-audio-edid", DisplayPort, &data, test_display_audio_edid,
IGT_CUSTOM_EDID_DP_AUDIO);
+ igt_describe(test_display_audio_suspend_resume_desc);
+ connector_subtest("dp-audio-after-suspend", DisplayPort, &data,
+ test_display_audio_suspend_resume,
+ "HDMI", IGT_CUSTOM_EDID_DP_AUDIO);
+
igt_describe("HDMI tests");
igt_describe(test_display_audio_desc);
@@ -876,6 +1018,11 @@ int igt_main()
connector_subtest("hdmi-audio-edid", HDMIA, &data, test_display_audio_edid,
IGT_CUSTOM_EDID_HDMI_AUDIO);
+ igt_describe(test_display_audio_suspend_resume_desc);
+ connector_subtest("hdmi-audio-after-suspend", HDMIA, &data,
+ test_display_audio_suspend_resume,
+ "HDMI", IGT_CUSTOM_EDID_HDMI_AUDIO);
+
igt_fixture() {
igt_display_fini(&data.display);
drm_close_driver(data.drm_fd);
--
2.43.0
^ permalink raw reply related [flat|nested] 10+ messages in thread* [PATCH i-g-t] tests/chamelium/kms_chamelium_audio: Add suspend/resume audio tests
@ 2026-05-13 6:35 Jeevan B
0 siblings, 0 replies; 10+ messages in thread
From: Jeevan B @ 2026-05-13 6:35 UTC (permalink / raw)
To: igt-dev; +Cc: chaitanya.kumar.borah, mohammed.bilal, Jeevan B
Add test to validate audio works before and after suspend/resume on
HDMI/DP connector.
v2: Perform a single suspend/resume for all audio combinations.
Re-enable chamelium after suspend and separate pre-suspend
and post-resume validation paths for clearer failure diagnostics.
Signed-off-by: Jeevan B <jeevan.b@intel.com>
---
tests/chamelium/kms_chamelium_audio.c | 152 ++++++++++++++++++++++++++
1 file changed, 152 insertions(+)
diff --git a/tests/chamelium/kms_chamelium_audio.c b/tests/chamelium/kms_chamelium_audio.c
index df8d27c0c..067e306c3 100644
--- a/tests/chamelium/kms_chamelium_audio.c
+++ b/tests/chamelium/kms_chamelium_audio.c
@@ -52,6 +52,12 @@
* 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
+ *
+ * SUBTEST: dp-audio-after-suspend
+ * Description: Verify audio works before and after system suspend/resume
+ *
+ * SUBTEST: hdmi-audio-after-suspend
+ * Description: Verify audio works before and after system suspend/resume
*/
/* Playback parameters control the audio signal we synthesize and send */
@@ -695,6 +701,65 @@ static bool check_audio_configuration(struct alsa *alsa,
return true;
}
+static bool run_audio_test_once(chamelium_data_t *data,
+ struct alsa *alsa,
+ struct chamelium_port *port,
+ snd_pcm_format_t format,
+ int channels,
+ int sampling_rate)
+{
+ struct audio_state state;
+ bool success;
+
+ audio_state_init(&state, data, alsa, port, format, channels,
+ sampling_rate);
+ success = test_audio_frequencies(&state);
+ success &= test_audio_flatline(&state);
+ audio_state_fini(&state);
+
+ return success;
+}
+
+static bool run_audio_tests(chamelium_data_t *data,
+ struct alsa *alsa,
+ struct chamelium_port *port,
+ const char *audio_device)
+{
+ bool run = false;
+ int ret, i, j;
+ int channels, sampling_rate;
+ snd_pcm_format_t format;
+
+ for (i = 0; i < test_sampling_rates_count; i++) {
+ for (j = 0; j < test_formats_count; j++) {
+ ret = alsa_open_output(alsa, audio_device);
+ igt_assert_f(ret >= 0,
+ "Failed to open ALSA output\n");
+
+ format = test_formats[j];
+ channels = PLAYBACK_CHANNELS;
+ sampling_rate = test_sampling_rates[i];
+
+ if (!check_audio_configuration(alsa, format,
+ channels,
+ sampling_rate)) {
+ alsa_close_output(alsa);
+ continue;
+ }
+
+ run = true;
+
+ igt_assert(run_audio_test_once(data, alsa, port,
+ format, channels,
+ sampling_rate));
+
+ alsa_close_output(alsa);
+ }
+ }
+
+ return run;
+}
+
static const char test_display_audio_desc[] =
"Playback various audio signals with various audio formats/rates, "
"capture them and check they are correct";
@@ -789,6 +854,83 @@ static void test_display_audio(chamelium_data_t *data,
free(alsa);
}
+static const char test_display_audio_suspend_resume_desc[] =
+ "Verify audio works before and after system suspend/resume";
+static void test_display_audio_suspend_resume(
+ chamelium_data_t *data,
+ struct chamelium_port *port,
+ const char *audio_device,
+ enum igt_custom_edid_type edid)
+{
+ struct alsa *alsa;
+ igt_output_t *output;
+ igt_plane_t *primary;
+ struct igt_fb fb;
+ drmModeModeInfo *mode;
+ drmModeConnector *connector;
+ int fb_id;
+
+ igt_require(alsa_has_exclusive_access());
+
+ igt_require(chamelium_has_audio_support(data->chamelium,
+ port));
+
+ alsa = alsa_init();
+ igt_assert(alsa);
+
+ igt_modeset_disable_all_outputs(&data->display);
+
+ chamelium_reset_state(&data->display, data->chamelium,
+ port, data->ports,
+ data->port_count);
+
+ output = chamelium_prepare_output(data, port, edid);
+
+ connector = chamelium_port_get_connector(data->chamelium,
+ port, false);
+
+ primary = igt_output_get_plane_type(output,
+ DRM_PLANE_TYPE_PRIMARY);
+ igt_assert(primary);
+
+ igt_assert(connector->count_modes > 0);
+
+ mode = &connector->modes[0];
+
+ fb_id = igt_create_color_pattern_fb(data->drm_fd,
+ mode->hdisplay,
+ mode->vdisplay,
+ DRM_FORMAT_XRGB8888,
+ DRM_FORMAT_MOD_LINEAR,
+ 0, 0, 0, &fb);
+
+ igt_assert(fb_id > 0);
+
+ chamelium_enable_output(data, port, output,
+ mode, &fb);
+
+ igt_assert(run_audio_tests(data, alsa, port,
+ audio_device));
+
+ igt_system_suspend_autoresume(SUSPEND_STATE_MEM,
+ SUSPEND_TEST_NONE);
+
+ chamelium_enable_output(data, port, output,
+ mode, &fb);
+
+ igt_display_commit2(&data->display,
+ COMMIT_ATOMIC);
+
+ igt_assert(run_audio_tests(data, alsa, port,
+ audio_device));
+
+ igt_remove_fb(data->drm_fd, &fb);
+
+ drmModeFreeConnector(connector);
+
+ free(alsa);
+}
+
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";
@@ -866,6 +1008,11 @@ int igt_main()
connector_subtest("dp-audio-edid", DisplayPort, &data, test_display_audio_edid,
IGT_CUSTOM_EDID_DP_AUDIO);
+ igt_describe(test_display_audio_suspend_resume_desc);
+ connector_subtest("dp-audio-after-suspend", DisplayPort, &data,
+ test_display_audio_suspend_resume,
+ "HDMI", IGT_CUSTOM_EDID_DP_AUDIO);
+
igt_describe("HDMI tests");
igt_describe(test_display_audio_desc);
@@ -876,6 +1023,11 @@ int igt_main()
connector_subtest("hdmi-audio-edid", HDMIA, &data, test_display_audio_edid,
IGT_CUSTOM_EDID_HDMI_AUDIO);
+ igt_describe(test_display_audio_suspend_resume_desc);
+ connector_subtest("hdmi-audio-after-suspend", HDMIA, &data,
+ test_display_audio_suspend_resume,
+ "HDMI", IGT_CUSTOM_EDID_HDMI_AUDIO);
+
igt_fixture() {
igt_display_fini(&data.display);
drm_close_driver(data.drm_fd);
--
2.43.0
^ permalink raw reply related [flat|nested] 10+ messages in thread* [PATCH i-g-t] tests/chamelium/kms_chamelium_audio: Add suspend/resume audio tests
@ 2026-05-11 4:18 Jeevan B
2026-05-11 6:22 ` Bilal, Mohammed
0 siblings, 1 reply; 10+ messages in thread
From: Jeevan B @ 2026-05-11 4:18 UTC (permalink / raw)
To: igt-dev; +Cc: chaitanya.kumar.borah, mohammed.bilal, Jeevan B
Add test to validate audio works before and after suspend/resume on
HDMI/DP connector.
v2: Perform a single suspend/resume for all audio combinations.
Re-enable chamelium after suspend and separate pre-suspend
and post-resume validation paths for clearer failure diagnostics.
Signed-off-by: Jeevan B <jeevan.b@intel.com>
---
tests/chamelium/kms_chamelium_audio.c | 133 ++++++++++++++++++++++++++
1 file changed, 133 insertions(+)
diff --git a/tests/chamelium/kms_chamelium_audio.c b/tests/chamelium/kms_chamelium_audio.c
index df8d27c0c..2fd8322e0 100644
--- a/tests/chamelium/kms_chamelium_audio.c
+++ b/tests/chamelium/kms_chamelium_audio.c
@@ -52,6 +52,12 @@
* 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
+ *
+ * SUBTEST: dp-audio-after-suspend
+ * Description: Verify audio works before and after system suspend/resume
+ *
+ * SUBTEST: hdmi-audio-after-suspend
+ * Description: Verify audio works before and after system suspend/resume
*/
/* Playback parameters control the audio signal we synthesize and send */
@@ -695,6 +701,46 @@ static bool check_audio_configuration(struct alsa *alsa,
return true;
}
+static bool run_audio_tests(chamelium_data_t *data,
+ struct alsa *alsa,
+ struct chamelium_port *port,
+ const char *audio_device)
+{
+ bool run = false;
+ int ret, i, j;
+ int channels, sampling_rate;
+ snd_pcm_format_t format;
+
+ for (i = 0; i < test_sampling_rates_count; i++) {
+ for (j = 0; j < test_formats_count; j++) {
+ ret = alsa_open_output(alsa, audio_device);
+ igt_assert_f(ret >= 0,
+ "Failed to open ALSA output\n");
+
+ format = test_formats[j];
+ channels = PLAYBACK_CHANNELS;
+ sampling_rate = test_sampling_rates[i];
+
+ if (!check_audio_configuration(alsa, format,
+ channels,
+ sampling_rate)) {
+ alsa_close_output(alsa);
+ continue;
+ }
+
+ run = true;
+
+ igt_assert(run_audio_test_once(data, alsa, port,
+ format, channels,
+ sampling_rate));
+
+ alsa_close_output(alsa);
+ }
+ }
+
+ return run;
+}
+
static const char test_display_audio_desc[] =
"Playback various audio signals with various audio formats/rates, "
"capture them and check they are correct";
@@ -789,6 +835,83 @@ static void test_display_audio(chamelium_data_t *data,
free(alsa);
}
+static const char test_display_audio_suspend_resume_desc[] =
+ "Verify audio works before and after system suspend/resume";
+static void test_display_audio_suspend_resume(
+ chamelium_data_t *data,
+ struct chamelium_port *port,
+ const char *audio_device,
+ enum igt_custom_edid_type edid)
+{
+ struct alsa *alsa;
+ igt_output_t *output;
+ igt_plane_t *primary;
+ struct igt_fb fb;
+ drmModeModeInfo *mode;
+ drmModeConnector *connector;
+ int fb_id;
+
+ igt_require(alsa_has_exclusive_access());
+
+ igt_require(chamelium_has_audio_support(data->chamelium,
+ port));
+
+ alsa = alsa_init();
+ igt_assert(alsa);
+
+ igt_modeset_disable_all_outputs(&data->display);
+
+ chamelium_reset_state(&data->display, data->chamelium,
+ port, data->ports,
+ data->port_count);
+
+ output = chamelium_prepare_output(data, port, edid);
+
+ connector = chamelium_port_get_connector(data->chamelium,
+ port, false);
+
+ primary = igt_output_get_plane_type(output,
+ DRM_PLANE_TYPE_PRIMARY);
+ igt_assert(primary);
+
+ igt_assert(connector->count_modes > 0);
+
+ mode = &connector->modes[0];
+
+ fb_id = igt_create_color_pattern_fb(data->drm_fd,
+ mode->hdisplay,
+ mode->vdisplay,
+ DRM_FORMAT_XRGB8888,
+ DRM_FORMAT_MOD_LINEAR,
+ 0, 0, 0, &fb);
+
+ igt_assert(fb_id > 0);
+
+ chamelium_enable_output(data, port, output,
+ mode, &fb);
+
+ igt_assert(run_audio_tests(data, alsa, port,
+ audio_device));
+
+ igt_system_suspend_autoresume(SUSPEND_STATE_MEM,
+ SUSPEND_TEST_NONE);
+
+ chamelium_enable_output(data, port, output,
+ mode, &fb);
+
+ igt_display_commit2(&data->display,
+ COMMIT_ATOMIC);
+
+ igt_assert(run_audio_tests(data, alsa, port,
+ audio_device));
+
+ igt_remove_fb(data->drm_fd, &fb);
+
+ drmModeFreeConnector(connector);
+
+ free(alsa);
+}
+
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";
@@ -866,6 +989,11 @@ int igt_main()
connector_subtest("dp-audio-edid", DisplayPort, &data, test_display_audio_edid,
IGT_CUSTOM_EDID_DP_AUDIO);
+ igt_describe(test_display_audio_suspend_resume_desc);
+ connector_subtest("dp-audio-after-suspend", DisplayPort, &data,
+ test_display_audio_suspend_resume,
+ "HDMI", IGT_CUSTOM_EDID_DP_AUDIO);
+
igt_describe("HDMI tests");
igt_describe(test_display_audio_desc);
@@ -876,6 +1004,11 @@ int igt_main()
connector_subtest("hdmi-audio-edid", HDMIA, &data, test_display_audio_edid,
IGT_CUSTOM_EDID_HDMI_AUDIO);
+ igt_describe(test_display_audio_suspend_resume_desc);
+ connector_subtest("hdmi-audio-after-suspend", HDMIA, &data,
+ test_display_audio_suspend_resume,
+ "HDMI", IGT_CUSTOM_EDID_HDMI_AUDIO);
+
igt_fixture() {
igt_display_fini(&data.display);
drm_close_driver(data.drm_fd);
--
2.43.0
^ permalink raw reply related [flat|nested] 10+ messages in thread* RE: [PATCH i-g-t] tests/chamelium/kms_chamelium_audio: Add suspend/resume audio tests
2026-05-11 4:18 Jeevan B
@ 2026-05-11 6:22 ` Bilal, Mohammed
0 siblings, 0 replies; 10+ messages in thread
From: Bilal, Mohammed @ 2026-05-11 6:22 UTC (permalink / raw)
To: B, Jeevan, igt-dev@lists.freedesktop.org; +Cc: Borah, Chaitanya Kumar
Hello Jeevan ,
> -----Original Message-----
> From: B, Jeevan <jeevan.b@intel.com>
> Sent: 11 May 2026 09:49
> To: igt-dev@lists.freedesktop.org
> Cc: Borah, Chaitanya Kumar <chaitanya.kumar.borah@intel.com>; Bilal,
> Mohammed <mohammed.bilal@intel.com>; B, Jeevan <jeevan.b@intel.com>
> Subject: [PATCH i-g-t] tests/chamelium/kms_chamelium_audio: Add
> suspend/resume audio tests
>
> Add test to validate audio works before and after suspend/resume on HDMI/DP
> connector.
>
> v2: Perform a single suspend/resume for all audio combinations.
> Re-enable chamelium after suspend and separate pre-suspend
> and post-resume validation paths for clearer failure diagnostics.
>
> Signed-off-by: Jeevan B <jeevan.b@intel.com>
> ---
> tests/chamelium/kms_chamelium_audio.c | 133
> ++++++++++++++++++++++++++
> 1 file changed, 133 insertions(+)
>
> diff --git a/tests/chamelium/kms_chamelium_audio.c
> b/tests/chamelium/kms_chamelium_audio.c
> index df8d27c0c..2fd8322e0 100644
> --- a/tests/chamelium/kms_chamelium_audio.c
> +++ b/tests/chamelium/kms_chamelium_audio.c
> @@ -52,6 +52,12 @@
> * 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
> + *
> + * SUBTEST: dp-audio-after-suspend
> + * Description: Verify audio works before and after system
> + suspend/resume
> + *
> + * SUBTEST: hdmi-audio-after-suspend
> + * Description: Verify audio works before and after system
> + suspend/resume
> */
>
> /* Playback parameters control the audio signal we synthesize and send */ @@ -
> 695,6 +701,46 @@ static bool check_audio_configuration(struct alsa *alsa,
> return true;
> }
>
> +static bool run_audio_tests(chamelium_data_t *data,
> + struct alsa *alsa,
> + struct chamelium_port *port,
> + const char *audio_device)
> +{
> + bool run = false;
> + int ret, i, j;
> + int channels, sampling_rate;
> + snd_pcm_format_t format;
> +
> + for (i = 0; i < test_sampling_rates_count; i++) {
> + for (j = 0; j < test_formats_count; j++) {
> + ret = alsa_open_output(alsa, audio_device);
> + igt_assert_f(ret >= 0,
> + "Failed to open ALSA output\n");
> +
> + format = test_formats[j];
> + channels = PLAYBACK_CHANNELS;
> + sampling_rate = test_sampling_rates[i];
> +
> + if (!check_audio_configuration(alsa, format,
> + channels,
> + sampling_rate)) {
> + alsa_close_output(alsa);
> + continue;
> + }
> +
> + run = true;
> +
> + igt_assert(run_audio_test_once(data, alsa, port,
> + format, channels,
> + sampling_rate));
[1] I have a doubt: if igt_assert aborts here on the first failure,
are we able to determine whether the abort happened before or after suspend?
> +
> + alsa_close_output(alsa);
> + }
> + }
> +
> + return run;
> +}
> +
> static const char test_display_audio_desc[] =
> "Playback various audio signals with various audio formats/rates, "
> "capture them and check they are correct"; @@ -789,6 +835,83 @@
> static void test_display_audio(chamelium_data_t *data,
> free(alsa);
> }
>
> +static const char test_display_audio_suspend_resume_desc[] =
> + "Verify audio works before and after system suspend/resume"; static
> +void test_display_audio_suspend_resume(
> + chamelium_data_t *data,
> + struct chamelium_port *port,
> + const char *audio_device,
> + enum igt_custom_edid_type edid)
> +{
> + struct alsa *alsa;
> + igt_output_t *output;
> + igt_plane_t *primary;
> + struct igt_fb fb;
> + drmModeModeInfo *mode;
> + drmModeConnector *connector;
> + int fb_id;
> +
> + igt_require(alsa_has_exclusive_access());
> +
> + igt_require(chamelium_has_audio_support(data->chamelium,
> + port));
> +
> + alsa = alsa_init();
> + igt_assert(alsa);
> +
> + igt_modeset_disable_all_outputs(&data->display);
> +
> + chamelium_reset_state(&data->display, data->chamelium,
> + port, data->ports,
> + data->port_count);
> +
> + output = chamelium_prepare_output(data, port, edid);
> +
> + connector = chamelium_port_get_connector(data->chamelium,
> + port, false);
> +
> + primary = igt_output_get_plane_type(output,
> + DRM_PLANE_TYPE_PRIMARY);
> + igt_assert(primary);
> +
> + igt_assert(connector->count_modes > 0);
> +
> + mode = &connector->modes[0];
> +
> + fb_id = igt_create_color_pattern_fb(data->drm_fd,
> + mode->hdisplay,
> + mode->vdisplay,
> + DRM_FORMAT_XRGB8888,
> + DRM_FORMAT_MOD_LINEAR,
> + 0, 0, 0, &fb);
> +
> + igt_assert(fb_id > 0);
> +
> + chamelium_enable_output(data, port, output,
> + mode, &fb);
> +
> + igt_assert(run_audio_tests(data, alsa, port,
> + audio_device));
> +
> + igt_system_suspend_autoresume(SUSPEND_STATE_MEM,
> + SUSPEND_TEST_NONE);
> +
> + chamelium_enable_output(data, port, output,
> + mode, &fb);
> +
> + igt_display_commit2(&data->display,
> + COMMIT_ATOMIC);
[2] chamelium_enable_output() internally calls igt_display_commit2() already
Is it necessary to have another commit here ?
Regards,
Mohammed Bilal
> +
> + igt_assert(run_audio_tests(data, alsa, port,
> + audio_device));
> +
> + igt_remove_fb(data->drm_fd, &fb);
> +
> + drmModeFreeConnector(connector);
> +
> + free(alsa);
> +}
> +
> 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"; @@ -866,6
> +989,11 @@ int igt_main()
> connector_subtest("dp-audio-edid", DisplayPort, &data,
> test_display_audio_edid,
> IGT_CUSTOM_EDID_DP_AUDIO);
>
> + igt_describe(test_display_audio_suspend_resume_desc);
> + connector_subtest("dp-audio-after-suspend", DisplayPort, &data,
> + test_display_audio_suspend_resume,
> + "HDMI", IGT_CUSTOM_EDID_DP_AUDIO);
> +
> igt_describe("HDMI tests");
>
> igt_describe(test_display_audio_desc);
> @@ -876,6 +1004,11 @@ int igt_main()
> connector_subtest("hdmi-audio-edid", HDMIA, &data,
> test_display_audio_edid,
> IGT_CUSTOM_EDID_HDMI_AUDIO);
>
> + igt_describe(test_display_audio_suspend_resume_desc);
> + connector_subtest("hdmi-audio-after-suspend", HDMIA, &data,
> + test_display_audio_suspend_resume,
> + "HDMI", IGT_CUSTOM_EDID_HDMI_AUDIO);
> +
> igt_fixture() {
> igt_display_fini(&data.display);
> drm_close_driver(data.drm_fd);
> --
> 2.43.0
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH i-g-t] tests/chamelium/kms_chamelium_audio: Add suspend/resume audio tests
@ 2026-05-05 18:03 Jeevan B
2026-05-07 5:13 ` Bilal, Mohammed
0 siblings, 1 reply; 10+ messages in thread
From: Jeevan B @ 2026-05-05 18:03 UTC (permalink / raw)
To: igt-dev; +Cc: kunal1.joshi, swati2.sharma, Jeevan B
Add test to validate audio works before and after suspend/resume on
HDMI/DP connector.
Signed-off-by: Jeevan B <jeevan.b@intel.com>
---
tests/chamelium/kms_chamelium_audio.c | 121 ++++++++++++++++++++++++++
1 file changed, 121 insertions(+)
diff --git a/tests/chamelium/kms_chamelium_audio.c b/tests/chamelium/kms_chamelium_audio.c
index df8d27c0c..ed8c9de7b 100644
--- a/tests/chamelium/kms_chamelium_audio.c
+++ b/tests/chamelium/kms_chamelium_audio.c
@@ -52,6 +52,12 @@
* 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
+ *
+ * SUBTEST: dp-audio-after-suspend
+ * Description: Verify audio works before and after system suspend/resume
+ *
+ * SUBTEST: hdmi-audio-after-suspend
+ * Description: Verify audio works before and after system suspend/resume
*/
/* Playback parameters control the audio signal we synthesize and send */
@@ -695,6 +701,23 @@ static bool check_audio_configuration(struct alsa *alsa,
return true;
}
+static bool run_audio_test_once(chamelium_data_t *data, struct alsa *alsa,
+ struct chamelium_port *port,
+ snd_pcm_format_t format,
+ int channels, int sampling_rate)
+{
+ struct audio_state state;
+ bool success;
+
+ audio_state_init(&state, data, alsa, port, format, channels,
+ sampling_rate);
+ success = test_audio_frequencies(&state);
+ success &= test_audio_flatline(&state);
+ audio_state_fini(&state);
+
+ return success;
+}
+
static const char test_display_audio_desc[] =
"Playback various audio signals with various audio formats/rates, "
"capture them and check they are correct";
@@ -789,6 +812,94 @@ static void test_display_audio(chamelium_data_t *data,
free(alsa);
}
+static const char test_display_audio_suspend_resume_desc[] =
+ "Verify audio works before and after system suspend/resume";
+static void test_display_audio_suspend_resume(chamelium_data_t *data,
+ struct chamelium_port *port,
+ const char *audio_device,
+ enum igt_custom_edid_type edid)
+{
+ bool run, success;
+ struct alsa *alsa;
+ int ret;
+ igt_output_t *output;
+ igt_plane_t *primary;
+ struct igt_fb fb;
+ drmModeModeInfo *mode;
+ drmModeConnector *connector;
+ int fb_id, i, j;
+ int channels, sampling_rate;
+ snd_pcm_format_t format;
+
+ igt_require(alsa_has_exclusive_access());
+
+ igt_require(chamelium_has_audio_support(data->chamelium, port));
+
+ alsa = alsa_init();
+ igt_assert(alsa);
+
+ igt_modeset_disable_all_outputs(&data->display);
+ chamelium_reset_state(&data->display, data->chamelium, port,
+ data->ports, data->port_count);
+
+ output = chamelium_prepare_output(data, port, edid);
+ connector = chamelium_port_get_connector(data->chamelium, port, false);
+ primary = igt_output_get_plane_type(output, DRM_PLANE_TYPE_PRIMARY);
+ igt_assert(primary);
+
+ igt_assert(connector->count_modes > 0);
+ mode = &connector->modes[0];
+
+ fb_id = igt_create_color_pattern_fb(data->drm_fd, mode->hdisplay,
+ mode->vdisplay, DRM_FORMAT_XRGB8888,
+ DRM_FORMAT_MOD_LINEAR, 0, 0, 0,
+ &fb);
+ igt_assert(fb_id > 0);
+
+ chamelium_enable_output(data, port, output, mode, &fb);
+
+ run = false;
+ success = true;
+ for (i = 0; i < test_sampling_rates_count; i++) {
+ for (j = 0; j < test_formats_count; j++) {
+ ret = alsa_open_output(alsa, audio_device);
+ igt_assert_f(ret >= 0, "Failed to open ALSA output\n");
+
+ format = test_formats[j];
+ channels = PLAYBACK_CHANNELS;
+ sampling_rate = test_sampling_rates[i];
+
+ if (!check_audio_configuration(alsa, format, channels,
+ sampling_rate)) {
+ alsa_close_output(alsa);
+ continue;
+ }
+
+ run = true;
+
+ success &= run_audio_test_once(data, alsa, port, format,
+ channels, sampling_rate);
+
+ igt_system_suspend_autoresume(SUSPEND_STATE_MEM,
+ SUSPEND_TEST_NONE);
+
+ success &= run_audio_test_once(data, alsa, port, format,
+ channels, sampling_rate);
+
+ alsa_close_output(alsa);
+ }
+ }
+
+ igt_assert(run);
+ igt_assert(success);
+
+ igt_remove_fb(data->drm_fd, &fb);
+
+ drmModeFreeConnector(connector);
+
+ free(alsa);
+}
+
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";
@@ -866,6 +977,11 @@ int igt_main()
connector_subtest("dp-audio-edid", DisplayPort, &data, test_display_audio_edid,
IGT_CUSTOM_EDID_DP_AUDIO);
+ igt_describe(test_display_audio_suspend_resume_desc);
+ connector_subtest("dp-audio-after-suspend", DisplayPort, &data,
+ test_display_audio_suspend_resume,
+ "HDMI", IGT_CUSTOM_EDID_DP_AUDIO);
+
igt_describe("HDMI tests");
igt_describe(test_display_audio_desc);
@@ -876,6 +992,11 @@ int igt_main()
connector_subtest("hdmi-audio-edid", HDMIA, &data, test_display_audio_edid,
IGT_CUSTOM_EDID_HDMI_AUDIO);
+ igt_describe(test_display_audio_suspend_resume_desc);
+ connector_subtest("hdmi-audio-after-suspend", HDMIA, &data,
+ test_display_audio_suspend_resume,
+ "HDMI", IGT_CUSTOM_EDID_HDMI_AUDIO);
+
igt_fixture() {
igt_display_fini(&data.display);
drm_close_driver(data.drm_fd);
--
2.43.0
^ permalink raw reply related [flat|nested] 10+ messages in thread* RE: [PATCH i-g-t] tests/chamelium/kms_chamelium_audio: Add suspend/resume audio tests
2026-05-05 18:03 Jeevan B
@ 2026-05-07 5:13 ` Bilal, Mohammed
0 siblings, 0 replies; 10+ messages in thread
From: Bilal, Mohammed @ 2026-05-07 5:13 UTC (permalink / raw)
To: B, Jeevan, igt-dev@lists.freedesktop.org
Cc: Joshi, Kunal1, Sharma, Swati2, B, Jeevan
Hi Jeevan ,
> -----Original Message-----
> From: igt-dev <igt-dev-bounces@lists.freedesktop.org> On Behalf Of Jeevan B
> Sent: 05 May 2026 23:33
> To: igt-dev@lists.freedesktop.org
> Cc: Joshi, Kunal1 <kunal1.joshi@intel.com>; Sharma, Swati2
> <swati2.sharma@intel.com>; B, Jeevan <jeevan.b@intel.com>
> Subject: [PATCH i-g-t] tests/chamelium/kms_chamelium_audio: Add
> suspend/resume audio tests
>
> Add test to validate audio works before and after suspend/resume on HDMI/DP
> connector.
>
> Signed-off-by: Jeevan B <jeevan.b@intel.com>
> ---
> tests/chamelium/kms_chamelium_audio.c | 121
> ++++++++++++++++++++++++++
> 1 file changed, 121 insertions(+)
>
> diff --git a/tests/chamelium/kms_chamelium_audio.c
> b/tests/chamelium/kms_chamelium_audio.c
> index df8d27c0c..ed8c9de7b 100644
> --- a/tests/chamelium/kms_chamelium_audio.c
> +++ b/tests/chamelium/kms_chamelium_audio.c
> @@ -52,6 +52,12 @@
> * 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
> + *
> + * SUBTEST: dp-audio-after-suspend
> + * Description: Verify audio works before and after system
> + suspend/resume
> + *
> + * SUBTEST: hdmi-audio-after-suspend
> + * Description: Verify audio works before and after system
> + suspend/resume
> */
>
> /* Playback parameters control the audio signal we synthesize and send */ @@ -
> 695,6 +701,23 @@ static bool check_audio_configuration(struct alsa *alsa,
> return true;
> }
>
> +static bool run_audio_test_once(chamelium_data_t *data, struct alsa *alsa,
> + struct chamelium_port *port,
> + snd_pcm_format_t format,
> + int channels, int sampling_rate)
> +{
> + struct audio_state state;
> + bool success;
> +
> + audio_state_init(&state, data, alsa, port, format, channels,
> + sampling_rate);
> + success = test_audio_frequencies(&state);
> + success &= test_audio_flatline(&state);
> + audio_state_fini(&state);
> +
> + return success;
> +}
> +
> static const char test_display_audio_desc[] =
> "Playback various audio signals with various audio formats/rates, "
> "capture them and check they are correct"; @@ -789,6 +812,94 @@
> static void test_display_audio(chamelium_data_t *data,
> free(alsa);
> }
>
> +static const char test_display_audio_suspend_resume_desc[] =
> + "Verify audio works before and after system suspend/resume"; static
> +void test_display_audio_suspend_resume(chamelium_data_t *data,
> + struct chamelium_port *port,
> + const char *audio_device,
> + enum igt_custom_edid_type edid) {
> + bool run, success;
> + struct alsa *alsa;
> + int ret;
> + igt_output_t *output;
> + igt_plane_t *primary;
> + struct igt_fb fb;
> + drmModeModeInfo *mode;
> + drmModeConnector *connector;
> + int fb_id, i, j;
> + int channels, sampling_rate;
> + snd_pcm_format_t format;
> +
> + igt_require(alsa_has_exclusive_access());
> +
> + igt_require(chamelium_has_audio_support(data->chamelium, port));
> +
> + alsa = alsa_init();
> + igt_assert(alsa);
> +
> + igt_modeset_disable_all_outputs(&data->display);
> + chamelium_reset_state(&data->display, data->chamelium, port,
> + data->ports, data->port_count);
> +
> + output = chamelium_prepare_output(data, port, edid);
> + connector = chamelium_port_get_connector(data->chamelium, port,
> false);
> + primary = igt_output_get_plane_type(output,
> DRM_PLANE_TYPE_PRIMARY);
> + igt_assert(primary);
> +
> + igt_assert(connector->count_modes > 0);
> + mode = &connector->modes[0];
> +
> + fb_id = igt_create_color_pattern_fb(data->drm_fd, mode->hdisplay,
> + mode->vdisplay,
> DRM_FORMAT_XRGB8888,
> + DRM_FORMAT_MOD_LINEAR, 0, 0,
> 0,
> + &fb);
> + igt_assert(fb_id > 0);
> +
> + chamelium_enable_output(data, port, output, mode, &fb);
> +
> + run = false;
> + success = true;
> + for (i = 0; i < test_sampling_rates_count; i++) {
> + for (j = 0; j < test_formats_count; j++) {
> + ret = alsa_open_output(alsa, audio_device);
> + igt_assert_f(ret >= 0, "Failed to open ALSA output\n");
> +
> + format = test_formats[j];
> + channels = PLAYBACK_CHANNELS;
> + sampling_rate = test_sampling_rates[i];
> +
> + if (!check_audio_configuration(alsa, format, channels,
> + sampling_rate)) {
> + alsa_close_output(alsa);
> + continue;
> + }
> +
> + run = true;
> +
> + success &= run_audio_test_once(data, alsa, port,
> format,
> + channels, sampling_rate);
> +
> +
> igt_system_suspend_autoresume(SUSPEND_STATE_MEM,
> + SUSPEND_TEST_NONE);
[1] The suspend/resume is inside both nested loops, so it executes once
per (rate, format) combination. With 5 sampling rates and 4 formats
that is 20 system suspensions per test run. Please correct it .
[2] If the pre-suspend test already fails, the code still proceeds to
suspend the system and runs the post-suspend test. The final
igt_assert(success) cannot tell you whether audio broke before
or after suspend. This completely removes the diagnostic value of the
test.
[3] After a full suspend/resume cycle the kernel performs a full
display power cycle and the modeset state is not guaranteed to be
restored automatically. Chamelium requires an active video signal on
the connector to capture audio. Running the post-suspend audio test
without first verifying and re-committing the display will cause the
Chamelium to silently receive no audio, making the post-resume test
meaningless.
Regards,
Mohammed Bilal
> +
> + success &= run_audio_test_once(data, alsa, port,
> format,
> + channels, sampling_rate);
> +
> + alsa_close_output(alsa);
> + }
> + }
> +
> + igt_assert(run);
> + igt_assert(success);
> +
> + igt_remove_fb(data->drm_fd, &fb);
> +
> + drmModeFreeConnector(connector);
> +
> + free(alsa);
> +}
> +
> 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"; @@ -866,6
> +977,11 @@ int igt_main()
> connector_subtest("dp-audio-edid", DisplayPort, &data,
> test_display_audio_edid,
> IGT_CUSTOM_EDID_DP_AUDIO);
>
> + igt_describe(test_display_audio_suspend_resume_desc);
> + connector_subtest("dp-audio-after-suspend", DisplayPort, &data,
> + test_display_audio_suspend_resume,
> + "HDMI", IGT_CUSTOM_EDID_DP_AUDIO);
> +
> igt_describe("HDMI tests");
>
> igt_describe(test_display_audio_desc);
> @@ -876,6 +992,11 @@ int igt_main()
> connector_subtest("hdmi-audio-edid", HDMIA, &data,
> test_display_audio_edid,
> IGT_CUSTOM_EDID_HDMI_AUDIO);
>
> + igt_describe(test_display_audio_suspend_resume_desc);
> + connector_subtest("hdmi-audio-after-suspend", HDMIA, &data,
> + test_display_audio_suspend_resume,
> + "HDMI", IGT_CUSTOM_EDID_HDMI_AUDIO);
> +
> igt_fixture() {
> igt_display_fini(&data.display);
> drm_close_driver(data.drm_fd);
> --
> 2.43.0
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2026-06-19 9:36 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-19 5:38 [PATCH i-g-t] tests/chamelium/kms_chamelium_audio: Add suspend/resume audio tests Jeevan B
2026-06-19 7:47 ` ✓ Xe.CI.BAT: success for tests/chamelium/kms_chamelium_audio: Add suspend/resume audio tests (rev7) Patchwork
2026-06-19 8:12 ` ✗ i915.CI.BAT: failure " Patchwork
2026-06-19 9:35 ` ✗ Xe.CI.FULL: " Patchwork
-- strict thread matches above, loose matches on Subject: below --
2026-06-11 3:52 [PATCH i-g-t] tests/chamelium/kms_chamelium_audio: Add suspend/resume audio tests Jeevan B
2026-05-13 6:35 Jeevan B
2026-05-11 4:18 Jeevan B
2026-05-11 6:22 ` Bilal, Mohammed
2026-05-05 18:03 Jeevan B
2026-05-07 5:13 ` Bilal, Mohammed
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.