From: Paul Kocialkowski <paul.kocialkowski@linux.intel.com>
To: intel-gfx@lists.freedesktop.org
Subject: [PATCH i-g-t 1/3] tests/chamelium: Introduce fast basic hpd tests, with limited toggles
Date: Wed, 23 Aug 2017 18:21:12 +0300 [thread overview]
Message-ID: <20170823152114.16559-1-paul.kocialkowski@linux.intel.com> (raw)
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
next reply other threads:[~2017-08-23 15:21 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-23 15:21 Paul Kocialkowski [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170823152114.16559-1-paul.kocialkowski@linux.intel.com \
--to=paul.kocialkowski@linux.intel.com \
--cc=intel-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.