tests/audio: Add suspend and hibernate tests for HDMI signal integrity
PATCH 1/1 tests/audio: Add suspend and hibernate tests for HDMI signal integrity
This introduces tests for HDMI signal integrity after suspend and hibernate. They simply test that signal integrity is ensured before and after suspend or hibernate.
--- tests/audio.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+)
tests/audio.c +19 -0
@@ -167,8 +167,27 @@ static void test_integrity(const char *device_name)free (data.alsa); } +static void test_suspend_resume_integrity (const char *device_name, +enum igt_suspend_state state, +enum igt_suspend_test test) +{ +test_integrity (device_name); + +igt_system_suspend_autoresume (state, test); + +test_integrity (device_name); +} + igt_main { igt_subtest("hdmi-integrity")test_integrity ("HDMI" ); + + igt_subtest("hdmi-integrity-after-suspend") +test_suspend_resume_integrity ("HDMI" ,SUSPEND_STATE_MEM , +SUSPEND_TEST_NONE ); + + igt_subtest("hdmi-integrity-after-hibernate") +test_suspend_resume_integrity ("HDMI" ,SUSPEND_STATE_DISK , +SUSPEND_TEST_DEVICES ); }
Signature · 6 lines
2.14.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.BAT: success for tests/audio: Add suspend and hibernate tests for HDMI signal integrity
== Series Details ==
== Series Details ==
Series: tests/audio: Add suspend and hibernate tests for HDMI signal integrity
URL : https://patchwork.freedesktop.org/series/29485/
State : success
== Summary ==
IGT patchset tested on top of latest successful build bf45d253648250fc402eee02237366c8882b2053 igt: Add gem_close
with latest DRM-Tip kernel build CI_DRM_3014627598734e5e drm-tip: 2017y-08m-29d-09h-52m-12s UTC integration manifest
Test kms_cursor_legacy:
Subgroup basic-busy-flip-before-cursor-atomic:
pass -> FAIL (fi-snb-2600) fdo#100215 +1fdo#100215 https://bugs.freedesktop.org/show_bug.cgi?id=100215
fi-bdw-5557u total:279 pass:268 dwarn:0 dfail:0 fail:0 skip:11 time:456s fi-bdw-gvtdvm total:279 pass:265 dwarn:0 dfail:0 fail:0 skip:14 time:439s fi-blb-e6850 total:279 pass:224 dwarn:1 dfail:0 fail:0 skip:54 time:365s fi-bsw-n3050 total:279 pass:243 dwarn:0 dfail:0 fail:0 skip:36 time:554s fi-bwr-2160 total:279 pass:184 dwarn:0 dfail:0 fail:0 skip:95 time:251s fi-bxt-j4205 total:279 pass:260 dwarn:0 dfail:0 fail:0 skip:19 time:517s fi-byt-j1900 total:279 pass:254 dwarn:1 dfail:0 fail:0 skip:24 time:522s fi-byt-n2820 total:279 pass:250 dwarn:1 dfail:0 fail:0 skip:28 time:517s fi-elk-e7500 total:279 pass:230 dwarn:0 dfail:0 fail:0 skip:49 time:444s fi-glk-2a total:279 pass:260 dwarn:0 dfail:0 fail:0 skip:19 time:611s fi-hsw-4770 total:279 pass:263 dwarn:0 dfail:0 fail:0 skip:16 time:445s fi-hsw-4770r total:279 pass:263 dwarn:0 dfail:0 fail:0 skip:16 time:426s fi-ilk-650 total:279 pass:229 dwarn:0 dfail:0 fail:0 skip:50 time:430s fi-ivb-3520m total:279 pass:261 dwarn:0 dfail:0 fail:0 skip:18 time:506s fi-ivb-3770 total:279 pass:261 dwarn:0 dfail:0 fail:0 skip:18 time:472s fi-kbl-7500u total:279 pass:261 dwarn:0 dfail:0 fail:0 skip:18 time:482s fi-kbl-7560u total:279 pass:269 dwarn:0 dfail:0 fail:0 skip:10 time:600s fi-kbl-r total:279 pass:261 dwarn:0 dfail:0 fail:0 skip:18 time:599s fi-pnv-d510 total:279 pass:223 dwarn:1 dfail:0 fail:0 skip:55 time:521s fi-skl-6260u total:279 pass:269 dwarn:0 dfail:0 fail:0 skip:10 time:476s fi-skl-6770hq total:279 pass:269 dwarn:0 dfail:0 fail:0 skip:10 time:491s fi-skl-gvtdvm total:279 pass:266 dwarn:0 dfail:0 fail:0 skip:13 time:445s fi-snb-2520m total:279 pass:251 dwarn:0 dfail:0 fail:0 skip:28 time:553s fi-snb-2600 total:279 pass:249 dwarn:0 dfail:0 fail:1 skip:29 time:403s
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_120/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.IGT: success for tests/audio: Add suspend and hibernate tests for HDMI signal integrity
In reply to Paul Kocialkowski== Series Details ==
== Series Details ==
Series: tests/audio: Add suspend and hibernate tests for HDMI signal integrity
URL : https://patchwork.freedesktop.org/series/29485/
State : success
== Summary ==
Test kms_atomic_transition:
Subgroup plane-all-transition-fencing:
skip -> PASS (shard-hsw)
Test kms_properties:
Subgroup plane-properties-legacy:
skip -> PASS (shard-hsw)
Test kms_plane:
Subgroup plane-position-hole-dpms-pipe-C-planes:
skip -> PASS (shard-hsw)
Subgroup plane-panning-bottom-right-suspend-pipe-C-planes:
skip -> PASS (shard-hsw)
Test perf:
Subgroup blocking:
fail -> PASS (shard-hsw) fdo#102252fdo#102252 https://bugs.freedesktop.org/show_bug.cgi?id=102252
shard-hsw total:2230 pass:1231 dwarn:0 dfail:0 fail:17 skip:982 time:9635s
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_120/shards.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
R-B'd and pushed, thanks!
Quoted 46 lines · Paul Kocialkowski
This introduces tests for HDMI signal integrity after suspend and hibernate. They simply test that signal integrity is ensured before and after suspend or hibernate.
Signed-off-by Paul Kocialkowski <[email protected]>--- tests/audio.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+)tests/audio.c +14
-0@@ -167,8 +167,27 @@ static void test_integrity(const char *device_name)free (data.alsa); } +static void test_suspend_resume_integrity (const char *device_name, +enum igt_suspend_state state, +enum igt_suspend_test test) +{ +test_integrity (device_name); + +igt_system_suspend_autoresume (state, test); + +test_integrity (device_name); +} + igt_main { igt_subtest("hdmi-integrity")test_integrity ("HDMI" ); + + igt_subtest("hdmi-integrity-after-suspend") + test_suspend_resume_integrity("HDMI",
SUSPEND_STATE_MEM,tests/audio.c +4
-0+ SUSPEND_TEST_NONE); + + igt_subtest("hdmi-integrity-after-hibernate") + test_suspend_resume_integrity("HDMI",
SUSPEND_STATE_DISK,tests/audio.c +1
-0+ SUSPEND_TEST_DEVICES); }
Signature · 6 lines
Cheers, Lyude _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx