Skip to contentSkip to conversation

i915/gem_mmap_wc: Added test description for test case

PATCH In review [email protected] 3 participants 4 messages Sep 14, 2020 – Feb 22, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i915/gem_mmap_wc: Added test description for test case

From: Apoorva Singh <[email protected]>

Added test description to all the available subtests.

Cc Melkaveri, Arjun <[email protected]>
---
 tests/i915/gem_mmap_wc.c | 45 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)
tests/i915/gem_mmap_wc.c +45 -0
index f44b406d..aa98d408 100644
@@ -38,6 +38,8 @@
 #include <sys/ioctl.h>
 #include "drm.h"
 
+IGT_TEST_DESCRIPTION("Tests the extended version of MMAP IOCTL (Write Combine)");
+
 struct local_i915_gem_mmap_v2 {
 	uint32_t handle;
 	uint32_t pad;
@@ -505,6 +507,7 @@ igt_main
 		gem_require_mmap_wc(fd);
 	}
 
+	igt_describe("Verify mapping to invalid gem object won't be created");
 	igt_subtest("bad-object") {
 		uint32_t real_handle = gem_create(fd, 4096);
 		uint32_t handles[20];
@@ -528,6 +531,7 @@ igt_main
 		gem_close(fd, real_handle);
 	}
 
+	igt_describe("Verify mapping to gem object with invalid offset won't be created");
 	igt_subtest("bad-offset") {
 		struct bad_offset {
 			uint64_t size;
@@ -555,6 +559,7 @@ igt_main
 		}
 	}
 
+	igt_describe("Verify mapping to gem object with invalid size won't be created");
 	igt_subtest("bad-size") {
 		uint64_t bad_size[] = {
 			0,
@@ -577,45 +582,85 @@ igt_main
 		}
 	}
 
+	igt_describe("Verify mapping to gem object with invalid flag won't be created");
 	igt_subtest("invalid-flags")
 		test_invalid_flags(fd);
+
+	igt_describe("Verify memory mapping to gem object persists after gem_close");
 	igt_subtest("close")
 		test_close(fd);
+
+	igt_describe("Verify copying between two memory mapped gem objects works fine");
 	igt_subtest("copy")
 		test_copy(fd);
+
+	igt_describe("Verify reading from newly created gem obejct works fine");
 	igt_subtest("read")
 		test_read(fd);
+
+	igt_describe("Verify writing into newly created gem object works fine");
 	igt_subtest("write")
 		test_write(fd);
+
+	igt_describe("Tests that mmap and mmap(wc) mappings to a gem object are "
+	       "coherent after cache flush");
 	igt_subtest("coherency")
 		test_coherency(fd);
+
+	igt_describe("Verify writing into prefaulted gem object works fine");
 	igt_subtest("write-prefaulted")
 		test_write_prefaulted(fd);
+
+	igt_describe("Tests read and subsequent write on buffer object");
 	igt_subtest("read-write")
 		test_read_write(fd, READ_BEFORE_WRITE);
+
+	igt_describe("Tests write and subsequent read on buffer object");
 	igt_subtest("write-read")
 		test_read_write(fd, READ_AFTER_WRITE);
+
+	igt_describe("Tests read before write using distinct mmap(wc) mappings to "
+	       "same buffer object");
 	igt_subtest("read-write-distinct")
 		test_read_write2(fd, READ_BEFORE_WRITE);
+
+	igt_describe("Tests write before read using distinct mmap(wc) mappings to "
+	       "same buffer object");
 	igt_subtest("write-read-distinct")
 		test_read_write2(fd, READ_AFTER_WRITE);
+
+	igt_describe("Verify concurrent access of a gem object by multiple threads work fine");
 	igt_subtest("fault-concurrent")
 		test_fault_concurrent(fd);
+
+	igt_describe("Checks the coherency of data written into gem object using cpu mmap and "
+	       "read from it using write combine mmap, having WC domain set");
 	igt_subtest("write-cpu-read-wc")
 		test_write_cpu_read_wc(fd, 1);
+
+        igt_describe("Checks the coherency of data written into gem object using cpu mmap and "
+               "read from it using write combine mmap, not having WC domain set");
 	igt_subtest("write-cpu-read-wc-unflushed")
 		test_write_cpu_read_wc(fd, 0);
 
 	igt_subtest_group {
 		igt_fixture gem_require_mappable_ggtt(fd);
+
+	        igt_describe("Checks the coherency of data written into gem object using write "
+		       "combine mmap and read from it using gtt mmap");
 		igt_subtest("write-wc-read-gtt")
 			test_write_wc_read_gtt(fd);
+
+		igt_describe("Checks the coherency of data written into gem object using gtt "
+		       "mmap and read from it using write combine mmap");
 		igt_subtest("write-gtt-read-gtt")
 			test_write_gtt_read_wc(fd);
 	}
 
+	igt_describe("Verify initial page faulting completes within a specified time");
 	igt_subtest("pf-nonblock")
 		test_pf_nonblock(fd);
+
 	igt_subtest("set-cache-level")
 		test_set_cache_level(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: success for i915/gem_mmap_wc: Added test description for test case

== Series Details ==

== Series Details ==

Series: i915/gem_mmap_wc: Added test description for test case
URL : https://patchwork.freedesktop.org/series/81659/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_9008 -> IGTPW_4981
====================================================

Summary
-------

**SUCCESS**

No regressions found.

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

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

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

### IGT changes ###

#### Issues hit ####

* igt@gem_flink_basic@flink-lifetime:
- fi-tgl-y: [PASS][1] -> [DMESG-WARN][2] ([i915#402]) +1 similar issue
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/fi-tgl-y/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/fi-tgl-y/igt@[email protected]

* igt@i915_pm_rpm@basic-pci-d3-state:
- fi-byt-j1900: [PASS][3] -> [DMESG-WARN][4] ([i915#1982])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/fi-byt-j1900/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/fi-byt-j1900/igt@[email protected]

* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- fi-bsw-n3050: [PASS][5] -> [DMESG-WARN][6] ([i915#1982])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/fi-bsw-n3050/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/fi-bsw-n3050/igt@[email protected]
- fi-bsw-kefka: [PASS][7] -> [DMESG-WARN][8] ([i915#1982])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/fi-bsw-kefka/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/fi-bsw-kefka/igt@[email protected]

#### Possible fixes ####

* {igt@core_hotunplug@unbind-rebind}:
- {fi-tgl-dsi}: [DMESG-WARN][9] ([i915#1982]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/fi-tgl-dsi/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/fi-tgl-dsi/igt@[email protected]

* igt@gem_flink_basic@double-flink:
- fi-tgl-y: [DMESG-WARN][11] ([i915#402]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/fi-tgl-y/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/fi-tgl-y/igt@[email protected]

* igt@i915_module_load@reload:
- fi-byt-j1900: [DMESG-WARN][13] ([i915#1982]) -> [PASS][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/fi-byt-j1900/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/fi-byt-j1900/igt@[email protected]
- fi-tgl-u2: [DMESG-WARN][15] ([i915#1982] / [k.org#205379]) -> [PASS][16]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/fi-tgl-u2/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/fi-tgl-u2/igt@[email protected]

* igt@kms_busy@basic@flip:
- fi-kbl-x1275: [DMESG-WARN][17] ([i915#62] / [i915#92] / [i915#95]) -> [PASS][18]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/fi-kbl-x1275/igt@kms_busy@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/fi-kbl-x1275/igt@kms_busy@[email protected]

* igt@kms_cursor_legacy@basic-flip-before-cursor-atomic:
- fi-icl-u2: [DMESG-WARN][19] ([i915#1982]) -> [PASS][20] +1 similar issue
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/fi-icl-u2/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/fi-icl-u2/igt@[email protected]

* igt@vgem_basic@unload:
- fi-skl-guc: [DMESG-WARN][21] ([i915#2203]) -> [PASS][22]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/fi-skl-guc/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/fi-skl-guc/igt@[email protected]
- fi-kbl-x1275: [DMESG-WARN][23] ([i915#62] / [i915#92]) -> [PASS][24]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/fi-kbl-x1275/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/fi-kbl-x1275/igt@[email protected]

#### Warnings ####

* igt@i915_pm_rpm@module-reload:
- fi-tgl-y: [DMESG-WARN][25] ([i915#1982] / [i915#2411]) -> [DMESG-WARN][26] ([i915#2411])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/fi-tgl-y/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/fi-tgl-y/igt@[email protected]
- fi-kbl-x1275: [DMESG-FAIL][27] ([i915#62]) -> [DMESG-FAIL][28] ([i915#62] / [i915#95])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/fi-kbl-x1275/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/fi-kbl-x1275/igt@[email protected]

* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-c:
- fi-kbl-x1275: [DMESG-WARN][29] ([i915#62] / [i915#92] / [i915#95]) -> [DMESG-WARN][30] ([i915#62] / [i915#92]) +8 similar issues
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/fi-kbl-x1275/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/fi-kbl-x1275/igt@[email protected]

* igt@prime_vgem@basic-fence-flip:
- fi-kbl-x1275: [DMESG-WARN][31] ([i915#62] / [i915#92]) -> [DMESG-WARN][32] ([i915#62] / [i915#92] / [i915#95]) +2 similar issues
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/fi-kbl-x1275/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/fi-kbl-x1275/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#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#2203]: https://gitlab.freedesktop.org/drm/intel/issues/2203
[i915#2411]: https://gitlab.freedesktop.org/drm/intel/issues/2411
[i915#402]: https://gitlab.freedesktop.org/drm/intel/issues/402
[i915#62]: https://gitlab.freedesktop.org/drm/intel/issues/62
[i915#92]: https://gitlab.freedesktop.org/drm/intel/issues/92
[i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95
[k.org#205379]: https://bugzilla.kernel.org/show_bug.cgi?id=205379

Participating hosts (45 -> 39)
------------------------------

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

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

* CI: CI-20190529 -> None
* IGT: IGT_5784 -> IGTPW_4981

CI-20190529: 20190529
CI_DRM_9008: 14dc141acc195be5b1d0ffb563c5c0a277569715 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_4981: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/index.html
IGT_5784: 265f1d4a5a14998b98f963ee04d695cf3f3c2d3a @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools

== Logs ==

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

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

#2 lore raw

[igt-dev] ✗ Fi.CI.IGT: failure for i915/gem_mmap_wc: Added test description for test case

In reply to [email protected]
== Series Details ==

== Series Details ==

Series: i915/gem_mmap_wc: Added test description for test case
URL : https://patchwork.freedesktop.org/series/81659/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_9008_full -> IGTPW_4981_full
====================================================

Summary
-------

**FAILURE**

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

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

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

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

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

### IGT changes ###

#### Possible regressions ####

* igt@gem_exec_gttfill@engines@vcs1:
- shard-tglb: [PASS][1] -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/shard-tglb1/igt@gem_exec_gttfill@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/shard-tglb6/igt@gem_exec_gttfill@[email protected]

#### Suppressed ####

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

* {igt@core_hotunplug@hotrebind-lateclose}:
- shard-tglb: [DMESG-FAIL][3] -> [FAIL][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/shard-tglb5/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/shard-tglb6/igt@[email protected]

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

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

### IGT changes ###

#### Issues hit ####

* igt@kms_cursor_crc@pipe-b-cursor-128x42-onscreen:
- shard-kbl: [PASS][5] -> [FAIL][6] ([i915#54])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/shard-kbl2/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/shard-kbl4/igt@[email protected]
- shard-apl: [PASS][7] -> [FAIL][8] ([i915#1635] / [i915#54])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/shard-apl8/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/shard-apl3/igt@[email protected]

* igt@kms_cursor_edge_walk@pipe-c-64x64-bottom-edge:
- shard-glk: [PASS][9] -> [DMESG-WARN][10] ([i915#1982])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/shard-glk2/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/shard-glk3/igt@[email protected]

* igt@kms_cursor_legacy@flip-vs-cursor-crc-atomic:
- shard-kbl: [PASS][11] -> [DMESG-WARN][12] ([i915#1982])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/shard-kbl2/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/shard-kbl4/igt@[email protected]

* igt@kms_flip@2x-flip-vs-expired-vblank-interruptible@ac-hdmi-a1-hdmi-a2:
- shard-glk: [PASS][13] -> [FAIL][14] ([i915#79])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/shard-glk1/igt@kms_flip@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/shard-glk5/igt@kms_flip@[email protected]

* igt@kms_flip@dpms-off-confusion-interruptible@a-edp1:
- shard-tglb: [PASS][15] -> [DMESG-WARN][16] ([i915#1982])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/shard-tglb2/igt@kms_flip@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/shard-tglb3/igt@kms_flip@[email protected]

* igt@kms_flip@flip-vs-suspend-interruptible@a-dp1:
- shard-kbl: [PASS][17] -> [DMESG-WARN][18] ([i915#180]) +8 similar issues
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/shard-kbl1/igt@kms_flip@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/shard-kbl7/igt@kms_flip@[email protected]

* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-indfb-pgflip-blt:
- shard-apl: [PASS][19] -> [DMESG-WARN][20] ([i915#1635] / [i915#1982])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/shard-apl6/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/shard-apl4/igt@[email protected]

* igt@kms_psr@psr2_basic:
- shard-iclb: [PASS][21] -> [SKIP][22] ([fdo#109441]) +2 similar issues
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/shard-iclb2/igt@kms_psr@psr2_basic.html
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/shard-iclb1/igt@kms_psr@psr2_basic.html

* igt@kms_setmode@basic:
- shard-apl: [PASS][23] -> [FAIL][24] ([i915#1635] / [i915#31])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/shard-apl3/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/shard-apl1/igt@[email protected]

#### Possible fixes ####

* igt@gem_exec_suspend@basic-s3:
- shard-kbl: [INCOMPLETE][25] ([i915#155]) -> [PASS][26]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/shard-kbl6/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/shard-kbl1/igt@[email protected]

* igt@gem_exec_whisper@basic-contexts-priority:
- shard-glk: [DMESG-WARN][27] ([i915#118] / [i915#95]) -> [PASS][28]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/shard-glk2/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/shard-glk5/igt@[email protected]

* igt@i915_pm_sseu@full-enable:
- shard-glk: [FAIL][29] -> [PASS][30]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/shard-glk8/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/shard-glk3/igt@[email protected]

* igt@kms_big_fb@x-tiled-64bpp-rotate-0:
- shard-iclb: [DMESG-WARN][31] ([i915#1982]) -> [PASS][32]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/shard-iclb3/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/shard-iclb1/igt@[email protected]

* igt@kms_big_fb@y-tiled-64bpp-rotate-180:
- shard-apl: [DMESG-WARN][33] ([i915#1635] / [i915#1982]) -> [PASS][34]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/shard-apl6/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/shard-apl4/igt@[email protected]

* igt@kms_cursor_legacy@2x-long-cursor-vs-flip-atomic:
- shard-hsw: [FAIL][35] ([i915#96]) -> [PASS][36]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/shard-hsw6/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/shard-hsw8/igt@[email protected]

* igt@kms_flip@2x-dpms-vs-vblank-race@ab-hdmi-a1-hdmi-a2:
- shard-glk: [DMESG-WARN][37] ([i915#1982]) -> [PASS][38]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/shard-glk6/igt@kms_flip@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/shard-glk6/igt@kms_flip@[email protected]

* igt@kms_flip@2x-plain-flip-ts-check@ab-vga1-hdmi-a1:
- shard-hsw: [DMESG-WARN][39] ([i915#1982]) -> [PASS][40]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/shard-hsw1/igt@kms_flip@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/shard-hsw1/igt@kms_flip@[email protected]

* igt@kms_flip@basic-flip-vs-wf_vblank@a-dp1:
- shard-kbl: [DMESG-WARN][41] ([i915#1982]) -> [PASS][42] +3 similar issues
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/shard-kbl7/igt@kms_flip@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/shard-kbl4/igt@kms_flip@[email protected]

* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-mmap-wc:
- shard-kbl: [FAIL][43] ([i915#49]) -> [PASS][44]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/shard-kbl6/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-mmap-wc.html
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/shard-kbl1/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-mmap-wc.html
- shard-apl: [FAIL][45] ([i915#1635] / [i915#49]) -> [PASS][46]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/shard-apl6/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-mmap-wc.html
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/shard-apl1/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-mmap-wc.html

* igt@kms_frontbuffer_tracking@fbcpsr-shrfb-scaledprimary:
- shard-tglb: [DMESG-WARN][47] ([i915#1982]) -> [PASS][48] +4 similar issues
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/shard-tglb6/igt@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/shard-tglb8/igt@[email protected]

* igt@kms_hdr@bpc-switch-suspend:
- shard-kbl: [DMESG-WARN][49] ([i915#180]) -> [PASS][50] +2 similar issues
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/shard-kbl2/igt@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/shard-kbl2/igt@[email protected]

* igt@kms_panel_fitting@atomic-fastset:
- shard-tglb: [FAIL][51] ([i915#83]) -> [PASS][52]
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/shard-tglb8/igt@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/shard-tglb3/igt@[email protected]
- shard-iclb: [FAIL][53] ([i915#83]) -> [PASS][54]
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/shard-iclb7/igt@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/shard-iclb7/igt@[email protected]

* igt@kms_psr@psr2_cursor_mmap_cpu:
- shard-iclb: [SKIP][55] ([fdo#109441]) -> [PASS][56] +2 similar issues
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/shard-iclb6/igt@kms_psr@psr2_cursor_mmap_cpu.html
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/shard-iclb2/igt@kms_psr@psr2_cursor_mmap_cpu.html

#### Warnings ####

* igt@kms_content_protection@atomic:
- shard-apl: [TIMEOUT][57] ([i915#1319] / [i915#1635] / [i915#1958]) -> [FAIL][58] ([fdo#110321] / [fdo#110336] / [i915#1635])
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9008/shard-apl3/igt@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/shard-apl7/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#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#110321]: https://bugs.freedesktop.org/show_bug.cgi?id=110321
[fdo#110336]: https://bugs.freedesktop.org/show_bug.cgi?id=110336
[i915#118]: https://gitlab.freedesktop.org/drm/intel/issues/118
[i915#1319]: https://gitlab.freedesktop.org/drm/intel/issues/1319
[i915#155]: https://gitlab.freedesktop.org/drm/intel/issues/155
[i915#1635]: https://gitlab.freedesktop.org/drm/intel/issues/1635
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#1958]: https://gitlab.freedesktop.org/drm/intel/issues/1958
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#31]: https://gitlab.freedesktop.org/drm/intel/issues/31
[i915#49]: https://gitlab.freedesktop.org/drm/intel/issues/49
[i915#54]: https://gitlab.freedesktop.org/drm/intel/issues/54
[i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79
[i915#83]: https://gitlab.freedesktop.org/drm/intel/issues/83
[i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95
[i915#96]: https://gitlab.freedesktop.org/drm/intel/issues/96

Participating hosts (11 -> 8)
------------------------------

Missing (3): pig-skl-6260u pig-glk-j5005 pig-icl-1065g7

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

* CI: CI-20190529 -> None
* IGT: IGT_5784 -> IGTPW_4981
* Piglit: piglit_4509 -> None

CI-20190529: 20190529
CI_DRM_9008: 14dc141acc195be5b1d0ffb563c5c0a277569715 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_4981: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4981/index.html
IGT_5784: 265f1d4a5a14998b98f963ee04d695cf3f3c2d3a @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit

== Logs ==

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

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

Acked-by on v1 1/1
#3 lore raw
In reply to [email protected]
Quoted 122 lines · On Tue, Sep 15, 2020 at 12:54:55AM +0530, [email protected] wrote:

From: Apoorva Singh <[email protected]>

Added test description to all the available subtests.

Cc Melkaveri, Arjun <[email protected]>
---
 tests/i915/gem_mmap_wc.c | 45 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)
tests/i915/gem_mmap_wc.c +43 -0
index f44b406d..aa98d408 100644
@@ -38,6 +38,8 @@
 #include <sys/ioctl.h>
 #include "drm.h"
 
+IGT_TEST_DESCRIPTION("Tests the extended version of MMAP IOCTL (Write Combine)");
+
 struct local_i915_gem_mmap_v2 {
 	uint32_t handle;
 	uint32_t pad;
@@ -505,6 +507,7 @@ igt_main
 		gem_require_mmap_wc(fd);
 	}
 
+	igt_describe("Verify mapping to invalid gem object won't be created");
 	igt_subtest("bad-object") {
 		uint32_t real_handle = gem_create(fd, 4096);
 		uint32_t handles[20];
@@ -528,6 +531,7 @@ igt_main
 		gem_close(fd, real_handle);
 	}
 
+	igt_describe("Verify mapping to gem object with invalid offset won't be created");
 	igt_subtest("bad-offset") {
 		struct bad_offset {
 			uint64_t size;
@@ -555,6 +559,7 @@ igt_main
 		}
 	}
 
+	igt_describe("Verify mapping to gem object with invalid size won't be created");
 	igt_subtest("bad-size") {
 		uint64_t bad_size[] = {
 			0,
@@ -577,45 +582,85 @@ igt_main
 		}
 	}
 
+	igt_describe("Verify mapping to gem object with invalid flag won't be created");
 	igt_subtest("invalid-flags")
 		test_invalid_flags(fd);
+
+	igt_describe("Verify memory mapping to gem object persists after gem_close");
 	igt_subtest("close")
 		test_close(fd);
+
+	igt_describe("Verify copying between two memory mapped gem objects works fine");
 	igt_subtest("copy")
 		test_copy(fd);
+
+	igt_describe("Verify reading from newly created gem obejct works fine");
 	igt_subtest("read")
 		test_read(fd);
+
+	igt_describe("Verify writing into newly created gem object works fine");
 	igt_subtest("write")
 		test_write(fd);
+
+	igt_describe("Tests that mmap and mmap(wc) mappings to a gem object are "
+	       "coherent after cache flush");
 	igt_subtest("coherency")
 		test_coherency(fd);
+
+	igt_describe("Verify writing into prefaulted gem object works fine");
 	igt_subtest("write-prefaulted")
 		test_write_prefaulted(fd);
+
+	igt_describe("Tests read and subsequent write on buffer object");
 	igt_subtest("read-write")
 		test_read_write(fd, READ_BEFORE_WRITE);
+
+	igt_describe("Tests write and subsequent read on buffer object");
 	igt_subtest("write-read")
 		test_read_write(fd, READ_AFTER_WRITE);
+
+	igt_describe("Tests read before write using distinct mmap(wc) mappings to "
+	       "same buffer object");
 	igt_subtest("read-write-distinct")
 		test_read_write2(fd, READ_BEFORE_WRITE);
+
+	igt_describe("Tests write before read using distinct mmap(wc) mappings to "
+	       "same buffer object");
 	igt_subtest("write-read-distinct")
 		test_read_write2(fd, READ_AFTER_WRITE);
+
+	igt_describe("Verify concurrent access of a gem object by multiple threads work fine");
 	igt_subtest("fault-concurrent")
 		test_fault_concurrent(fd);
+
+	igt_describe("Checks the coherency of data written into gem object using cpu mmap and "
+	       "read from it using write combine mmap, having WC domain set");
 	igt_subtest("write-cpu-read-wc")
 		test_write_cpu_read_wc(fd, 1);
+
+        igt_describe("Checks the coherency of data written into gem object using cpu mmap and "
+               "read from it using write combine mmap, not having WC domain set");
 	igt_subtest("write-cpu-read-wc-unflushed")
 		test_write_cpu_read_wc(fd, 0);
 
 	igt_subtest_group {
 		igt_fixture gem_require_mappable_ggtt(fd);
+
+	        igt_describe("Checks the coherency of data written into gem object using write "
+		       "combine mmap and read from it using gtt mmap");
 		igt_subtest("write-wc-read-gtt")
 			test_write_wc_read_gtt(fd);
+
+		igt_describe("Checks the coherency of data written into gem object using gtt "
+		       "mmap and read from it using write combine mmap");

tests/i915/gem_mmap_wc.c igt_main · line 665

Quoted 10 lines
tests/i915/gem_mmap_wc.c +2 -0
 		igt_subtest("write-gtt-read-gtt")
 			test_write_gtt_read_wc(fd);
 	}
 
+	igt_describe("Verify initial page faulting completes within a specified time");
 	igt_subtest("pf-nonblock")
 		test_pf_nonblock(fd);
+
 	igt_subtest("set-cache-level")
 		test_set_cache_level(fd);

LGTM :)

Kasia :)

Quoted 8 lines
Signature · 7 lines
-- 
2.28.0

_______________________________________________
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