Skip to contentSkip to conversation

i915/gem_ctx_create: Added test description for test case

PATCH In review [email protected] 3 participants 4 messages Oct 10, 2020 – Nov 13, 2020

lore
Share & tools
lore
#0 lore raw

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

From: Apoorva Singh <[email protected]>

Added test and subtests description

Cc Melkaveri, Arjun <[email protected]>
---
 tests/i915/gem_ctx_create.c | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
tests/i915/gem_ctx_create.c +31 -0
index 39305f02..490b9a66 100644
@@ -35,6 +35,8 @@
 #include "igt_rand.h"
 #include "sw_sync.h"
 
+IGT_TEST_DESCRIPTION("Test the context create ioctls");
+
 #define ENGINE_FLAGS  (I915_EXEC_RING_MASK | I915_EXEC_BSD_MASK)
 
 static unsigned all_engines[16];
@@ -582,6 +584,7 @@ igt_main
 		igt_fork_hang_detector(fd);
 	}
 
+	igt_describe("Tests the basic functionlaity of CONTEXT_CREATE ioctl");
 	igt_subtest("basic") {
 		memset(&create, 0, sizeof(create));
 		create.ctx_id = rand();
@@ -591,41 +594,69 @@ igt_main
 		gem_context_destroy(fd, create.ctx_id);
 	}
 
+	igt_describe("Verify the functionality of CONTEXT_CREATE_EXT ioctl");
 	igt_subtest("ext-param")
 		basic_ext_param(fd);
+
 	igt_subtest("iris-pipeline")
 		iris_pipeline(fd);
 
+	igt_describe("Creates multiple contexts upto available RAM size and then checks "
+	       "the average performance of their execution on multiple parallel threads");
 	igt_subtest("maximum-mem")
 		maximum(fd, ncpus, CHECK_RAM);
+
+	igt_describe("Creates multiple contexts upto available RAM plus SWAP size and then "
+	       "checks the average performance of their execution on multiple parallel threads");
 	igt_subtest("maximum-swap")
 		maximum(fd, ncpus, CHECK_RAM | CHECK_SWAP);
 
+	igt_describe("Checks the average performance by executing a flinked buffer "
+	       "object repeatedly on different engines for a small timeout period");
 	igt_subtest("basic-files")
 		files(fd, 2, 1);
+
+	igt_describe("Checks the average performance by executing a flinked buffer "
+	       "object repeatedly on different engines for a large timeout period");
 	igt_subtest("files")
 		files(fd, 20, 1);
+
+	igt_describe("Checks the average performance by executing a flinked buffer object repeatedly "
+	       "on different engines for a large timeout period on multiple parallel threads");
 	igt_subtest("forked-files")
 		files(fd, 20, ncpus);
 
+	igt_describe("Checks the average performance of context creation and "
+	       "it's execution on all engines");
 	/* NULL value means all engines */
 	igt_subtest("active-all")
 		active(fd, NULL, 20, 1);
+
+	igt_describe("Checks the average performance of context creation and it's execution "
+	       "using all engines on multiple parallel threads");
 	igt_subtest("forked-active-all")
 		active(fd, NULL, 20, ncpus);
 
+	igt_describe("For each engine, checks the average performance of context creation "
+	       "and execution");
 	igt_subtest_with_dynamic("active") {
 		__for_each_physical_engine(fd, e) {
 			igt_dynamic_f("%s", e->name)
 				active(fd, e, 20, 1);
 		}
 	}
+
+	igt_describe("For each engine, checks the average performance of context creation "
+	       "and execution on multiple parallel threads");
 	igt_subtest_with_dynamic("forked-active") {
 		__for_each_physical_engine(fd, e) {
 			igt_dynamic_f("%s", e->name)
 				active(fd, e, 20, ncpus);
 		}
 	}
+
+	igt_describe("For each engine, checks the average performance of context creation "
+	       "and execution while all other engines are hogging the resources");
 	igt_subtest_with_dynamic("hog") {
 		__for_each_physical_engine(fd, e) {
 			igt_dynamic_f("%s", e->name)
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_ctx_create: Added test description for test case

== Series Details ==

== Series Details ==

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

== Summary ==

CI Bug Log - changes from IGT_5808 -> IGTPW_5055
====================================================

Summary
-------

**SUCCESS**

No regressions found.

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

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

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

### IGT changes ###

#### Issues hit ####

* igt@gem_exec_suspend@basic-s0:
- fi-tgl-u2: [PASS][1] -> [FAIL][2] ([i915#1888])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/fi-tgl-u2/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/fi-tgl-u2/igt@[email protected]

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

#### Possible fixes ####

* igt@i915_module_load@reload:
- fi-apl-guc: [DMESG-WARN][5] ([i915#1635] / [i915#1982]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/fi-apl-guc/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/fi-apl-guc/igt@[email protected]

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

* igt@vgem_basic@unload:
- fi-kbl-x1275: [DMESG-WARN][9] ([i915#62] / [i915#92]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/fi-kbl-x1275/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/fi-kbl-x1275/igt@[email protected]

#### Warnings ####

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

* igt@prime_vgem@basic-fence-flip:
- fi-kbl-x1275: [DMESG-WARN][13] ([i915#62] / [i915#92] / [i915#95]) -> [DMESG-WARN][14] ([i915#62] / [i915#92]) +3 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/fi-kbl-x1275/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/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#1635]: https://gitlab.freedesktop.org/drm/intel/issues/1635
[i915#1888]: https://gitlab.freedesktop.org/drm/intel/issues/1888
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[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

Participating hosts (45 -> 38)
------------------------------

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

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

* CI: CI-20190529 -> None
* IGT: IGT_5808 -> IGTPW_5055

CI-20190529: 20190529
CI_DRM_9124: 4e10e11b944de6a42e8dbad1f750adaa290c4646 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_5055: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/index.html
IGT_5808: f7d1ac8c479f7049bdd900df8d17c2fa6efdcaf6 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/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_ctx_create: Added test description for test case

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

== Series Details ==

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

== Summary ==

CI Bug Log - changes from IGT_5808_full -> IGTPW_5055_full
====================================================

Summary
-------

**FAILURE**

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

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

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

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

### IGT changes ###

#### Possible regressions ####

* igt@gem_ctx_persistence@engines-hostile@rcs0:
- shard-iclb: [PASS][1] -> [FAIL][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/shard-iclb8/igt@gem_ctx_persistence@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/shard-iclb1/igt@gem_ctx_persistence@[email protected]
- shard-tglb: [PASS][3] -> [FAIL][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/shard-tglb2/igt@gem_ctx_persistence@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/shard-tglb7/igt@gem_ctx_persistence@[email protected]

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

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

### IGT changes ###

#### Issues hit ####

* igt@gem_ctx_persistence@engines-hostile@rcs0:
- shard-glk: [PASS][5] -> [FAIL][6] ([i915#2410])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/shard-glk3/igt@gem_ctx_persistence@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/shard-glk5/igt@gem_ctx_persistence@[email protected]

* igt@gem_exec_whisper@basic-queues-forked-all:
- shard-glk: [PASS][7] -> [DMESG-WARN][8] ([i915#118] / [i915#95])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/shard-glk5/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/shard-glk8/igt@[email protected]

* igt@i915_pm_dc@dc6-psr:
- shard-iclb: [PASS][9] -> [FAIL][10] ([i915#454])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/shard-iclb1/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/shard-iclb4/igt@[email protected]

* igt@kms_color@pipe-a-gamma:
- shard-tglb: [PASS][11] -> [FAIL][12] ([i915#1149])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/shard-tglb2/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/shard-tglb8/igt@[email protected]

* igt@kms_flip@flip-vs-expired-vblank-interruptible@c-hdmi-a1:
- shard-glk: [PASS][13] -> [FAIL][14] ([i915#79])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/shard-glk8/igt@kms_flip@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/shard-glk2/igt@kms_flip@[email protected]

* igt@kms_flip@flip-vs-suspend-interruptible@b-hdmi-a1:
- shard-hsw: [PASS][15] -> [INCOMPLETE][16] ([i915#2055])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/shard-hsw2/igt@kms_flip@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/shard-hsw4/igt@kms_flip@[email protected]

* igt@kms_flip@flip-vs-suspend@c-dp1:
- shard-kbl: [PASS][17] -> [DMESG-WARN][18] ([i915#180]) +4 similar issues
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/shard-kbl2/igt@kms_flip@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/shard-kbl7/igt@kms_flip@[email protected]

* igt@kms_frontbuffer_tracking@fbcpsr-indfb-scaledprimary:
- shard-tglb: [PASS][19] -> [DMESG-WARN][20] ([i915#1982]) +3 similar issues
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/shard-tglb8/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/shard-tglb1/igt@[email protected]

* igt@kms_plane_scaling@pipe-c-scaler-with-clipping-clamping:
- shard-iclb: [PASS][21] -> [DMESG-WARN][22] ([i915#1982])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/shard-iclb4/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/shard-iclb3/igt@[email protected]

* igt@kms_psr@psr2_cursor_plane_onoff:
- shard-iclb: [PASS][23] -> [SKIP][24] ([fdo#109441]) +3 similar issues
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/shard-iclb2/igt@kms_psr@psr2_cursor_plane_onoff.html
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/shard-iclb1/igt@kms_psr@psr2_cursor_plane_onoff.html

#### Possible fixes ####

* igt@gem_ctx_engines@libapi:
- shard-hsw: [FAIL][25] ([i915#2541]) -> [PASS][26]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/shard-hsw4/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/shard-hsw2/igt@[email protected]
- shard-iclb: [FAIL][27] ([i915#2541]) -> [PASS][28]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/shard-iclb6/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/shard-iclb1/igt@[email protected]
- shard-kbl: [FAIL][29] ([i915#2541]) -> [PASS][30]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/shard-kbl4/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/shard-kbl4/igt@[email protected]
- shard-apl: [FAIL][31] ([i915#1635] / [i915#2541]) -> [PASS][32]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/shard-apl1/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/shard-apl4/igt@[email protected]
- shard-glk: [FAIL][33] ([i915#2541]) -> [PASS][34]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/shard-glk1/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/shard-glk5/igt@[email protected]
- shard-tglb: [FAIL][35] ([i915#2541]) -> [PASS][36]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/shard-tglb5/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/shard-tglb7/igt@[email protected]
- shard-snb: [FAIL][37] ([i915#2541]) -> [PASS][38]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/shard-snb4/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/shard-snb2/igt@[email protected]

* {igt@gem_exec_capture@pi@vcs0}:
- shard-glk: [INCOMPLETE][39] ([i915#2553]) -> [PASS][40]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/shard-glk5/igt@gem_exec_capture@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/shard-glk5/igt@gem_exec_capture@[email protected]

* igt@gem_exec_reloc@basic-many-active@rcs0:
- shard-apl: [FAIL][41] ([i915#1635] / [i915#2389]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/shard-apl2/igt@gem_exec_reloc@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/shard-apl7/igt@gem_exec_reloc@[email protected]

* igt@gem_exec_whisper@basic-fds-priority:
- shard-glk: [DMESG-WARN][43] ([i915#118] / [i915#95]) -> [PASS][44] +1 similar issue
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/shard-glk6/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/shard-glk1/igt@[email protected]

* igt@i915_pm_rc6_residency@rc6-fence:
- shard-hsw: [WARN][45] ([i915#1519]) -> [PASS][46]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/shard-hsw2/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/shard-hsw1/igt@[email protected]

* igt@kms_big_fb@x-tiled-8bpp-rotate-0:
- shard-apl: [DMESG-WARN][47] ([i915#1635] / [i915#1982]) -> [PASS][48]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/shard-apl2/igt@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/shard-apl7/igt@[email protected]

* igt@kms_cursor_crc@pipe-a-cursor-suspend:
- shard-kbl: [DMESG-WARN][49] ([i915#180]) -> [PASS][50] +4 similar issues
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/shard-kbl7/igt@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/shard-kbl1/igt@[email protected]

* igt@kms_cursor_legacy@2x-long-cursor-vs-flip-legacy:
- shard-hsw: [FAIL][51] ([i915#96]) -> [PASS][52]
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/shard-hsw1/igt@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/shard-hsw4/igt@[email protected]

* igt@kms_flip@2x-plain-flip-ts-check-interruptible@ab-vga1-hdmi-a1:
- shard-hsw: [INCOMPLETE][53] -> [PASS][54]
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/shard-hsw4/igt@kms_flip@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/shard-hsw1/igt@kms_flip@[email protected]

* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-move:
- shard-tglb: [DMESG-WARN][55] ([i915#1982]) -> [PASS][56] +7 similar issues
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/shard-tglb1/igt@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/shard-tglb3/igt@[email protected]

* igt@kms_frontbuffer_tracking@psr-rgb565-draw-pwrite:
- shard-iclb: [DMESG-WARN][57] ([i915#1982]) -> [PASS][58] +1 similar issue
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/shard-iclb8/igt@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/shard-iclb2/igt@[email protected]

* igt@kms_psr@psr2_suspend:
- shard-iclb: [SKIP][59] ([fdo#109441]) -> [PASS][60] +1 similar issue
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/shard-iclb3/igt@kms_psr@psr2_suspend.html
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/shard-iclb2/igt@kms_psr@psr2_suspend.html

* igt@kms_setmode@basic:
- shard-apl: [FAIL][61] ([i915#1635] / [i915#31]) -> [PASS][62]
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/shard-apl2/igt@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/shard-apl7/igt@[email protected]

* igt@kms_universal_plane@universal-plane-gen9-features-pipe-a:
- shard-kbl: [DMESG-WARN][63] ([i915#1982]) -> [PASS][64]
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/shard-kbl1/igt@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/shard-kbl4/igt@[email protected]

* igt@perf_pmu@module-unload:
- shard-tglb: [SKIP][65] -> [PASS][66]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/shard-tglb5/igt@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/shard-tglb2/igt@[email protected]
- shard-snb: [SKIP][67] ([fdo#109271]) -> [PASS][68]
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/shard-snb4/igt@[email protected]
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/shard-snb4/igt@[email protected]
- shard-hsw: [SKIP][69] ([fdo#109271]) -> [PASS][70]
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/shard-hsw4/igt@[email protected]
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/shard-hsw2/igt@[email protected]
- shard-kbl: [SKIP][71] ([fdo#109271]) -> [PASS][72]
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/shard-kbl4/igt@[email protected]
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/shard-kbl2/igt@[email protected]
- shard-apl: [SKIP][73] ([fdo#109271] / [i915#1635]) -> [PASS][74]
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/shard-apl1/igt@[email protected]
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/shard-apl6/igt@[email protected]
- shard-iclb: [SKIP][75] -> [PASS][76]
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/shard-iclb6/igt@[email protected]
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/shard-iclb7/igt@[email protected]
- shard-glk: [SKIP][77] ([fdo#109271]) -> [PASS][78]
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/shard-glk1/igt@[email protected]
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/shard-glk4/igt@[email protected]

* igt@testdisplay:
- shard-apl: [TIMEOUT][79] ([i915#1635] / [i915#1692]) -> [PASS][80]
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/shard-apl3/[email protected]
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/shard-apl6/[email protected]
- shard-kbl: [TIMEOUT][81] ([i915#1692]) -> [PASS][82]
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5808/shard-kbl1/[email protected]
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/shard-kbl2/[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#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[i915#1149]: https://gitlab.freedesktop.org/drm/intel/issues/1149
[i915#118]: https://gitlab.freedesktop.org/drm/intel/issues/118
[i915#1519]: https://gitlab.freedesktop.org/drm/intel/issues/1519
[i915#1635]: https://gitlab.freedesktop.org/drm/intel/issues/1635
[i915#1692]: https://gitlab.freedesktop.org/drm/intel/issues/1692
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#2055]: https://gitlab.freedesktop.org/drm/intel/issues/2055
[i915#2389]: https://gitlab.freedesktop.org/drm/intel/issues/2389
[i915#2410]: https://gitlab.freedesktop.org/drm/intel/issues/2410
[i915#2521]: https://gitlab.freedesktop.org/drm/intel/issues/2521
[i915#2541]: https://gitlab.freedesktop.org/drm/intel/issues/2541
[i915#2553]: https://gitlab.freedesktop.org/drm/intel/issues/2553
[i915#31]: https://gitlab.freedesktop.org/drm/intel/issues/31
[i915#454]: https://gitlab.freedesktop.org/drm/intel/issues/454
[i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79
[i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95
[i915#96]: https://gitlab.freedesktop.org/drm/intel/issues/96

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

No changes in participating hosts

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

* CI: CI-20190529 -> None
* IGT: IGT_5808 -> IGTPW_5055

CI-20190529: 20190529
CI_DRM_9124: 4e10e11b944de6a42e8dbad1f750adaa290c4646 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_5055: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5055/index.html
IGT_5808: f7d1ac8c479f7049bdd900df8d17c2fa6efdcaf6 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools

== Logs ==

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

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

#3 lore raw
In reply to [email protected]
Quoted 24 lines · On Sat, Oct 10, 2020 at 08:07:19PM +0530, [email protected] wrote:

From: Apoorva Singh <[email protected]>

Added test and subtests description

Cc Melkaveri, Arjun <[email protected]>
---
 tests/i915/gem_ctx_create.c | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
tests/i915/gem_ctx_create.c +2 -0
index 39305f02..490b9a66 100644
@@ -35,6 +35,8 @@
 #include "igt_rand.h"
 #include "sw_sync.h"
 
+IGT_TEST_DESCRIPTION("Test the context create ioctls");
+
 #define ENGINE_FLAGS  (I915_EXEC_RING_MASK | I915_EXEC_BSD_MASK)
 
 static unsigned all_engines[16];

tests/i915/gem_ctx_create.c igt_main · line 587

Quoted 4 lines
tests/i915/gem_ctx_create.c +1 -0
@@ -582,6 +584,7 @@ igt_main
 		igt_fork_hang_detector(fd);
 	}
 
+	igt_describe("Tests the basic functionlaity of CONTEXT_CREATE ioctl");

Typo in functionality.
I would go with:
igt_describe("Test random ctx creation");

tests/i915/gem_ctx_create.c igt_main · line 597

Quoted 8 lines
tests/i915/gem_ctx_create.c +1 -0
 	igt_subtest("basic") {
 		memset(&create, 0, sizeof(create));
 		create.ctx_id = rand();
@@ -591,41 +594,69 @@ igt_main
 		gem_context_destroy(fd, create.ctx_id);
 	}
 
+	igt_describe("Verify the functionality of CONTEXT_CREATE_EXT ioctl");

igt_describe("Verify valid and invalid context extensions");

tests/i915/gem_ctx_create.c igt_main · line 602

Quoted 5 lines
tests/i915/gem_ctx_create.c +1 -0
 	igt_subtest("ext-param")
 		basic_ext_param(fd);
+
 	igt_subtest("iris-pipeline")
 		iris_pipeline(fd);

Why ^ this one does not have a description?
maybe:
igt_describe("Set, validate and execute particular ctx params");

tests/i915/gem_ctx_create.c igt_main · line 605

Quoted 3 lines
tests/i915/gem_ctx_create.c +2 -0
+	igt_describe("Creates multiple contexts upto available RAM size and then checks "
+	       "the average performance of their execution on multiple parallel threads");

igt_describe("Create ctxs upto available RAM size, check the average performance of their execution on multiple parallel threads");

tests/i915/gem_ctx_create.c igt_main · line 610

Quoted 5 lines
tests/i915/gem_ctx_create.c +3 -0
 	igt_subtest("maximum-mem")
 		maximum(fd, ncpus, CHECK_RAM);
+
+	igt_describe("Creates multiple contexts upto available RAM plus SWAP size and then "
+	       "checks the average performance of their execution on multiple parallel threads");

igt_describe("Create ctxs upto available RAM+SWAP size, check the average performance of their execution on multiple parallel threads");

tests/i915/gem_ctx_create.c igt_main · line 615

Quoted 5 lines
tests/i915/gem_ctx_create.c +2 -0
 	igt_subtest("maximum-swap")
 		maximum(fd, ncpus, CHECK_RAM | CHECK_SWAP);
 
+	igt_describe("Checks the average performance by executing a flinked buffer "
+	       "object repeatedly on different engines for a small timeout period");

igt_describe("Exercise implicit per-fd context creation");

tests/i915/gem_ctx_create.c igt_main · line 620

Quoted 5 lines
tests/i915/gem_ctx_create.c +3 -0
 	igt_subtest("basic-files")
 		files(fd, 2, 1);
+
+	igt_describe("Checks the average performance by executing a flinked buffer "
+	       "object repeatedly on different engines for a large timeout period");

igt_describe("Exercise long implicit per-fd context creation on 1 CPU");

tests/i915/gem_ctx_create.c igt_main · line 625

Quoted 5 lines
tests/i915/gem_ctx_create.c +3 -0
 	igt_subtest("files")
 		files(fd, 20, 1);
+
+	igt_describe("Checks the average performance by executing a flinked buffer object repeatedly "
+	       "on different engines for a large timeout period on multiple parallel threads");

igt_describe("Exercise implicit per-fd context creation on all CPUs");

tests/i915/gem_ctx_create.c igt_main · line 630

Quoted 5 lines
tests/i915/gem_ctx_create.c +2 -0
 	igt_subtest("forked-files")
 		files(fd, 20, ncpus);
 
+	igt_describe("Checks the average performance of context creation and "
+	       "it's execution on all engines");

igt_describe("Excercise a trivial allocation failure on 1 CPU and measure performance"

tests/i915/gem_ctx_create.c igt_main · line 636

Quoted 6 lines
tests/i915/gem_ctx_create.c +3 -0
 	/* NULL value means all engines */
 	igt_subtest("active-all")
 		active(fd, NULL, 20, 1);
+
+	igt_describe("Checks the average performance of context creation and it's execution "
+	       "using all engines on multiple parallel threads");

igt_describe("Excercise a trivial allocation failure on all CPUs and measure performance"

tests/i915/gem_ctx_create.c igt_main · line 641

Quoted 5 lines
tests/i915/gem_ctx_create.c +2 -0
 	igt_subtest("forked-active-all")
 		active(fd, NULL, 20, ncpus);
 
+	igt_describe("For each engine, checks the average performance of context creation "
+	       "and execution");

gt_describe("For each engine check the average performance of context creation "

      "and execution");

tests/i915/gem_ctx_create.c igt_main · line 650

Quoted 9 lines
tests/i915/gem_ctx_create.c +3 -0
 	igt_subtest_with_dynamic("active") {
 		__for_each_physical_engine(fd, e) {
 			igt_dynamic_f("%s", e->name)
 				active(fd, e, 20, 1);
 		}
 	}
+
+	igt_describe("For each engine, checks the average performance of context creation "
+	       "and execution on multiple parallel threads");

igt_describe("For each engine check the average performance of context creation "

       "and execution on multiple parallel threads");

tests/i915/gem_ctx_create.c igt_main · line 659

Quoted 9 lines
tests/i915/gem_ctx_create.c +3 -0
 	igt_subtest_with_dynamic("forked-active") {
 		__for_each_physical_engine(fd, e) {
 			igt_dynamic_f("%s", e->name)
 				active(fd, e, 20, ncpus);
 		}
 	}
+
+	igt_describe("For each engine, checks the average performance of context creation "
+	       "and execution while all other engines are hogging the resources");

s/engine, checks the/engine check the/

tests/i915/gem_ctx_create.c igt_main · line 662

Quoted 3 lines
tests/i915/gem_ctx_create.c +0 -0
 	igt_subtest_with_dynamic("hog") {
 		__for_each_physical_engine(fd, e) {
 			igt_dynamic_f("%s", e->name)

It looks like you findings were correct, my suggeston is to re-word them slightly.

Kasia :)

Quoted 7 lines
Signature · 6 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