All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] tests/audio: Add suspend and hibernate tests for HDMI signal integrity
@ 2017-08-29 15:35 Paul Kocialkowski
  2017-08-29 16:50 ` ✓ Fi.CI.BAT: success for " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Paul Kocialkowski @ 2017-08-29 15:35 UTC (permalink / raw)
  To: intel-gfx

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 <paul.kocialkowski@linux.intel.com>
---
 tests/audio.c | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/tests/audio.c b/tests/audio.c
index 7fb91c97..560876a3 100644
--- a/tests/audio.c
+++ b/tests/audio.c
@@ -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);
 }
-- 
2.14.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* ✓ Fi.CI.BAT: success for tests/audio: Add suspend and hibernate tests for HDMI signal integrity
  2017-08-29 15:35 [PATCH i-g-t] tests/audio: Add suspend and hibernate tests for HDMI signal integrity Paul Kocialkowski
@ 2017-08-29 16:50 ` Patchwork
  2017-08-29 19:39 ` ✓ Fi.CI.IGT: " Patchwork
  2017-08-30 18:42 ` [PATCH i-g-t] " Lyude Paul
  2 siblings, 0 replies; 4+ messages in thread
From: Patchwork @ 2017-08-29 16:50 UTC (permalink / raw)
  To: Paul Kocialkowski; +Cc: intel-gfx

== 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_3014
627598734e5e 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 +1

fdo#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
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

* ✓ Fi.CI.IGT: success for tests/audio: Add suspend and hibernate tests for HDMI signal integrity
  2017-08-29 15:35 [PATCH i-g-t] tests/audio: Add suspend and hibernate tests for HDMI signal integrity Paul Kocialkowski
  2017-08-29 16:50 ` ✓ Fi.CI.BAT: success for " Patchwork
@ 2017-08-29 19:39 ` Patchwork
  2017-08-30 18:42 ` [PATCH i-g-t] " Lyude Paul
  2 siblings, 0 replies; 4+ messages in thread
From: Patchwork @ 2017-08-29 19:39 UTC (permalink / raw)
  To: Paul Kocialkowski; +Cc: intel-gfx

== 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#102252

fdo#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
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH i-g-t] tests/audio: Add suspend and hibernate tests for HDMI signal integrity
  2017-08-29 15:35 [PATCH i-g-t] tests/audio: Add suspend and hibernate tests for HDMI signal integrity Paul Kocialkowski
  2017-08-29 16:50 ` ✓ Fi.CI.BAT: success for " Patchwork
  2017-08-29 19:39 ` ✓ Fi.CI.IGT: " Patchwork
@ 2017-08-30 18:42 ` Lyude Paul
  2 siblings, 0 replies; 4+ messages in thread
From: Lyude Paul @ 2017-08-30 18:42 UTC (permalink / raw)
  To: Paul Kocialkowski, intel-gfx

R-B'd and pushed, thanks!

On Tue, 2017-08-29 at 18:35 +0300, Paul Kocialkowski wrote:
> 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 <paul.kocialkowski@linux.intel.com>
> ---
>  tests/audio.c | 19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)
> 
> diff --git a/tests/audio.c b/tests/audio.c
> index 7fb91c97..560876a3 100644
> --- a/tests/audio.c
> +++ b/tests/audio.c
> @@ -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);
>  }
-- 
Cheers,
	Lyude
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-08-30 18:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-29 15:35 [PATCH i-g-t] tests/audio: Add suspend and hibernate tests for HDMI signal integrity Paul Kocialkowski
2017-08-29 16:50 ` ✓ Fi.CI.BAT: success for " Patchwork
2017-08-29 19:39 ` ✓ Fi.CI.IGT: " Patchwork
2017-08-30 18:42 ` [PATCH i-g-t] " Lyude Paul

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.