Skip to contentSkip to conversation

IGT cleanup

PATCH Superseded Nidhi Gupta 3 participants 6 messages Mar 16, 2022 – Mar 21, 2022

v6 of 7 Superseded Latest is v7 →

lore
Share & tools
lore
#0 lore raw

PATCH v6 1/1 IGT cleanup

Before starting the next subtest, clean up the states to default values, those are assumed by other tests.

v2: And also before running the subtest we need to sanitize the system state to default, since we can't trust the state of previous subtest, used igt_display_reset() to sanitize the state. (Bhanuprakash Modem)

Below tests are modified:
tests/kms_concurrent.c
tests/kms_sequence.c

---
 tests/kms_concurrent.c | 37 +++++++++++++++++--------------------
 tests/kms_sequence.c   | 11 +++++++----
 2 files changed, 24 insertions(+), 24 deletions(-)
tests/kms_concurrent.c +17 -20
index 1b8f4b04..6428c60d 100644
@@ -82,7 +82,8 @@ static void test_fini(data_t *data, enum pipe pipe, int n_planes,
 	}
 
 	/* reset the constraint on the pipe */
-	igt_output_set_pipe(output, PIPE_ANY);
+	igt_output_set_pipe(output, PIPE_NONE);
+	igt_display_commit2(&data->display, data->display.is_atomic ? COMMIT_ATOMIC : COMMIT_LEGACY);
 
 	free(data->plane);
 	data->plane = NULL;
@@ -278,35 +279,30 @@ test_resolution_with_output(data_t *data, enum pipe pipe, int max_planes, igt_ou
 static void
 run_test(data_t *data, enum pipe pipe, igt_output_t *output)
 {
-	int connected_outs;
-	int n_planes = data->display.pipes[pipe].n_planes;
+	int n_planes;
+
+	igt_display_reset(&data->display);
+	n_planes = data->display.pipes[pipe].n_planes;
 
 	if (!opt.user_seed)
 		opt.seed = time(NULL);
 
-	connected_outs = 0;
-	for_each_valid_output_on_pipe(&data->display, pipe, output) {
-		igt_info("Testing resolution with connector %s using pipe %s with seed %d\n",
-			 igt_output_name(output), kmstest_pipe_name(pipe), opt.seed);
-
-		srand(opt.seed);
-
-		test_init(data, pipe, n_planes, output);
+	igt_info("Testing resolution with connector %s using pipe %s with seed %d\n",
+		 igt_output_name(output), kmstest_pipe_name(pipe), opt.seed);
 
-		igt_fork(child, 1) {
-			test_plane_position_with_output(data, pipe, n_planes, output);
-		}
+	srand(opt.seed);
 
-		test_resolution_with_output(data, pipe, n_planes, output);
+	test_init(data, pipe, n_planes, output);
 
-		igt_waitchildren();
+	igt_fork(child, 1) {
+		test_plane_position_with_output(data, pipe, n_planes, output);
+	}
 
-		test_fini(data, pipe, n_planes, output);
+	test_resolution_with_output(data, pipe, n_planes, output);
 
-		connected_outs++;
-	}
+	igt_waitchildren();
 
-	igt_skip_on(connected_outs == 0);
+	test_fini(data, pipe, n_planes, output);
 }
 
 static void
@@ -316,6 +312,7 @@ run_tests_for_pipe(data_t *data, enum pipe pipe)
 
 	igt_fixture {
 		int valid_tests = 0;
+		igt_display_reset(&data->display);
 
 		igt_require_pipe(&data->display, pipe);
 		igt_require(data->display.pipes[pipe].n_planes > 0);
tests/kms_sequence.c +7 -4
index 9c287480..569ea1d9 100644
@@ -74,9 +74,12 @@ static double elapsed(const struct timespec *start,
 static void prepare_crtc(data_t *data, int fd, igt_output_t *output)
 {
 	drmModeModeInfo *mode;
-	igt_display_t *display = &data->display;
 	igt_plane_t *primary;
-
+	igt_display_t *display;
+	
+	igt_display_reset(&data->display);
+	display = &data->display;
+	
 	/* select the pipe we want to use */
 	igt_output_set_pipe(output, data->pipe);
 
@@ -109,8 +112,8 @@ static void cleanup_crtc(data_t *data, int fd, igt_output_t *output)
 	primary = igt_output_get_plane_type(output, DRM_PLANE_TYPE_PRIMARY);
 	igt_plane_set_fb(primary, NULL);
 
-	igt_output_set_pipe(output, PIPE_ANY);
-	igt_display_commit(display);
+	igt_output_set_pipe(output, PIPE_NONE);
+	igt_display_commit2(display, display->is_atomic ? COMMIT_ATOMIC : COMMIT_LEGACY);
 }
 
 static int crtc_get_sequence(int fd, struct drm_crtc_get_sequence *cgs)
Signature · 1 line
2.26.2
#1 lore raw

[igt-dev] ✓ Fi.CI.BAT: success for IGT cleanup (rev6)

== Series Details ==

== Series Details ==

Series: IGT cleanup (rev6)
URL : https://patchwork.freedesktop.org/series/100801/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_11367 -> IGTPW_6790
====================================================

Summary
-------

**SUCCESS**

No regressions found.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/index.html

Participating hosts (43 -> 40)
------------------------------

Additional (1): fi-pnv-d510
Missing (4): fi-ctg-p8600 shard-tglu fi-bdw-samus fi-hsw-4200u

Known issues
------------

Here are the changes found in IGTPW_6790 that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@i915_pm_rpm@basic-pci-d3-state:
- fi-hsw-4770: [PASS][1] -> [SKIP][2] ([fdo#109271])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11367/fi-hsw-4770/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/fi-hsw-4770/igt@[email protected]

* igt@i915_selftest@live@hangcheck:
- fi-bdw-5557u: NOTRUN -> [INCOMPLETE][3] ([i915#3921])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/fi-bdw-5557u/igt@i915_selftest@[email protected]

* igt@kms_chamelium@dp-crc-fast:
- fi-bdw-5557u: NOTRUN -> [SKIP][4] ([fdo#109271] / [fdo#111827]) +8 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/fi-bdw-5557u/igt@[email protected]

* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-c:
- fi-pnv-d510: NOTRUN -> [SKIP][5] ([fdo#109271] / [i915#5341])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/fi-pnv-d510/igt@[email protected]

* igt@kms_setmode@basic-clone-single-crtc:
- fi-bdw-5557u: NOTRUN -> [SKIP][6] ([fdo#109271]) +14 similar issues
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/fi-bdw-5557u/igt@[email protected]

* igt@prime_vgem@basic-userptr:
- fi-pnv-d510: NOTRUN -> [SKIP][7] ([fdo#109271]) +57 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/fi-pnv-d510/igt@[email protected]

#### Possible fixes ####

* igt@core_hotunplug@unbind-rebind:
- {bat-rpls-2}: [DMESG-WARN][8] ([i915#4391]) -> [PASS][9]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11367/bat-rpls-2/igt@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/bat-rpls-2/igt@[email protected]

* igt@i915_selftest@live@reset:
- {bat-rpls-2}: [INCOMPLETE][10] ([i915#4983]) -> [PASS][11]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11367/bat-rpls-2/igt@i915_selftest@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/bat-rpls-2/igt@i915_selftest@[email protected]

* igt@kms_busy@basic@flip:
- {bat-adlp-6}: [DMESG-WARN][12] ([i915#3576]) -> [PASS][13] +1 similar issue
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11367/bat-adlp-6/igt@kms_busy@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/bat-adlp-6/igt@kms_busy@[email protected]

{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).

[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#3576]: https://gitlab.freedesktop.org/drm/intel/issues/3576
[i915#3921]: https://gitlab.freedesktop.org/drm/intel/issues/3921
[i915#4391]: https://gitlab.freedesktop.org/drm/intel/issues/4391
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#5341]: https://gitlab.freedesktop.org/drm/intel/issues/5341

Build changes
-------------

* CI: CI-20190529 -> None
* IGT: IGT_6382 -> IGTPW_6790

CI-20190529: 20190529
CI_DRM_11367: 3d6f714029289bc11200d65feae049183a93bfa6 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_6790: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/index.html
IGT_6382: a6a5a178cb1cbe0dab8d8d092a4aee932ccb93cc @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/index.html

#2 lore raw

[igt-dev] ✗ Fi.CI.IGT: failure for IGT cleanup (rev6)

In reply to Nidhi Gupta
== Series Details ==

== Series Details ==

Series: IGT cleanup (rev6)
URL : https://patchwork.freedesktop.org/series/100801/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_11367_full -> IGTPW_6790_full
====================================================

Summary
-------

**FAILURE**

Serious unknown changes coming with IGTPW_6790_full absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes introduced in IGTPW_6790_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/index.html

Participating hosts (13 -> 9)
------------------------------

Missing (4): pig-skl-6260u pig-kbl-iris shard-dg1 pig-glk-j5005

Possible new issues
-------------------

Here are the unknown changes that may have been introduced in IGTPW_6790_full:

### IGT changes ###

#### Possible regressions ####

* igt@kms_plane_cursor@pipe-c-viewport-size-128:
- shard-tglb: NOTRUN -> [INCOMPLETE][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-tglb8/igt@[email protected]

* igt@kms_plane_scaling@scaler-with-pixel-format-unity-scaling@pipe-b-edp-1-scaler-with-pixel-format:
- shard-iclb: [PASS][2] -> [INCOMPLETE][3]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11367/shard-iclb5/igt@kms_plane_scaling@scaler-with-pixel-format-unity-scaling@pipe-b-edp-1-scaler-with-pixel-format.html
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-iclb2/igt@kms_plane_scaling@scaler-with-pixel-format-unity-scaling@pipe-b-edp-1-scaler-with-pixel-format.html

Known issues
------------

Here are the changes found in IGTPW_6790_full that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@gem_ccs@block-copy-compressed:
- shard-tglb: NOTRUN -> [SKIP][4] ([i915#5325])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-tglb3/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][5] ([i915#5327])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-iclb1/igt@[email protected]

* igt@gem_ctx_persistence@legacy-engines-hostile-preempt:
- shard-snb: NOTRUN -> [SKIP][6] ([fdo#109271] / [i915#1099]) +1 similar issue
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-snb4/igt@[email protected]

* igt@gem_exec_balancer@parallel-ordering:
- shard-iclb: NOTRUN -> [DMESG-FAIL][7] ([i915#5076])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-iclb2/igt@[email protected]
- shard-tglb: NOTRUN -> [DMESG-FAIL][8] ([i915#5076])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-tglb3/igt@[email protected]
- shard-kbl: NOTRUN -> [DMESG-FAIL][9] ([i915#5076])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-kbl6/igt@[email protected]

* igt@gem_exec_fair@basic-none@vcs1:
- shard-iclb: NOTRUN -> [FAIL][10] ([i915#2842])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-iclb4/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-none@vecs0:
- shard-kbl: [PASS][11] -> [FAIL][12] ([i915#2842])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11367/shard-kbl3/igt@gem_exec_fair@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-kbl1/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-tglb: NOTRUN -> [FAIL][13] ([i915#2842])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-tglb7/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-pace-solo@rcs0:
- shard-kbl: NOTRUN -> [FAIL][14] ([i915#2842])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-kbl6/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-pace@bcs0:
- shard-iclb: [PASS][15] -> [FAIL][16] ([i915#2842])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11367/shard-iclb2/igt@gem_exec_fair@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-iclb2/igt@gem_exec_fair@[email protected]

* igt@gem_huc_copy@huc-copy:
- shard-apl: NOTRUN -> [SKIP][17] ([fdo#109271] / [i915#2190])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-apl6/igt@[email protected]
- shard-kbl: NOTRUN -> [SKIP][18] ([fdo#109271] / [i915#2190])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-kbl6/igt@[email protected]

* igt@gem_lmem_swapping@basic:
- shard-kbl: NOTRUN -> [SKIP][19] ([fdo#109271] / [i915#4613]) +2 similar issues
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-kbl7/igt@[email protected]

* igt@gem_lmem_swapping@parallel-random-engines:
- shard-apl: NOTRUN -> [SKIP][20] ([fdo#109271] / [i915#4613]) +1 similar issue
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-apl7/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][21] ([i915#4613]) +2 similar issues
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-tglb3/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][22] ([i915#4613]) +1 similar issue
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-iclb2/igt@[email protected]

* igt@gem_pxp@create-regular-buffer:
- shard-tglb: NOTRUN -> [SKIP][23] ([i915#4270]) +5 similar issues
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-tglb8/igt@[email protected]

* igt@gem_pxp@create-regular-context-1:
- shard-iclb: NOTRUN -> [SKIP][24] ([i915#4270]) +4 similar issues
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-iclb1/igt@[email protected]

* igt@gem_render_copy@y-tiled-mc-ccs-to-y-tiled-ccs:
- shard-iclb: NOTRUN -> [SKIP][25] ([i915#768]) +1 similar issue
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-iclb3/igt@[email protected]

* igt@gem_softpin@evict-snoop-interruptible:
- shard-tglb: NOTRUN -> [SKIP][26] ([fdo#109312])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-tglb7/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][27] ([fdo#109312])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-iclb2/igt@[email protected]

* igt@gem_userptr_blits@unsync-unmap:
- shard-iclb: NOTRUN -> [SKIP][28] ([i915#3297]) +1 similar issue
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-iclb8/igt@[email protected]

* igt@gem_userptr_blits@unsync-unmap-cycles:
- shard-tglb: NOTRUN -> [SKIP][29] ([i915#3297]) +2 similar issues
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-tglb1/igt@[email protected]

* igt@gen7_exec_parse@cmd-crossing-page:
- shard-tglb: NOTRUN -> [SKIP][30] ([fdo#109289]) +3 similar issues
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-tglb3/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][31] ([fdo#109289]) +2 similar issues
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-iclb1/igt@[email protected]

* igt@gen9_exec_parse@allowed-all:
- shard-glk: [PASS][32] -> [DMESG-WARN][33] ([i915#1436] / [i915#716])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11367/shard-glk8/igt@[email protected]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-glk2/igt@[email protected]

* igt@gen9_exec_parse@bb-start-out:
- shard-tglb: NOTRUN -> [SKIP][34] ([i915#2527] / [i915#2856]) +1 similar issue
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-tglb3/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][35] ([i915#2856])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-iclb1/igt@[email protected]

* igt@i915_hangman@engine-engine-hang:
- shard-snb: NOTRUN -> [SKIP][36] ([fdo#109271]) +198 similar issues
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-snb4/igt@[email protected]

* igt@i915_pm_backlight@bad-brightness:
- shard-glk: NOTRUN -> [SKIP][37] ([fdo#109271]) +110 similar issues
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-glk4/igt@[email protected]

* igt@i915_pm_dc@dc6-psr:
- shard-tglb: NOTRUN -> [FAIL][38] ([i915#454])
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-tglb6/igt@[email protected]

* igt@i915_pm_rpm@dpms-mode-unset-non-lpsp:
- shard-tglb: NOTRUN -> [SKIP][39] ([fdo#111644] / [i915#1397] / [i915#2411])
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-tglb3/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][40] ([fdo#110892])
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-iclb1/igt@[email protected]

* igt@i915_pm_rpm@gem-execbuf-stress:
- shard-apl: NOTRUN -> [INCOMPLETE][41] ([i915#5324])
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-apl6/igt@[email protected]
- shard-kbl: NOTRUN -> [INCOMPLETE][42] ([i915#151] / [i915#5324])
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-kbl6/igt@[email protected]

* igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-180-hflip:
- shard-iclb: NOTRUN -> [SKIP][43] ([i915#5286]) +4 similar issues
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-iclb8/igt@[email protected]

* igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-0:
- shard-tglb: NOTRUN -> [SKIP][44] ([i915#5286]) +5 similar issues
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-tglb5/igt@[email protected]

* igt@kms_big_fb@linear-8bpp-rotate-90:
- shard-tglb: NOTRUN -> [SKIP][45] ([fdo#111614]) +2 similar issues
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-tglb3/igt@[email protected]

* igt@kms_big_fb@x-tiled-16bpp-rotate-270:
- shard-iclb: NOTRUN -> [SKIP][46] ([fdo#110725] / [fdo#111614]) +2 similar issues
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-iclb8/igt@[email protected]

* igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-180-hflip-async-flip:
- shard-apl: NOTRUN -> [SKIP][47] ([fdo#109271] / [i915#3777]) +2 similar issues
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-apl6/igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-180-hflip-async-flip.html
- shard-glk: NOTRUN -> [SKIP][48] ([fdo#109271] / [i915#3777]) +1 similar issue
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-glk4/igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-180-hflip-async-flip.html

* igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-0-hflip-async-flip:
- shard-kbl: NOTRUN -> [SKIP][49] ([fdo#109271] / [i915#3777]) +4 similar issues
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-kbl1/igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-0-hflip-async-flip.html

* igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-0:
- shard-apl: NOTRUN -> [SKIP][50] ([fdo#109271]) +247 similar issues
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-apl3/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][51] ([fdo#110723]) +2 similar issues
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-iclb1/igt@[email protected]

* igt@kms_big_joiner@2x-modeset:
- shard-iclb: NOTRUN -> [SKIP][52] ([i915#2705]) +1 similar issue
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-iclb3/igt@[email protected]

* igt@kms_big_joiner@invalid-modeset:
- shard-tglb: NOTRUN -> [SKIP][53] ([i915#2705]) +1 similar issue
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-tglb1/igt@[email protected]

* igt@kms_ccs@pipe-a-bad-pixel-format-y_tiled_ccs:
- shard-tglb: NOTRUN -> [SKIP][54] ([i915#3689]) +6 similar issues
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-tglb5/igt@kms_ccs@pipe-a-bad-pixel-format-y_tiled_ccs.html

* igt@kms_ccs@pipe-a-crc-primary-rotation-180-y_tiled_gen12_rc_ccs_cc:
- shard-kbl: NOTRUN -> [SKIP][55] ([fdo#109271] / [i915#3886]) +4 similar issues
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-kbl3/igt@kms_ccs@pipe-a-crc-primary-rotation-180-y_tiled_gen12_rc_ccs_cc.html
- shard-glk: NOTRUN -> [SKIP][56] ([fdo#109271] / [i915#3886]) +3 similar issues
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-glk4/igt@kms_ccs@pipe-a-crc-primary-rotation-180-y_tiled_gen12_rc_ccs_cc.html
- shard-iclb: NOTRUN -> [SKIP][57] ([fdo#109278] / [i915#3886]) +3 similar issues
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-iclb3/igt@kms_ccs@pipe-a-crc-primary-rotation-180-y_tiled_gen12_rc_ccs_cc.html

* igt@kms_ccs@pipe-b-crc-sprite-planes-basic-y_tiled_gen12_mc_ccs:
- shard-tglb: NOTRUN -> [SKIP][58] ([i915#3689] / [i915#3886]) +2 similar issues
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-tglb8/igt@kms_ccs@pipe-b-crc-sprite-planes-basic-y_tiled_gen12_mc_ccs.html

* igt@kms_ccs@pipe-c-bad-rotation-90-y_tiled_gen12_mc_ccs:
- shard-apl: NOTRUN -> [SKIP][59] ([fdo#109271] / [i915#3886]) +8 similar issues
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-apl1/igt@kms_ccs@pipe-c-bad-rotation-90-y_tiled_gen12_mc_ccs.html

* igt@kms_ccs@pipe-d-bad-rotation-90-yf_tiled_ccs:
- shard-tglb: NOTRUN -> [SKIP][60] ([fdo#111615] / [i915#3689]) +6 similar issues
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-tglb6/igt@kms_ccs@pipe-d-bad-rotation-90-yf_tiled_ccs.html

* igt@kms_chamelium@dp-crc-multiple:
- shard-tglb: NOTRUN -> [SKIP][61] ([fdo#109284] / [fdo#111827]) +8 similar issues
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-tglb6/igt@[email protected]

* igt@kms_chamelium@hdmi-mode-timings:
- shard-snb: NOTRUN -> [SKIP][62] ([fdo#109271] / [fdo#111827]) +6 similar issues
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-snb5/igt@[email protected]
- shard-kbl: NOTRUN -> [SKIP][63] ([fdo#109271] / [fdo#111827]) +8 similar issues
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-kbl7/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][64] ([fdo#109284] / [fdo#111827]) +5 similar issues
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-iclb2/igt@[email protected]

* igt@kms_color@pipe-d-ctm-0-25:
- shard-iclb: NOTRUN -> [SKIP][65] ([fdo#109278] / [i915#1149]) +3 similar issues
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-iclb4/igt@[email protected]

* igt@kms_color_chamelium@pipe-a-ctm-0-5:
- shard-glk: NOTRUN -> [SKIP][66] ([fdo#109271] / [fdo#111827]) +6 similar issues
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-glk9/igt@[email protected]

* igt@kms_color_chamelium@pipe-c-ctm-0-25:
- shard-apl: NOTRUN -> [SKIP][67] ([fdo#109271] / [fdo#111827]) +16 similar issues
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-apl6/igt@[email protected]

* igt@kms_color_chamelium@pipe-d-gamma:
- shard-iclb: NOTRUN -> [SKIP][68] ([fdo#109278] / [fdo#109284] / [fdo#111827]) +2 similar issues
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-iclb6/igt@[email protected]

* igt@kms_content_protection@dp-mst-lic-type-0:
- shard-tglb: NOTRUN -> [SKIP][69] ([i915#3116] / [i915#3299])
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-tglb8/igt@[email protected]

* igt@kms_content_protection@dp-mst-lic-type-1:
- shard-iclb: NOTRUN -> [SKIP][70] ([i915#3116]) +1 similar issue
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-iclb7/igt@[email protected]

* igt@kms_content_protection@mei_interface:
- shard-iclb: NOTRUN -> [SKIP][71] ([fdo#109300] / [fdo#111066]) +1 similar issue
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-iclb5/igt@kms_content_protection@mei_interface.html

* igt@kms_content_protection@uevent:
- shard-tglb: NOTRUN -> [SKIP][72] ([i915#1063])
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-tglb1/igt@[email protected]

* igt@kms_cursor_crc@pipe-b-cursor-32x32-onscreen:
- shard-tglb: NOTRUN -> [SKIP][73] ([i915#3319])
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-tglb6/igt@[email protected]

* igt@kms_cursor_crc@pipe-c-cursor-512x170-sliding:
- shard-iclb: NOTRUN -> [SKIP][74] ([fdo#109278] / [fdo#109279]) +3 similar issues
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-iclb8/igt@[email protected]

* igt@kms_cursor_crc@pipe-d-cursor-512x170-offscreen:
- shard-tglb: NOTRUN -> [SKIP][75] ([fdo#109279] / [i915#3359]) +5 similar issues
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-tglb8/igt@[email protected]

* igt@kms_cursor_crc@pipe-d-cursor-512x170-rapid-movement:
- shard-tglb: NOTRUN -> [SKIP][76] ([i915#3359]) +8 similar issues
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-tglb8/igt@[email protected]

* igt@kms_cursor_legacy@cursora-vs-flipb-toggle:
- shard-iclb: NOTRUN -> [SKIP][77] ([fdo#109274] / [fdo#109278]) +2 similar issues
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-iclb1/igt@[email protected]

* igt@kms_cursor_legacy@pipe-d-single-bo:
- shard-glk: NOTRUN -> [SKIP][78] ([fdo#109271] / [i915#533]) +1 similar issue
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-glk4/igt@[email protected]
- shard-kbl: NOTRUN -> [SKIP][79] ([fdo#109271] / [i915#533])
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-kbl3/igt@[email protected]

* igt@kms_cursor_legacy@pipe-d-torture-bo:
- shard-apl: NOTRUN -> [SKIP][80] ([fdo#109271] / [i915#533]) +2 similar issues
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-apl6/igt@[email protected]

* igt@kms_draw_crc@draw-method-rgb565-mmap-gtt-4tiled:
- shard-tglb: NOTRUN -> [SKIP][81] ([i915#5287]) +2 similar issues
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-tglb2/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][82] ([i915#5287]) +1 similar issue
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-iclb6/igt@[email protected]

* igt@kms_dsc@basic-dsc-enable:
- shard-iclb: NOTRUN -> [SKIP][83] ([i915#3840])
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-iclb4/igt@[email protected]

* igt@kms_dsc@xrgb8888-dsc-compression:
- shard-tglb: NOTRUN -> [SKIP][84] ([i915#3828])
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-tglb5/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][85] ([i915#3828])
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-iclb4/igt@[email protected]

* igt@kms_fbcon_fbt@fbc-suspend:
- shard-kbl: [PASS][86] -> [INCOMPLETE][87] ([i915#180] / [i915#636])
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11367/shard-kbl3/igt@[email protected]
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-kbl4/igt@[email protected]

* igt@kms_flip@2x-flip-vs-absolute-wf_vblank-interruptible:
- shard-tglb: NOTRUN -> [SKIP][88] ([fdo#109274] / [fdo#111825]) +9 similar issues
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-tglb7/igt@kms_flip@2x-flip-vs-absolute-wf_vblank-interruptible.html

* igt@kms_flip@2x-flip-vs-rmfb-interruptible:
- shard-iclb: NOTRUN -> [SKIP][89] ([fdo#109274]) +8 similar issues
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-iclb4/igt@[email protected]

* igt@kms_flip@flip-vs-suspend-interruptible@a-dp1:
- shard-kbl: [PASS][90] -> [DMESG-WARN][91] ([i915#180]) +2 similar issues
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11367/shard-kbl6/igt@kms_flip@[email protected]
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-kbl4/igt@kms_flip@[email protected]
- shard-apl: [PASS][92] -> [DMESG-WARN][93] ([i915#180]) +3 similar issues
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11367/shard-apl4/igt@kms_flip@[email protected]
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-apl8/igt@kms_flip@[email protected]

* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-downscaling:
- shard-iclb: [PASS][94] -> [SKIP][95] ([i915#3701])
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11367/shard-iclb1/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-downscaling.html
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-iclb2/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-downscaling.html

* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-onoff:
- shard-tglb: NOTRUN -> [SKIP][96] ([fdo#109280] / [fdo#111825]) +32 similar issues
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-tglb7/igt@[email protected]

* igt@kms_frontbuffer_tracking@psr-2p-primscrn-pri-shrfb-draw-blt:
- shard-iclb: NOTRUN -> [SKIP][97] ([fdo#109280]) +35 similar issues
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-iclb6/igt@[email protected]

* igt@kms_plane_alpha_blend@pipe-a-alpha-7efc:
- shard-apl: NOTRUN -> [FAIL][98] ([fdo#108145] / [i915#265]) +1 similar issue
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-apl2/igt@[email protected]

* igt@kms_plane_alpha_blend@pipe-b-alpha-7efc:
- shard-kbl: NOTRUN -> [FAIL][99] ([fdo#108145] / [i915#265])
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-kbl4/igt@[email protected]

* igt@kms_plane_alpha_blend@pipe-c-alpha-transparent-fb:
- shard-apl: NOTRUN -> [FAIL][100] ([i915#265])
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-apl7/igt@[email protected]

* igt@kms_plane_lowres@pipe-b-tiling-4:
- shard-iclb: NOTRUN -> [SKIP][101] ([i915#5288])
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-iclb3/igt@[email protected]

* igt@kms_plane_multiple@atomic-pipe-b-tiling-yf:
- shard-tglb: NOTRUN -> [SKIP][102] ([fdo#111615]) +5 similar issues
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-tglb8/igt@[email protected]

* igt@kms_plane_multiple@atomic-pipe-c-tiling-4:
- shard-tglb: NOTRUN -> [SKIP][103] ([i915#5288]) +2 similar issues
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-tglb6/igt@[email protected]

* igt@kms_plane_scaling@downscale-with-rotation-factor-0-25@pipe-a-edp-1-downscale-with-rotation:
- shard-iclb: NOTRUN -> [SKIP][104] ([i915#5176]) +5 similar issues
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-iclb6/igt@kms_plane_scaling@downscale-with-rotation-factor-0-25@pipe-a-edp-1-downscale-with-rotation.html

* igt@kms_plane_scaling@planes-downscale-factor-0-25@pipe-b-edp-1-planes-downscale:
- shard-iclb: NOTRUN -> [SKIP][105] ([i915#5235]) +5 similar issues
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-iclb2/igt@kms_plane_scaling@[email protected]

* igt@kms_plane_scaling@planes-upscale-20x20-downscale-factor-0-25@pipe-c-edp-1-planes-upscale-downscale:
- shard-tglb: NOTRUN -> [SKIP][106] ([i915#5235]) +7 similar issues
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-tglb7/igt@kms_plane_scaling@planes-upscale-20x20-downscale-factor-0-25@pipe-c-edp-1-planes-upscale-downscale.html

* igt@kms_plane_scaling@scaler-with-rotation-unity-scaling@pipe-d-edp-1-scaler-with-rotation:
- shard-tglb: NOTRUN -> [SKIP][107] ([i915#5176]) +11 similar issues
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-tglb6/igt@kms_plane_scaling@scaler-with-rotation-unity-scaling@pipe-d-edp-1-scaler-with-rotation.html

* igt@kms_psr2_sf@cursor-plane-update-sf:
- shard-tglb: NOTRUN -> [SKIP][108] ([i915#2920]) +1 similar issue
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-tglb7/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][109] ([fdo#111068] / [i915#658])
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-iclb4/igt@[email protected]
- shard-glk: NOTRUN -> [SKIP][110] ([fdo#109271] / [i915#658]) +2 similar issues
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-glk3/igt@[email protected]
- shard-apl: NOTRUN -> [SKIP][111] ([fdo#109271] / [i915#658]) +2 similar issues
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-apl1/igt@[email protected]

* igt@kms_psr2_sf@primary-plane-update-sf-dmg-area:
- shard-iclb: NOTRUN -> [SKIP][112] ([i915#2920])
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-iclb2/igt@[email protected]
- shard-kbl: NOTRUN -> [SKIP][113] ([fdo#109271] / [i915#658]) +2 similar issues
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-kbl4/igt@[email protected]

* igt@kms_psr2_su@page_flip-p010:
- shard-tglb: NOTRUN -> [SKIP][114] ([i915#1911])
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-tglb3/igt@kms_psr2_su@page_flip-p010.html
- shard-iclb: NOTRUN -> [SKIP][115] ([fdo#109642] / [fdo#111068] / [i915#658])
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-iclb1/igt@kms_psr2_su@page_flip-p010.html

* igt@kms_psr@psr2_cursor_plane_onoff:
- shard-tglb: NOTRUN -> [FAIL][116] ([i915#132] / [i915#3467]) +1 similar issue
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-tglb1/igt@kms_psr@psr2_cursor_plane_onoff.html

* igt@kms_psr@psr2_no_drrs:
- shard-iclb: [PASS][117] -> [SKIP][118] ([fdo#109441])
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11367/shard-iclb2/igt@kms_psr@psr2_no_drrs.html
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-iclb4/igt@kms_psr@psr2_no_drrs.html

* igt@kms_psr@psr2_sprite_mmap_cpu:
- shard-iclb: NOTRUN -> [SKIP][119] ([fdo#109441]) +1 similar issue
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-iclb7/igt@kms_psr@psr2_sprite_mmap_cpu.html

* igt@kms_rotation_crc@primary-4-tiled-reflect-x-180:
- shard-tglb: NOTRUN -> [SKIP][120] ([i915#5289])
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-tglb2/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][121] ([i915#5289])
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-iclb6/igt@[email protected]

* igt@kms_scaling_modes@scaling-mode-full-aspect:
- shard-kbl: NOTRUN -> [SKIP][122] ([fdo#109271]) +208 similar issues
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-kbl7/igt@[email protected]

* igt@kms_setmode@basic-clone-single-crtc:
- shard-tglb: NOTRUN -> [SKIP][123] ([i915#3555]) +1 similar issue
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-tglb6/igt@[email protected]

* igt@kms_vblank@pipe-d-ts-continuation-idle-hang:
- shard-iclb: NOTRUN -> [SKIP][124] ([fdo#109278]) +32 similar issues
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/shard-iclb5/igt@kms_v

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6790/index.html

#3 lore raw
In reply to Nidhi Gupta
Quoted 32 lines · Nidhi Gupta

Before starting the next subtest, clean up the states to default values, those are assumed by other tests.

v2: And also before running the subtest we need to sanitize the system state to default, since we can't trust the state of previous subtest, used igt_display_reset() to sanitize the state. (Bhanuprakash Modem)

Below tests are modified:
tests/kms_concurrent.c
tests/kms_sequence.c

---
  tests/kms_concurrent.c | 37 +++++++++++++++++--------------------
  tests/kms_sequence.c   | 11 +++++++----
  2 files changed, 24 insertions(+), 24 deletions(-)
tests/kms_concurrent.c +2 -1
index 1b8f4b04..6428c60d 100644
@@ -82,7 +82,8 @@ static void test_fini(data_t *data, enum pipe pipe, int n_planes,
  	}
 
  	/* reset the constraint on the pipe */
-	igt_output_set_pipe(output, PIPE_ANY);
+	igt_output_set_pipe(output, PIPE_NONE);
+	igt_display_commit2(&data->display, data->display.is_atomic ? COMMIT_ATOMIC : COMMIT_LEGACY);
 
  	free(data->plane);
  	data->plane = NULL;

tests/kms_concurrent.c test_resolution_with_output(data_t *data, enum pipe pipe, int max_planes, igt_ou · line 282

Quoted 6 lines
tests/kms_concurrent.c +1 -2
@@ -278,35 +279,30 @@ test_resolution_with_output(data_t *data, enum pipe pipe, int max_planes, igt_ou
  static void
  run_test(data_t *data, enum pipe pipe, igt_output_t *output)
  {
-	int connected_outs;
-	int n_planes = data->display.pipes[pipe].n_planes;
+	int n_planes;

Why do we need this change? will igt_display_reset() clear this data?

Quoted 44 lines
tests/kms_concurrent.c +13 -17
+
+	igt_display_reset(&data->display);
+	n_planes = data->display.pipes[pipe].n_planes;
 
  	if (!opt.user_seed)
  		opt.seed = time(NULL);
 
-	connected_outs = 0;
-	for_each_valid_output_on_pipe(&data->display, pipe, output) {
-		igt_info("Testing resolution with connector %s using pipe %s with seed %d\n",
-			 igt_output_name(output), kmstest_pipe_name(pipe), opt.seed);
-
-		srand(opt.seed);
-
-		test_init(data, pipe, n_planes, output);
+	igt_info("Testing resolution with connector %s using pipe %s with seed %d\n",
+		 igt_output_name(output), kmstest_pipe_name(pipe), opt.seed);
 
-		igt_fork(child, 1) {
-			test_plane_position_with_output(data, pipe, n_planes, output);
-		}
+	srand(opt.seed);
 
-		test_resolution_with_output(data, pipe, n_planes, output);
+	test_init(data, pipe, n_planes, output);
 
-		igt_waitchildren();
+	igt_fork(child, 1) {
+		test_plane_position_with_output(data, pipe, n_planes, output);
+	}
 
-		test_fini(data, pipe, n_planes, output);
+	test_resolution_with_output(data, pipe, n_planes, output);
 
-		connected_outs++;
-	}
+	igt_waitchildren();
 
-	igt_skip_on(connected_outs == 0);
+	test_fini(data, pipe, n_planes, output);
  }
 
  static void

tests/kms_concurrent.c run_tests_for_pipe(data_t *data, enum pipe pipe) · line 315

Quoted 4 lines
tests/kms_concurrent.c +1 -0
@@ -316,6 +312,7 @@ run_tests_for_pipe(data_t *data, enum pipe pipe)
 
  	igt_fixture {
  		int valid_tests = 0;
+		igt_display_reset(&data->display);

Reset is not required here, also we need to use igt_display_require_output() instead of having valid_tests variable.

Also, can we have a new patch to convert kms_concurrent to dynamic subtests?

Quoted 8 lines
tests/kms_concurrent.c +0 -0
  		igt_require_pipe(&data->display, pipe);
  		igt_require(data->display.pipes[pipe].n_planes > 0);
tests/kms_sequence.c +0 -0
index 9c287480..569ea1d9 100644

tests/kms_sequence.c static double elapsed(const struct timespec *start, · line 78

Quoted 7 lines
tests/kms_sequence.c +1 -2
@@ -74,9 +74,12 @@ static double elapsed(const struct timespec *start,
  static void prepare_crtc(data_t *data, int fd, igt_output_t *output)
  {
  	drmModeModeInfo *mode;
-	igt_display_t *display = &data->display;
  	igt_plane_t *primary;
-
+	igt_display_t *display;

Why this change?

Quoted 8 lines
tests/kms_sequence.c +4 -0
+	
+	igt_display_reset(&data->display);
+	display = &data->display;
+	
  	/* select the pipe we want to use */
  	igt_output_set_pipe(output, data->pipe);
 

tests/kms_sequence.c static void cleanup_crtc(data_t *data, int fd, igt_output_t *output) · line 119

Quoted 10 lines
tests/kms_sequence.c +2 -2
@@ -109,8 +112,8 @@ static void cleanup_crtc(data_t *data, int fd, igt_output_t *output)
  	primary = igt_output_get_plane_type(output, DRM_PLANE_TYPE_PRIMARY);
  	igt_plane_set_fb(primary, NULL);
 
-	igt_output_set_pipe(output, PIPE_ANY);
-	igt_display_commit(display);
+	igt_output_set_pipe(output, PIPE_NONE);
+	igt_display_commit2(display, display->is_atomic ? COMMIT_ATOMIC : COMMIT_LEGACY);
  }
 
  static int crtc_get_sequence(int fd, struct drm_crtc_get_sequence *cgs)

Also, can we have a new patch to convert kms_sequence to dynamic subtests?

- Bhanu

#4 lore raw

Hi Bhanu,

I made the following change to remove the warning I am getting: "tests/kms_sequence.c:79:2: warning: ISO C90 forbids mixed declarations and code" int connected_outs;

tests/kms_concurrent.c test_resolution_with_output(data_t *data, enum pipe pipe, int max_planes, igt_ou · line 282

Quoted 2 lines
tests/kms_concurrent.c +1 -1
-	int n_planes = data->display.pipes[pipe].n_planes;
+	int n_planes;

Why do we need this change? will igt_display_reset() clear this data?

tests/kms_concurrent.c test_resolution_with_output(data_t *data, enum pipe pipe, int max_planes, igt_ou

Quoted 3 lines
tests/kms_concurrent.c +3 -0
+
+	igt_display_reset(&data->display);
+	n_planes = data->display.pipes[pipe].n_planes

-----Original Message-----
From: Modem, Bhanuprakash <[email protected]>
Sent: Friday, March 18, 2022 7:41 PM
To: Gupta, Nidhi1 <[email protected]>; [email protected]
Subject: Re: [PATCH i-g-t v6] IGT cleanup

Quoted 34 lines · Nidhi Gupta

Before starting the next subtest, clean up the states to default values, those are assumed by other tests.

v2: And also before running the subtest we need to sanitize the system state to default, since we can't trust the state of previous subtest, used
igt_display_reset() to sanitize the state. (Bhanuprakash Modem)

Below tests are modified:
tests/kms_concurrent.c
tests/kms_sequence.c

---
  tests/kms_concurrent.c | 37 +++++++++++++++++--------------------
  tests/kms_sequence.c   | 11 +++++++----
  2 files changed, 24 insertions(+), 24 deletions(-)
tests/kms_concurrent.c index renamed from tests/kms_concurrent.c +0 -0

1b8f4b04..6428c60d 100644

tests/kms_concurrent.c +3 -1
@@ -82,7 +82,8 @@ static void test_fini(data_t *data, enum pipe pipe, int n_planes,
  	}
 
  	/* reset the constraint on the pipe */
-	igt_output_set_pipe(output, PIPE_ANY);
+	igt_output_set_pipe(output, PIPE_NONE);
+	igt_display_commit2(&data->display, data->display.is_atomic ? 
+COMMIT_ATOMIC : COMMIT_LEGACY);
 
  	free(data->plane);
  	data->plane = NULL;

tests/kms_concurrent.c test_resolution_with_output(data_t *data, enum pipe pipe, int max_planes, igt_ou · line 282

Quoted 6 lines
tests/kms_concurrent.c +1 -2
@@ -278,35 +279,30 @@ test_resolution_with_output(data_t *data, enum pipe pipe, int max_planes, igt_ou
  static void
  run_test(data_t *data, enum pipe pipe, igt_output_t *output)
  {
-	int connected_outs;
-	int n_planes = data->display.pipes[pipe].n_planes;
+	int n_planes;

Why do we need this change? will igt_display_reset() clear this data?

Quoted 44 lines
tests/kms_concurrent.c +13 -17
+
+	igt_display_reset(&data->display);
+	n_planes = data->display.pipes[pipe].n_planes;
 
  	if (!opt.user_seed)
  		opt.seed = time(NULL);
 
-	connected_outs = 0;
-	for_each_valid_output_on_pipe(&data->display, pipe, output) {
-		igt_info("Testing resolution with connector %s using pipe %s with seed %d\n",
-			 igt_output_name(output), kmstest_pipe_name(pipe), opt.seed);
-
-		srand(opt.seed);
-
-		test_init(data, pipe, n_planes, output);
+	igt_info("Testing resolution with connector %s using pipe %s with seed %d\n",
+		 igt_output_name(output), kmstest_pipe_name(pipe), opt.seed);
 
-		igt_fork(child, 1) {
-			test_plane_position_with_output(data, pipe, n_planes, output);
-		}
+	srand(opt.seed);
 
-		test_resolution_with_output(data, pipe, n_planes, output);
+	test_init(data, pipe, n_planes, output);
 
-		igt_waitchildren();
+	igt_fork(child, 1) {
+		test_plane_position_with_output(data, pipe, n_planes, output);
+	}
 
-		test_fini(data, pipe, n_planes, output);
+	test_resolution_with_output(data, pipe, n_planes, output);
 
-		connected_outs++;
-	}
+	igt_waitchildren();
 
-	igt_skip_on(connected_outs == 0);
+	test_fini(data, pipe, n_planes, output);
  }
 
  static void

tests/kms_concurrent.c run_tests_for_pipe(data_t *data, enum pipe pipe) · line 315

Quoted 4 lines
tests/kms_concurrent.c +1 -0
@@ -316,6 +312,7 @@ run_tests_for_pipe(data_t *data, enum pipe pipe)
 
  	igt_fixture {
  		int valid_tests = 0;
+		igt_display_reset(&data->display);

Reset is not required here, also we need to use igt_display_require_output() instead of having valid_tests variable.

Also, can we have a new patch to convert kms_concurrent to dynamic subtests?

Quoted 8 lines
tests/kms_concurrent.c +0 -0
  		igt_require_pipe(&data->display, pipe);
  		igt_require(data->display.pipes[pipe].n_planes > 0); diff --git 

a/tests/kms_sequence.c b/tests/kms_sequence.c index 9c287480..569ea1d9 100644

tests/kms_sequence.c static double elapsed(const struct timespec *start, · line 78

Quoted 7 lines
tests/kms_sequence.c +1 -2
@@ -74,9 +74,12 @@ static double elapsed(const struct timespec *start,
  static void prepare_crtc(data_t *data, int fd, igt_output_t *output)
  {
  	drmModeModeInfo *mode;
-	igt_display_t *display = &data->display;
  	igt_plane_t *primary;
-
+	igt_display_t *display;

Why this change?

Quoted 19 lines
tests/kms_sequence.c +7 -2
+	
+	igt_display_reset(&data->display);
+	display = &data->display;
+	
  	/* select the pipe we want to use */
  	igt_output_set_pipe(output, data->pipe);
 
@@ -109,8 +112,8 @@ static void cleanup_crtc(data_t *data, int fd, igt_output_t *output)
  	primary = igt_output_get_plane_type(output, DRM_PLANE_TYPE_PRIMARY);
  	igt_plane_set_fb(primary, NULL);
 
-	igt_output_set_pipe(output, PIPE_ANY);
-	igt_display_commit(display);
+	igt_output_set_pipe(output, PIPE_NONE);
+	igt_display_commit2(display, display->is_atomic ? COMMIT_ATOMIC : 
+COMMIT_LEGACY);
  }
 
  static int crtc_get_sequence(int fd, struct drm_crtc_get_sequence 
Quoted 1 line

*cgs)

Also, can we have a new patch to convert kms_sequence to dynamic subtests?

- Bhanu

#5 lore raw
Quoted 4 lines · On Mon-21-03-2022 04:32 pm, Gupta, Nidhi1 wrote:

Hi Bhanu,

I made the following change to remove the warning I am getting: "tests/kms_sequence.c:79:2: warning: ISO C90 forbids mixed declarations and code"

No, you won't get such warnings. B'coz there are no mixed declarations in this patch.

Example:
Not allowed:

{
    foo();
    int i = 0;
    bar();
}

Allowed:

{
    int i = 0;
    foo();
    bar();
}

On top of your patch, with below snippet I don't see any such warnings in my setup.

- int n_planes;
-

+       int n_planes = data->display.pipes[pipe].n_planes;
        igt_display_reset(&data->display);

- n_planes = data->display.pipes[pipe].n_planes;

Thanks,
Bhanu

Quoted 151 lines

int connected_outs;

tests/kms_concurrent.c test_resolution_with_output(data_t *data, enum pipe pipe, int max_planes, igt_ou · line 282

Quoted 2 lines
tests/kms_concurrent.c +1 -1
-int n_planes = data->display.pipes[pipe].n_planes;
+int n_planes;

Why do we need this change? will igt_display_reset() clear this data?

tests/kms_concurrent.c test_resolution_with_output(data_t *data, enum pipe pipe, int max_planes, igt_ou

Quoted 3 lines
tests/kms_concurrent.c +3 -0
+
+igt_display_reset(&data->display);
+n_planes = data->display.pipes[pipe].n_planes

-----Original Message-----
From: Modem, Bhanuprakash <[email protected]>
Sent: Friday, March 18, 2022 7:41 PM
To: Gupta, Nidhi1 <[email protected]>; [email protected]
Subject: Re: [PATCH i-g-t v6] IGT cleanup

Quoted 34 lines · Nidhi Gupta

Before starting the next subtest, clean up the states to default values, those are assumed by other tests.

v2: And also before running the subtest we need to sanitize the system state to default, since we can't trust the state of previous subtest, used
igt_display_reset() to sanitize the state. (Bhanuprakash Modem)

Below tests are modified:
tests/kms_concurrent.c
tests/kms_sequence.c

---
   tests/kms_concurrent.c | 37 +++++++++++++++++--------------------
   tests/kms_sequence.c   | 11 +++++++----
   2 files changed, 24 insertions(+), 24 deletions(-)
tests/kms_concurrent.c index renamed from tests/kms_concurrent.c +0 -0

1b8f4b04..6428c60d 100644

tests/kms_concurrent.c +3 -1
@@ -82,7 +82,8 @@ static void test_fini(data_t *data, enum pipe pipe, int n_planes,
   }
 
   /* reset the constraint on the pipe */
-igt_output_set_pipe(output, PIPE_ANY);
+igt_output_set_pipe(output, PIPE_NONE);
+igt_display_commit2(&data->display, data->display.is_atomic ?
+COMMIT_ATOMIC : COMMIT_LEGACY);
 
   free(data->plane);
   data->plane = NULL;

tests/kms_concurrent.c test_resolution_with_output(data_t *data, enum pipe pipe, int max_planes, igt_ou · line 282

Quoted 6 lines
tests/kms_concurrent.c +1 -2
@@ -278,35 +279,30 @@ test_resolution_with_output(data_t *data, enum pipe pipe, int max_planes, igt_ou
   static void
   run_test(data_t *data, enum pipe pipe, igt_output_t *output)
   {
-int connected_outs;
-int n_planes = data->display.pipes[pipe].n_planes;
+int n_planes;

Why do we need this change? will igt_display_reset() clear this data?

Quoted 44 lines
tests/kms_concurrent.c +13 -17
+
+igt_display_reset(&data->display);
+n_planes = data->display.pipes[pipe].n_planes;
 
   if (!opt.user_seed)
   opt.seed = time(NULL);
 
-connected_outs = 0;
-for_each_valid_output_on_pipe(&data->display, pipe, output) {
-igt_info("Testing resolution with connector %s using pipe %s with seed %d\n",
- igt_output_name(output), kmstest_pipe_name(pipe), opt.seed);
-
-srand(opt.seed);
-
-test_init(data, pipe, n_planes, output);
+igt_info("Testing resolution with connector %s using pipe %s with seed %d\n",
+ igt_output_name(output), kmstest_pipe_name(pipe), opt.seed);
 
-igt_fork(child, 1) {
-test_plane_position_with_output(data, pipe, n_planes, output);
-}
+srand(opt.seed);
 
-test_resolution_with_output(data, pipe, n_planes, output);
+test_init(data, pipe, n_planes, output);
 
-igt_waitchildren();
+igt_fork(child, 1) {
+test_plane_position_with_output(data, pipe, n_planes, output);
+}
 
-test_fini(data, pipe, n_planes, output);
+test_resolution_with_output(data, pipe, n_planes, output);
 
-connected_outs++;
-}
+igt_waitchildren();
 
-igt_skip_on(connected_outs == 0);
+test_fini(data, pipe, n_planes, output);
   }
 
   static void

tests/kms_concurrent.c run_tests_for_pipe(data_t *data, enum pipe pipe) · line 315

Quoted 4 lines
tests/kms_concurrent.c +1 -0
@@ -316,6 +312,7 @@ run_tests_for_pipe(data_t *data, enum pipe pipe)
 
   igt_fixture {
   int valid_tests = 0;
+igt_display_reset(&data->display);

Reset is not required here, also we need to use igt_display_require_output() instead of having valid_tests variable.

Also, can we have a new patch to convert kms_concurrent to dynamic subtests?

Quoted 8 lines
tests/kms_concurrent.c +0 -0
   igt_require_pipe(&data->display, pipe);
   igt_require(data->display.pipes[pipe].n_planes > 0); diff --git

a/tests/kms_sequence.c b/tests/kms_sequence.c index 9c287480..569ea1d9 100644

tests/kms_sequence.c static double elapsed(const struct timespec *start, · line 78

Quoted 7 lines
tests/kms_sequence.c +1 -2
@@ -74,9 +74,12 @@ static double elapsed(const struct timespec *start,
   static void prepare_crtc(data_t *data, int fd, igt_output_t *output)
   {
   drmModeModeInfo *mode;
-igt_display_t *display = &data->display;
   igt_plane_t *primary;
-
+igt_display_t *display;

Why this change?

Quoted 19 lines
tests/kms_sequence.c +7 -2
+
+igt_display_reset(&data->display);
+display = &data->display;
+
   /* select the pipe we want to use */
   igt_output_set_pipe(output, data->pipe);
 
@@ -109,8 +112,8 @@ static void cleanup_crtc(data_t *data, int fd, igt_output_t *output)
   primary = igt_output_get_plane_type(output, DRM_PLANE_TYPE_PRIMARY);
   igt_plane_set_fb(primary, NULL);
 
-igt_output_set_pipe(output, PIPE_ANY);
-igt_display_commit(display);
+igt_output_set_pipe(output, PIPE_NONE);
+igt_display_commit2(display, display->is_atomic ? COMMIT_ATOMIC :
+COMMIT_LEGACY);
   }
 
   static int crtc_get_sequence(int fd, struct drm_crtc_get_sequence
Quoted 1 line

*cgs)

Also, can we have a new patch to convert kms_sequence to dynamic subtests?

- Bhanu