* [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* [PATCH i-g-t 2/3] tests/chamelium: Introduce fast CRC tests, with a single mode 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 ` 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 ` (2 subsequent siblings) 3 siblings, 0 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 display CRC, that only tests a single mode (the highest resolution). 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 | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/tests/chamelium.c b/tests/chamelium.c index 0339c635..00ae484b 100644 --- a/tests/chamelium.c +++ b/tests/chamelium.c @@ -497,7 +497,8 @@ disable_output(data_t *data, } static void -test_display_crc(data_t *data, struct chamelium_port *port, int count) +test_display_crc(data_t *data, struct chamelium_port *port, int count, + bool fast) { igt_display_t display; igt_output_t *output; @@ -509,6 +510,7 @@ test_display_crc(data_t *data, struct chamelium_port *port, int count) drmModeModeInfo *mode; drmModeConnector *connector; int fb_id, i, j, captured_frame_count; + int count_modes; reset_state(data, port); @@ -517,7 +519,9 @@ test_display_crc(data_t *data, struct chamelium_port *port, int count) primary = igt_output_get_plane_type(output, DRM_PLANE_TYPE_PRIMARY); igt_assert(primary); - for (i = 0; i < connector->count_modes; i++) { + count_modes = fast ? 1 : connector->count_modes; + + for (i = 0; i < count_modes; i++) { mode = &connector->modes[i]; fb_id = igt_create_color_pattern_fb(data->drm_fd, mode->hdisplay, @@ -818,10 +822,13 @@ igt_main edid_id, alt_edid_id); connector_subtest("dp-crc-single", DisplayPort) - test_display_crc(&data, port, 1); + test_display_crc(&data, port, 1, false); + + connector_subtest("dp-crc-fast", DisplayPort) + test_display_crc(&data, port, 1, true); connector_subtest("dp-crc-multiple", DisplayPort) - test_display_crc(&data, port, 3); + test_display_crc(&data, port, 3, false); connector_subtest("dp-frame-dump", DisplayPort) test_display_frame_dump(&data, port); @@ -879,10 +886,13 @@ igt_main edid_id, alt_edid_id); connector_subtest("hdmi-crc-single", HDMIA) - test_display_crc(&data, port, 1); + test_display_crc(&data, port, 1, false); + + connector_subtest("hdmi-crc-fast", HDMIA) + test_display_crc(&data, port, 1, true); connector_subtest("hdmi-crc-multiple", HDMIA) - test_display_crc(&data, port, 3); + test_display_crc(&data, port, 3, false); connector_subtest("hdmi-frame-dump", HDMIA) test_display_frame_dump(&data, port); -- 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
* [PATCH i-g-t 3/3] intel-ci: Add fast chamelium tests to the fast-feedback list 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 ` Paul Kocialkowski 2017-08-25 12:04 ` Paul Kocialkowski 2017-08-26 6:21 ` Rodrigo Vivi 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 3 siblings, 2 replies; 9+ messages in thread From: Paul Kocialkowski @ 2017-08-23 15:21 UTC (permalink / raw) To: intel-gfx This adds the fastest chamelium tests to the Intel CI fast-feedback list, with the objective of running in under a minute. Signed-off-by: Paul Kocialkowski <paul.kocialkowski@linux.intel.com> --- tests/intel-ci/fast-feedback.testlist | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/intel-ci/fast-feedback.testlist b/tests/intel-ci/fast-feedback.testlist index 79160624..a8e9c5be 100644 --- a/tests/intel-ci/fast-feedback.testlist +++ b/tests/intel-ci/fast-feedback.testlist @@ -1,5 +1,14 @@ # Keep alphabetically sorted by default +igt@chamelium@dp-hpd-fast +igt@chamelium@dp-edid-read +igt@chamelium@dp-crc-fast +igt@chamelium@hdmi-hpd-fast +igt@chamelium@hdmi-edid-read +igt@chamelium@hdmi-crc-fast +igt@chamelium@vga-hpd-fast +igt@chamelium@vga-edid-read +igt@chamelium@common-hpd-after-suspend igt@core_auth@basic-auth igt@core_prop_blob@basic igt@debugfs_test@read_all_entries -- 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
* Re: [PATCH i-g-t 3/3] intel-ci: Add fast chamelium tests to the fast-feedback list 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 1 sibling, 0 replies; 9+ messages in thread From: Paul Kocialkowski @ 2017-08-25 12:04 UTC (permalink / raw) To: intel-gfx On Wed, 2017-08-23 at 18:21 +0300, Paul Kocialkowski wrote: > This adds the fastest chamelium tests to the Intel CI fast-feedback > list, with the objective of running in under a minute. For the record, here are average run times for the added tests: dp-hpd-fast: 2.397s dp-edid-read: 1.776s dp-crc-fast: 6.458s hdmi-hpd-fast: 2.732s hdmi-edid-read: 2.165s hdmi-crc-fast: 8.612s vga-hpd-fast: 7.384s vga-edid-read: 3.805s common-hpd-after-suspend: 22.496s total: 57.825s Note that the CRC tests are especially slow because of the interface decoders on the Chamelium board. They take seconds to detect the video input as stable and there isn't much we can do about that. > Signed-off-by: Paul Kocialkowski <paul.kocialkowski@linux.intel.com> > --- > tests/intel-ci/fast-feedback.testlist | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/tests/intel-ci/fast-feedback.testlist b/tests/intel- > ci/fast-feedback.testlist > index 79160624..a8e9c5be 100644 > --- a/tests/intel-ci/fast-feedback.testlist > +++ b/tests/intel-ci/fast-feedback.testlist > @@ -1,5 +1,14 @@ > # Keep alphabetically sorted by default > > +igt@chamelium@dp-hpd-fast > +igt@chamelium@dp-edid-read > +igt@chamelium@dp-crc-fast > +igt@chamelium@hdmi-hpd-fast > +igt@chamelium@hdmi-edid-read > +igt@chamelium@hdmi-crc-fast > +igt@chamelium@vga-hpd-fast > +igt@chamelium@vga-edid-read > +igt@chamelium@common-hpd-after-suspend > igt@core_auth@basic-auth > igt@core_prop_blob@basic > igt@debugfs_test@read_all_entries -- Paul Kocialkowski <paul.kocialkowski@linux.intel.com> Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo, Finland _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH i-g-t 3/3] intel-ci: Add fast chamelium tests to the fast-feedback list 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 1 sibling, 1 reply; 9+ messages in thread From: Rodrigo Vivi @ 2017-08-26 6:21 UTC (permalink / raw) To: Paul Kocialkowski; +Cc: intel-gfx I have to revert locally to use fast-feedback.testlist here today... it seems chamelium is not compiling by default... first I thought it was a dirty build so I make distclean && autogen && make and chamelium wasn't still compiled... I end up not investigating this here, but I can do this next week... just dropping the message here in case someone has a quick insight... On Wed, Aug 23, 2017 at 8:21 AM, Paul Kocialkowski <paul.kocialkowski@linux.intel.com> wrote: > This adds the fastest chamelium tests to the Intel CI fast-feedback > list, with the objective of running in under a minute. > > Signed-off-by: Paul Kocialkowski <paul.kocialkowski@linux.intel.com> > --- > tests/intel-ci/fast-feedback.testlist | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/tests/intel-ci/fast-feedback.testlist b/tests/intel-ci/fast-feedback.testlist > index 79160624..a8e9c5be 100644 > --- a/tests/intel-ci/fast-feedback.testlist > +++ b/tests/intel-ci/fast-feedback.testlist > @@ -1,5 +1,14 @@ > # Keep alphabetically sorted by default > > +igt@chamelium@dp-hpd-fast > +igt@chamelium@dp-edid-read > +igt@chamelium@dp-crc-fast > +igt@chamelium@hdmi-hpd-fast > +igt@chamelium@hdmi-edid-read > +igt@chamelium@hdmi-crc-fast > +igt@chamelium@vga-hpd-fast > +igt@chamelium@vga-edid-read > +igt@chamelium@common-hpd-after-suspend > igt@core_auth@basic-auth > igt@core_prop_blob@basic > igt@debugfs_test@read_all_entries > -- > 2.14.0 > > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/intel-gfx -- Rodrigo Vivi Blog: http://blog.vivi.eng.br _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH i-g-t 3/3] intel-ci: Add fast chamelium tests to the fast-feedback list 2017-08-26 6:21 ` Rodrigo Vivi @ 2017-08-28 7:20 ` Paul Kocialkowski 2017-08-28 7:45 ` Arkadiusz Hiler 0 siblings, 1 reply; 9+ messages in thread From: Paul Kocialkowski @ 2017-08-28 7:20 UTC (permalink / raw) To: Rodrigo Vivi; +Cc: intel-gfx Hi, On Fri, 2017-08-25 at 23:21 -0700, Rodrigo Vivi wrote: > I have to revert locally to use fast-feedback.testlist here today... > it seems chamelium is not compiling by default... > first I thought it was a dirty build so I > make distclean && autogen && make > and chamelium wasn't still compiled... > I end up not investigating this here, but I can do this next week... > just dropping the message here in case someone has a quick insight... Chamelium support needs to be explicitely enabled with --enable-chamelium The configure script should print whether support for it is enabled or not in the summary, by the way. Cheers, Paul > On Wed, Aug 23, 2017 at 8:21 AM, Paul Kocialkowski > <paul.kocialkowski@linux.intel.com> wrote: > > This adds the fastest chamelium tests to the Intel CI fast-feedback > > list, with the objective of running in under a minute. > > > > Signed-off-by: Paul Kocialkowski <paul.kocialkowski@linux.intel.com> > > --- > > tests/intel-ci/fast-feedback.testlist | 9 +++++++++ > > 1 file changed, 9 insertions(+) > > > > diff --git a/tests/intel-ci/fast-feedback.testlist b/tests/intel- > > ci/fast-feedback.testlist > > index 79160624..a8e9c5be 100644 > > --- a/tests/intel-ci/fast-feedback.testlist > > +++ b/tests/intel-ci/fast-feedback.testlist > > @@ -1,5 +1,14 @@ > > # Keep alphabetically sorted by default > > > > +igt@chamelium@dp-hpd-fast > > +igt@chamelium@dp-edid-read > > +igt@chamelium@dp-crc-fast > > +igt@chamelium@hdmi-hpd-fast > > +igt@chamelium@hdmi-edid-read > > +igt@chamelium@hdmi-crc-fast > > +igt@chamelium@vga-hpd-fast > > +igt@chamelium@vga-edid-read > > +igt@chamelium@common-hpd-after-suspend > > igt@core_auth@basic-auth > > igt@core_prop_blob@basic > > igt@debugfs_test@read_all_entries > > -- > > 2.14.0 > > > > _______________________________________________ > > Intel-gfx mailing list > > Intel-gfx@lists.freedesktop.org > > https://lists.freedesktop.org/mailman/listinfo/intel-gfx > > > -- Paul Kocialkowski <paul.kocialkowski@linux.intel.com> Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo, Finland _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH i-g-t 3/3] intel-ci: Add fast chamelium tests to the fast-feedback list 2017-08-28 7:20 ` Paul Kocialkowski @ 2017-08-28 7:45 ` Arkadiusz Hiler 0 siblings, 0 replies; 9+ messages in thread From: Arkadiusz Hiler @ 2017-08-28 7:45 UTC (permalink / raw) To: Paul Kocialkowski; +Cc: intel-gfx On Mon, Aug 28, 2017 at 10:20:23AM +0300, Paul Kocialkowski wrote: > Hi, > > On Fri, 2017-08-25 at 23:21 -0700, Rodrigo Vivi wrote: > > I have to revert locally to use fast-feedback.testlist here today... > > it seems chamelium is not compiling by default... > > first I thought it was a dirty build so I > > make distclean && autogen && make > > and chamelium wasn't still compiled... > > I end up not investigating this here, but I can do this next week... > > just dropping the message here in case someone has a quick insight... > > Chamelium support needs to be explicitely enabled with > --enable-chamelium > > The configure script should print whether support for it is enabled or > not in the summary, by the way. Hey, A sidenote: If you have a recent piglit you can continue using it with the testlit using the --ignore-missing switch - the missing tests from the list will be reported as "notrun" instead of blowing up the runner with random-looking python exception. @Petri: I think we should introduce a switch to './run-tests.sh' to make this usable through our wrapper. Any thoughts on making this the default behavior? -- Cheers, Arek _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 9+ messages in thread
* ✓ Fi.CI.BAT: success for series starting with [1/3] tests/chamelium: Introduce fast basic hpd tests, with limited toggles 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-23 15:38 ` Patchwork 2017-08-23 19:27 ` [PATCH i-g-t 1/3] " Lyude Paul 3 siblings, 0 replies; 9+ messages in thread From: Patchwork @ 2017-08-23 15:38 UTC (permalink / raw) To: Paul Kocialkowski; +Cc: intel-gfx == Series Details == Series: series starting with [1/3] tests/chamelium: Introduce fast basic hpd tests, with limited toggles URL : https://patchwork.freedesktop.org/series/29218/ State : success == Summary == IGT patchset tested on top of latest successful build 42b42c99cd9d1b890807ae97cbd1c593396ae051 tests/Makefile.am: Wrap audio test with dedicated conditional with latest DRM-Tip kernel build CI_DRM_2995 2964b2f40295 drm-tip: 2017y-08m-23d-13h-11m-32s UTC integration manifest Test kms_cursor_legacy: Subgroup basic-busy-flip-before-cursor-atomic: pass -> FAIL (fi-snb-2600) fdo#100215 +1 Test kms_flip: Subgroup basic-flip-vs-modeset: pass -> SKIP (fi-skl-x1585l) fdo#101781 fdo#100215 https://bugs.freedesktop.org/show_bug.cgi?id=100215 fdo#101781 https://bugs.freedesktop.org/show_bug.cgi?id=101781 fi-bdw-5557u total:279 pass:268 dwarn:0 dfail:0 fail:0 skip:11 time:461s fi-bdw-gvtdvm total:279 pass:265 dwarn:0 dfail:0 fail:0 skip:14 time:436s 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:559s fi-bwr-2160 total:279 pass:184 dwarn:0 dfail:0 fail:0 skip:95 time:254s fi-bxt-j4205 total:279 pass:260 dwarn:0 dfail:0 fail:0 skip:19 time:524s fi-byt-j1900 total:279 pass:254 dwarn:1 dfail:0 fail:0 skip:24 time:530s fi-byt-n2820 total:279 pass:250 dwarn:1 dfail:0 fail:0 skip:28 time:527s fi-elk-e7500 total:279 pass:230 dwarn:0 dfail:0 fail:0 skip:49 time:437s fi-glk-2a total:279 pass:260 dwarn:0 dfail:0 fail:0 skip:19 time:607s fi-hsw-4770 total:279 pass:263 dwarn:0 dfail:0 fail:0 skip:16 time:444s fi-hsw-4770r total:279 pass:263 dwarn:0 dfail:0 fail:0 skip:16 time:425s fi-ilk-650 total:279 pass:229 dwarn:0 dfail:0 fail:0 skip:50 time:421s fi-ivb-3520m total:279 pass:261 dwarn:0 dfail:0 fail:0 skip:18 time:505s fi-ivb-3770 total:279 pass:261 dwarn:0 dfail:0 fail:0 skip:18 time:480s fi-kbl-7500u total:279 pass:261 dwarn:0 dfail:0 fail:0 skip:18 time:474s fi-kbl-7560u total:279 pass:269 dwarn:0 dfail:0 fail:0 skip:10 time:596s fi-kbl-r total:279 pass:261 dwarn:0 dfail:0 fail:0 skip:18 time:602s fi-pnv-d510 total:279 pass:223 dwarn:1 dfail:0 fail:0 skip:55 time:531s fi-skl-6260u total:279 pass:269 dwarn:0 dfail:0 fail:0 skip:10 time:476s fi-skl-6700k total:279 pass:261 dwarn:0 dfail:0 fail:0 skip:18 time:481s fi-skl-6770hq total:279 pass:269 dwarn:0 dfail:0 fail:0 skip:10 time:487s fi-skl-gvtdvm total:279 pass:266 dwarn:0 dfail:0 fail:0 skip:13 time:446s fi-skl-x1585l total:279 pass:268 dwarn:0 dfail:0 fail:0 skip:11 time:488s fi-snb-2520m total:279 pass:251 dwarn:0 dfail:0 fail:0 skip:28 time:553s fi-snb-2600 total:279 pass:248 dwarn:0 dfail:0 fail:2 skip:29 time:411s == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_89/ _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH i-g-t 1/3] tests/chamelium: Introduce fast basic hpd tests, with limited toggles 2017-08-23 15:21 [PATCH i-g-t 1/3] tests/chamelium: Introduce fast basic hpd tests, with limited toggles Paul Kocialkowski ` (2 preceding siblings ...) 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 ` Lyude Paul 3 siblings, 0 replies; 9+ messages in thread From: Lyude Paul @ 2017-08-23 19:27 UTC (permalink / raw) To: Paul Kocialkowski, intel-gfx R-B'd and pushed, thanks! On Wed, 2017-08-23 at 18:21 +0300, Paul Kocialkowski wrote: > 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()); _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [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).