Skip to contentSkip to conversation

tests/kms_busy: Ensure GPU reset when waiting for a new FB during modeset

PATCH In review Imre Deak 3 participants 4 messages Oct 11, 2022 – Oct 12, 2022

lore
Share & tools
lore

Imre Deak

author
#0 lore raw

PATCH 1/1 tests/kms_busy: Ensure GPU reset when waiting for a new FB during modeset

When waiting for a modeset's new framebuffer the timeout for this FB's fence to signal is determined by the kernel's CONFIG_DRM_I915_FENCE_TIMEOUT which is 10 sec by default (and in the current CI kconfig). The GPU reset timeout in turn is determined by CONFIG_DRM_I915_HEARTBEAT_INTERVAL which is 2.5 sec by default (and in the current CI kconfig). By default a spinner batch - like the one created by test_atomic_commit_hang() - will cause a GPU reset that is 5 times the above heartbeat interval (the interval rounded to seconds first, that is 15 seconds atm).

Based on the above during extended-modeset-hang-newfb-with-reset the enabling modeset part for instance will cause a fence timeout before the presumed GPU hang would be detected, so the corresponding commit will complete without the expected GPU reset.

Note that extended-modeset-hang-oldfb-with-reset for instance is not affected by this problem, since waiting for the old framebuffer's fence to signal happens without a fence timeout (timing out instead at the GPU hang detect/reset).

Fix the above by reducing the heartbeat interval to 250 msec, corresponding to a ~1.3 sec GPU hang detection timeout. This also speeds up the GPU hang subtests.

Testcase: igt@kms_busy@extended-modeset-hang-newfb-with-reset

---
 tests/i915/kms_busy.c | 36 +++++++++++++++++++++++++++++++++++-
 1 file changed, 35 insertions(+), 1 deletion(-)
tests/i915/kms_busy.c +35 -1
index 99a07c2ae..9ef53f594 100644
@@ -312,6 +312,33 @@ static int opt_handler(int opt, int opt_index, void *data)
 	return IGT_OPT_HANDLER_SUCCESS;
 }
 
+static void gpu_engines_init_timeouts(int fd, int max_engines,
+				      int *num_engines, struct gem_engine_properties *props)
+{
+	const struct intel_execution_engine2 *e;
+
+	*num_engines = 0;
+	for_each_physical_engine(fd, e) {
+		igt_assert(*num_engines < max_engines);
+
+		props[*num_engines].engine = e;
+		props[*num_engines].preempt_timeout = 0;
+		props[*num_engines].heartbeat_interval = 250;
+
+		gem_engine_properties_configure(fd, &props[*num_engines]);
+
+		(*num_engines)++;
+	}
+}
+
+static void gpu_engines_restore_timeouts(int fd, int num_engines, const struct gem_engine_properties *props)
+{
+	int i;
+
+	for (i = 0; i < num_engines; i++)
+		gem_engine_properties_restore(fd, &props[i]);
+}
+
 const char *help_str =
 	"  -e \tRun on all pipes. (By default subtests will run on two pipes)\n";
 
@@ -335,11 +362,15 @@ igt_main_args("e", NULL, help_str, opt_handler, NULL)
 		{ "extended-modeset-hang-oldfb-with-reset", true, false, true },
 		{ "extended-modeset-hang-newfb-with-reset", true, true, true },
 	};
+	struct gem_engine_properties saved_gpu_timeouts[GEM_MAX_ENGINES];
+	int num_engines;
+	int fd;
 
 	igt_fixture {
-		int fd = drm_open_driver_master(DRIVER_INTEL);
 		enum pipe pipe;
 
+		fd = drm_open_driver_master(DRIVER_INTEL);
+
 		igt_require_gem(fd);
 		gem_require_mmap_device_coherent(fd);
 		igt_require(gem_has_ring(fd, I915_EXEC_DEFAULT));
@@ -352,6 +383,8 @@ igt_main_args("e", NULL, help_str, opt_handler, NULL)
 		for_each_pipe(&display, pipe)
 			active_pipes[last_pipe++] = pipe;
 		last_pipe--;
+
+		gpu_engines_init_timeouts(fd, ARRAY_SIZE(saved_gpu_timeouts), &num_engines, saved_gpu_timeouts);
 	}
 
 	/* XXX Extend to cover atomic rendering tests to all planes + legacy */
@@ -435,6 +468,7 @@ igt_main_args("e", NULL, help_str, opt_handler, NULL)
 	}
 
 	igt_fixture {
+		gpu_engines_restore_timeouts(fd, num_engines, saved_gpu_timeouts);
 		igt_display_fini(&display);
 	}
 }
Signature · 1 line
2.34.1
#1 lore raw

[igt-dev] ✓ Fi.CI.BAT: success for tests/kms_busy: Ensure GPU reset when waiting for a new FB during modeset

== Series Details ==

== Series Details ==

Series: tests/kms_busy: Ensure GPU reset when waiting for a new FB during modeset
URL : https://patchwork.freedesktop.org/series/109591/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_12234 -> IGTPW_7944
====================================================

Summary
-------

**SUCCESS**

No regressions found.

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

Participating hosts (44 -> 41)
------------------------------

Missing (3): fi-ctg-p8600 fi-icl-u2 bat-adlp-4

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

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

### IGT changes ###

#### Issues hit ####

* igt@kms_chamelium@common-hpd-after-suspend:
- fi-bsw-nick: NOTRUN -> [SKIP][1] ([fdo#109271] / [fdo#111827])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/fi-bsw-nick/igt@[email protected]
- fi-hsw-4770: NOTRUN -> [SKIP][2] ([fdo#109271] / [fdo#111827])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/fi-hsw-4770/igt@[email protected]

* igt@kms_pipe_crc_basic@suspend-read-crc:
- fi-bsw-nick: NOTRUN -> [SKIP][3] ([fdo#109271])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/fi-bsw-nick/igt@[email protected]

#### Possible fixes ####

* igt@gem_exec_suspend@basic-s0@smem:
- {bat-adlm-1}: [DMESG-WARN][4] ([i915#2867]) -> [PASS][5] +1 similar issue
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12234/bat-adlm-1/igt@gem_exec_suspend@[email protected]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/bat-adlm-1/igt@gem_exec_suspend@[email protected]

* igt@gem_huc_copy@huc-copy:
- {bat-dg2-8}: [FAIL][6] ([i915#7029]) -> [PASS][7]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12234/bat-dg2-8/igt@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/bat-dg2-8/igt@[email protected]

* igt@i915_module_load@load:
- {bat-dg2-8}: [DMESG-WARN][8] ([i915#7031]) -> [PASS][9]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12234/bat-dg2-8/igt@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/bat-dg2-8/igt@[email protected]

* igt@i915_module_load@reload:
- {fi-tgl-mst}: [WARN][10] ([i915#6596]) -> [PASS][11]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12234/fi-tgl-mst/igt@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/fi-tgl-mst/igt@[email protected]

* igt@i915_selftest@live@execlists:
- fi-bsw-nick: [INCOMPLETE][12] ([i915#6972] / [i915#7120]) -> [PASS][13]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12234/fi-bsw-nick/igt@i915_selftest@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/fi-bsw-nick/igt@i915_selftest@[email protected]

* igt@i915_selftest@live@gt_pm:
- {bat-rpls-2}: [DMESG-FAIL][14] ([i915#4258]) -> [PASS][15]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12234/bat-rpls-2/igt@i915_selftest@live@gt_pm.html
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/bat-rpls-2/igt@i915_selftest@live@gt_pm.html

* igt@i915_selftest@live@hangcheck:
- fi-hsw-4770: [INCOMPLETE][16] ([i915#4785]) -> [PASS][17]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12234/fi-hsw-4770/igt@i915_selftest@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/fi-hsw-4770/igt@i915_selftest@[email protected]

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

[fdo#103375]: https://bugs.freedesktop.org/show_bug.cgi?id=103375
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#2582]: https://gitlab.freedesktop.org/drm/intel/issues/2582
[i915#2867]: https://gitlab.freedesktop.org/drm/intel/issues/2867
[i915#4258]: https://gitlab.freedesktop.org/drm/intel/issues/4258
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#4785]: https://gitlab.freedesktop.org/drm/intel/issues/4785
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#5122]: https://gitlab.freedesktop.org/drm/intel/issues/5122
[i915#5537]: https://gitlab.freedesktop.org/drm/intel/issues/5537
[i915#5828]: https://gitlab.freedesktop.org/drm/intel/issues/5828
[i915#6596]: https://gitlab.freedesktop.org/drm/intel/issues/6596
[i915#6687]: https://gitlab.freedesktop.org/drm/intel/issues/6687
[i915#6763]: https://gitlab.freedesktop.org/drm/intel/issues/6763
[i915#6972]: https://gitlab.freedesktop.org/drm/intel/issues/6972
[i915#7029]: https://gitlab.freedesktop.org/drm/intel/issues/7029
[i915#7031]: https://gitlab.freedesktop.org/drm/intel/issues/7031
[i915#7120]: https://gitlab.freedesktop.org/drm/intel/issues/7120

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

* CI: CI-20190529 -> None
* IGT: IGT_7009 -> IGTPW_7944

CI-20190529: 20190529
CI_DRM_12234: e4a9f2a2d42b1cce6015d4397360c63c01a8ed35 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_7944: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/index.html
IGT_7009: cf55acdeea3747c668074a8734029364960e5f5e @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git

== Logs ==

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

#2 lore raw

[igt-dev] ✓ Fi.CI.IGT: success for tests/kms_busy: Ensure GPU reset when waiting for a new FB during modeset

In reply to Imre Deak
== Series Details ==

== Series Details ==

Series: tests/kms_busy: Ensure GPU reset when waiting for a new FB during modeset
URL : https://patchwork.freedesktop.org/series/109591/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_12234_full -> IGTPW_7944_full
====================================================

Summary
-------

**SUCCESS**

No regressions found.

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

Participating hosts (9 -> 6)
------------------------------

Missing (3): pig-skl-6260u pig-kbl-iris pig-glk-j5005

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

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

### IGT changes ###

#### Issues hit ####

* igt@feature_discovery@psr2:
- shard-iclb: [PASS][1] -> [SKIP][2] ([i915#658])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12234/shard-iclb2/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-iclb7/igt@[email protected]

* igt@gem_ccs@block-copy-inplace:
- shard-tglb: NOTRUN -> [SKIP][3] ([i915#3555] / [i915#5325])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-tglb7/igt@[email protected]

* igt@gem_ctx_persistence@engines-hostile:
- shard-snb: NOTRUN -> [SKIP][4] ([fdo#109271] / [i915#1099])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-snb4/igt@[email protected]

* igt@gem_exec_fair@basic-deadline:
- shard-glk: [PASS][5] -> [FAIL][6] ([i915#2846])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12234/shard-glk7/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-glk3/igt@[email protected]

* igt@gem_exec_fair@basic-flow@rcs0:
- shard-tglb: [PASS][7] -> [FAIL][8] ([i915#2842])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12234/shard-tglb5/igt@gem_exec_fair@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-tglb1/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-none@vcs1:
- shard-iclb: NOTRUN -> [FAIL][9] ([i915#2842]) +4 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-iclb2/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-pace@vcs1:
- shard-tglb: NOTRUN -> [FAIL][10] ([i915#2842]) +4 similar issues
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-tglb7/igt@gem_exec_fair@[email protected]

* igt@gem_lmem_swapping@heavy-multi:
- shard-apl: NOTRUN -> [SKIP][11] ([fdo#109271] / [i915#4613]) +1 similar issue
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-apl1/igt@[email protected]

* igt@gem_lmem_swapping@parallel-multi:
- shard-tglb: NOTRUN -> [SKIP][12] ([i915#4613])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-tglb2/igt@[email protected]

* igt@gem_lmem_swapping@random:
- shard-glk: NOTRUN -> [SKIP][13] ([fdo#109271] / [i915#4613])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-glk9/igt@[email protected]

* igt@gem_userptr_blits@invalid-mmap-offset-unsync:
- shard-tglb: NOTRUN -> [SKIP][14] ([i915#3297])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-tglb7/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][15] ([i915#3297])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-iclb2/igt@[email protected]

* igt@gen9_exec_parse@allowed-all:
- shard-glk: [PASS][16] -> [DMESG-WARN][17] ([i915#5566] / [i915#716])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12234/shard-glk7/igt@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-glk8/igt@[email protected]

* igt@i915_pm_rpm@system-suspend-execbuf:
- shard-tglb: [PASS][18] -> [INCOMPLETE][19] ([i915#2411])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12234/shard-tglb7/igt@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-tglb3/igt@[email protected]

* igt@i915_suspend@sysfs-reader:
- shard-apl: [PASS][20] -> [DMESG-WARN][21] ([i915#180])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12234/shard-apl7/igt@[email protected]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-apl6/igt@[email protected]

* igt@kms_atomic@atomic_plane_damage:
- shard-iclb: NOTRUN -> [SKIP][22] ([i915#4765])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-iclb1/igt@kms_atomic@atomic_plane_damage.html

* igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-0-hflip:
- shard-tglb: NOTRUN -> [SKIP][23] ([i915#5286])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-tglb2/igt@[email protected]

* igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-0-async-flip:
- shard-snb: [PASS][24] -> [SKIP][25] ([fdo#109271]) +1 similar issue
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12234/shard-snb5/igt@[email protected]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-snb2/igt@[email protected]

* igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-180-async-flip:
- shard-tglb: NOTRUN -> [SKIP][26] ([fdo#111615])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-tglb7/igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-180-async-flip.html

* igt@kms_ccs@pipe-a-ccs-on-another-bo-y_tiled_gen12_rc_ccs_cc:
- shard-apl: NOTRUN -> [SKIP][27] ([fdo#109271] / [i915#3886]) +4 similar issues
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-apl1/igt@kms_ccs@pipe-a-ccs-on-another-bo-y_tiled_gen12_rc_ccs_cc.html

* igt@kms_ccs@pipe-a-ccs-on-another-bo-yf_tiled_ccs:
- shard-tglb: NOTRUN -> [SKIP][28] ([fdo#111615] / [i915#3689])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-tglb3/igt@kms_ccs@pipe-a-ccs-on-another-bo-yf_tiled_ccs.html

* igt@kms_ccs@pipe-b-bad-rotation-90-y_tiled_gen12_rc_ccs_cc:
- shard-glk: NOTRUN -> [SKIP][29] ([fdo#109271] / [i915#3886])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-glk3/igt@kms_ccs@pipe-b-bad-rotation-90-y_tiled_gen12_rc_ccs_cc.html

* igt@kms_ccs@pipe-c-crc-sprite-planes-basic-4_tiled_dg2_rc_ccs:
- shard-tglb: NOTRUN -> [SKIP][30] ([i915#3689] / [i915#6095])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-tglb1/igt@kms_ccs@pipe-c-crc-sprite-planes-basic-4_tiled_dg2_rc_ccs.html

* igt@kms_ccs@pipe-c-random-ccs-data-4_tiled_dg2_mc_ccs:
- shard-glk: NOTRUN -> [SKIP][31] ([fdo#109271]) +60 similar issues
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-glk5/igt@kms_ccs@pipe-c-random-ccs-data-4_tiled_dg2_mc_ccs.html
- shard-iclb: NOTRUN -> [SKIP][32] ([fdo#109278]) +6 similar issues
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-iclb8/igt@kms_ccs@pipe-c-random-ccs-data-4_tiled_dg2_mc_ccs.html

* igt@kms_ccs@pipe-d-bad-rotation-90-4_tiled_dg2_rc_ccs:
- shard-tglb: NOTRUN -> [SKIP][33] ([i915#3689]) +2 similar issues
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-tglb7/igt@kms_ccs@pipe-d-bad-rotation-90-4_tiled_dg2_rc_ccs.html

* igt@kms_ccs@pipe-d-crc-sprite-planes-basic-4_tiled_dg2_rc_ccs:
- shard-tglb: NOTRUN -> [SKIP][34] ([i915#6095]) +1 similar issue
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-tglb1/igt@kms_ccs@pipe-d-crc-sprite-planes-basic-4_tiled_dg2_rc_ccs.html

* igt@kms_chamelium@dp-hpd:
- shard-glk: NOTRUN -> [SKIP][35] ([fdo#109271] / [fdo#111827]) +3 similar issues
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-glk6/igt@[email protected]

* igt@kms_chamelium@vga-hpd:
- shard-apl: NOTRUN -> [SKIP][36] ([fdo#109271] / [fdo#111827]) +8 similar issues
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-apl7/igt@[email protected]

* igt@kms_chamelium@vga-hpd-with-enabled-mode:
- shard-snb: NOTRUN -> [SKIP][37] ([fdo#109271] / [fdo#111827]) +3 similar issues
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-snb6/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][38] ([fdo#109284] / [fdo#111827]) +2 similar issues
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-tglb5/igt@[email protected]

* igt@kms_color_chamelium@degamma:
- shard-iclb: NOTRUN -> [SKIP][39] ([fdo#109284] / [fdo#111827]) +2 similar issues
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-iclb1/igt@[email protected]

* igt@kms_content_protection@atomic@pipe-a-dp-1:
- shard-apl: NOTRUN -> [INCOMPLETE][40] ([i915#7121])
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-apl1/igt@kms_content_protection@[email protected]

* igt@kms_content_protection@mei_interface:
- shard-tglb: NOTRUN -> [SKIP][41] ([i915#7118])
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-tglb5/igt@kms_content_protection@mei_interface.html
- shard-iclb: NOTRUN -> [SKIP][42] ([i915#7118])
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-iclb8/igt@kms_content_protection@mei_interface.html

* igt@kms_cursor_crc@cursor-offscreen-512x170:
- shard-iclb: NOTRUN -> [SKIP][43] ([fdo#109279] / [i915#3359])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-iclb6/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][44] ([fdo#109279] / [i915#3359])
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-tglb3/igt@[email protected]

* igt@kms_cursor_crc@cursor-rapid-movement-512x512:
- shard-tglb: NOTRUN -> [SKIP][45] ([i915#3359])
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-tglb1/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][46] ([i915#3359])
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-iclb2/igt@[email protected]

* igt@kms_cursor_legacy@2x-long-flip-vs-cursor-atomic:
- shard-tglb: NOTRUN -> [SKIP][47] ([fdo#109274] / [fdo#111825])
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-tglb7/igt@[email protected]

* igt@kms_flip@2x-plain-flip-ts-check:
- shard-iclb: NOTRUN -> [SKIP][48] ([fdo#109274]) +2 similar issues
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-iclb1/igt@[email protected]

* igt@kms_flip@2x-wf_vblank-ts-check-interruptible:
- shard-tglb: NOTRUN -> [SKIP][49] ([fdo#109274] / [fdo#111825] / [i915#3637]) +1 similar issue
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-tglb1/igt@kms_flip@2x-wf_vblank-ts-check-interruptible.html

* igt@kms_flip_scaled_crc@flip-32bpp-yftileccs-to-64bpp-yftile-downscaling@pipe-a-valid-mode:
- shard-tglb: NOTRUN -> [SKIP][50] ([i915#2587] / [i915#2672]) +1 similar issue
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-tglb1/igt@kms_flip_scaled_crc@flip-32bpp-yftileccs-to-64bpp-yftile-downscaling@pipe-a-valid-mode.html

* igt@kms_flip_scaled_crc@flip-64bpp-4tile-to-32bpp-4tile-upscaling@pipe-a-default-mode:
- shard-iclb: NOTRUN -> [SKIP][51] ([i915#2672]) +4 similar issues
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-iclb2/igt@kms_flip_scaled_crc@flip-64bpp-4tile-to-32bpp-4tile-upscaling@pipe-a-default-mode.html

* igt@kms_flip_scaled_crc@flip-64bpp-xtile-to-32bpp-xtile-downscaling@pipe-a-default-mode:
- shard-iclb: NOTRUN -> [SKIP][52] ([i915#3555]) +1 similar issue
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-iclb2/igt@kms_flip_scaled_crc@flip-64bpp-xtile-to-32bpp-xtile-downscaling@pipe-a-default-mode.html

* igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-32bpp-yftile-downscaling@pipe-a-valid-mode:
- shard-iclb: NOTRUN -> [SKIP][53] ([i915#2587] / [i915#2672]) +1 similar issue
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-iclb1/igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-32bpp-yftile-downscaling@pipe-a-valid-mode.html

* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-shrfb-draw-blt:
- shard-tglb: NOTRUN -> [SKIP][54] ([i915#6497]) +2 similar issues
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-tglb3/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-shrfb-draw-blt.html

* igt@kms_frontbuffer_tracking@psr-2p-primscrn-indfb-plflip-blt:
- shard-apl: NOTRUN -> [SKIP][55] ([fdo#109271]) +113 similar issues
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-apl2/igt@[email protected]

* igt@kms_frontbuffer_tracking@psr-2p-primscrn-spr-indfb-draw-render:
- shard-tglb: NOTRUN -> [SKIP][56] ([fdo#109280] / [fdo#111825]) +7 similar issues
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-tglb7/igt@kms_frontbuffer_tracking@psr-2p-primscrn-spr-indfb-draw-render.html

* igt@kms_frontbuffer_tracking@psr-2p-scndscrn-shrfb-pgflip-blt:
- shard-iclb: NOTRUN -> [SKIP][57] ([fdo#109280]) +2 similar issues
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-iclb2/igt@[email protected]

* igt@kms_plane_alpha_blend@alpha-opaque-fb@pipe-a-dp-1:
- shard-apl: NOTRUN -> [FAIL][58] ([i915#4573]) +2 similar issues
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-apl7/igt@kms_plane_alpha_blend@[email protected]

* igt@kms_plane_lowres@tiling-none@pipe-a-edp-1:
- shard-iclb: NOTRUN -> [SKIP][59] ([i915#3536]) +2 similar issues
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-iclb7/igt@kms_plane_lowres@[email protected]

* igt@kms_plane_lowres@tiling-none@pipe-c-edp-1:
- shard-tglb: NOTRUN -> [SKIP][60] ([i915#3536]) +3 similar issues
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-tglb5/igt@kms_plane_lowres@[email protected]

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

* igt@kms_plane_scaling@planes-unity-scaling-downscale-factor-0-25@pipe-d-edp-1:
- shard-tglb: NOTRUN -> [SKIP][62] ([i915#5235]) +7 similar issues
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-tglb5/igt@kms_plane_scaling@[email protected]

* igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-5@pipe-a-edp-1:
- shard-iclb: [PASS][63] -> [SKIP][64] ([i915#5235]) +2 similar issues
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12234/shard-iclb5/igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-5@pipe-a-edp-1.html
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-iclb2/igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-5@pipe-a-edp-1.html

* igt@kms_psr2_sf@overlay-plane-update-continuous-sf:
- shard-glk: NOTRUN -> [SKIP][65] ([fdo#109271] / [i915#658]) +1 similar issue
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-glk8/igt@[email protected]

* igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-big-fb:
- shard-apl: NOTRUN -> [SKIP][66] ([fdo#109271] / [i915#658]) +2 similar issues
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-apl2/igt@[email protected]

* igt@kms_psr2_su@page_flip-nv12:
- shard-tglb: NOTRUN -> [SKIP][67] ([i915#7037]) +1 similar issue
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-tglb5/igt@kms_psr2_su@page_flip-nv12.html
- shard-iclb: NOTRUN -> [SKIP][68] ([fdo#109642] / [fdo#111068] / [i915#658])
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-iclb7/igt@kms_psr2_su@page_flip-nv12.html

* igt@kms_psr@psr2_primary_blt:
- shard-iclb: [PASS][69] -> [SKIP][70] ([fdo#109441]) +1 similar issue
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12234/shard-iclb2/igt@kms_psr@psr2_primary_blt.html
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-iclb1/igt@kms_psr@psr2_primary_blt.html

* igt@kms_tv_load_detect@load-detect:
- shard-snb: NOTRUN -> [SKIP][71] ([fdo#109271]) +60 similar issues
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-snb5/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][72] ([fdo#109309])
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-tglb7/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][73] ([fdo#109309])
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-iclb5/igt@[email protected]

* igt@kms_writeback@writeback-check-output:
- shard-iclb: NOTRUN -> [SKIP][74] ([i915#2437])
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-iclb6/igt@[email protected]
- shard-apl: NOTRUN -> [SKIP][75] ([fdo#109271] / [i915#2437])
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-apl6/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][76] ([i915#2437])
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-tglb3/igt@[email protected]
- shard-glk: NOTRUN -> [SKIP][77] ([fdo#109271] / [i915#2437])
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-glk1/igt@[email protected]

* igt@perf@unprivileged-single-ctx-counters:
- shard-tglb: NOTRUN -> [SKIP][78] ([fdo#109289]) +1 similar issue
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-tglb3/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][79] ([fdo#109289])
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-iclb8/igt@[email protected]

#### Possible fixes ####

* igt@gem_exec_balancer@parallel-out-fence:
- shard-iclb: [SKIP][80] ([i915#4525]) -> [PASS][81] +2 similar issues
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12234/shard-iclb8/igt@[email protected]
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-iclb1/igt@[email protected]

* igt@gem_exec_fair@basic-none-vip@rcs0:
- shard-glk: [FAIL][82] ([i915#2842]) -> [PASS][83]
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12234/shard-glk7/igt@gem_exec_fair@[email protected]
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-glk5/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-pace-solo@rcs0:
- shard-apl: [FAIL][84] ([i915#2842]) -> [PASS][85]
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12234/shard-apl7/igt@gem_exec_fair@[email protected]
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-apl3/igt@gem_exec_fair@[email protected]

* igt@gem_huc_copy@huc-copy:
- shard-tglb: [SKIP][86] ([i915#2190]) -> [PASS][87]
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12234/shard-tglb7/igt@[email protected]
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-tglb2/igt@[email protected]

* igt@i915_suspend@forcewake:
- shard-apl: [DMESG-WARN][88] ([i915#180]) -> [PASS][89] +1 similar issue
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12234/shard-apl1/igt@[email protected]
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-apl3/igt@[email protected]

* igt@i915_suspend@sysfs-reader:
- shard-snb: [DMESG-WARN][90] ([i915#5090]) -> [PASS][91]
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12234/shard-snb4/igt@[email protected]
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-snb5/igt@[email protected]

* igt@kms_addfb_basic@legacy-format:
- shard-tglb: [INCOMPLETE][92] ([i915#6987]) -> [PASS][93]
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12234/shard-tglb5/igt@[email protected]
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-tglb7/igt@[email protected]

* igt@kms_big_fb@linear-16bpp-rotate-180:
- shard-glk: [DMESG-FAIL][94] ([i915#118] / [i915#1888]) -> [PASS][95]
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12234/shard-glk1/igt@[email protected]
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-glk3/igt@[email protected]

* igt@kms_cursor_legacy@flip-vs-cursor@atomic-transitions-varying-size:
- shard-glk: [FAIL][96] ([i915#2346]) -> [PASS][97]
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12234/shard-glk3/igt@kms_cursor_legacy@[email protected]
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-glk5/igt@kms_cursor_legacy@[email protected]

* igt@kms_flip@flip-vs-expired-vblank@b-hdmi-a1:
- shard-glk: [FAIL][98] ([i915#79]) -> [PASS][99]
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12234/shard-glk2/igt@kms_flip@[email protected]
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-glk1/igt@kms_flip@[email protected]

* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile-downscaling@pipe-a-default-mode:
- shard-iclb: [SKIP][100] ([i915#3555]) -> [PASS][101]
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12234/shard-iclb2/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile-downscaling@pipe-a-default-mode.html
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-iclb3/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile-downscaling@pipe-a-default-mode.html

* igt@kms_psr@psr2_no_drrs:
- shard-iclb: [SKIP][102] ([fdo#109441]) -> [PASS][103] +5 similar issues
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12234/shard-iclb3/igt@kms_psr@psr2_no_drrs.html
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-iclb2/igt@kms_psr@psr2_no_drrs.html

* igt@kms_psr_stress_test@invalidate-primary-flip-overlay:
- shard-tglb: [SKIP][104] ([i915#5519]) -> [PASS][105]
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12234/shard-tglb7/igt@[email protected]
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-tglb5/igt@[email protected]

* igt@kms_vblank@pipe-a-ts-continuation-idle:
- shard-snb: [SKIP][106] ([fdo#109271]) -> [PASS][107] +1 similar issue
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12234/shard-snb6/igt@[email protected]
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-snb7/igt@[email protected]

#### Warnings ####

* igt@i915_pm_dc@dc3co-vpb-simulation:
- shard-iclb: [SKIP][108] ([i915#588]) -> [SKIP][109] ([i915#658])
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12234/shard-iclb2/igt@[email protected]
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-iclb8/igt@[email protected]

* igt@kms_psr2_sf@cursor-plane-move-continuous-exceed-sf:
- shard-iclb: [SKIP][110] ([i915#658]) -> [SKIP][111] ([i915#2920])
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12234/shard-iclb3/igt@[email protected]
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-iclb2/igt@[email protected]

* igt@kms_psr2_sf@overlay-plane-update-continuous-sf:
- shard-iclb: [SKIP][112] ([fdo#111068] / [i915#658]) -> [SKIP][113] ([i915#2920])
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12234/shard-iclb7/igt@[email protected]
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-iclb2/igt@[email protected]

* igt@kms_psr2_sf@primary-plane-update-sf-dmg-area:
- shard-iclb: [SKIP][114] ([i915#2920]) -> [SKIP][115] ([fdo#111068] / [i915#658])
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12234/shard-iclb2/igt@[email protected]
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-iclb6/igt@[email protected]

* igt@runner@aborted:
- shard-apl: ([FAIL][116], [FAIL][117], [FAIL][118], [FAIL][119], [FAIL][120], [FAIL][121]) ([fdo#109271] / [i915#180] / [i915#3002] / [i915#4312]) -> ([FAIL][122], [FAIL][123], [FAIL][124], [FAIL][125]) ([i915#180] / [i915#3002] / [i915#4312])
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12234/shard-apl6/igt@[email protected]
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12234/shard-apl8/igt@[email protected]
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12234/shard-apl1/igt@[email protected]
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12234/shard-apl8/igt@[email protected]
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12234/shard-apl1/igt@[email protected]
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12234/shard-apl1/igt@[email protected]
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-apl7/igt@[email protected]
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-apl8/igt@[email protected]
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-apl1/igt@[email protected]
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/shard-apl6/igt@[email protected]

[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274
[fdo#109278]: https://bugs.freedesktop.org/show_bug.cgi?id=109278
[fdo#109279]: https://bugs.freedesktop.org/show_bug.cgi?id=109279
[fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
[fdo#109284]: https://bugs.freedesktop.org/show_bug.cgi?id=109284
[fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[fdo#109309]: https://bugs.freedesktop.org/show_bug.cgi?id=109309
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[fdo#111615]: https://bugs.freedesktop.org/show_bug.cgi?id=111615
[fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1099]: https://gitlab.freedesktop.org/drm/intel/issues/1099
[i915#118]: https://gitlab.freedesktop.org/drm/intel/issues/118
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#1888]: https://gitlab.freedesktop.org/drm/intel/issues/1888
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346
[i915#2411]: https://gitlab.freedesktop.org/drm/intel/issues/2411
[i915#2437]: https://gitlab.freedesktop.org/drm/intel/issues/2437
[i915#2587]: https://gitlab.freedesktop.org/drm/intel/issues/2587
[i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672
[i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
[i915#2846]: https://gitlab.freedesktop.org/drm/intel/issues/2846
[i915#2920]: https://gitlab.freedesktop.org/drm/intel/issues/2920
[i915#3002]: https://gitlab.freedesktop.org/drm/intel/issues/3002
[i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297
[i915#3359]: https://gitlab.freedesktop.org/drm/intel/issues/3359
[i915#3536]: https://gitlab.freedesktop.org/drm/intel/issues/3536
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
[i915#3689]: https://gitlab.freedesktop.org/drm/intel/issues/3689
[i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#4525]: https://gitlab.freedesktop.org/drm/intel/issues/4525
[i915#4573]: https://gitlab.freedesktop.org/drm/intel/issues/4573
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4765]: https://gitlab.freedesktop.org/drm/intel/issues/4765
[i915#5090]: https://gitlab.freedesktop.org/drm/intel/issues/5090
[i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235
[i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286
[i915#5325]: https://gitlab.freedesktop.org/drm/intel/issues/5325
[i915#5519]: https://gitlab.freedesktop.org/drm/intel/issues/5519
[i915#5566]: https://gitlab.freedesktop.org/drm/intel/issues/5566
[i915#588]: https://gitlab.freedesktop.org/drm/intel/issues/588
[i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
[i915#6497]: https://gitlab.freedesktop.org/drm/intel/issues/6497
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#6987]: https://gitlab.freedesktop.org/drm/intel/issues/6987
[i915#7037]: https://gitlab.freedesktop.org/drm/intel/issues/7037
[i915#7118]: https://gitlab.freedesktop.org/drm/intel/issues/7118
[i915#7121]: https://gitlab.freedesktop.org/drm/intel/issues/7121
[i915#716]: https://gitlab.freedesktop.org/drm/intel/issues/716
[i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79

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

* CI: CI-20190529 -> None
* IGT: IGT_7009 -> IGTPW_7944
* Piglit: piglit_4509 -> None

CI-20190529: 20190529
CI_DRM_12234: e4a9f2a2d42b1cce6015d4397360c63c01a8ed35 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_7944: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7944/index.html
IGT_7009: cf55acdeea3747c668074a8734029364960e5f5e @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit

== Logs ==

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

Reviewed-by on v1 1/1
#3 lore raw
In reply to Imre Deak

Look ok to me.

Quoted 102 lines · Imre Deak

When waiting for a modeset's new framebuffer the timeout for this FB's fence to signal is determined by the kernel's CONFIG_DRM_I915_FENCE_TIMEOUT which is 10 sec by default (and in the current CI kconfig). The GPU reset timeout in turn is determined by CONFIG_DRM_I915_HEARTBEAT_INTERVAL which is 2.5 sec by default (and in the current CI kconfig). By default a spinner batch - like the one created by test_atomic_commit_hang() - will cause a GPU reset that is 5 times the above heartbeat interval (the interval rounded to seconds first, that is 15 seconds atm).

Based on the above during extended-modeset-hang-newfb-with-reset the enabling modeset part for instance will cause a fence timeout before the presumed GPU hang would be detected, so the corresponding commit will complete without the expected GPU reset.

Note that extended-modeset-hang-oldfb-with-reset for instance is not affected by this problem, since waiting for the old framebuffer's fence to signal happens without a fence timeout (timing out instead at the GPU hang detect/reset).

Fix the above by reducing the heartbeat interval to 250 msec, corresponding to a ~1.3 sec GPU hang detection timeout. This also speeds up the GPU hang subtests.

Testcase: igt@kms_busy@extended-modeset-hang-newfb-with-reset

---
  tests/i915/kms_busy.c | 36 +++++++++++++++++++++++++++++++++++-
  1 file changed, 35 insertions(+), 1 deletion(-)
tests/i915/kms_busy.c +35 -1
index 99a07c2ae..9ef53f594 100644
@@ -312,6 +312,33 @@ static int opt_handler(int opt, int opt_index, void *data)
  	return IGT_OPT_HANDLER_SUCCESS;
  }
 
+static void gpu_engines_init_timeouts(int fd, int max_engines,
+				      int *num_engines, struct gem_engine_properties *props)
+{
+	const struct intel_execution_engine2 *e;
+
+	*num_engines = 0;
+	for_each_physical_engine(fd, e) {
+		igt_assert(*num_engines < max_engines);
+
+		props[*num_engines].engine = e;
+		props[*num_engines].preempt_timeout = 0;
+		props[*num_engines].heartbeat_interval = 250;
+
+		gem_engine_properties_configure(fd, &props[*num_engines]);
+
+		(*num_engines)++;
+	}
+}
+
+static void gpu_engines_restore_timeouts(int fd, int num_engines, const struct gem_engine_properties *props)
+{
+	int i;
+
+	for (i = 0; i < num_engines; i++)
+		gem_engine_properties_restore(fd, &props[i]);
+}
+
  const char *help_str =
  	"  -e \tRun on all pipes. (By default subtests will run on two pipes)\n";
 
@@ -335,11 +362,15 @@ igt_main_args("e", NULL, help_str, opt_handler, NULL)
  		{ "extended-modeset-hang-oldfb-with-reset", true, false, true },
  		{ "extended-modeset-hang-newfb-with-reset", true, true, true },
  	};
+	struct gem_engine_properties saved_gpu_timeouts[GEM_MAX_ENGINES];
+	int num_engines;
+	int fd;
 
  	igt_fixture {
-		int fd = drm_open_driver_master(DRIVER_INTEL);
  		enum pipe pipe;
 
+		fd = drm_open_driver_master(DRIVER_INTEL);
+
  		igt_require_gem(fd);
  		gem_require_mmap_device_coherent(fd);
  		igt_require(gem_has_ring(fd, I915_EXEC_DEFAULT));
@@ -352,6 +383,8 @@ igt_main_args("e", NULL, help_str, opt_handler, NULL)
  		for_each_pipe(&display, pipe)
  			active_pipes[last_pipe++] = pipe;
  		last_pipe--;
+
+		gpu_engines_init_timeouts(fd, ARRAY_SIZE(saved_gpu_timeouts), &num_engines, saved_gpu_timeouts);
  	}
 
  	/* XXX Extend to cover atomic rendering tests to all planes + legacy */
@@ -435,6 +468,7 @@ igt_main_args("e", NULL, help_str, opt_handler, NULL)
  	}
 
  	igt_fixture {
+		gpu_engines_restore_timeouts(fd, num_engines, saved_gpu_timeouts);
  		igt_display_fini(&display);
  	}
  }