Skip to contentSkip to conversation

tests: Add a new test to stress PSR

PATCH In review José Roberto de Souza 3 participants 5 messages Mar 24, 2022 – Mar 28, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests: Add a new test to stress PSR

This tests is intended to reproduce a issue found in real world but the software enviroment to reproduce it was not easy to duplicate, so this test was written to make it easy to reproduce it, debug and fix.

To make sure we don't regress it in the future here the test.

It mixes page flips and frontbuffer writes in primary and overlay planes and expects that PSR stays active after each subtest without any warnings or underruns.

---
 lib/igt_psr.c                    |  29 +++
 lib/igt_psr.h                    |   2 +
 tests/i915/kms_psr_stress_test.c | 377 +++++++++++++++++++++++++++++++
 tests/meson.build                |   1 +
 4 files changed, 409 insertions(+)
 create mode 100644 tests/i915/kms_psr_stress_test.c
lib/igt_psr.c +29 -0
index 2b73e80954..a2d8803126 100644
@@ -330,3 +330,32 @@ void i915_psr2_sel_fetch_restore(int drm_fd)
 	psr_set(drm_fd, debugfs_fd, PSR_MODE_2_SEL_FETCH);
 	close(debugfs_fd);
 }
+
+/**
+ * psr_get_mode
+ *
+ * Return the current PSR mode.
+ */
+enum psr_mode psr_get_mode(int debugfs_fd)
+{
+	char buf[PSR_STATUS_MAX_LEN];
+	int ret;
+
+
+	ret = igt_debugfs_simple_read(debugfs_fd, "i915_edp_psr_status", buf,
+				      sizeof(buf));
+	if (ret < 0) {
+		igt_info("Could not read i915_edp_psr_status: %s\n",
+			 strerror(-ret));
+		return PSR_DISABLED;
+	}
+
+	if (strstr(buf, "PSR2 selective fetch: enabled"))
+		return PSR_MODE_2_SEL_FETCH;
+	else if (strstr(buf, "PSR2 enabled"))
+		return PSR_MODE_2;
+	else if (strstr(buf, "PSR1 enabled"))
+		return PSR_MODE_1;
+
+	return PSR_DISABLED;
+}
lib/igt_psr.h +2 -0
index 76cd26c657..12ffc9d6cb 100644
@@ -34,6 +34,7 @@ enum psr_mode {
 	PSR_MODE_1,
 	PSR_MODE_2,
 	PSR_MODE_2_SEL_FETCH,
+	PSR_DISABLED,
 };
 
 bool psr_disabled_check(int debugfs_fd);
@@ -46,6 +47,7 @@ bool psr_disable(int device, int debugfs_fd);
 bool psr_sink_support(int device, int debugfs_fd, enum psr_mode mode);
 bool psr2_wait_su(int debugfs_fd, uint16_t *num_su_blocks);
 void psr_print_debugfs(int debugfs_fd);
+enum psr_mode psr_get_mode(int debugfs_fd);
 
 bool i915_psr2_selective_fetch_check(int drm_fd);
 
tests/i915/kms_psr_stress_test.c new file +377 -0

378 lines not on this page · raw message

tests/meson.build +1 -0
index 3af4576f4a..a152d2a052 100644
@@ -243,6 +243,7 @@ i915_progs = [
 	'kms_psr',
 	'kms_psr2_su',
 	'kms_psr2_sf',
+	'kms_psr_stress_test',
 	'kms_pwrite_crc',
 	'sysfs_clients',
 	'sysfs_defaults',
Signature · 1 line
2.35.1
#1 lore raw

[igt-dev] ✓ Fi.CI.BAT: success for tests: Add a new test to stress PSR

== Series Details ==

== Series Details ==

Series: tests: Add a new test to stress PSR
URL : https://patchwork.freedesktop.org/series/101754/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_11402 -> IGTPW_6826
====================================================

Summary
-------

**SUCCESS**

No regressions found.

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

Participating hosts (44 -> 40)
------------------------------

Additional (1): fi-hsw-4770
Missing (5): shard-tglu fi-bsw-cyan fi-pnv-d510 bat-jsl-2 fi-bdw-samus

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

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

### IGT changes ###

#### Suppressed ####

The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.

* igt@i915_selftest@live@workarounds:
- {bat-rpls-2}: [PASS][1] -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11402/bat-rpls-2/igt@i915_selftest@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/bat-rpls-2/igt@i915_selftest@[email protected]

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

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

### IGT changes ###

#### Issues hit ####

* igt@amdgpu/amd_basic@cs-gfx:
- fi-hsw-4770: NOTRUN -> [SKIP][3] ([fdo#109271] / [fdo#109315]) +17 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/fi-hsw-4770/igt@amdgpu/[email protected]

* igt@gem_huc_copy@huc-copy:
- fi-hsw-4770: NOTRUN -> [SKIP][4] ([fdo#109271]) +9 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/fi-hsw-4770/igt@[email protected]

* igt@i915_pm_backlight@basic-brightness:
- fi-hsw-4770: NOTRUN -> [SKIP][5] ([fdo#109271] / [i915#3012])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/fi-hsw-4770/igt@[email protected]

* igt@kms_chamelium@common-hpd-after-suspend:
- fi-hsw-4770: NOTRUN -> [SKIP][6] ([fdo#109271] / [fdo#111827]) +8 similar issues
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/fi-hsw-4770/igt@[email protected]

* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-d:
- fi-hsw-4770: NOTRUN -> [SKIP][7] ([fdo#109271] / [i915#533])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/fi-hsw-4770/igt@[email protected]

* igt@kms_psr@primary_mmap_gtt:
- fi-hsw-4770: NOTRUN -> [SKIP][8] ([fdo#109271] / [i915#1072]) +3 similar issues
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/fi-hsw-4770/igt@kms_psr@primary_mmap_gtt.html

#### Possible fixes ####

* igt@i915_pm_rpm@module-reload:
- {bat-adlp-6}: [DMESG-WARN][9] ([i915#3576]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11402/bat-adlp-6/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/bat-adlp-6/igt@[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#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1436]: https://gitlab.freedesktop.org/drm/intel/issues/1436
[i915#3012]: https://gitlab.freedesktop.org/drm/intel/issues/3012
[i915#3576]: https://gitlab.freedesktop.org/drm/intel/issues/3576
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#4391]: https://gitlab.freedesktop.org/drm/intel/issues/4391
[i915#4785]: https://gitlab.freedesktop.org/drm/intel/issues/4785
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
[i915#5339]: https://gitlab.freedesktop.org/drm/intel/issues/5339
[i915#5342]: https://gitlab.freedesktop.org/drm/intel/issues/5342

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

* CI: CI-20190529 -> None
* IGT: IGT_6392 -> IGTPW_6826

CI-20190529: 20190529
CI_DRM_11402: 07be21d8f94f3d18394522fe5d6c75a08036c3a6 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_6826: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/index.html
IGT_6392: 5a78ea9ff9c0a77bec5b094bf7e9d82c9848702b @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git

== Testlist changes ==

+igt@kms_psr_stress_test@flip-primary-invalidate-overlay +igt@kms_psr_stress_test@invalidate-primary-flip-overlay

== Logs ==

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

#2 lore raw

[igt-dev] ✓ Fi.CI.IGT: success for tests: Add a new test to stress PSR

In reply to José Roberto de Souza
== Series Details ==

== Series Details ==

Series: tests: Add a new test to stress PSR
URL : https://patchwork.freedesktop.org/series/101754/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_11402_full -> IGTPW_6826_full
====================================================

Summary
-------

**SUCCESS**

No regressions found.

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

Participating hosts (11 -> 7)
------------------------------

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

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

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

### IGT changes ###

#### Possible regressions ####

* {igt@kms_psr_stress_test@flip-primary-invalidate-overlay} (NEW):
- {shard-tglu}: NOTRUN -> [SKIP][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglu-4/igt@[email protected]

#### Suppressed ####

The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.

* igt@kms_plane_alpha_blend@pipe-a-coverage-7efc:
- {shard-tglu}: [PASS][2] -> [DMESG-WARN][3]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11402/shard-tglu-1/igt@[email protected]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglu-1/igt@[email protected]

New tests
---------

New tests have been introduced between CI_DRM_11402_full and IGTPW_6826_full:

### New IGT tests (2) ###

* igt@kms_psr_stress_test@flip-primary-invalidate-overlay:
- Statuses : 2 pass(s) 5 skip(s)
- Exec time: [0.0, 10.64] s

* igt@kms_psr_stress_test@invalidate-primary-flip-overlay:
- Statuses : 2 pass(s) 4 skip(s)
- Exec time: [0.0, 10.48] s

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

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

### IGT changes ###

#### Issues hit ####

* igt@feature_discovery@psr2:
- shard-iclb: NOTRUN -> [SKIP][4] ([i915#658])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb4/igt@[email protected]

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

* igt@gem_ctx_persistence@legacy-engines-queued:
- shard-snb: NOTRUN -> [SKIP][6] ([fdo#109271] / [i915#1099]) +2 similar issues
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-snb5/igt@[email protected]

* igt@gem_eio@kms:
- shard-tglb: [PASS][7] -> [TIMEOUT][8] ([i915#3063])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11402/shard-tglb6/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb1/igt@[email protected]

* igt@gem_exec_balancer@parallel:
- shard-kbl: NOTRUN -> [DMESG-WARN][9] ([i915#5076]) +2 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-kbl7/igt@[email protected]

* igt@gem_exec_balancer@parallel-bb-first:
- shard-iclb: NOTRUN -> [SKIP][10] ([i915#4525])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb6/igt@[email protected]

* igt@gem_exec_fair@basic-deadline:
- shard-kbl: [PASS][11] -> [FAIL][12] ([i915#2846])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11402/shard-kbl1/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-kbl7/igt@[email protected]

* igt@gem_exec_fair@basic-none-solo@rcs0:
- shard-iclb: NOTRUN -> [FAIL][13] ([i915#2842]) +1 similar issue
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb6/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-none-vip@rcs0:
- shard-tglb: NOTRUN -> [FAIL][14] ([i915#2842]) +1 similar issue
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb1/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-none@rcs0:
- shard-glk: [PASS][15] -> [FAIL][16] ([i915#2842])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11402/shard-glk5/igt@gem_exec_fair@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-glk9/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-none@vcs0:
- shard-kbl: [PASS][17] -> [FAIL][18] ([i915#2842]) +3 similar issues
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11402/shard-kbl6/igt@gem_exec_fair@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-kbl6/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-none@vecs0:
- shard-apl: [PASS][19] -> [FAIL][20] ([i915#2842])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11402/shard-apl4/igt@gem_exec_fair@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-apl8/igt@gem_exec_fair@[email protected]

* igt@gem_exec_params@secure-non-root:
- shard-tglb: NOTRUN -> [SKIP][21] ([fdo#112283])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb2/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][22] ([fdo#112283])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb4/igt@[email protected]

* igt@gem_lmem_swapping@basic:
- shard-iclb: NOTRUN -> [SKIP][23] ([i915#4613]) +2 similar issues
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb7/igt@[email protected]

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

* igt@gem_lmem_swapping@random:
- shard-apl: NOTRUN -> [SKIP][25] ([fdo#109271] / [i915#4613]) +1 similar issue
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-apl8/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][26] ([i915#4613]) +1 similar issue
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb7/igt@[email protected]
- shard-kbl: NOTRUN -> [SKIP][27] ([fdo#109271] / [i915#4613]) +1 similar issue
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-kbl6/igt@[email protected]

* igt@gem_pread@exhaustion:
- shard-tglb: NOTRUN -> [WARN][28] ([i915#2658])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb3/igt@[email protected]
- shard-glk: NOTRUN -> [WARN][29] ([i915#2658])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-glk5/igt@[email protected]
- shard-apl: NOTRUN -> [WARN][30] ([i915#2658])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-apl7/igt@[email protected]
- shard-kbl: NOTRUN -> [WARN][31] ([i915#2658])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-kbl1/igt@[email protected]

* igt@gem_pxp@create-protected-buffer:
- shard-iclb: NOTRUN -> [SKIP][32] ([i915#4270]) +2 similar issues
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb5/igt@[email protected]

* igt@gem_pxp@reject-modify-context-protection-on:
- shard-tglb: NOTRUN -> [SKIP][33] ([i915#4270]) +1 similar issue
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb2/igt@[email protected]

* igt@gem_render_copy@x-tiled-to-vebox-yf-tiled:
- shard-kbl: NOTRUN -> [SKIP][34] ([fdo#109271]) +252 similar issues
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-kbl4/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][35] ([i915#768]) +1 similar issue
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb4/igt@[email protected]

* igt@gem_userptr_blits@dmabuf-sync:
- shard-glk: NOTRUN -> [SKIP][36] ([fdo#109271] / [i915#3323])
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-glk2/igt@[email protected]

* igt@gem_userptr_blits@unsync-unmap-after-close:
- shard-tglb: NOTRUN -> [SKIP][37] ([i915#3297])
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb3/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][38] ([i915#3297])
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb1/igt@[email protected]

* igt@gen7_exec_parse@cmd-crossing-page:
- shard-tglb: NOTRUN -> [SKIP][39] ([fdo#109289]) +4 similar issues
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb1/igt@[email protected]

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

* igt@i915_pm_lpsp@screens-disabled:
- shard-tglb: NOTRUN -> [SKIP][42] ([i915#1902])
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb3/igt@[email protected]

* igt@i915_pm_rpm@dpms-non-lpsp:
- shard-tglb: NOTRUN -> [SKIP][43] ([fdo#111644] / [i915#1397] / [i915#2411])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb3/igt@[email protected]

* igt@i915_pm_rpm@gem-execbuf-stress-pc8:
- shard-iclb: NOTRUN -> [SKIP][44] ([fdo#109293] / [fdo#109506])
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb6/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][45] ([fdo#109506] / [i915#2411])
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb1/igt@[email protected]

* igt@i915_suspend@fence-restore-tiled2untiled:
- shard-apl: NOTRUN -> [DMESG-WARN][46] ([i915#180])
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-apl2/igt@[email protected]

* igt@kms_big_fb@4-tiled-64bpp-rotate-0:
- shard-iclb: NOTRUN -> [SKIP][47] ([i915#5286]) +5 similar issues
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb6/igt@[email protected]

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

* igt@kms_big_fb@linear-32bpp-rotate-180:
- shard-glk: NOTRUN -> [DMESG-WARN][49] ([i915#118])
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-glk7/igt@[email protected]

* igt@kms_big_fb@linear-8bpp-rotate-90:
- shard-tglb: NOTRUN -> [SKIP][50] ([fdo#111614])
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb5/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][51] ([fdo#110725] / [fdo#111614])
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb8/igt@[email protected]

* igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-0-hflip-async-flip:
- shard-kbl: NOTRUN -> [SKIP][52] ([fdo#109271] / [i915#3777])
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-kbl7/igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-0-hflip-async-flip.html
- shard-glk: NOTRUN -> [SKIP][53] ([fdo#109271] / [i915#3777])
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-glk7/igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-0-hflip-async-flip.html
- shard-apl: NOTRUN -> [SKIP][54] ([fdo#109271] / [i915#3777])
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-apl4/igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-0-hflip-async-flip.html

* igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-0-hflip:
- shard-tglb: NOTRUN -> [SKIP][55] ([fdo#111615]) +5 similar issues
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb1/igt@[email protected]

* igt@kms_big_joiner@invalid-modeset:
- shard-tglb: NOTRUN -> [SKIP][56] ([i915#2705])
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb2/igt@[email protected]

* igt@kms_ccs@pipe-a-crc-primary-rotation-180-y_tiled_gen12_rc_ccs_cc:
- shard-kbl: NOTRUN -> [SKIP][57] ([fdo#109271] / [i915#3886]) +9 similar issues
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-kbl4/igt@kms_ccs@pipe-a-crc-primary-rotation-180-y_tiled_gen12_rc_ccs_cc.html

* igt@kms_ccs@pipe-a-random-ccs-data-yf_tiled_ccs:
- shard-tglb: NOTRUN -> [SKIP][58] ([fdo#111615] / [i915#3689]) +5 similar issues
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb7/igt@kms_ccs@pipe-a-random-ccs-data-yf_tiled_ccs.html

* igt@kms_ccs@pipe-b-bad-rotation-90-y_tiled_ccs:
- shard-tglb: NOTRUN -> [SKIP][59] ([i915#3689]) +7 similar issues
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb3/igt@kms_ccs@pipe-b-bad-rotation-90-y_tiled_ccs.html

* igt@kms_ccs@pipe-b-crc-sprite-planes-basic-y_tiled_gen12_rc_ccs_cc:
- shard-glk: NOTRUN -> [SKIP][60] ([fdo#109271] / [i915#3886]) +4 similar issues
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-glk5/igt@kms_ccs@pipe-b-crc-sprite-planes-basic-y_tiled_gen12_rc_ccs_cc.html

* igt@kms_ccs@pipe-c-bad-rotation-90-y_tiled_gen12_mc_ccs:
- shard-apl: NOTRUN -> [SKIP][61] ([fdo#109271] / [i915#3886]) +7 similar issues
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-apl3/igt@kms_ccs@pipe-c-bad-rotation-90-y_tiled_gen12_mc_ccs.html
- shard-tglb: NOTRUN -> [SKIP][62] ([i915#3689] / [i915#3886]) +2 similar issues
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb1/igt@kms_ccs@pipe-c-bad-rotation-90-y_tiled_gen12_mc_ccs.html

* igt@kms_ccs@pipe-c-crc-sprite-planes-basic-y_tiled_gen12_rc_ccs_cc:
- shard-iclb: NOTRUN -> [SKIP][63] ([fdo#109278] / [i915#3886]) +5 similar issues
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb4/igt@kms_ccs@pipe-c-crc-sprite-planes-basic-y_tiled_gen12_rc_ccs_cc.html

* igt@kms_chamelium@dp-hpd-storm-disable:
- shard-glk: NOTRUN -> [SKIP][64] ([fdo#109271] / [fdo#111827]) +9 similar issues
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-glk8/igt@[email protected]

* igt@kms_chamelium@vga-hpd-without-ddc:
- shard-kbl: NOTRUN -> [SKIP][65] ([fdo#109271] / [fdo#111827]) +15 similar issues
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-kbl6/igt@[email protected]

* igt@kms_color@pipe-d-ctm-0-75:
- shard-iclb: NOTRUN -> [SKIP][66] ([fdo#109278] / [i915#1149])
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb7/igt@[email protected]

* igt@kms_color_chamelium@pipe-b-ctm-limited-range:
- shard-tglb: NOTRUN -> [SKIP][67] ([fdo#109284] / [fdo#111827]) +13 similar issues
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb6/igt@[email protected]

* igt@kms_color_chamelium@pipe-b-ctm-negative:
- shard-snb: NOTRUN -> [SKIP][68] ([fdo#109271] / [fdo#111827]) +7 similar issues
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-snb4/igt@[email protected]

* igt@kms_color_chamelium@pipe-b-ctm-red-to-blue:
- shard-iclb: NOTRUN -> [SKIP][69] ([fdo#109284] / [fdo#111827]) +10 similar issues
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb2/igt@[email protected]

* igt@kms_color_chamelium@pipe-b-gamma:
- shard-apl: NOTRUN -> [SKIP][70] ([fdo#109271] / [fdo#111827]) +10 similar issues
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-apl7/igt@[email protected]

* igt@kms_content_protection@legacy:
- shard-iclb: NOTRUN -> [SKIP][71] ([fdo#109300] / [fdo#111066]) +2 similar issues
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb1/igt@[email protected]
- shard-kbl: NOTRUN -> [TIMEOUT][72] ([i915#1319])
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-kbl3/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][73] ([i915#1063]) +3 similar issues
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb3/igt@[email protected]

* igt@kms_content_protection@srm:
- shard-apl: NOTRUN -> [TIMEOUT][74] ([i915#1319])
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-apl2/igt@[email protected]

* igt@kms_content_protection@uevent:
- shard-kbl: NOTRUN -> [FAIL][75] ([i915#2105])
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-kbl3/igt@[email protected]

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

* igt@kms_cursor_crc@pipe-b-cursor-32x32-rapid-movement:
- shard-tglb: NOTRUN -> [SKIP][77] ([i915#3319]) +2 similar issues
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb2/igt@[email protected]

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

* igt@kms_cursor_crc@pipe-d-cursor-max-size-rapid-movement:
- shard-tglb: NOTRUN -> [SKIP][79] ([i915#3359]) +10 similar issues
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb7/igt@[email protected]

* igt@kms_cursor_edge_walk@pipe-d-128x128-top-edge:
- shard-iclb: NOTRUN -> [SKIP][80] ([fdo#109278]) +43 similar issues
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb4/igt@[email protected]

* igt@kms_cursor_legacy@2x-long-flip-vs-cursor-legacy:
- shard-iclb: NOTRUN -> [SKIP][81] ([fdo#109274] / [fdo#109278]) +3 similar issues
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb5/igt@[email protected]

* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-varying-size:
- shard-tglb: NOTRUN -> [SKIP][82] ([i915#4103])
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb3/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-varying-size.html

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

* igt@kms_draw_crc@draw-method-rgb565-pwrite-4tiled:
- shard-tglb: NOTRUN -> [SKIP][84] ([i915#5287]) +3 similar issues
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb7/igt@[email protected]

* igt@kms_draw_crc@draw-method-rgb565-render-4tiled:
- shard-iclb: NOTRUN -> [SKIP][85] ([i915#5287]) +2 similar issues
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb8/igt@[email protected]

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

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

* igt@kms_flip@flip-vs-suspend-interruptible@c-dp1:
- shard-apl: [PASS][88] -> [DMESG-WARN][89] ([i915#180]) +2 similar issues
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11402/shard-apl2/igt@kms_flip@[email protected]
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-apl7/igt@kms_flip@[email protected]

* igt@kms_flip@plain-flip-fb-recreate@a-dp1:
- shard-kbl: [PASS][90] -> [FAIL][91] ([i915#2122])
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11402/shard-kbl6/igt@kms_flip@[email protected]
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-kbl4/igt@kms_flip@[email protected]

* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytileccs-upscaling:
- shard-glk: NOTRUN -> [FAIL][92] ([i915#4911])
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-glk8/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytileccs-upscaling.html
- shard-tglb: NOTRUN -> [SKIP][93] ([i915#2587])
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb1/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytileccs-upscaling.html

* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling:
- shard-iclb: NOTRUN -> [SKIP][94] ([i915#2587])
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb8/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling.html

* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-draw-render:
- shard-snb: NOTRUN -> [SKIP][95] ([fdo#109271]) +178 similar issues
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-snb2/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-draw-render.html

* igt@kms_frontbuffer_tracking@fbcpsr-1p-offscren-pri-indfb-draw-mmap-wc:
- shard-glk: NOTRUN -> [SKIP][96] ([fdo#109271]) +103 similar issues
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-glk7/igt@kms_frontbuffer_tracking@fbcpsr-1p-offscren-pri-indfb-draw-mmap-wc.html

* igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-cur-indfb-draw-mmap-gtt:
- shard-tglb: NOTRUN -> [SKIP][97] ([fdo#109280] / [fdo#111825]) +34 similar issues
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb2/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-cur-indfb-draw-mmap-gtt.html

* igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-shrfb-pgflip-blt:
- shard-iclb: NOTRUN -> [SKIP][98] ([fdo#109280]) +23 similar issues
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb1/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-shrfb-pgflip-blt.html

* igt@kms_pipe_crc_basic@nonblocking-crc-pipe-d-frame-sequence:
- shard-kbl: NOTRUN -> [SKIP][99] ([fdo#109271] / [i915#533]) +2 similar issues
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-kbl3/igt@[email protected]

* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c:
- shard-kbl: NOTRUN -> [DMESG-WARN][100] ([i915#180]) +1 similar issue
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-kbl4/igt@[email protected]

* igt@kms_plane_alpha_blend@pipe-a-alpha-transparent-fb:
- shard-glk: NOTRUN -> [FAIL][101] ([i915#265])
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-glk2/igt@[email protected]

* igt@kms_plane_lowres@pipe-b-tiling-4:
- shard-tglb: NOTRUN -> [SKIP][102] ([i915#5288]) +1 similar issue
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb5/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][103] ([i915#5288])
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb8/igt@[email protected]

* igt@kms_plane_lowres@pipe-d-tiling-none:
- shard-tglb: NOTRUN -> [SKIP][104] ([i915#3536])
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb1/igt@[email protected]

* igt@kms_plane_scaling@downscale-with-pixel-format-factor-0-5@pipe-c-edp-1-downscale-with-pixel-format:
- shard-iclb: NOTRUN -> [SKIP][105] ([i915#5176]) +2 similar issues
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb2/igt@kms_plane_scaling@downscale-with-pixel-format-factor-0-5@pipe-c-edp-1-downscale-with-pixel-format.html

* igt@kms_plane_scaling@planes-unity-scaling-downscale-factor-0-5@pipe-a-edp-1-planes-upscale-downscale:
- shard-iclb: [PASS][106] -> [SKIP][107] ([i915#5235]) +2 similar issues
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11402/shard-iclb7/igt@kms_plane_scaling@planes-unity-scaling-downscale-factor-0-5@pipe-a-edp-1-planes-upscale-downscale.html
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb2/igt@kms_plane_scaling@planes-unity-scaling-downscale-factor-0-5@pipe-a-edp-1-planes-upscale-downscale.html

* igt@kms_plane_scaling@planes-upscale-20x20-downscale-factor-0-25@pipe-a-edp-1-planes-upscale-downscale:
- shard-iclb: NOTRUN -> [SKIP][108] ([i915#5235]) +2 similar issues
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb4/igt@kms_plane_scaling@planes-upscale-20x20-downscale-factor-0-25@pipe-a-edp-1-planes-upscale-downscale.html

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

* igt@kms_plane_scaling@upscale-with-rotation-factor-0-25@pipe-d-edp-1-upscale-with-rotation:
- shard-tglb: NOTRUN -> [SKIP][110] ([i915#5176]) +7 similar issues
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb6/igt@kms_plane_scaling@upscale-with-rotation-factor-0-25@pipe-d-edp-1-upscale-with-rotation.html

* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area:
- shard-kbl: NOTRUN -> [SKIP][111] ([fdo#109271] / [i915#658]) +3 similar issues
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-kbl1/igt@[email protected]

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

* igt@kms_psr2_sf@plane-move-sf-dmg-area:
- shard-iclb: NOTRUN -> [SKIP][114] ([fdo#111068] / [i915#658])
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb8/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][115] ([i915#2920]) +1 similar issue
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb5/igt@[email protected]
- shard-glk: NOTRUN -> [SKIP][116] ([fdo#109271] / [i915#658]) +1 similar issue
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-glk5/igt@[email protected]

* igt@kms_psr2_su@page_flip-nv12:
- shard-tglb: NOTRUN -> [SKIP][117] ([i915#1911])
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb3/igt@kms_psr2_su@page_flip-nv12.html
- shard-iclb: NOTRUN -> [SKIP][118] ([fdo#109642] / [fdo#111068] / [i915#658])
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb5/igt@kms_psr2_su@page_flip-nv12.html

* igt@kms_psr@psr2_cursor_plane_onoff:
- shard-tglb: NOTRUN -> [FAIL][119] ([i915#132] / [i915#3467]) +4 similar issues
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb3/igt@kms_psr@psr2_cursor_plane_onoff.html
- shard-iclb: NOTRUN -> [SKIP][120] ([fdo#109441]) +3 similar issues
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb7/igt@kms_psr@psr2_cursor_plane_onoff.html

* igt@kms_setmode@clone-exclusive-crtc:
- shard-tglb: NOTRUN -> [SKIP][121] ([i915#3555]) +2 similar issues
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb1/igt@[email protected]

* igt@kms_setmode@invalid-clone-single-crtc-stealing:
- shard-iclb: NOTRUN -> [SKIP][122] ([i915#3555]) +2 similar issues
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb2/igt

== Logs ==

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

#3 lore raw

Re: [igt-dev] ✓ Fi.CI.IGT: success for tests: Add a new test to stress PSR

On Thu, 2022-03-24 at 21:06 +0000, Patchwork wrote:
Patch Details

Series: tests: Add a new test to stress PSR
URL:    https://patchwork.freedesktop.org/series/101754/
State:  success
Details:        https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/index.html

CI Bug Log - changes from CI_DRM_11402_full -> IGTPW_6826_full Summary

SUCCESS

No regressions found.

Thanks for the review Jouni.

Patch pushed.

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

Participating hosts (11 -> 7)

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

Possible new issues

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

IGT changes
Possible regressions

* {igt@kms_psr_stress_test@flip-primary-invalidate-overlay} (NEW):
* {shard-tglu}: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglu-4/igt@[email protected]>

Suppressed

The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.

* igt@kms_plane_alpha_blend@pipe-a-coverage-7efc:
* {shard-tglu}: PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11402/shard-tglu-1/igt@[email protected]> -> DMESG-WARN<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglu-1/igt@[email protected]>

New tests

New tests have been introduced between CI_DRM_11402_full and IGTPW_6826_full:

New IGT tests (2)

* igt@kms_psr_stress_test@flip-primary-invalidate-overlay:

* Statuses : 2 pass(s) 5 skip(s)
* Exec time: [0.0, 10.64] s
* igt@kms_psr_stress_test@invalidate-primary-flip-overlay:

* Statuses : 2 pass(s) 4 skip(s)
* Exec time: [0.0, 10.48] s

Known issues

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

IGT changes
Issues hit

* igt@feature_discovery@psr2:

* shard-iclb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb4/igt@[email protected]> ([i915#658])
* igt@gem_ccs@block-copy-compressed:

* shard-tglb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb5/igt@[email protected]> ([i915#3555] / [i915#5325])
* igt@gem_ctx_persistence@legacy-engines-queued:

* shard-snb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-snb5/igt@[email protected]> ([fdo#109271] / [i915#1099]) +2 similar issues
* igt@gem_eio@kms:

* shard-tglb: PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11402/shard-tglb6/igt@[email protected]> -> TIMEOUT<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb1/igt@[email protected]> ([i915#3063])
* igt@gem_exec_balancer@parallel:

* shard-kbl: NOTRUN -> DMESG-WARN<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-kbl7/igt@[email protected]> ([i915#5076]) +2 similar issues
* igt@gem_exec_balancer@parallel-bb-first:

* shard-iclb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb6/igt@[email protected]> ([i915#4525])
* igt@gem_exec_fair@basic-deadline:

* shard-kbl: PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11402/shard-kbl1/igt@[email protected]> -> FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-kbl7/igt@[email protected]> ([i915#2846])
* igt@gem_exec_fair@basic-none-solo@rcs0:

* shard-iclb: NOTRUN -> FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb6/igt@gem_exec_fair@[email protected]> ([i915#2842]) +1 similar issue
* igt@gem_exec_fair@basic-none-vip@rcs0:

* shard-tglb: NOTRUN -> FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb1/igt@gem_exec_fair@[email protected]> ([i915#2842]) +1 similar issue
* igt@gem_exec_fair@basic-none@rcs0:

* shard-glk: PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11402/shard-glk5/igt@gem_exec_fair@[email protected]> -> FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-glk9/igt@gem_exec_fair@[email protected]> ([i915#2842])
* igt@gem_exec_fair@basic-none@vcs0:

* shard-kbl: PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11402/shard-kbl6/igt@gem_exec_fair@[email protected]> -> FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-kbl6/igt@gem_exec_fair@[email protected]> ([i915#2842]) +3 similar issues
* igt@gem_exec_fair@basic-none@vecs0:

* shard-apl: PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11402/shard-apl4/igt@gem_exec_fair@[email protected]> -> FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-apl8/igt@gem_exec_fair@[email protected]> ([i915#2842])
* igt@gem_exec_params@secure-non-root:

* shard-tglb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb2/igt@[email protected]> ([fdo#112283])

* shard-iclb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb4/igt@[email protected]> ([fdo#112283])

* igt@gem_lmem_swapping@basic:

* shard-iclb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb7/igt@[email protected]> ([i915#4613]) +2 similar issues
* igt@gem_lmem_swapping@heavy-verify-random:

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

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

* shard-tglb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb7/igt@[email protected]> ([i915#4613]) +1 similar issue

* shard-kbl: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-kbl6/igt@[email protected]> ([fdo#109271] / [i915#4613]) +1 similar issue

* igt@gem_pread@exhaustion:

* shard-tglb: NOTRUN -> WARN<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb3/igt@[email protected]> ([i915#2658])

* shard-glk: NOTRUN -> WARN<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-glk5/igt@[email protected]> ([i915#2658])

* shard-apl: NOTRUN -> WARN<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-apl7/igt@[email protected]> ([i915#2658])

* shard-kbl: NOTRUN -> WARN<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-kbl1/igt@[email protected]> ([i915#2658])

* igt@gem_pxp@create-protected-buffer:

* shard-iclb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb5/igt@[email protected]> ([i915#4270]) +2 similar issues
* igt@gem_pxp@reject-modify-context-protection-on:

* shard-tglb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb2/igt@[email protected]> ([i915#4270]) +1 similar issue
* igt@gem_render_copy@x-tiled-to-vebox-yf-tiled:

* shard-kbl: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-kbl4/igt@[email protected]> ([fdo#109271]) +252 similar issues

* shard-iclb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb4/igt@[email protected]> ([i915#768]) +1 similar issue

* igt@gem_userptr_blits@dmabuf-sync:

* shard-glk: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-glk2/igt@[email protected]> ([fdo#109271] / [i915#3323])
* igt@gem_userptr_blits@unsync-unmap-after-close:

* shard-tglb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb3/igt@[email protected]> ([i915#3297])

* shard-iclb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb1/igt@[email protected]> ([i915#3297])

* igt@gen7_exec_parse@cmd-crossing-page:

* shard-tglb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb1/igt@[email protected]> ([fdo#109289]) +4 similar issues
* igt@gen9_exec_parse@bb-start-out:

* shard-tglb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb2/igt@[email protected]> ([i915#2527] / [i915#2856]) +1 similar issue

* shard-iclb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb4/igt@[email protected]> ([i915#2856]) +1 similar issue

* igt@i915_pm_lpsp@screens-disabled:

* shard-tglb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb3/igt@[email protected]> ([i915#1902])
* igt@i915_pm_rpm@dpms-non-lpsp:

* shard-tglb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb3/igt@[email protected]> ([fdo#111644] / [i915#1397] / [i915#2411])
* igt@i915_pm_rpm@gem-execbuf-stress-pc8:

* shard-iclb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb6/igt@[email protected]> ([fdo#109293] / [fdo#109506])

* shard-tglb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb1/igt@[email protected]> ([fdo#109506] / [i915#2411])

* igt@i915_suspend@fence-restore-tiled2untiled:

* shard-apl: NOTRUN -> DMESG-WARN<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-apl2/igt@[email protected]> ([i915#180])
* igt@kms_big_fb@4-tiled-64bpp-rotate-0:

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

* shard-tglb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb2/igt@[email protected]> ([i915#5286]) +8 similar issues
* igt@kms_big_fb@linear-32bpp-rotate-180:

* shard-glk: NOTRUN -> DMESG-WARN<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-glk7/igt@[email protected]> ([i915#118])
* igt@kms_big_fb@linear-8bpp-rotate-90:

* shard-tglb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb5/igt@[email protected]> ([fdo#111614])

* shard-iclb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb8/igt@[email protected]> ([fdo#110725] / [fdo#111614])

* igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-0-hflip-async-flip:

* shard-kbl: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-kbl7/igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-0-hflip-async-flip.html> ([fdo#109271] / [i915#3777])

* shard-glk: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-glk7/igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-0-hflip-async-flip.html> ([fdo#109271] / [i915#3777])

* shard-apl: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-apl4/igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-0-hflip-async-flip.html> ([fdo#109271] / [i915#3777])

* igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-0-hflip:

* shard-tglb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb1/igt@[email protected]> ([fdo#111615]) +5 similar issues
* igt@kms_big_joiner@invalid-modeset:

* shard-tglb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb2/igt@[email protected]> ([i915#2705])
* igt@kms_ccs@pipe-a-crc-primary-rotation-180-y_tiled_gen12_rc_ccs_cc:

* shard-kbl: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-kbl4/igt@kms_ccs@pipe-a-crc-primary-rotation-180-y_tiled_gen12_rc_ccs_cc.html> ([fdo#109271] / [i915#3886]) +9 similar issues
* igt@kms_ccs@pipe-a-random-ccs-data-yf_tiled_ccs:

* shard-tglb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb7/igt@kms_ccs@pipe-a-random-ccs-data-yf_tiled_ccs.html> ([fdo#111615] / [i915#3689]) +5 similar issues
* igt@kms_ccs@pipe-b-bad-rotation-90-y_tiled_ccs:

* shard-tglb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb3/igt@kms_ccs@pipe-b-bad-rotation-90-y_tiled_ccs.html> ([i915#3689]) +7 similar issues
* igt@kms_ccs@pipe-b-crc-sprite-planes-basic-y_tiled_gen12_rc_ccs_cc:

* shard-glk: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-glk5/igt@kms_ccs@pipe-b-crc-sprite-planes-basic-y_tiled_gen12_rc_ccs_cc.html> ([fdo#109271] / [i915#3886]) +4 similar issues
* igt@kms_ccs@pipe-c-bad-rotation-90-y_tiled_gen12_mc_ccs:

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

* shard-tglb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb1/igt@kms_ccs@pipe-c-bad-rotation-90-y_tiled_gen12_mc_ccs.html> ([i915#3689] / [i915#3886]) +2 similar issues

* igt@kms_ccs@pipe-c-crc-sprite-planes-basic-y_tiled_gen12_rc_ccs_cc:

* shard-iclb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb4/igt@kms_ccs@pipe-c-crc-sprite-planes-basic-y_tiled_gen12_rc_ccs_cc.html> ([fdo#109278] / [i915#3886]) +5 similar issues
* igt@kms_chamelium@dp-hpd-storm-disable:

* shard-glk: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-glk8/igt@[email protected]> ([fdo#109271] / [fdo#111827]) +9 similar issues
* igt@kms_chamelium@vga-hpd-without-ddc:

* shard-kbl: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-kbl6/igt@[email protected]> ([fdo#109271] / [fdo#111827]) +15 similar issues
* igt@kms_color@pipe-d-ctm-0-75:

* shard-iclb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb7/igt@[email protected]> ([fdo#109278] / [i915#1149])
* igt@kms_color_chamelium@pipe-b-ctm-limited-range:

* shard-tglb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb6/igt@[email protected]> ([fdo#109284] / [fdo#111827]) +13 similar issues
* igt@kms_color_chamelium@pipe-b-ctm-negative:

* shard-snb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-snb4/igt@[email protected]> ([fdo#109271] / [fdo#111827]) +7 similar issues
* igt@kms_color_chamelium@pipe-b-ctm-red-to-blue:

* shard-iclb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb2/igt@[email protected]> ([fdo#109284] / [fdo#111827]) +10 similar issues
* igt@kms_color_chamelium@pipe-b-gamma:

* shard-apl: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-apl7/igt@[email protected]> ([fdo#109271] / [fdo#111827]) +10 similar issues
* igt@kms_content_protection@legacy:

* shard-iclb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb1/igt@[email protected]> ([fdo#109300] / [fdo#111066]) +2 similar issues

* shard-kbl: NOTRUN -> TIMEOUT<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-kbl3/igt@[email protected]> ([i915#1319])

* shard-tglb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb3/igt@[email protected]> ([i915#1063]) +3 similar issues

* igt@kms_content_protection@srm:

* shard-apl: NOTRUN -> TIMEOUT<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-apl2/igt@[email protected]> ([i915#1319])
* igt@kms_content_protection@uevent:

* shard-kbl: NOTRUN -> FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-kbl3/igt@[email protected]> ([i915#2105])
* igt@kms_cursor_crc@pipe-a-cursor-512x170-offscreen:

* shard-iclb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb8/igt@[email protected]> ([fdo#109278] / [fdo#109279]) +2 similar issues
* igt@kms_cursor_crc@pipe-b-cursor-32x32-rapid-movement:

* shard-tglb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb2/igt@[email protected]> ([i915#3319]) +2 similar issues
* igt@kms_cursor_crc@pipe-d-cursor-512x512-offscreen:

* shard-tglb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb5/igt@[email protected]> ([fdo#109279] / [i915#3359]) +9 similar issues
* igt@kms_cursor_crc@pipe-d-cursor-max-size-rapid-movement:

* shard-tglb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb7/igt@[email protected]> ([i915#3359]) +10 similar issues
* igt@kms_cursor_edge_walk@pipe-d-128x128-top-edge:

* shard-iclb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb4/igt@[email protected]> ([fdo#109278]) +43 similar issues
* igt@kms_cursor_legacy@2x-long-flip-vs-cursor-legacy:

* shard-iclb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb5/igt@[email protected]> ([fdo#109274] / [fdo#109278]) +3 similar issues
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-varying-size:

* shard-tglb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb3/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-varying-size.html> ([i915#4103])
* igt@kms_cursor_legacy@pipe-d-torture-bo:

* shard-apl: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-apl3/igt@[email protected]> ([fdo#109271] / [i915#533]) +2 similar issues
* igt@kms_draw_crc@draw-method-rgb565-pwrite-4tiled:

* shard-tglb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb7/igt@[email protected]> ([i915#5287]) +3 similar issues
* igt@kms_draw_crc@draw-method-rgb565-render-4tiled:

* shard-iclb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb8/igt@[email protected]> ([i915#5287]) +2 similar issues
* igt@kms_flip@2x-flip-vs-absolute-wf_vblank:

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

* shard-iclb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb6/igt@[email protected]> ([fdo#109274]) +2 similar issues
* igt@kms_flip@flip-vs-suspend-interruptible@c-dp1:

* shard-apl: PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11402/shard-apl2/igt@kms_flip@[email protected]> -> DMESG-WARN<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-apl7/igt@kms_flip@[email protected]> ([i915#180]) +2 similar issues
* igt@kms_flip@plain-flip-fb-recreate@a-dp1:

* shard-kbl: PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11402/shard-kbl6/igt@kms_flip@[email protected]> -> FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-kbl4/igt@kms_flip@[email protected]> ([i915#2122])
* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytileccs-upscaling:

* shard-glk: NOTRUN -> FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-glk8/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytileccs-upscaling.html> ([i915#4911])

* shard-tglb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb1/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytileccs-upscaling.html> ([i915#2587])

* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling:

* shard-iclb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb8/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling.html> ([i915#2587])
* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-draw-render:

* shard-snb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-snb2/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-draw-render.html> ([fdo#109271]) +178 similar issues
* igt@kms_frontbuffer_tracking@fbcpsr-1p-offscren-pri-indfb-draw-mmap-wc:

* shard-glk: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-glk7/igt@kms_frontbuffer_tracking@fbcpsr-1p-offscren-pri-indfb-draw-mmap-wc.html> ([fdo#109271]) +103 similar issues
* igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-cur-indfb-draw-mmap-gtt:

* shard-tglb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb2/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-cur-indfb-draw-mmap-gtt.html> ([fdo#109280] / [fdo#111825]) +34 similar issues
* igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-shrfb-pgflip-blt:

* shard-iclb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb1/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-shrfb-pgflip-blt.html> ([fdo#109280]) +23 similar issues
* igt@kms_pipe_crc_basic@nonblocking-crc-pipe-d-frame-sequence:

* shard-kbl: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-kbl3/igt@[email protected]> ([fdo#109271] / [i915#533]) +2 similar issues
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c:

* shard-kbl: NOTRUN -> DMESG-WARN<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-kbl4/igt@[email protected]> ([i915#180]) +1 similar issue
* igt@kms_plane_alpha_blend@pipe-a-alpha-transparent-fb:

* shard-glk: NOTRUN -> FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-glk2/igt@[email protected]> ([i915#265])
* igt@kms_plane_lowres@pipe-b-tiling-4:

* shard-tglb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb5/igt@[email protected]> ([i915#5288]) +1 similar issue

* shard-iclb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb8/igt@[email protected]> ([i915#5288])

* igt@kms_plane_lowres@pipe-d-tiling-none:

* shard-tglb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb1/igt@[email protected]> ([i915#3536])
* igt@kms_plane_scaling@downscale-with-pixel-format-factor-0-5@pipe-c-edp-1-downscale-with-pixel-format:

* shard-iclb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb2/igt@kms_plane_scaling@downscale-with-pixel-format-factor-0-5@pipe-c-edp-1-downscale-with-pixel-format.html> ([i915#5176]) +2 similar issues
* igt@kms_plane_scaling@planes-unity-scaling-downscale-factor-0-5@pipe-a-edp-1-planes-upscale-downscale:

* shard-iclb: PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11402/shard-iclb7/igt@kms_plane_scaling@planes-unity-scaling-downscale-factor-0-5@pipe-a-edp-1-planes-upscale-downscale.html> -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb2/igt@kms_plane_scaling@planes-unity-scaling-downscale-factor-0-5@pipe-a-edp-1-planes-upscale-downscale.html> ([i915#5235]) +2 similar issues
* igt@kms_plane_scaling@planes-upscale-20x20-downscale-factor-0-25@pipe-a-edp-1-planes-upscale-downscale:

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

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

* shard-tglb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb6/igt@kms_plane_scaling@upscale-with-rotation-factor-0-25@pipe-d-edp-1-upscale-with-rotation.html> ([i915#5176]) +7 similar issues
* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area:

* shard-kbl: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-kbl1/igt@[email protected]> ([fdo#109271] / [i915#658]) +3 similar issues
* igt@kms_psr2_sf@overlay-primary-update-sf-dmg-area:

* shard-apl: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-apl2/igt@[email protected]> ([fdo#109271] / [i915#658]) +2 similar issues

* shard-iclb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb2/igt@[email protected]> ([i915#2920])

* igt@kms_psr2_sf@plane-move-sf-dmg-area:

* shard-iclb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb8/igt@[email protected]> ([fdo#111068] / [i915#658])

* shard-tglb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb5/igt@[email protected]> ([i915#2920]) +1 similar issue

* shard-glk: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-glk5/igt@[email protected]> ([fdo#109271] / [i915#658]) +1 similar issue

* igt@kms_psr2_su@page_flip-nv12:

* shard-tglb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb3/igt@kms_psr2_su@page_flip-nv12.html> ([i915#1911])

* shard-iclb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb5/igt@kms_psr2_su@page_flip-nv12.html> ([fdo#109642] / [fdo#111068] / [i915#658])

* igt@kms_psr@psr2_cursor_plane_onoff:

* shard-tglb: NOTRUN -> FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb3/igt@kms_psr@psr2_cursor_plane_onoff.html> ([i915#132] / [i915#3467]) +4 similar issues

* shard-iclb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb7/igt@kms_psr@psr2_cursor_plane_onoff.html> ([fdo#109441]) +3 similar issues

* igt@kms_setmode@clone-exclusive-crtc:

* shard-tglb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-tglb1/igt@[email protected]> ([i915#3555]) +2 similar issues
* igt@kms_setmode@invalid-clone-single-crtc-stealing:

* shard-iclb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6826/shard-iclb2/igt> ([i915#3555]) +2 similar issues

Reviewed-by on v1 1/1
#4 lore raw
In reply to José Roberto de Souza
Quoted 9 lines · José Roberto de Souza

This tests is intended to reproduce a issue found in real world but the software enviroment to reproduce it was not easy to duplicate, so this test was written to make it easy to reproduce it, debug and fix.

To make sure we don't regress it in the future here the test.

It mixes page flips and frontbuffer writes in primary and overlay planes and expects that PSR stays active after each subtest without any warnings or underruns.

Quoted 503 lines
---
 lib/igt_psr.c                    |  29 +++
 lib/igt_psr.h                    |   2 +
 tests/i915/kms_psr_stress_test.c | 377
+++++++++++++++++++++++++++++++
 tests/meson.build                |   1 +
 4 files changed, 409 insertions(+)
 create mode 100644 tests/i915/kms_psr_stress_test.c
lib/igt_psr.c +13 -0
index 2b73e80954..a2d8803126 100644
@@ -330,3 +330,32 @@ void i915_psr2_sel_fetch_restore(int drm_fd)
 	psr_set(drm_fd, debugfs_fd, PSR_MODE_2_SEL_FETCH);
 	close(debugfs_fd);
 }
+
+/**
+ * psr_get_mode
+ *
+ * Return the current PSR mode.
+ */
+enum psr_mode psr_get_mode(int debugfs_fd)
+{
+	char buf[PSR_STATUS_MAX_LEN];
+	int ret;
+
+
+	ret = igt_debugfs_simple_read(debugfs_fd,

"i915_edp_psr_status", buf,

lib/igt_psr.c +16 -0
+				      sizeof(buf));
+	if (ret < 0) {
+		igt_info("Could not read i915_edp_psr_status: %s\n",
+			 strerror(-ret));
+		return PSR_DISABLED;
+	}
+
+	if (strstr(buf, "PSR2 selective fetch: enabled"))
+		return PSR_MODE_2_SEL_FETCH;
+	else if (strstr(buf, "PSR2 enabled"))
+		return PSR_MODE_2;
+	else if (strstr(buf, "PSR1 enabled"))
+		return PSR_MODE_1;
+
+	return PSR_DISABLED;
+}
lib/igt_psr.h +2 -0
index 76cd26c657..12ffc9d6cb 100644
@@ -34,6 +34,7 @@ enum psr_mode {
 	PSR_MODE_1,
 	PSR_MODE_2,
 	PSR_MODE_2_SEL_FETCH,
+	PSR_DISABLED,
 };
 
 bool psr_disabled_check(int debugfs_fd);
@@ -46,6 +47,7 @@ bool psr_disable(int device, int debugfs_fd);
 bool psr_sink_support(int device, int debugfs_fd, enum psr_mode
 mode);
 bool psr2_wait_su(int debugfs_fd, uint16_t *num_su_blocks);
 void psr_print_debugfs(int debugfs_fd);
+enum psr_mode psr_get_mode(int debugfs_fd);
 
 bool i915_psr2_selective_fetch_check(int drm_fd);
tests/i915/kms_psr_stress_test.c new file +41 -0
new file mode 100644
index 0000000000..daac41d44c
@@ -0,0 +1,377 @@
+#include "igt.h"
+#include "igt_sysfs.h"
+#include "igt_psr.h"
+#include <errno.h>
+#include <poll.h>
+#include <stdbool.h>
+#include <stdio.h>
+#include <string.h>
+#include <sys/timerfd.h>
+
+#define INVALIDATES_PER_SEC 15
+#define FLIPS_PER_SEC 30
+#define SECS_TO_COMPLETE_TEST 10
+
+#define OVERLAY_SIZE 500
+#define OVERLAY_POSITION 250
+
+#define FRAMEBUFFERS_LEN 60
+
+#define DRAW_METHOD IGT_DRAW_BLT
+
+typedef struct {
+	int drm_fd;
+	int debugfs_fd;
+	struct buf_ops *bops;
+	igt_display_t display;
+	drmModeModeInfo *mode;
+	igt_output_t *output;
+
+	struct igt_fb primary_fb[FRAMEBUFFERS_LEN];
+	struct igt_fb overlay_fb[FRAMEBUFFERS_LEN];
+
+	uint8_t flip_fb_in_use;
+	uint8_t invalidate_progress;
+
+	int invalidate_timerfd;
+	int flip_timerfd;
+	int completed_timerfd;
+
+	/*
+	 * There is 2 subtest, one that flips primary and invalidates

overlay

tests/i915/kms_psr_stress_test.c new file +67 -0
+	 * and other that invalidates primary and flips overlay.
+	 */
+	bool flip_primary;
+
+	enum psr_mode initial_state;
+} data_t;
+
+struct color {
+	union {
+		uint32_t val;
+		struct {
+			uint8_t b;
+			uint8_t g;
+			uint8_t r;
+			uint8_t a;
+		};
+	};
+};
+
+static void setup_output(data_t *data)
+{
+	igt_display_t *display = &data->display;
+	igt_output_t *output;
+	enum pipe pipe;
+
+	igt_display_require(&data->display, data->drm_fd);
+
+	for_each_pipe_with_valid_output(display, pipe, output) {
+		drmModeConnectorPtr c = output->config.connector;
+
+		if (c->connector_type != DRM_MODE_CONNECTOR_eDP)
+			continue;
+
+		igt_output_set_pipe(output, pipe);
+		data->output = output;
+		data->mode = igt_output_get_mode(output);
+
+		return;
+	}
+
+	igt_require(data->output);
+}
+
+static void primary_draw(data_t *data, struct igt_fb *fb, uint8_t i)
+{
+	uint32_t x, y, w, h;
+	struct color cl;
+
+	x = 0;
+	y = 500;
+	w = data->mode->hdisplay / FRAMEBUFFERS_LEN;
+	w *= i;
+	h = OVERLAY_SIZE;
+
+	cl.a = 0xff;
+
+	if (w == 0) {
+		cl.r = cl.g = cl.b = 128;
+		y = 0;
+		w = data->mode->hdisplay;
+		h = data->mode->vdisplay;
+	} else {
+		cl.r = cl.b = 0x00;
+		cl.g = 0xff;
+	}
+
+	igt_draw_rect_fb(data->drm_fd, data->bops, 0, fb, DRAW_METHOD,

x, y,

tests/i915/kms_psr_stress_test.c new file +25 -0
+			 w, h, cl.val);
+}
+
+static void overlay_draw(data_t *data, struct igt_fb *fb, uint8_t i)
+{
+	uint32_t x, y, w, h;
+	struct color cl;
+
+	x = 0;
+	y = 0;
+	w = OVERLAY_SIZE;
+	h = OVERLAY_SIZE / FRAMEBUFFERS_LEN;
+	h *= i;
+
+	cl.a = 0xff;
+
+	if (h == 0) {
+		cl.r = cl.g = cl.b = 0xff;
+		h = OVERLAY_SIZE;
+	} else {
+		cl.r = 0xff;
+		cl.g = cl.b = 0x0;
+	}
+
+	igt_draw_rect_fb(data->drm_fd, data->bops, 0, fb, DRAW_METHOD,

x, y,

tests/i915/kms_psr_stress_test.c new file +12 -0
+			 w, h, cl.val);
+}
+
+static void prepare(data_t *data)
+{
+	struct itimerspec interval;
+	igt_plane_t *plane;
+	int r, i;
+
+	if (data->flip_primary) {
+		for (i = 0; i < ARRAY_SIZE(data->primary_fb); i++) {
+			igt_create_color_fb(data->drm_fd, data->mode-
Quoted 1 line

hdisplay,

tests/i915/kms_psr_stress_test.c new file +3 -0
+					    data->mode->vdisplay,
+					    DRM_FORMAT_XRGB8888,
+					    DRM_FORMAT_MOD_LINEAR, 0.0,

0.0,

tests/i915/kms_psr_stress_test.c new file +6 -0
+					    0.0, &data->primary_fb[i]);
+			primary_draw(data, &data->primary_fb[i], 0);
+			primary_draw(data, &data->primary_fb[i], i);
+		}
+
+		igt_create_color_fb(data->drm_fd, OVERLAY_SIZE,

OVERLAY_SIZE,

tests/i915/kms_psr_stress_test.c new file +1 -0
+				    DRM_FORMAT_XRGB8888,

DRM_FORMAT_MOD_LINEAR,

tests/i915/kms_psr_stress_test.c new file +1 -0
+				    0.0, 0.0, 0.0, &data-
Quoted 1 line

overlay_fb[0]);

tests/i915/kms_psr_stress_test.c new file +4 -0
+		overlay_draw(data, &data->overlay_fb[0], 0);
+	} else {
+		igt_create_color_fb(data->drm_fd, data->mode->hdisplay,
+				    data->mode->vdisplay,

DRM_FORMAT_XRGB8888,

tests/i915/kms_psr_stress_test.c new file +1 -0
+				    DRM_FORMAT_MOD_LINEAR, 0.0, 0.0,

0.0,

tests/i915/kms_psr_stress_test.c new file +6 -0
+				    &data->primary_fb[0]);
+		primary_draw(data, &data->primary_fb[0], 0);
+
+		for (i = 0; i < ARRAY_SIZE(data->overlay_fb); i++) {
+			igt_create_color_fb(data->drm_fd, OVERLAY_SIZE,
+					    OVERLAY_SIZE,

DRM_FORMAT_XRGB8888,

tests/i915/kms_psr_stress_test.c new file +1 -0
+					    DRM_FORMAT_MOD_LINEAR,

0.0f, 0.0f,

tests/i915/kms_psr_stress_test.c new file +1 -0
+					    0.0f, &data-
Quoted 1 line

overlay_fb[i]);

tests/i915/kms_psr_stress_test.c new file +6 -0
+			overlay_draw(data, &data->overlay_fb[i], 0);
+			overlay_draw(data, &data->overlay_fb[i], i);
+		}
+	}
+
+	plane = igt_output_get_plane_type(data->output,

DRM_PLANE_TYPE_PRIMARY);

tests/i915/kms_psr_stress_test.c new file +3 -0
+	igt_plane_set_fb(plane, &data->primary_fb[0]);
+
+	plane = igt_output_get_plane_type(data->output,

DRM_PLANE_TYPE_OVERLAY);

tests/i915/kms_psr_stress_test.c new file +12 -0
+	igt_plane_set_fb(plane, &data->overlay_fb[0]);
+	igt_plane_set_position(plane, -(OVERLAY_SIZE / 2), 350);
+
+	igt_display_commit2(&data->display, COMMIT_ATOMIC);
+	data->flip_fb_in_use = data->invalidate_progress = 0;
+
+	/* Arm timers */
+	interval.it_value.tv_nsec = NSEC_PER_SEC / INVALIDATES_PER_SEC;
+	interval.it_value.tv_sec = 0;
+	interval.it_interval.tv_nsec = interval.it_value.tv_nsec;
+	interval.it_interval.tv_sec = interval.it_value.tv_sec;
+	r = timerfd_settime(data->invalidate_timerfd, 0, &interval,

NULL);

tests/i915/kms_psr_stress_test.c new file +14 -0
+	igt_require_f(r != -1, "Error setting invalidate_timerfd\n");
+
+	interval.it_value.tv_nsec = NSEC_PER_SEC / FLIPS_PER_SEC;
+	interval.it_value.tv_sec = 0;
+	interval.it_interval.tv_nsec = interval.it_value.tv_nsec;
+	interval.it_interval.tv_sec = interval.it_value.tv_sec;
+	r = timerfd_settime(data->flip_timerfd, 0, &interval, NULL);
+	igt_require_f(r != -1, "Error setting flip_timerfd\n");
+
+	interval.it_value.tv_nsec = 0;
+	interval.it_value.tv_sec = SECS_TO_COMPLETE_TEST;
+	interval.it_interval.tv_nsec = interval.it_value.tv_nsec;
+	interval.it_interval.tv_sec = interval.it_value.tv_sec;
+	r = timerfd_settime(data->completed_timerfd, 0, &interval,

NULL);

tests/i915/kms_psr_stress_test.c new file +5 -0
+	igt_require_f(r != -1, "Error setting completed_timerfd\n");
+
+	data->initial_state = psr_get_mode(data->debugfs_fd);
+	igt_require(data->initial_state != PSR_DISABLED);
+	igt_require(psr_wait_entry(data->debugfs_fd, data-
Quoted 1 line

initial_state));

tests/i915/kms_psr_stress_test.c new file +9 -0
+}
+
+static void cleanup(data_t *data)
+{
+	struct itimerspec interval;
+	igt_plane_t *plane;
+	uint8_t i;
+
+	plane = igt_output_get_plane_type(data->output,

DRM_PLANE_TYPE_PRIMARY);

tests/i915/kms_psr_stress_test.c new file +2 -0
+	igt_plane_set_fb(plane, NULL);
+	plane = igt_output_get_plane_type(data->output,

DRM_PLANE_TYPE_OVERLAY);

tests/i915/kms_psr_stress_test.c new file +23 -0
+	igt_plane_set_fb(plane, NULL);
+	igt_display_commit2(&data->display, COMMIT_ATOMIC);
+
+	for (i = 0; i < ARRAY_SIZE(data->primary_fb); i++)
+		igt_remove_fb(data->drm_fd, &data->primary_fb[i]);
+
+	for (i = 0; i < ARRAY_SIZE(data->overlay_fb); i++)
+		igt_remove_fb(data->drm_fd, &data->overlay_fb[i]);
+
+	/* Disarm timers */
+	interval.it_value.tv_nsec = 0;
+	interval.it_value.tv_sec = 0;
+	interval.it_interval.tv_nsec = interval.it_value.tv_nsec;
+	interval.it_interval.tv_sec = interval.it_value.tv_sec;
+	timerfd_settime(data->invalidate_timerfd, 0, &interval, NULL);
+	timerfd_settime(data->flip_timerfd, 0, &interval, NULL);
+	timerfd_settime(data->completed_timerfd, 0, &interval, NULL);
+}
+
+static void invalidate(data_t *data)
+{
+	if (data->flip_primary)
+		overlay_draw(data, &data->overlay_fb[0], data-
Quoted 1 line

invalidate_progress);

tests/i915/kms_psr_stress_test.c new file +2 -0
+	else
+		primary_draw(data, &data->primary_fb[0], data-
Quoted 1 line

invalidate_progress);

tests/i915/kms_psr_stress_test.c new file +17 -0
+
+	data->invalidate_progress++;
+	if (data->invalidate_progress == (FRAMEBUFFERS_LEN + 1))
+		data->invalidate_progress = 0;
+}
+
+static void flip(data_t *data)
+{
+	uint8_t next = data->flip_fb_in_use + 1;
+	struct igt_fb *fb;
+	igt_plane_t *plane;
+
+	if (next == FRAMEBUFFERS_LEN)
+		next = 0;
+
+	if (data->flip_primary) {
+		plane = igt_output_get_plane_type(data->output,

DRM_PLANE_TYPE_PRIMARY);

tests/i915/kms_psr_stress_test.c new file +3 -0
+		fb = &data->primary_fb[next];
+	} else {
+		plane = igt_output_get_plane_type(data->output,

DRM_PLANE_TYPE_OVERLAY);

tests/i915/kms_psr_stress_test.c new file +54 -0
+		fb = &data->overlay_fb[next];
+	}
+
+	igt_plane_set_fb(plane, fb);
+	igt_display_commit2(&data->display, COMMIT_ATOMIC);
+	data->flip_fb_in_use = next;
+}
+
+static void run(data_t *data)
+{
+	struct pollfd pfd[3];
+	bool loop = true;
+
+	pfd[0].fd = data->invalidate_timerfd;
+	pfd[0].events = POLLIN;
+	pfd[0].revents = 0;
+
+	pfd[1].fd = data->flip_timerfd;
+	pfd[1].events = POLLIN;
+	pfd[1].revents = 0;
+
+	pfd[2].fd = data->completed_timerfd;
+	pfd[2].events = POLLIN;
+	pfd[2].revents = 0;
+
+	while (loop) {
+		int i, r = poll(pfd, ARRAY_SIZE(pfd), -1);
+
+		if (r < 0)
+			break;
+		if (r == 0)
+			continue;
+
+		for (i = 0; i < ARRAY_SIZE(pfd); i++) {
+			uint64_t exp;
+
+			if (pfd[i].revents == 0)
+				continue;
+
+			pfd[i].revents = 0;
+			r = read(pfd[i].fd, &exp, sizeof(exp));
+			if (r != sizeof(uint64_t) || exp == 0)
+				continue;
+
+			if (pfd[i].fd == data->invalidate_timerfd)
+				invalidate(data);
+			else if (pfd[i].fd == data->flip_timerfd)
+				flip(data);
+			else if (pfd[i].fd == data->completed_timerfd)
+				loop = false;
+		}
+	}
+
+	/* Check if after all this stress the PSR is still in the same

state */

tests/i915/kms_psr_stress_test.c new file +1 -0
+	igt_assert(psr_get_mode(data->debugfs_fd) == data-
Quoted 1 line

initial_state);

tests/i915/kms_psr_stress_test.c new file +13 -0
+}
+
+igt_main
+{
+	data_t data = {};
+
+	igt_fixture {
+		data.drm_fd = drm_open_driver_master(DRIVER_INTEL);
+		data.debugfs_fd = igt_debugfs_dir(data.drm_fd);
+		data.bops = buf_ops_create(data.drm_fd);
+		kmstest_set_vt_graphics_mode();
+
+		igt_require_f(psr_sink_support(data.drm_fd,

data.debugfs_fd,

tests/i915/kms_psr_stress_test.c new file +6 -0
+					       PSR_MODE_1),
+			      "Sink does not support PSR\n");
+
+		setup_output(&data);
+
+		data.invalidate_timerfd =

timerfd_create(CLOCK_MONOTONIC, 0);

tests/i915/kms_psr_stress_test.c new file +4 -0
+		igt_require(data.invalidate_timerfd != -1);
+		data.flip_timerfd = timerfd_create(CLOCK_MONOTONIC, 0);
+		igt_require(data.flip_timerfd != -1);
+		data.completed_timerfd =

timerfd_create(CLOCK_MONOTONIC, 0);

tests/i915/kms_psr_stress_test.c new file +5 -0
+		igt_require(data.completed_timerfd != -1);
+	}
+
+	/*
+	 * TODO: add cursor plane to the test to mimic even more real

user

tests/i915/kms_psr_stress_test.c new file +3 -0
+	 * usage cases
+	 */
+	igt_describe("Mix page flips in primary plane and frontbuffer

writes "

tests/i915/kms_psr_stress_test.c new file +1 -0
+		     "to overlay plane and check for warnings,

underruns or "

tests/i915/kms_psr_stress_test.c new file +9 -0
+		     "PSR state changes");
+	igt_subtest("flip-primary-invalidate-overlay") {
+		data.flip_primary = true;
+		prepare(&data);
+		run(&data);
+		cleanup(&data);
+	}
+
+	igt_describe("Mix frontbuffer writes to the primary plane and

page "

tests/i915/kms_psr_stress_test.c new file +1 -0
+		     "flips in the overlay plane and check for

warnings, "

tests/i915/kms_psr_stress_test.c new file +15 -0
+		     "underruns or PSR state changes");
+	igt_subtest("invalidate-primary-flip-overlay") {
+		data.flip_primary = false;
+		prepare(&data);
+		run(&data);
+		cleanup(&data);
+	}
+
+	igt_fixture {
+		buf_ops_destroy(data.bops);
+		igt_display_fini(&data.display);
+		close(data.debugfs_fd);
+		close(data.drm_fd);
+	}
+}
\ No newline at end of file
tests/meson.build +1 -0
index 3af4576f4a..a152d2a052 100644
@@ -243,6 +243,7 @@ i915_progs = [
 	'kms_psr',
 	'kms_psr2_su',
 	'kms_psr2_sf',
+	'kms_psr_stress_test',
 	'kms_pwrite_crc',
 	'sysfs_clients',
 	'sysfs_defaults',