tests/chamelium/kms_chamelium_audio: Add suspend/resume audio tests
PATCH 1/1 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.
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.
--- tests/chamelium/kms_chamelium_audio.c | 155 +++++++++++++++++++++++++- 1 file changed, 154 insertions(+), 1 deletion(-)
tests/chamelium/kms_chamelium_audio.c +154 -1
@@ -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);
Signature · 1 line
2.43.0
Patchwork
CI✓ Xe.CI.BAT: success for tests/chamelium/kms_chamelium_audio: Add suspend/resume audio tests (rev7)
== Series Details ==
== 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
Patchwork
CI✗ i915.CI.BAT: failure for tests/chamelium/kms_chamelium_audio: Add suspend/resume audio tests (rev7)
In reply to Jeevan B== Series Details ==
== 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 ([email protected]) 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@[email protected]
* 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@[email protected]
* 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@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_15406/bat-arlh-2/igt@[email protected]
* 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@[email protected]
#### 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@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_15406/bat-adlp-6/igt@[email protected]
[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
Patchwork
CI✗ Xe.CI.FULL: failure for tests/chamelium/kms_chamelium_audio: Add suspend/resume audio tests (rev7)
In reply to Jeevan B== Series Details ==
== 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 ([email protected]) 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@[email protected]
- 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@[email protected]
* 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@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-6/igt@[email protected]
* 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@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-2/igt@xe_sriov_scheduling@[email protected]
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@[email protected]
* 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@[email protected]
* 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@[email protected]
- 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@[email protected]
* 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@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-2/igt@[email protected]
* 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@[email protected]
- 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@[email protected]
* 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@[email protected]
- shard-lnl: NOTRUN -> [SKIP][16] ([Intel XE#373])
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-5/igt@[email protected]
* 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@[email protected]
- shard-lnl: NOTRUN -> [SKIP][18] ([Intel XE#1424])
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-1/igt@[email protected]
* 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@[email protected]
* 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@[email protected]
- 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@[email protected]
* 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@[email protected]
- 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@[email protected]
* 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@[email protected]
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-5/igt@kms_flip@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-1/igt@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
- 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@[email protected]
* 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@[email protected]
- 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@[email protected]
* 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@[email protected]
* 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@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-7/igt@kms_vrr@[email protected]
* 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@[email protected]
- 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@[email protected]
* 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@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-1/igt@[email protected]
* 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@[email protected]
- 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@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
[65]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-10/igt@[email protected]
* 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@[email protected]
- shard-bmg: NOTRUN -> [SKIP][67] ([Intel XE#8369])
[67]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-6/igt@[email protected]
* 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@[email protected]
- shard-lnl: NOTRUN -> [SKIP][69] ([Intel XE#6964])
[69]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-7/igt@[email protected]
* 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@[email protected]
* 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@[email protected]
[72]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-4/igt@[email protected]
* 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@[email protected]
[74]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-2/igt@[email protected]
#### 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@[email protected]
[76]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-1/igt@[email protected]
* 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@[email protected]
[78]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-5/igt@kms_flip@[email protected]
* 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@[email protected]
[80]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-1/igt@kms_hdr@[email protected]
* 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@[email protected]
[82]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-7/igt@[email protected]
* 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@[email protected]
[84]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-8/igt@[email protected]
* 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@[email protected]
[86]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-8/igt@[email protected]
* 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@[email protected]
[88]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-9/igt@[email protected]
* 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@[email protected]
[90]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-7/igt@xe_sriov_auto_provisioning@[email protected]
#### 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@[email protected]
[92]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-lnl-8/igt@[email protected]
* 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@[email protected]
[94]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15406/shard-bmg-4/igt@[email protected]
[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
Hi Jeevan,
Quoted 176 lines
-----Original Message-----
From: B, Jeevan <[email protected]>
Sent: Friday, June 19, 2026 11:08 AM
To: [email protected]
Cc: Joshi, Kunal1 <[email protected]>; Samala, Pranay <[email protected]>; B, Jeevan <[email protected]>
Subject: [PATCH i-g-t] tests/chamelium/kms_chamelium_audio: Add suspend/resume audio testsAdd 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 useigt_assert_fwith 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 addchamelium_assert_reachablecheck.Signed-off-by Jeevan B <[email protected]>--- tests/chamelium/kms_chamelium_audio.c | 155 +++++++++++++++++++++++++- 1 file changed, 154 insertions(+), 1 deletion(-)tests/chamelium/kms_chamelium_audio.c +0
-0@@ -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 */
tests/chamelium/kms_chamelium_audio.c +60
-0@@ -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,tests/chamelium/kms_chamelium_audio.c +45
-1sampling_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,
tests/chamelium/kms_chamelium_audio.c static void test_display_audio(chamelium_data_t · line 912
Quoted 10 lines
tests/chamelium/kms_chamelium_audio.c +10
-0+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" );
The test's purpose is to verify audio test after suspend/resume. If audio doesn't work before suspending, that could be config/setup issue, not something suspend/resume caused.
Consider skipping the test instead of asserting on the pre-suspend audio test. Only failures after resume indicate an actual suspend/resume issue.
Also change the above subtest descriptions to match the actual test intent.
And it seems there are many extra line in this function, please avoid them.
Regards,
Pranay
Quoted 56 lines
tests/chamelium/kms_chamelium_audio.c +6
-0+ +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. */
tests/chamelium/kms_chamelium_audio.c +2
-0+drmModeFreeConnector (connector); + connector = chamelium_port_get_connector(data->chamelium, port,true);
tests/chamelium/kms_chamelium_audio.c +16
-0+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,tests/chamelium/kms_chamelium_audio.c +10
-0IGT_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