intel-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH i-g-t 1/3] tests/chamelium: Introduce fast basic hpd tests, with limited toggles
@ 2017-08-23 15:21 Paul Kocialkowski
  2017-08-23 15:21 ` [PATCH i-g-t 2/3] tests/chamelium: Introduce fast CRC tests, with a single mode Paul Kocialkowski
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Paul Kocialkowski @ 2017-08-23 15:21 UTC (permalink / raw)
  To: intel-gfx

This introduces a fast fashion of testing basic hotplug detect, with
only 3 toggles. It drastically reduces the run time of the test, which
is necessary for the fast-feedback test list.

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@linux.intel.com>
---
 tests/chamelium.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/tests/chamelium.c b/tests/chamelium.c
index 881b7fa9..0339c635 100644
--- a/tests/chamelium.c
+++ b/tests/chamelium.c
@@ -48,6 +48,7 @@ typedef struct {
 
 #define HPD_TOGGLE_COUNT_VGA 5
 #define HPD_TOGGLE_COUNT_DP_HDMI 15
+#define HPD_TOGGLE_COUNT_FAST 3
 
 static void
 get_connectors_link_status_failed(data_t *data, bool *link_status_failed)
@@ -775,6 +776,10 @@ igt_main
 			test_basic_hotplug(&data, port,
 					   HPD_TOGGLE_COUNT_DP_HDMI);
 
+		connector_subtest("dp-hpd-fast", DisplayPort)
+			test_basic_hotplug(&data, port,
+					   HPD_TOGGLE_COUNT_FAST);
+
 		connector_subtest("dp-edid-read", DisplayPort) {
 			test_edid_read(&data, port, edid_id,
 				       igt_kms_get_base_edid());
@@ -832,6 +837,10 @@ igt_main
 			test_basic_hotplug(&data, port,
 					   HPD_TOGGLE_COUNT_DP_HDMI);
 
+		connector_subtest("hdmi-hpd-fast", HDMIA)
+			test_basic_hotplug(&data, port,
+					   HPD_TOGGLE_COUNT_FAST);
+
 		connector_subtest("hdmi-edid-read", HDMIA) {
 			test_edid_read(&data, port, edid_id,
 				       igt_kms_get_base_edid());
@@ -888,6 +897,9 @@ igt_main
 		connector_subtest("vga-hpd", VGA)
 			test_basic_hotplug(&data, port, HPD_TOGGLE_COUNT_VGA);
 
+		connector_subtest("vga-hpd-fast", VGA)
+			test_basic_hotplug(&data, port, HPD_TOGGLE_COUNT_FAST);
+
 		connector_subtest("vga-edid-read", VGA) {
 			test_edid_read(&data, port, edid_id,
 				       igt_kms_get_base_edid());
-- 
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] 9+ messages in thread

end of thread, other threads:[~2017-08-28  7:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-23 15:21 [PATCH i-g-t 1/3] tests/chamelium: Introduce fast basic hpd tests, with limited toggles Paul Kocialkowski
2017-08-23 15:21 ` [PATCH i-g-t 2/3] tests/chamelium: Introduce fast CRC tests, with a single mode Paul Kocialkowski
2017-08-23 15:21 ` [PATCH i-g-t 3/3] intel-ci: Add fast chamelium tests to the fast-feedback list Paul Kocialkowski
2017-08-25 12:04   ` Paul Kocialkowski
2017-08-26  6:21   ` Rodrigo Vivi
2017-08-28  7:20     ` Paul Kocialkowski
2017-08-28  7:45       ` Arkadiusz Hiler
2017-08-23 15:38 ` ✓ Fi.CI.BAT: success for series starting with [1/3] tests/chamelium: Introduce fast basic hpd tests, with limited toggles Patchwork
2017-08-23 19:27 ` [PATCH i-g-t 1/3] " Lyude Paul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).