Skip to contentSkip to conversation

Fix gem_tiled_blits on TGL

PATCH In review Zbigniew Kempczyński 3 participants 5 messages Apr 14, 2021

lore
Share & tools
lore
#0 lore raw

v2 cover Fix gem_tiled_blits on TGL

For CI, same code as separate patch, but this is for quick result.

v2: eh, blacklist-pre-merge turned off the test in pre-merge.

Zbigniew Kempczyński (2):
tests/gem_tiled_blits: fix sigsegv on TGL when allocator is in use
HAX: exercise gem_tiled_blits only

 tests/i915/gem_tiled_blits.c           |   4 +
 tests/intel-ci/blacklist-pre-merge.txt |   2 -
 tests/intel-ci/fast-feedback.testlist  | 176 +------------------------
 3 files changed, 7 insertions(+), 175 deletions(-)
Signature · 6 lines
2.26.0

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
#1 lore raw

PATCH v2 1/2 tests/gem_tiled_blits: fix sigsegv on TGL when allocator is in use

TGL is rare case when intel-bb assumes it should use allocator infrastructure (even if it supports relocations). The main reason of such decision is building aux ccs tables for rendercopy. These tables requires filling address a-priori for surfaces so softpin and allocator allow to build them without calling warming execbuf.

We need to ensure intel-bb here can be called in multiprocess environment so multiprocess start()/stop() around normal and interruptible tests are necessary.

---
 tests/i915/gem_tiled_blits.c | 4 ++++
 1 file changed, 4 insertions(+)
tests/i915/gem_tiled_blits.c +4 -0
index 91537ac48..c93d04d67 100644
@@ -196,17 +196,21 @@ igt_main
 		run_test(fd, 2);
 
 	igt_subtest("normal") {
+		intel_allocator_multiprocess_start();
 		igt_fork(child, ncpus)
 			run_test(fd, count);
 		igt_waitchildren();
+		intel_allocator_multiprocess_stop();
 	}
 
 	igt_subtest("interruptible") {
+		intel_allocator_multiprocess_start();
 		igt_fork_signal_helper();
 		igt_fork(child, ncpus)
 			run_test(fd, count);
 		igt_waitchildren();
 		igt_stop_signal_helper();
+		intel_allocator_multiprocess_stop();
 	}
 
 	igt_fixture {
Signature · 6 lines
2.26.0

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
#2 lore raw

PATCH v2 2/2 HAX: exercise gem_tiled_blits only

In reply to Zbigniew Kempczyński
---
 tests/intel-ci/blacklist-pre-merge.txt |   2 -
 tests/intel-ci/fast-feedback.testlist  | 176 +------------------------
 2 files changed, 3 insertions(+), 175 deletions(-)
tests/intel-ci/blacklist-pre-merge.txt +0 -2
index 6363a7ac8..46edd3d9b 100644
@@ -147,9 +147,7 @@ igt@i915_pm_rpm@debugfs-read
 # Data acquired on 2020-02-20 by Martin Peres
 ###############################################################################
 igt@gem_fence_thrash@bo-write-verify-threaded-[xy]
-igt@gem_tiled_blits@interruptible
 igt@gem_tiled_fence_blits@normal
-igt@gem_tiled_blits@normal
 igt@gem_tiled_wc
 
 
tests/intel-ci/fast-feedback.testlist +3 -173

178 lines not on this page · raw message

Signature · 6 lines
2.26.0

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
#3 lore raw

[igt-dev] ✗ Fi.CI.BAT: failure for Fix gem_tiled_blits on TGL (rev2)

In reply to Zbigniew Kempczyński
== Series Details ==

== Series Details ==

Series: Fix gem_tiled_blits on TGL (rev2)
URL : https://patchwork.freedesktop.org/series/89062/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_9970 -> IGTPW_5744
====================================================

Summary
-------

**FAILURE**

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

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

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

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

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

### IGT changes ###

#### Possible regressions ####

* igt@meta_test@fail-result (NEW):
- fi-pnv-d510: NOTRUN -> [FAIL][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-pnv-d510/igt@[email protected]
- fi-skl-6600u: NOTRUN -> [FAIL][2]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-skl-6600u/igt@[email protected]
- {fi-jsl-1}: NOTRUN -> [FAIL][3]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-jsl-1/igt@[email protected]
- fi-icl-u2: NOTRUN -> [FAIL][4]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-icl-u2/igt@[email protected]
- fi-cml-u2: NOTRUN -> [FAIL][5]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-cml-u2/igt@[email protected]
- fi-cfl-8700k: NOTRUN -> [FAIL][6]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-cfl-8700k/igt@[email protected]
- {fi-hsw-gt1}: NOTRUN -> [FAIL][7]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-hsw-gt1/igt@[email protected]
- {fi-tgl-dsi}: NOTRUN -> [FAIL][8]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-tgl-dsi/igt@[email protected]
- fi-snb-2520m: NOTRUN -> [FAIL][9]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-snb-2520m/igt@[email protected]
- fi-ivb-3770: NOTRUN -> [FAIL][10]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-ivb-3770/igt@[email protected]
- fi-apl-guc: NOTRUN -> [FAIL][11]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-apl-guc/igt@[email protected]
- fi-bxt-dsi: NOTRUN -> [FAIL][12]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-bxt-dsi/igt@[email protected]
- fi-elk-e7500: NOTRUN -> [FAIL][13]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-elk-e7500/igt@[email protected]
- fi-skl-6700k2: NOTRUN -> [FAIL][14]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-skl-6700k2/igt@[email protected]
- fi-kbl-soraka: NOTRUN -> [FAIL][15]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-kbl-soraka/igt@[email protected]
- fi-cml-s: NOTRUN -> [FAIL][16]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-cml-s/igt@[email protected]
- fi-cfl-guc: NOTRUN -> [FAIL][17]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-cfl-guc/igt@[email protected]
- fi-bsw-n3050: NOTRUN -> [FAIL][18]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-bsw-n3050/igt@[email protected]
- fi-ilk-650: NOTRUN -> [FAIL][19]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-ilk-650/igt@[email protected]
- fi-tgl-u2: NOTRUN -> [FAIL][20]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-tgl-u2/igt@[email protected]
- {fi-ehl-1}: NOTRUN -> [FAIL][21]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-ehl-1/igt@[email protected]
- fi-bsw-kefka: NOTRUN -> [FAIL][22]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-bsw-kefka/igt@[email protected]
- fi-kbl-x1275: NOTRUN -> [FAIL][23]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-kbl-x1275/igt@[email protected]
- fi-snb-2600: NOTRUN -> [FAIL][24]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-snb-2600/igt@[email protected]
- {fi-rkl-11500t}: NOTRUN -> [FAIL][25]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-rkl-11500t/igt@[email protected]
- fi-tgl-y: NOTRUN -> [FAIL][26]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-tgl-y/igt@[email protected]
- fi-cfl-8109u: NOTRUN -> [FAIL][27]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-cfl-8109u/igt@[email protected]
- fi-icl-y: NOTRUN -> [FAIL][28]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-icl-y/igt@[email protected]
- fi-bdw-5557u: NOTRUN -> [FAIL][29]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-bdw-5557u/igt@[email protected]
- fi-glk-dsi: NOTRUN -> [FAIL][30]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-glk-dsi/igt@[email protected]
- fi-bsw-nick: NOTRUN -> [FAIL][31]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-bsw-nick/igt@[email protected]
- fi-kbl-7567u: NOTRUN -> [FAIL][32]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-kbl-7567u/igt@[email protected]
- fi-kbl-8809g: NOTRUN -> [FAIL][33]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-kbl-8809g/igt@[email protected]
- fi-kbl-r: NOTRUN -> [FAIL][34]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-kbl-r/igt@[email protected]
- fi-bwr-2160: NOTRUN -> [FAIL][35]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-bwr-2160/igt@[email protected]
- fi-skl-guc: NOTRUN -> [FAIL][36]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-skl-guc/igt@[email protected]
- {fi-ehl-2}: NOTRUN -> [FAIL][37]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-ehl-2/igt@[email protected]
- fi-kbl-guc: NOTRUN -> [FAIL][38]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-kbl-guc/igt@[email protected]
- fi-bdw-gvtdvm: NOTRUN -> [FAIL][39]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-bdw-gvtdvm/igt@[email protected]
- fi-hsw-4770: NOTRUN -> [FAIL][40]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-hsw-4770/igt@[email protected]
- fi-kbl-7500u: NOTRUN -> [FAIL][41]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-kbl-7500u/igt@[email protected]

New tests
---------

New tests have been introduced between CI_DRM_9970 and IGTPW_5744:

### New IGT tests (1) ###

* igt@meta_test@fail-result:
- Statuses : 41 fail(s)
- Exec time: [0.01, 0.46] s

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

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

### IGT changes ###

#### Issues hit ####

* igt@amdgpu/amd_basic@query-info:
- fi-bsw-kefka: NOTRUN -> [SKIP][42] ([fdo#109271]) +19 similar issues
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-bsw-kefka/igt@amdgpu/[email protected]

* igt@amdgpu/amd_cs_nop@nop-gfx0:
- fi-apl-guc: NOTRUN -> [SKIP][43] ([fdo#109271]) +17 similar issues
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-apl-guc/igt@amdgpu/[email protected]

* igt@amdgpu/amd_cs_nop@sync-compute0:
- fi-bdw-gvtdvm: NOTRUN -> [SKIP][44] ([fdo#109271]) +19 similar issues
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-bdw-gvtdvm/igt@amdgpu/[email protected]

* igt@amdgpu/amd_cs_nop@sync-fork-compute0:
- fi-snb-2600: NOTRUN -> [SKIP][45] ([fdo#109271]) +17 similar issues
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-snb-2600/igt@amdgpu/[email protected]

* igt@amdgpu/amd_cs_nop@sync-gfx0:
- fi-bsw-n3050: NOTRUN -> [SKIP][46] ([fdo#109271]) +19 similar issues
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-bsw-n3050/igt@amdgpu/[email protected]

* igt@gem_tiled_blits@interruptible:
- fi-bxt-dsi: NOTRUN -> [SKIP][47] ([fdo#109271]) +1 similar issue
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-bxt-dsi/igt@[email protected]
- fi-kbl-soraka: NOTRUN -> [SKIP][48] ([fdo#109271]) +1 similar issue
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-kbl-soraka/igt@[email protected]
- fi-glk-dsi: NOTRUN -> [SKIP][49] ([fdo#109271]) +1 similar issue
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-glk-dsi/igt@[email protected]

* igt@gem_tiled_blits@normal:
- fi-tgl-y: NOTRUN -> [TIMEOUT][50] ([i915#2502]) +1 similar issue
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-tgl-y/igt@[email protected]
- fi-bsw-nick: NOTRUN -> [SKIP][51] ([fdo#109271]) +1 similar issue
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-bsw-nick/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
[i915#2502]: https://gitlab.freedesktop.org/drm/intel/issues/2502

Participating hosts (45 -> 41)
------------------------------

Missing (4): fi-ilk-m540 fi-dg1-1 fi-bsw-cyan fi-bdw-samus

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

* CI: CI-20190529 -> None
* IGT: IGT_6064 -> IGTPW_5744

CI-20190529: 20190529
CI_DRM_9970: 5c1aa9f7074be51a6099bc8c618968a41f5a3f46 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_5744: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/index.html
IGT_6064: 48d89e2c65c54883b0776930a884e6d3bcefb45b @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools

== Logs ==

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

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

Acked-by
#4 lore raw

Re: [igt-dev] ✗ Fi.CI.BAT: failure for Fix gem_tiled_blits on TGL (rev2)

Quoted 3 lines · Patchwork

* igt@gem_tiled_blits@normal:
- fi-tgl-y: NOTRUN -> [TIMEOUT][50] ([i915#2502]) +1 similar issue
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5744/fi-tgl-y/igt@[email protected]

Confirmed on IRC to be a kernel issue. With a fixed test we can work on that, so

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev