Skip to contentSkip to conversation

i915/gem_mmap_wc: Align subtests with correct function calls

PATCH In review [email protected] 4 participants 4 messages Sep 9, 2020 – Oct 5, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i915/gem_mmap_wc: Align subtests with correct function calls

From: Apoorva Singh <[email protected]>

- Fix the name of subtest "write-gtt-read-gtt"
- Fix subtests "write-wc-read-gtt" and "write-gtt-read-gtt" to call correct fucntions

Cc Chris Wilson <[email protected]>
Cc Melkaveri, Arjun <[email protected]>
---
 tests/i915/gem_mmap_wc.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
tests/i915/gem_mmap_wc.c +3 -3
index f44b406d..c940376a 100644
@@ -329,7 +329,7 @@ test_write_cpu_read_wc(int fd, int force_domain)
 }
 
 static void
-test_write_gtt_read_wc(int fd)
+test_write_wc_read_gtt(int fd)
 {
 	uint32_t handle;
 	uint32_t *src, *dst;
@@ -350,7 +350,7 @@ test_write_gtt_read_wc(int fd)
 }
 
 static void
-test_write_wc_read_gtt(int fd)
+test_write_gtt_read_wc(int fd)
 {
 	uint32_t handle;
 	uint32_t *src, *dst;
@@ -610,7 +610,7 @@ igt_main
 		igt_fixture gem_require_mappable_ggtt(fd);
 		igt_subtest("write-wc-read-gtt")
 			test_write_wc_read_gtt(fd);
-		igt_subtest("write-gtt-read-gtt")
+		igt_subtest("write-gtt-read-wc")
 			test_write_gtt_read_wc(fd);
 	}
 
Signature · 6 lines
2.28.0

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

[igt-dev] ✗ Fi.CI.BAT: failure for i915/gem_mmap_wc: Align subtests with correct function calls

== Series Details ==

== Series Details ==

Series: i915/gem_mmap_wc: Align subtests with correct function calls
URL : https://patchwork.freedesktop.org/series/81485/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_8989 -> IGTPW_4968
====================================================

Summary
-------

**FAILURE**

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

If you think the reported changes have nothing to do with the changes introduced in IGTPW_4968, 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_4968/index.html

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

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

### IGT changes ###

#### Possible regressions ####

* igt@gem_tiled_fence_blits@basic:
- fi-snb-2520m: [PASS][1] -> [DMESG-WARN][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8989/fi-snb-2520m/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4968/fi-snb-2520m/igt@[email protected]

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

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

### IGT changes ###

#### Issues hit ####

* igt@gem_exec_gttfill@basic:
- fi-kbl-r: [PASS][3] -> [INCOMPLETE][4] ([i915#2439])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8989/fi-kbl-r/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4968/fi-kbl-r/igt@[email protected]
- fi-bdw-5557u: [PASS][5] -> [INCOMPLETE][6] ([i915#2439])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8989/fi-bdw-5557u/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4968/fi-bdw-5557u/igt@[email protected]
- fi-skl-6600u: [PASS][7] -> [INCOMPLETE][8] ([i915#2439])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8989/fi-skl-6600u/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4968/fi-skl-6600u/igt@[email protected]
- fi-skl-lmem: [PASS][9] -> [INCOMPLETE][10] ([i915#2439])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8989/fi-skl-lmem/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4968/fi-skl-lmem/igt@[email protected]
- fi-ilk-650: [PASS][11] -> [INCOMPLETE][12] ([i915#2439])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8989/fi-ilk-650/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4968/fi-ilk-650/igt@[email protected]

* igt@gem_exec_parallel@engines@basic:
- fi-bsw-n3050: [PASS][13] -> [INCOMPLETE][14] ([i915#2439])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8989/fi-bsw-n3050/igt@gem_exec_parallel@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4968/fi-bsw-n3050/igt@gem_exec_parallel@[email protected]

* igt@gem_exec_parallel@engines@contexts:
- fi-bsw-kefka: [PASS][15] -> [INCOMPLETE][16] ([i915#2439])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8989/fi-bsw-kefka/igt@gem_exec_parallel@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4968/fi-bsw-kefka/igt@gem_exec_parallel@[email protected]

* igt@gem_tiled_fence_blits@basic:
- fi-blb-e6850: [PASS][17] -> [INCOMPLETE][18] ([i915#2439])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8989/fi-blb-e6850/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4968/fi-blb-e6850/igt@[email protected]

* igt@i915_selftest@live@gem_execbuf:
- fi-bsw-nick: [PASS][19] -> [INCOMPLETE][20] ([i915#2439])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8989/fi-bsw-nick/igt@i915_selftest@live@gem_execbuf.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4968/fi-bsw-nick/igt@i915_selftest@live@gem_execbuf.html

#### Possible fixes ####

* igt@gem_exec_gttfill@basic:
- fi-cfl-8109u: [INCOMPLETE][21] ([i915#2439]) -> [PASS][22]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8989/fi-cfl-8109u/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4968/fi-cfl-8109u/igt@[email protected]
- fi-icl-y: [INCOMPLETE][23] ([i915#2439]) -> [PASS][24]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8989/fi-icl-y/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4968/fi-icl-y/igt@[email protected]
- fi-cfl-8700k: [INCOMPLETE][25] ([i915#2439]) -> [PASS][26]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8989/fi-cfl-8700k/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4968/fi-cfl-8700k/igt@[email protected]

* igt@gem_exec_parallel@engines@contexts:
- {fi-ehl-1}: [INCOMPLETE][27] ([i915#2439]) -> [PASS][28]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8989/fi-ehl-1/igt@gem_exec_parallel@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4968/fi-ehl-1/igt@gem_exec_parallel@[email protected]

* igt@gem_tiled_fence_blits@basic:
- fi-gdg-551: [INCOMPLETE][29] ([i915#172] / [i915#2439]) -> [PASS][30]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8989/fi-gdg-551/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4968/fi-gdg-551/igt@[email protected]

#### Warnings ####

* igt@runner@aborted:
- fi-bsw-kefka: [FAIL][31] ([i915#1436] / [i915#2109] / [i915#2439]) -> [FAIL][32] ([i915#2439])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8989/fi-bsw-kefka/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4968/fi-bsw-kefka/igt@[email protected]
- fi-cfl-8700k: [FAIL][33] ([i915#1186] / [i915#2439]) -> [FAIL][34] ([i915#2398] / [i915#2439])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8989/fi-cfl-8700k/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4968/fi-cfl-8700k/igt@[email protected]
- fi-skl-6600u: [FAIL][35] ([i915#2398] / [i915#2439]) -> [FAIL][36] ([i915#1186] / [i915#2439])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8989/fi-skl-6600u/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4968/fi-skl-6600u/igt@[email protected]
- fi-cfl-8109u: [FAIL][37] ([i915#1186] / [i915#2439]) -> [FAIL][38] ([i915#2398] / [i915#2439])
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8989/fi-cfl-8109u/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4968/fi-cfl-8109u/igt@[email protected]
- fi-skl-lmem: [FAIL][39] ([i915#2398] / [i915#2439]) -> [FAIL][40] ([i915#1186] / [i915#2439])
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8989/fi-skl-lmem/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4968/fi-skl-lmem/igt@[email protected]
- fi-kbl-r: [FAIL][41] ([i915#2398] / [i915#2439]) -> [FAIL][42] ([i915#1186] / [i915#1784] / [i915#2439])
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8989/fi-kbl-r/igt@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4968/fi-kbl-r/igt@[email protected]
- fi-icl-y: [FAIL][43] ([i915#2439]) -> [FAIL][44] ([i915#2398] / [i915#2439])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8989/fi-icl-y/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4968/fi-icl-y/igt@[email protected]
- fi-bsw-n3050: [FAIL][45] ([i915#1436] / [i915#2109] / [i915#2439]) -> [FAIL][46] ([i915#2439])
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8989/fi-bsw-n3050/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4968/fi-bsw-n3050/igt@[email protected]

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

[i915#1186]: https://gitlab.freedesktop.org/drm/intel/issues/1186
[i915#1436]: https://gitlab.freedesktop.org/drm/intel/issues/1436
[i915#172]: https://gitlab.freedesktop.org/drm/intel/issues/172
[i915#1784]: https://gitlab.freedesktop.org/drm/intel/issues/1784
[i915#2109]: https://gitlab.freedesktop.org/drm/intel/issues/2109
[i915#2398]: https://gitlab.freedesktop.org/drm/intel/issues/2398
[i915#2439]: https://gitlab.freedesktop.org/drm/intel/issues/2439

Participating hosts (41 -> 36)
------------------------------

Missing (5): fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-byt-clapper fi-bdw-samus

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

* CI: CI-20190529 -> None
* IGT: IGT_5779 -> IGTPW_4968

CI-20190529: 20190529
CI_DRM_8989: f38d31de4aa327d89646ad8c49e2f5cc68d3916a @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_4968: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4968/index.html
IGT_5779: f52bf19b5f02d52fc3e201c6467ec3f511227fba @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools

== Testlist changes ==

+igt@gem_mmap_wc@write-gtt-read-wc
-igt@gem_mmap_wc@write-gtt-read-gtt

== Logs ==

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

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

Reviewed-by on v1 1/1
#2 lore raw
In reply to [email protected]
Quoted 6 lines · On Wed, 09 Sep 2020 01:31:25 -0700, <[email protected]> wrote:

From: Apoorva Singh <[email protected]>

- Fix the name of subtest "write-gtt-read-gtt"
- Fix subtests "write-wc-read-gtt" and "write-gtt-read-gtt" to call correct fucntions

Quoted 41 lines
Cc Chris Wilson <[email protected]>
Cc Melkaveri, Arjun <[email protected]>
---
 tests/i915/gem_mmap_wc.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
tests/i915/gem_mmap_wc.c +3 -4
index f44b406d..c940376a 100644
@@ -329,7 +329,7 @@ test_write_cpu_read_wc(int fd, int force_domain)
 }
 
 static void
-test_write_gtt_read_wc(int fd)
+test_write_wc_read_gtt(int fd)
 {
 	uint32_t handle;
 	uint32_t *src, *dst;
@@ -350,7 +350,7 @@ test_write_gtt_read_wc(int fd)
 }
 
 static void
-test_write_wc_read_gtt(int fd)
+test_write_gtt_read_wc(int fd)
 {
 	uint32_t handle;
 	uint32_t *src, *dst;
@@ -610,7 +610,7 @@ igt_main
 		igt_fixture gem_require_mappable_ggtt(fd);
 		igt_subtest("write-wc-read-gtt")
 			test_write_wc_read_gtt(fd);
-		igt_subtest("write-gtt-read-gtt")
+		igt_subtest("write-gtt-read-wc")
 			test_write_gtt_read_wc(fd);
 	}
 
--

2.28.0

Quoted 4 lines

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

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

#3 lore raw
In reply to [email protected]

Quoting [email protected] (2020-09-09 09:31:25)

Quoted 27 lines

From: Apoorva Singh <[email protected]>

- Fix the name of subtest "write-gtt-read-gtt"
- Fix subtests "write-wc-read-gtt" and "write-gtt-read-gtt" to call correct fucntions

Cc Chris Wilson <[email protected]>
Cc Melkaveri, Arjun <[email protected]>
---
 tests/i915/gem_mmap_wc.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
tests/i915/gem_mmap_wc.c +1 -1
index f44b406d..c940376a 100644
@@ -329,7 +329,7 @@ test_write_cpu_read_wc(int fd, int force_domain)
 }
 
 static void
-test_write_gtt_read_wc(int fd)
+test_write_wc_read_gtt(int fd)
 {
        uint32_t handle;
        uint32_t *src, *dst;

tests/i915/gem_mmap_wc.c test_write_gtt_read_wc(int fd) · line 353

Quoted 5 lines
tests/i915/gem_mmap_wc.c +1 -1
@@ -350,7 +350,7 @@ test_write_gtt_read_wc(int fd)
 }
 
 static void
-test_write_wc_read_gtt(int fd)
+test_write_gtt_read_wc(int fd)

Bleugh; probably better to also not call them src/dst. -Chris
_______________________________________________
igt-dev mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev