Skip to contentSkip to conversation

tests/i915/gem_exec_fence: Replacing custom spinner with igt_spin

PATCH Superseded Vikas Srivastava 3 participants 4 messages Nov 10, 2022

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/i915/gem_exec_fence: Replacing custom spinner with igt_spin

From: Chris Wilson <[email protected]>

Replace the custom spinner with igt_spin, possible now that igt_spin can provide the out-fence. This has a major advantage, such as able to run on any platform, including over the cmdparser.

---
 tests/i915/gem_exec_fence.c | 101 ++++++++----------------------------
 1 file changed, 23 insertions(+), 78 deletions(-)
tests/i915/gem_exec_fence.c +23 -78
index e8d51a732..6ac0f0877 100644
@@ -29,6 +29,7 @@
 #include "i915/gem.h"
 #include "i915/gem_create.h"
 #include "igt.h"
+#include "igt_dummyload.h"
 #include "igt_store.h"
 #include "igt_syncobj.h"
 #include "igt_sysfs.h"
@@ -72,104 +73,48 @@ static void test_fence_busy(int fd, const intel_ctx_t *ctx,
 			    const struct intel_execution_engine2 *e,
 			    unsigned flags)
 {
-	const unsigned int gen = intel_gen(intel_get_drm_devid(fd));
-	struct drm_i915_gem_exec_object2 obj;
-	struct drm_i915_gem_relocation_entry reloc;
-	struct drm_i915_gem_execbuffer2 execbuf;
-	struct timespec tv;
-	uint32_t *batch;
 	uint64_t ahnd = get_reloc_ahnd(fd, ctx->id);
-	int fence, i, timeout;
-
-	if ((flags & HANG) == 0)
-		igt_require(gem_class_has_mutable_submission(fd, e->class));
+	struct timespec tv;
+	int fence, timeout;
+	igt_spin_t *spin;
 
 	gem_quiescent_gpu(fd);
 
-	memset(&execbuf, 0, sizeof(execbuf));
-	execbuf.buffers_ptr = to_user_pointer(&obj);
-	execbuf.buffer_count = 1;
-	execbuf.flags = e->flags | I915_EXEC_FENCE_OUT;
-	execbuf.rsvd1 = ctx->id;
-
-	memset(&obj, 0, sizeof(obj));
-	obj.handle = gem_create(fd, 4096);
-	obj.offset = get_offset(ahnd, obj.handle, 4096, 0);
-
-	batch = gem_mmap__device_coherent(fd, obj.handle, 0, 4096, PROT_WRITE);
-	gem_set_domain(fd, obj.handle,
-		       I915_GEM_DOMAIN_GTT, I915_GEM_DOMAIN_GTT);
-
-	i = 0;
-	if ((flags & HANG) == 0)
-		batch[i++] = 0x5 << 23;
-
-	if (!ahnd) {
-		obj.relocs_ptr = to_user_pointer(&reloc);
-		obj.relocation_count = 1;
-		memset(&reloc, 0, sizeof(reloc));
-		reloc.target_handle = obj.handle; /* recurse */
-		reloc.presumed_offset = obj.offset;
-		reloc.offset = (i + 1) * sizeof(uint32_t);
-		reloc.delta = 0;
-		reloc.read_domains = I915_GEM_DOMAIN_COMMAND;
-		reloc.write_domain = 0;
-	} else {
-		obj.flags |= EXEC_OBJECT_PINNED;
-	}
-
-	batch[i] = MI_BATCH_BUFFER_START;
-	if (gen >= 8) {
-		batch[i] |= 1 << 8 | 1;
-		batch[++i] = obj.offset;
-		batch[++i] = obj.offset >> 32;
-	} else if (gen >= 6) {
-		batch[i] |= 1 << 8;
-		batch[++i] = obj.offset;
-	} else {
-		batch[i] |= 2 << 6;
-		batch[++i] = obj.offset;
-		if (gen < 4) {
-			batch[i] |= 1;
-			reloc.delta = 1;
-		}
-	}
-	i++;
-
-	execbuf.rsvd2 = -1;
-	gem_execbuf_wr(fd, &execbuf);
-	fence = execbuf.rsvd2 >> 32;
-	igt_assert(fence != -1);
+	spin = igt_spin_new(fd, .ahnd = ahnd, .ctx = ctx, .engine = e->flags,
+			    .flags = IGT_SPIN_FENCE_OUT |
+			    ((flags & HANG) ? IGT_SPIN_NO_PREEMPTION : 0));
 
-	igt_assert(gem_bo_busy(fd, obj.handle));
+	fence = spin->out_fence;
+	igt_assert(gem_bo_busy(fd, spin->handle));
 	igt_assert(fence_busy(fence));
 
 	timeout = 120;
 	if ((flags & HANG) == 0) {
-		*batch = MI_BATCH_BUFFER_END;
-		__sync_synchronize();
-		timeout = 1;
+                igt_spin_end(spin);
+                timeout = ! igt_run_in_simulation()?1:120;
 	}
-	munmap(batch, 4096);
 
 	if (flags & WAIT) {
 		struct pollfd pfd = { .fd = fence, .events = POLLIN };
 		igt_assert(poll(&pfd, 1, timeout*1000) == 1);
 	} else {
+		int elapsed_time;
 		memset(&tv, 0, sizeof(tv));
-		while (fence_busy(fence))
-			igt_assert(igt_seconds_elapsed(&tv) < timeout);
-	}
-
-	igt_assert(!gem_bo_busy(fd, obj.handle));
+		while (fence_busy(fence)) {
+                        elapsed_time = igt_seconds_elapsed(&tv);
+                        if (elapsed_time >= timeout) {
+                                igt_info("Elapsed time (%ds)\n", elapsed_time);
+                        }
+                        igt_assert(igt_seconds_elapsed(&tv) < timeout);
+                }
+		igt_info("Elapsed time (%ds)\n", igt_seconds_elapsed(&tv));
+	}
+	igt_assert(!gem_bo_busy(fd, spin->handle));
 	igt_assert_eq(sync_fence_status(fence),
 		      flags & HANG ? -EIO : SYNC_FENCE_OK);
 
-	close(fence);
-	gem_close(fd, obj.handle);
-	put_offset(ahnd, obj.handle);
+	igt_spin_free(fd, spin);
 	put_ahnd(ahnd);
-
 	gem_quiescent_gpu(fd);
 }
 
Signature · 1 line
2.25.1
#1 lore raw

[igt-dev] ✓ Fi.CI.BAT: success for tests/i915/gem_exec_fence: Replacing custom spinner with igt_spin

== Series Details ==

== Series Details ==

Series: tests/i915/gem_exec_fence: Replacing custom spinner with igt_spin
URL : https://patchwork.freedesktop.org/series/110735/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_12364 -> IGTPW_8079
====================================================

Summary
-------

**SUCCESS**

No regressions found.

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

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

Additional (2): fi-hsw-4770 fi-rkl-11600
Missing (2): fi-ctg-p8600 fi-bdw-samus

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

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

### IGT changes ###

#### Issues hit ####

* igt@gem_huc_copy@huc-copy:
- fi-rkl-11600: NOTRUN -> [SKIP][1] ([i915#2190])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/fi-rkl-11600/igt@[email protected]

* igt@gem_lmem_swapping@basic:
- fi-rkl-11600: NOTRUN -> [SKIP][2] ([i915#4613]) +3 similar issues
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/fi-rkl-11600/igt@[email protected]

* igt@gem_softpin@allocator-basic-reserve:
- fi-hsw-4770: NOTRUN -> [SKIP][3] ([fdo#109271]) +9 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/fi-hsw-4770/igt@[email protected]

* igt@gem_tiled_pread_basic:
- fi-rkl-11600: NOTRUN -> [SKIP][4] ([i915#3282])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/fi-rkl-11600/igt@gem_tiled_pread_basic.html

* 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_8079/fi-hsw-4770/igt@[email protected]
- fi-rkl-11600: NOTRUN -> [SKIP][6] ([i915#3012])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/fi-rkl-11600/igt@[email protected]

* igt@i915_suspend@basic-s3-without-i915:
- fi-rkl-11600: NOTRUN -> [INCOMPLETE][7] ([i915#4817])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/fi-rkl-11600/igt@[email protected]

* igt@kms_chamelium@dp-crc-fast:
- fi-hsw-4770: NOTRUN -> [SKIP][8] ([fdo#109271] / [fdo#111827]) +8 similar issues
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/fi-hsw-4770/igt@[email protected]

* igt@kms_chamelium@hdmi-edid-read:
- fi-rkl-11600: NOTRUN -> [SKIP][9] ([fdo#111827]) +7 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/fi-rkl-11600/igt@[email protected]

* igt@kms_cursor_legacy@basic-busy-flip-before-cursor:
- fi-rkl-11600: NOTRUN -> [SKIP][10] ([i915#4103])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/fi-rkl-11600/igt@[email protected]

* igt@kms_force_connector_basic@force-load-detect:
- fi-rkl-11600: NOTRUN -> [SKIP][11] ([fdo#109285] / [i915#4098])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/fi-rkl-11600/igt@[email protected]

* igt@kms_psr@primary_page_flip:
- fi-rkl-11600: NOTRUN -> [SKIP][12] ([i915#1072]) +3 similar issues
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/fi-rkl-11600/igt@kms_psr@primary_page_flip.html

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

* igt@kms_setmode@basic-clone-single-crtc:
- fi-rkl-11600: NOTRUN -> [SKIP][14] ([i915#3555] / [i915#4098])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/fi-rkl-11600/igt@[email protected]

* igt@prime_vgem@basic-read:
- fi-rkl-11600: NOTRUN -> [SKIP][15] ([fdo#109295] / [i915#3291] / [i915#3708]) +2 similar issues
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/fi-rkl-11600/igt@[email protected]

* igt@prime_vgem@basic-userptr:
- fi-rkl-11600: NOTRUN -> [SKIP][16] ([fdo#109295] / [i915#3301] / [i915#3708])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/fi-rkl-11600/igt@[email protected]

#### Possible fixes ####

* igt@gem_exec_fence@basic-busy@bcs0:
- fi-glk-j4005: [SKIP][17] ([fdo#109271]) -> [PASS][18] +1 similar issue
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/fi-glk-j4005/igt@gem_exec_fence@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/fi-glk-j4005/igt@gem_exec_fence@[email protected]
- fi-bxt-dsi: [SKIP][19] ([fdo#109271]) -> [PASS][20] +1 similar issue
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/fi-bxt-dsi/igt@gem_exec_fence@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/fi-bxt-dsi/igt@gem_exec_fence@[email protected]
- fi-skl-6700k2: [SKIP][21] ([fdo#109271]) -> [PASS][22] +1 similar issue
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/fi-skl-6700k2/igt@gem_exec_fence@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/fi-skl-6700k2/igt@gem_exec_fence@[email protected]
- fi-cfl-8109u: [SKIP][23] ([fdo#109271]) -> [PASS][24] +1 similar issue
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/fi-cfl-8109u/igt@gem_exec_fence@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/fi-cfl-8109u/igt@gem_exec_fence@[email protected]
- fi-kbl-7567u: [SKIP][25] ([fdo#109271]) -> [PASS][26] +1 similar issue
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/fi-kbl-7567u/igt@gem_exec_fence@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/fi-kbl-7567u/igt@gem_exec_fence@[email protected]
- fi-kbl-8809g: [SKIP][27] ([fdo#109271]) -> [PASS][28] +1 similar issue
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/fi-kbl-8809g/igt@gem_exec_fence@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/fi-kbl-8809g/igt@gem_exec_fence@[email protected]

* igt@gem_exec_fence@basic-wait@bcs0:
- fi-cfl-guc: [SKIP][29] ([fdo#109271]) -> [PASS][30] +1 similar issue
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/fi-cfl-guc/igt@gem_exec_fence@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/fi-cfl-guc/igt@gem_exec_fence@[email protected]
- fi-kbl-x1275: [SKIP][31] ([fdo#109271]) -> [PASS][32] +1 similar issue
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/fi-kbl-x1275/igt@gem_exec_fence@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/fi-kbl-x1275/igt@gem_exec_fence@[email protected]
- fi-skl-6600u: [SKIP][33] ([fdo#109271]) -> [PASS][34] +1 similar issue
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/fi-skl-6600u/igt@gem_exec_fence@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/fi-skl-6600u/igt@gem_exec_fence@[email protected]
- fi-apl-guc: [SKIP][35] ([fdo#109271]) -> [PASS][36] +1 similar issue
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/fi-apl-guc/igt@gem_exec_fence@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/fi-apl-guc/igt@gem_exec_fence@[email protected]
- fi-skl-guc: [SKIP][37] ([fdo#109271]) -> [PASS][38] +1 similar issue
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/fi-skl-guc/igt@gem_exec_fence@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/fi-skl-guc/igt@gem_exec_fence@[email protected]
- fi-cfl-8700k: [SKIP][39] ([fdo#109271]) -> [PASS][40] +1 similar issue
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/fi-cfl-8700k/igt@gem_exec_fence@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/fi-cfl-8700k/igt@gem_exec_fence@[email protected]

* igt@gem_exec_suspend@basic-s0@smem:
- {bat-rplp-1}: [DMESG-WARN][41] ([i915#2867]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/bat-rplp-1/igt@gem_exec_suspend@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/bat-rplp-1/igt@gem_exec_suspend@[email protected]
- {bat-rpls-2}: [DMESG-WARN][43] ([i915#6434]) -> [PASS][44]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/bat-rpls-2/igt@gem_exec_suspend@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/bat-rpls-2/igt@gem_exec_suspend@[email protected]

* igt@i915_selftest@live@migrate:
- {bat-adlp-6}: [INCOMPLETE][45] ([i915#7348]) -> [PASS][46]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/bat-adlp-6/igt@i915_selftest@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/bat-adlp-6/igt@i915_selftest@[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#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2867]: https://gitlab.freedesktop.org/drm/intel/issues/2867
[i915#3012]: https://gitlab.freedesktop.org/drm/intel/issues/3012
[i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
[i915#3291]: https://gitlab.freedesktop.org/drm/intel/issues/3291
[i915#3301]: https://gitlab.freedesktop.org/drm/intel/issues/3301
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#4098]: https://gitlab.freedesktop.org/drm/intel/issues/4098
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4817]: https://gitlab.freedesktop.org/drm/intel/issues/4817
[i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367
[i915#6434]: https://gitlab.freedesktop.org/drm/intel/issues/6434
[i915#7348]: https://gitlab.freedesktop.org/drm/intel/issues/7348
[i915#7456]: https://gitlab.freedesktop.org/drm/intel/issues/7456

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

* CI: CI-20190529 -> None
* IGT: IGT_7050 -> IGTPW_8079

CI-20190529: 20190529
CI_DRM_12364: e8bcb44a50317c067823a983fa2badde97e41fdd @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_8079: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/index.html
IGT_7050: 42839a7c2bab78bc6cda8c949d8545606f377735 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git

== Logs ==

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

#2 lore raw

[igt-dev] ✓ Fi.CI.IGT: success for tests/i915/gem_exec_fence: Replacing custom spinner with igt_spin

In reply to Vikas Srivastava
== Series Details ==

== Series Details ==

Series: tests/i915/gem_exec_fence: Replacing custom spinner with igt_spin
URL : https://patchwork.freedesktop.org/series/110735/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_12364_full -> IGTPW_8079_full
====================================================

Summary
-------

**SUCCESS**

No regressions found.

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

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

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

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

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

### IGT changes ###

#### Suppressed ####

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

* igt@kms_content_protection@atomic:
- {shard-dg1}: NOTRUN -> [INCOMPLETE][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-dg1-12/igt@[email protected]

* igt@kms_invalid_mode@int-max-clock:
- {shard-rkl}: NOTRUN -> [SKIP][2]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-rkl-3/igt@[email protected]

* igt@kms_vblank@pipe-b-ts-continuation-modeset-hang:
- {shard-dg1}: [PASS][3] -> [INCOMPLETE][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-dg1-12/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-dg1-18/igt@[email protected]

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

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

### IGT changes ###

#### Issues hit ####

* igt@device_reset@unbind-reset-rebind:
- shard-snb: [PASS][5] -> [DMESG-WARN][6] ([i915#5507])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-snb6/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-snb4/igt@[email protected]
- shard-apl: [PASS][7] -> [DMESG-WARN][8] ([i915#5507])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-apl3/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-apl7/igt@[email protected]
- shard-glk: [PASS][9] -> [DMESG-WARN][10] ([i915#5507])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-glk7/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-glk1/igt@[email protected]
- shard-iclb: [PASS][11] -> [DMESG-WARN][12] ([i915#5507])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-iclb1/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-iclb1/igt@[email protected]

* igt@gem_create@create-massive:
- shard-snb: NOTRUN -> [DMESG-WARN][13] ([i915#4991])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-snb4/igt@[email protected]

* igt@gem_ctx_sseu@invalid-args:
- shard-tglb: NOTRUN -> [SKIP][14] ([i915#280])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-tglb3/igt@[email protected]

* igt@gem_exec_balancer@parallel-bb-first:
- shard-iclb: [PASS][15] -> [SKIP][16] ([i915#4525])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-iclb2/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-iclb7/igt@[email protected]

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

* igt@gem_exec_fair@basic-none-share@rcs0:
- shard-glk: [PASS][18] -> [FAIL][19] ([i915#2842]) +2 similar issues
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-glk5/igt@gem_exec_fair@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-glk7/igt@gem_exec_fair@[email protected]

* igt@gem_exec_schedule@preempt-user:
- shard-snb: NOTRUN -> [SKIP][20] ([fdo#109271]) +19 similar issues
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-snb7/igt@[email protected]

* igt@gem_lmem_swapping@heavy-verify-multi-ccs:
- shard-apl: NOTRUN -> [SKIP][21] ([fdo#109271] / [i915#4613]) +1 similar issue
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-apl1/igt@[email protected]

* igt@gem_pwrite@basic-exhaustion:
- shard-apl: NOTRUN -> [INCOMPLETE][22] ([i915#7248])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-apl7/igt@[email protected]

* igt@gem_userptr_blits@readonly-unsync:
- shard-iclb: NOTRUN -> [SKIP][23] ([i915#3297])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-iclb3/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][24] ([i915#3297])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-tglb5/igt@[email protected]

* igt@i915_module_load@resize-bar:
- shard-iclb: NOTRUN -> [SKIP][25] ([i915#6412])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-iclb5/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][26] ([i915#6412])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-tglb8/igt@[email protected]

* igt@i915_pm_dc@dc9-dpms:
- shard-iclb: [PASS][27] -> [SKIP][28] ([i915#4281])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-iclb7/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-iclb3/igt@[email protected]

* igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-0:
- shard-tglb: NOTRUN -> [SKIP][29] ([i915#5286])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-tglb5/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][30] ([i915#5286])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-iclb3/igt@[email protected]

* igt@kms_big_fb@y-tiled-8bpp-rotate-0:
- shard-glk: [PASS][31] -> [FAIL][32] ([i915#5138])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-glk3/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-glk6/igt@[email protected]

* igt@kms_ccs@pipe-a-crc-primary-basic-y_tiled_gen12_mc_ccs:
- shard-apl: NOTRUN -> [SKIP][33] ([fdo#109271] / [i915#3886]) +2 similar issues
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-apl7/igt@kms_ccs@pipe-a-crc-primary-basic-y_tiled_gen12_mc_ccs.html

* igt@kms_ccs@pipe-a-crc-primary-rotation-180-4_tiled_dg2_rc_ccs_cc:
- shard-iclb: NOTRUN -> [SKIP][34] ([fdo#109278]) +1 similar issue
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-iclb3/igt@kms_ccs@pipe-a-crc-primary-rotation-180-4_tiled_dg2_rc_ccs_cc.html
- shard-tglb: NOTRUN -> [SKIP][35] ([i915#3689] / [i915#6095])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-tglb5/igt@kms_ccs@pipe-a-crc-primary-rotation-180-4_tiled_dg2_rc_ccs_cc.html

* igt@kms_ccs@pipe-b-bad-aux-stride-y_tiled_gen12_mc_ccs:
- shard-tglb: NOTRUN -> [SKIP][36] ([i915#3689] / [i915#3886])
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-tglb8/igt@kms_ccs@pipe-b-bad-aux-stride-y_tiled_gen12_mc_ccs.html
- shard-glk: NOTRUN -> [SKIP][37] ([fdo#109271] / [i915#3886])
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-glk8/igt@kms_ccs@pipe-b-bad-aux-stride-y_tiled_gen12_mc_ccs.html
- shard-iclb: NOTRUN -> [SKIP][38] ([fdo#109278] / [i915#3886])
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-iclb5/igt@kms_ccs@pipe-b-bad-aux-stride-y_tiled_gen12_mc_ccs.html

* igt@kms_ccs@pipe-d-bad-rotation-90-4_tiled_dg2_mc_ccs:
- shard-tglb: NOTRUN -> [SKIP][39] ([i915#3689]) +1 similar issue
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-tglb5/igt@kms_ccs@pipe-d-bad-rotation-90-4_tiled_dg2_mc_ccs.html

* igt@kms_chamelium@dp-hpd-fast:
- shard-tglb: NOTRUN -> [SKIP][40] ([fdo#109284] / [fdo#111827]) +1 similar issue
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-tglb2/igt@[email protected]
- shard-glk: NOTRUN -> [SKIP][41] ([fdo#109271] / [fdo#111827]) +1 similar issue
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-glk1/igt@[email protected]

* igt@kms_chamelium@hdmi-hpd-with-enabled-mode:
- shard-iclb: NOTRUN -> [SKIP][42] ([fdo#109284] / [fdo#111827]) +1 similar issue
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-iclb3/igt@[email protected]
- shard-snb: NOTRUN -> [SKIP][43] ([fdo#109271] / [fdo#111827]) +1 similar issue
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-snb6/igt@[email protected]

* igt@kms_chamelium@vga-hpd-fast:
- shard-apl: NOTRUN -> [SKIP][44] ([fdo#109271] / [fdo#111827]) +4 similar issues
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-apl3/igt@[email protected]

* igt@kms_cursor_legacy@2x-long-cursor-vs-flip-legacy:
- shard-tglb: NOTRUN -> [SKIP][45] ([fdo#109274] / [fdo#111825])
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-tglb5/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][46] ([fdo#109274])
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-iclb3/igt@[email protected]

* igt@kms_flip@flip-vs-suspend@b-dp1:
- shard-apl: [PASS][47] -> [DMESG-WARN][48] ([i915#180])
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-apl3/igt@kms_flip@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-apl8/igt@kms_flip@[email protected]

* igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-32bpp-yftileccs-downscaling@pipe-a-default-mode:
- shard-iclb: NOTRUN -> [SKIP][49] ([i915#6375])
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-iclb2/igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-32bpp-yftileccs-downscaling@pipe-a-default-mode.html

* igt@kms_flip_scaled_crc@flip-32bpp-yftileccs-to-64bpp-yftile-upscaling@pipe-a-valid-mode:
- shard-iclb: NOTRUN -> [SKIP][50] ([i915#2587] / [i915#2672]) +1 similar issue
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-iclb8/igt@kms_flip_scaled_crc@flip-32bpp-yftileccs-to-64bpp-yftile-upscaling@pipe-a-valid-mode.html

* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling@pipe-a-default-mode:
- shard-iclb: NOTRUN -> [SKIP][51] ([i915#2672]) +2 similar issues
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-iclb3/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling@pipe-a-default-mode.html

* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling@pipe-a-default-mode:
- shard-iclb: NOTRUN -> [SKIP][52] ([i915#2672] / [i915#3555])
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-iclb3/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling@pipe-a-default-mode.html

* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-draw-blt:
- shard-iclb: NOTRUN -> [SKIP][53] ([fdo#109280])
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-iclb7/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][54] ([fdo#109280] / [fdo#111825])
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-tglb1/igt@[email protected]

* igt@kms_frontbuffer_tracking@psr-1p-primscrn-cur-indfb-draw-pwrite:
- shard-glk: NOTRUN -> [SKIP][55] ([fdo#109271]) +8 similar issues
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-glk6/igt@kms_frontbuffer_tracking@psr-1p-primscrn-cur-indfb-draw-pwrite.html

* igt@kms_frontbuffer_tracking@psr-2p-scndscrn-spr-indfb-draw-render:
- shard-apl: NOTRUN -> [SKIP][56] ([fdo#109271]) +65 similar issues
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-apl1/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-spr-indfb-draw-render.html

* igt@kms_plane_lowres@tiling-yf:
- shard-tglb: NOTRUN -> [SKIP][57] ([fdo#112054] / [i915#5288])
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-tglb8/igt@[email protected]

* igt@kms_plane_lowres@tiling-yf@pipe-b-edp-1:
- shard-iclb: NOTRUN -> [SKIP][58] ([i915#3536]) +2 similar issues
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-iclb5/igt@kms_plane_lowres@[email protected]

* igt@kms_psr2_su@page_flip-nv12:
- shard-tglb: NOTRUN -> [SKIP][59] ([i915#7037])
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-tglb2/igt@kms_psr2_su@page_flip-nv12.html
- shard-glk: NOTRUN -> [SKIP][60] ([fdo#109271] / [i915#658])
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-glk2/igt@kms_psr2_su@page_flip-nv12.html
- shard-iclb: NOTRUN -> [SKIP][61] ([fdo#109642] / [fdo#111068] / [i915#658])
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-iclb6/igt@kms_psr2_su@page_flip-nv12.html

* igt@kms_psr2_su@page_flip-xrgb8888:
- shard-apl: NOTRUN -> [SKIP][62] ([fdo#109271] / [i915#658]) +2 similar issues
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-apl6/igt@kms_psr2_su@page_flip-xrgb8888.html

#### Possible fixes ####

* igt@api_intel_bb@object-reloc-keep-cache:
- {shard-rkl}: [SKIP][63] ([i915#3281]) -> [PASS][64] +1 similar issue
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-rkl-1/igt@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-rkl-5/igt@[email protected]

* igt@gem_exec_fair@basic-none-solo@rcs0:
- shard-apl: [FAIL][65] ([i915#2842]) -> [PASS][66]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-apl6/igt@gem_exec_fair@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-apl6/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-glk: [FAIL][67] ([i915#2842]) -> [PASS][68]
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-glk1/igt@gem_exec_fair@[email protected]
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-glk3/igt@gem_exec_fair@[email protected]
- shard-tglb: [FAIL][69] ([i915#2842]) -> [PASS][70]
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-tglb3/igt@gem_exec_fair@[email protected]
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-tglb7/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fence@basic-wait@bcs0:
- shard-apl: [SKIP][71] ([fdo#109271]) -> [PASS][72] +1 similar issue
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-apl3/igt@gem_exec_fence@[email protected]
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-apl2/igt@gem_exec_fence@[email protected]
- shard-glk: [SKIP][73] ([fdo#109271]) -> [PASS][74] +1 similar issue
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-glk7/igt@gem_exec_fence@[email protected]
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-glk5/igt@gem_exec_fence@[email protected]

* igt@gem_huc_copy@huc-copy:
- shard-tglb: [SKIP][75] ([i915#2190]) -> [PASS][76]
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-tglb6/igt@[email protected]
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-tglb2/igt@[email protected]

* igt@gem_mmap_wc@set-cache-level:
- {shard-rkl}: [SKIP][77] ([i915#1850]) -> [PASS][78]
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-rkl-4/igt@[email protected]
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-rkl-6/igt@[email protected]

* igt@gem_partial_pwrite_pread@writes-after-reads-uncached:
- {shard-rkl}: [SKIP][79] ([i915#3282]) -> [PASS][80] +3 similar issues
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-rkl-2/igt@[email protected]
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-rkl-5/igt@[email protected]

* igt@gen9_exec_parse@allowed-single:
- shard-apl: [DMESG-WARN][81] ([i915#5566] / [i915#716]) -> [PASS][82]
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-apl6/igt@[email protected]
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-apl6/igt@[email protected]

* igt@gen9_exec_parse@basic-rejected:
- {shard-rkl}: [SKIP][83] ([i915#2527]) -> [PASS][84] +1 similar issue
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-rkl-4/igt@[email protected]
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-rkl-5/igt@[email protected]

* igt@i915_pm_backlight@fade_with_suspend:
- {shard-rkl}: [SKIP][85] ([i915#3012]) -> [PASS][86]
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-rkl-5/igt@i915_pm_backlight@fade_with_suspend.html
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-rkl-6/igt@i915_pm_backlight@fade_with_suspend.html

* igt@i915_pm_rpm@drm-resources-equal:
- {shard-rkl}: [SKIP][87] ([fdo#109308]) -> [PASS][88]
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-rkl-4/igt@[email protected]
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-rkl-6/igt@[email protected]

* igt@i915_suspend@fence-restore-tiled2untiled:
- shard-apl: [DMESG-WARN][89] ([i915#180]) -> [PASS][90]
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-apl8/igt@[email protected]
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-apl7/igt@[email protected]

* igt@kms_async_flips@alternate-sync-async-flip@pipe-b-dp-1:
- shard-apl: [FAIL][91] ([i915#2521]) -> [PASS][92]
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-apl2/igt@kms_async_flips@[email protected]
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-apl3/igt@kms_async_flips@[email protected]

* igt@kms_async_flips@alternate-sync-async-flip@pipe-b-edp-1:
- shard-iclb: [FAIL][93] ([i915#2521]) -> [PASS][94]
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-iclb6/igt@kms_async_flips@[email protected]
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-iclb2/igt@kms_async_flips@[email protected]

* igt@kms_big_fb@x-tiled-32bpp-rotate-0:
- {shard-rkl}: [SKIP][95] ([i915#1845] / [i915#4098]) -> [PASS][96] +17 similar issues
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-rkl-1/igt@[email protected]
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-rkl-6/igt@[email protected]

* igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-180:
- shard-glk: [DMESG-FAIL][97] ([i915#118] / [i915#5138]) -> [PASS][98]
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-glk7/igt@[email protected]
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-glk8/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-pwrite:
- {shard-rkl}: [SKIP][99] ([i915#1849] / [i915#4098]) -> [PASS][100] +9 similar issues
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-rkl-5/igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-pwrite.html
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-rkl-6/igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-pwrite.html

* igt@kms_pipe_crc_basic@suspend-read-crc@pipe-d-hdmi-a-4:
- {shard-dg1}: [INCOMPLETE][101] ([i915#7266]) -> [PASS][102]
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-dg1-12/igt@kms_pipe_crc_basic@[email protected]
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-dg1-18/igt@kms_pipe_crc_basic@[email protected]

* igt@kms_plane_scaling@planes-downscale-factor-0-5@pipe-a-edp-1:
- shard-iclb: [SKIP][103] ([i915#5235]) -> [PASS][104] +2 similar issues
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-iclb2/igt@kms_plane_scaling@[email protected]
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-iclb6/igt@kms_plane_scaling@[email protected]

* igt@kms_psr@cursor_render:
- {shard-rkl}: [SKIP][105] ([i915#1072]) -> [PASS][106] +1 similar issue
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-rkl-4/igt@kms_psr@cursor_render.html
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-rkl-6/igt@kms_psr@cursor_render.html

* igt@kms_psr@psr2_sprite_mmap_gtt:
- shard-iclb: [SKIP][107] ([fdo#109441]) -> [PASS][108] +2 similar issues
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-iclb8/igt@kms_psr@psr2_sprite_mmap_gtt.html
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-iclb2/igt@kms_psr@psr2_sprite_mmap_gtt.html

* igt@kms_universal_plane@cursor-fb-leak-pipe-a:
- {shard-rkl}: [SKIP][109] ([i915#1845] / [i915#4070] / [i915#4098]) -> [PASS][110]
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-rkl-2/igt@[email protected]
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-rkl-6/igt@[email protected]

* igt@perf@polling-small-buf:
- {shard-rkl}: [FAIL][111] ([i915#1722]) -> [PASS][112]
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-rkl-1/igt@[email protected]
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-rkl-5/igt@[email protected]

* igt@perf_pmu@all-busy-idle-check-all:
- {shard-dg1}: [FAIL][113] ([i915#5234]) -> [PASS][114]
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-dg1-18/igt@[email protected]
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-dg1-17/igt@[email protected]

#### Warnings ####

* igt@gem_exec_balancer@parallel-ordering:
- shard-iclb: [FAIL][115] ([i915#6117]) -> [SKIP][116] ([i915#4525])
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-iclb2/igt@[email protected]
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-iclb3/igt@[email protected]

* igt@gem_pread@exhaustion:
- shard-apl: [INCOMPLETE][117] ([i915#7248]) -> [WARN][118] ([i915#2658])
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-apl6/igt@[email protected]
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-apl6/igt@[email protected]
- shard-tglb: [INCOMPLETE][119] ([i915#7248]) -> [WARN][120] ([i915#2658])
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-tglb5/igt@[email protected]
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-tglb2/igt@[email protected]
- shard-glk: [INCOMPLETE][121] ([i915#7248]) -> [WARN][122] ([i915#2658])
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-glk3/igt@[email protected]
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-glk3/igt@[email protected]

* igt@i915_pm_dc@dc3co-vpb-simulation:
- shard-iclb: [SKIP][123] ([i915#658]) -> [SKIP][124] ([i915#588])
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-iclb8/igt@[email protected]
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-iclb2/igt@[email protected]

* igt@kms_psr2_sf@cursor-plane-move-continuous-exceed-fully-sf:
- shard-iclb: [SKIP][125] ([i915#2920]) -> [SKIP][126] ([i915#658])
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-iclb2/igt@[email protected]
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-iclb5/igt@[email protected]

* igt@kms_psr2_sf@overlay-primary-update-sf-dmg-area:
- shard-iclb: [SKIP][127] ([i915#2920]) -> [SKIP][128] ([fdo#111068] / [i915#658])
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-iclb2/igt@[email protected]
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-iclb6/igt@[email protected]

* igt@runner@aborted:
- shard-apl: ([FAIL][129], [FAIL][130], [FAIL][131], [FAIL][132]) ([fdo#109271] / [i915#180] / [i915#3002] / [i915#4312]) -> ([FAIL][133], [FAIL][134], [FAIL][135], [FAIL][136]) ([i915#180] / [i915#3002] / [i915#4312])
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-apl7/igt@[email protected]
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-apl6/igt@[email protected]
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-apl8/igt@[email protected]
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12364/shard-apl6/igt@[email protected]
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-apl6/igt@[email protected]
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-apl7/igt@[email protected]
[135]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-apl2/igt@[email protected]
[136]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/shard-apl8/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#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274
[fdo#109278]: https://bugs.freedesktop.org/show_bug.cgi?id=109278
[fdo#109279]: https://bugs.freedesktop.org/show_bug.cgi?id=109279
[fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
[fdo#109283]: https://bugs.freedesktop.org/show_bug.cgi?id=109283
[fdo#109284]: https://bugs.freedesktop.org/show_bug.cgi?id=109284
[fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295
[fdo#109300]: https://bugs.freedesktop.org/show_bug.cgi?id=109300
[fdo#109302]: https://bugs.freedesktop.org/show_bug.cgi?id=109302
[fdo#109303]: https://bugs.freedesktop.org/show_bug.cgi?id=109303
[fdo#109308]: https://bugs.freedesktop.org/show_bug.cgi?id=109308
[fdo#109312]: https://bugs.freedesktop.org/show_bug.cgi?id=109312
[fdo#109313]: https://bugs.freedesktop.org/show_bug.cgi?id=109313
[fdo#109314]: https://bugs.freedesktop.org/show_bug.cgi?id=109314
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109506]: https://bugs.freedesktop.org/show_bug.cgi?id=109506
[fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642
[fdo#110723]: https://bugs.freedesktop.org/show_bug.cgi?id=110723
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[fdo#111614]: https://bugs.freedesktop.org/show_bug.cgi?id=111614
[fdo#111615]: https://bugs.freedesktop.org/show_bug.cgi?id=111615
[fdo#111656]: https://bugs.freedesktop.org/show_bug.cgi?id=111656
[fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[fdo#112054]: https://bugs.freedesktop.org/show_bug.cgi?id=112054
[fdo#112283]: https://bugs.freedesktop.org/show_bug.cgi?id=112283
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1155]: https://gitlab.freedesktop.org/drm/intel/issues/1155
[i915#118]: https://gitlab.freedesktop.org/drm/intel/issues/118
[i915#132]: https://gitlab.freedesktop.org/drm/intel/issues/132
[i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397
[i915#1722]: https://gitlab.freedesktop.org/drm/intel/issues/1722
[i915#1755]: https://gitlab.freedesktop.org/drm/intel/issues/1755
[i915#1769]: https://gitlab.freedesktop.org/drm/intel/issues/1769
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#1825]: https://gitlab.freedesktop.org/drm/intel/issues/1825
[i915#1839]: https://gitlab.freedesktop.org/drm/intel/issues/1839
[i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#1849]: https://gitlab.freedesktop.org/drm/intel/issues/1849
[i915#1850]: https://gitlab.freedesktop.org/drm/intel/issues/1850
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2410]: https://gitlab.freedesktop.org/drm/intel/issues/2410
[i915#2521]: https://gitlab.freedesktop.org/drm/intel/issues/2521
[i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527
[i915#2582]: https://gitlab.freedesktop.org/drm/intel/issues/2582
[i915#2587]: https://gitlab.freedesktop.org/drm/intel/issues/2587
[i915#2658]: https://gitlab.freedesktop.org/drm/intel/issues/2658
[i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672
[i915#2681]: https://gitlab.freedesktop.org/drm/intel/issues/2681
[i915#2705]: https://gitlab.freedesktop.org/drm/intel/issues/2705
[i915#280]: https://gitlab.freedesktop.org/drm/intel/issues/280
[i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
[i915#2920]: https://gitlab.freedesktop.org/drm/intel/issues/2920
[i915#2994]: https://gitlab.freedesktop.org/drm/intel/issues/2994
[i915#3002]: https://gitlab.freedesktop.org/drm/intel/issues/3002
[i915#3012]: https://gitlab.freedesktop.org/drm/intel/issues/3012
[i915#3281]: https://gitlab.freedesktop.org/drm/intel/issues/3281
[i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
[i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297
[i915#3299]: https://gitlab.freedesktop.org/drm/intel/issues/3299
[i915#3359]: https://gitlab.freedesktop.org/drm/intel/issues/3359
[i915#3361]: https://gitlab.freedesktop.org/drm/intel/issues/3361
[i915#3458]: https://gitlab.freedesktop.org/drm/intel/issues/3458
[i915#3469]: https://gitlab.freedesktop.org/drm/intel/issues/3469
[i915#3536]: https://gitlab.freedesktop.org/drm/intel/issues/3536
[i915#3539]: https://gitlab.freedesktop.org/drm/intel/issues/3539
[i915#3546]: https://gitlab.freedesktop.org/drm/intel/issues/3546
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3558]: https://gitlab.freedesktop.org/drm/intel/issues/3558
[i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
[i915#3638]: https://gitlab.freedesktop.org/drm/intel/issues/3638
[i915#3689]: https://gitlab.freedesktop.org/drm/intel/issues/3689
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#3734]: https://gitlab.freedesktop.org/drm/intel/issues/3734
[i915#3743]: https://gitlab.freedesktop.org/drm/intel/issues/3743
[i915#3810]: https://gitlab.freedesktop.org/drm/intel/issues/3810
[i915#3826]: https://gitlab.freedesktop.org/drm/intel/issues/3826
[i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
[i915#3952]: https://gitlab.freedesktop.org/drm/intel/issues/3952
[i915#3955]: https://gitlab.freedesktop.org/drm/intel/issues/3955
[i915#4070]: https://gitlab.freedesktop.org/drm/intel/issues/4070
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4078]: https://gitlab.freedesktop.org/drm/intel/issues/4078
[i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4098]: https://gitlab.freedesktop.org/drm/intel/issues/4098
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4213]: https://gitlab.freedesktop.org/drm/intel/issues/4213
[i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270
[i915#4281]: https://gitlab.freedesktop.org/drm/intel/issues/4281
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#433]: https://gitlab.freedesktop.org/drm/intel/issues/433
[i915#4349]: https://gitlab.freedesktop.org/drm/intel/issues/4349
[i915#4391]: https://gitlab.freedesktop.org/drm/intel/issues/4391
[i915#4525]: https://gitlab.freedesktop.org/drm/intel/issues/4525
[i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538
[i915#4565]: https://gitlab.freedesktop.org/drm/intel/issues/4565
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4812]: https://gitlab.freedesktop.org/drm/intel/issues/4812
[i915#4833]: https://gitlab.freedesktop.org/drm/intel/issues/4833
[i915#4852]: https://gitlab.freedesktop.org/drm/intel/issues/4852
[i915#4860]: https://gitlab.freedesktop.org/drm/intel/issues/4860
[i915#4874]: https://gitlab.freedesktop.org/drm/intel/issues/4874
[i915#4880]: https://gitlab.freedesktop.org/drm/intel/issues/4880
[i915#4885]: https://gitlab.freedesktop.org/drm/intel/issues/4885
[i915#4991]: https://gitlab.freedesktop.org/drm/intel/issues/4991
[i915#5138]: https://gitlab.freedesktop.org/drm/intel/issues/5138
[i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
[i915#5234]: https://gitlab.freedesktop.org/drm/intel/issues/5234
[i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235
[i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286
[i915#5288]: https://gitlab.freedesktop.org/drm/intel/issues/5288
[i915#5289]: https://gitlab.freedesktop.org/drm/intel/issues/5289
[i915#5325]: https://gitlab.freedesktop.org/drm/intel/issues/5325
[i915#5327]: https://gitlab.freedesktop.org/drm/intel/issues/5327
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
[i915#5439]: https://gitlab.freedesktop.org/drm/intel/issues/5439
[i915#5461]: https://gitlab.freedesktop.org/drm/intel/issues/5461
[i915#5507]: https://gitlab.freedesktop.org/drm/intel/issues/5507
[i915#5563]: https://gitlab.freedesktop.org/drm/intel/issues/5563
[i915#5566]: https://gitlab.freedesktop.org/drm/intel/issues/5566
[i915#588]: https://gitlab.freedesktop.org/drm/intel/issues/588
[i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
[i915#6117]: https://gitlab.freedesktop.org/drm/intel/issues/6117
[i915#6247]: https://gitlab.freedesktop.org/drm/intel/issues/6247
[i915#6248]: https://gitlab.freedesktop.org/drm/intel/issues/6248
[i915#6375]: https://gitlab.freedesktop.org/drm/intel/issues/6375
[i915#6412]: https://gitlab.freedesktop.org/drm/intel/issues/6412
[i915#6433]: https://gitlab.freedesktop.org/drm/intel/issues/6433
[i915#6497]: https://gitlab.freedesktop.org/drm/intel/issues/6497
[i915#6524]: https://gitlab.freedesktop.org/drm/intel/issues/6524
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#6590]: https://gitlab.freedesktop.org/drm/intel/issues/6590
[i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621
[i915#6768]: https://gitlab.freedesktop.org/drm/intel/issues/6768
[i915#6946]: https://gitlab.freedesktop.org/drm/intel/issues/6946
[i915#7037]: https://gitlab.freedesktop.org/drm/intel/issues/7037
[i915#7052]: https://gitlab.freedesktop.org/drm/intel/issues/7052
[i915#7116]: https://gitlab.freedesktop.org/drm/intel/issues/7116
[i915#7118]: https://gitlab.freedesktop.org/drm/intel/issues/7118
[i915#716]: https://gitlab.freedesktop.org/drm/intel/issues/716
[i915#7178]: https://gitlab.freedesktop.org/drm/intel/issues/7178
[i915#7248]: https://gitlab.freedesktop.org/drm/intel/issues/7248
[i915#7266]: https://gitlab.freedesktop.org/drm/intel/issues/7266

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

* CI: CI-20190529 -> None
* IGT: IGT_7050 -> IGTPW_8079
* Piglit: piglit_4509 -> None

CI-20190529: 20190529
CI_DRM_12364: e8bcb44a50317c067823a983fa2badde97e41fdd @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_8079: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8079/index.html
IGT_7050: 42839a7c2bab78bc6cda8c949d8545606f377735 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit

== Logs ==

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

#3 lore raw
In reply to Vikas Srivastava

Hi Vikas,

Thank you for corrections, there are still whitespace problems and one macro recommendation, see below.

Quoted 104 lines · Vikas Srivastava

From: Chris Wilson <[email protected]>

Replace the custom spinner with igt_spin, possible now that igt_spin can provide the out-fence. This has a major advantage, such as able to run on any platform, including over the cmdparser.

---
 tests/i915/gem_exec_fence.c | 101 ++++++++----------------------------
 1 file changed, 23 insertions(+), 78 deletions(-)
tests/i915/gem_exec_fence.c +7 -65
index e8d51a732..6ac0f0877 100644
@@ -29,6 +29,7 @@
 #include "i915/gem.h"
 #include "i915/gem_create.h"
 #include "igt.h"
+#include "igt_dummyload.h"
 #include "igt_store.h"
 #include "igt_syncobj.h"
 #include "igt_sysfs.h"
@@ -72,104 +73,48 @@ static void test_fence_busy(int fd, const intel_ctx_t *ctx,
 			    const struct intel_execution_engine2 *e,
 			    unsigned flags)
 {
-	const unsigned int gen = intel_gen(intel_get_drm_devid(fd));
-	struct drm_i915_gem_exec_object2 obj;
-	struct drm_i915_gem_relocation_entry reloc;
-	struct drm_i915_gem_execbuffer2 execbuf;
-	struct timespec tv;
-	uint32_t *batch;
 	uint64_t ahnd = get_reloc_ahnd(fd, ctx->id);
-	int fence, i, timeout;
-
-	if ((flags & HANG) == 0)
-		igt_require(gem_class_has_mutable_submission(fd, e->class));
+	struct timespec tv;
+	int fence, timeout;
+	igt_spin_t *spin;
 
 	gem_quiescent_gpu(fd);
 
-	memset(&execbuf, 0, sizeof(execbuf));
-	execbuf.buffers_ptr = to_user_pointer(&obj);
-	execbuf.buffer_count = 1;
-	execbuf.flags = e->flags | I915_EXEC_FENCE_OUT;
-	execbuf.rsvd1 = ctx->id;
-
-	memset(&obj, 0, sizeof(obj));
-	obj.handle = gem_create(fd, 4096);
-	obj.offset = get_offset(ahnd, obj.handle, 4096, 0);
-
-	batch = gem_mmap__device_coherent(fd, obj.handle, 0, 4096, PROT_WRITE);
-	gem_set_domain(fd, obj.handle,
-		       I915_GEM_DOMAIN_GTT, I915_GEM_DOMAIN_GTT);
-
-	i = 0;
-	if ((flags & HANG) == 0)
-		batch[i++] = 0x5 << 23;
-
-	if (!ahnd) {
-		obj.relocs_ptr = to_user_pointer(&reloc);
-		obj.relocation_count = 1;
-		memset(&reloc, 0, sizeof(reloc));
-		reloc.target_handle = obj.handle; /* recurse */
-		reloc.presumed_offset = obj.offset;
-		reloc.offset = (i + 1) * sizeof(uint32_t);
-		reloc.delta = 0;
-		reloc.read_domains = I915_GEM_DOMAIN_COMMAND;
-		reloc.write_domain = 0;
-	} else {
-		obj.flags |= EXEC_OBJECT_PINNED;
-	}
-
-	batch[i] = MI_BATCH_BUFFER_START;
-	if (gen >= 8) {
-		batch[i] |= 1 << 8 | 1;
-		batch[++i] = obj.offset;
-		batch[++i] = obj.offset >> 32;
-	} else if (gen >= 6) {
-		batch[i] |= 1 << 8;
-		batch[++i] = obj.offset;
-	} else {
-		batch[i] |= 2 << 6;
-		batch[++i] = obj.offset;
-		if (gen < 4) {
-			batch[i] |= 1;
-			reloc.delta = 1;
-		}
-	}
-	i++;
-
-	execbuf.rsvd2 = -1;
-	gem_execbuf_wr(fd, &execbuf);
-	fence = execbuf.rsvd2 >> 32;
-	igt_assert(fence != -1);
+	spin = igt_spin_new(fd, .ahnd = ahnd, .ctx = ctx, .engine = e->flags,
+			    .flags = IGT_SPIN_FENCE_OUT |
+			    ((flags & HANG) ? IGT_SPIN_NO_PREEMPTION : 0));
 
-	igt_assert(gem_bo_busy(fd, obj.handle));

tests/i915/gem_exec_fence.c static void test_fence_busy(int fd, const intel_ctx_t *ctx, · line 93

Quoted 10 lines
tests/i915/gem_exec_fence.c +3 -3
+	fence = spin->out_fence;
+	igt_assert(gem_bo_busy(fd, spin->handle));
 	igt_assert(fence_busy(fence));
 
 	timeout = 120;
 	if ((flags & HANG) == 0) {
-		*batch = MI_BATCH_BUFFER_END;
-		__sync_synchronize();
-		timeout = 1;
+                igt_spin_end(spin);

-- ^
Change these spaces at begin of line into tabs.

tests/i915/gem_exec_fence.c static void test_fence_busy(int fd, const intel_ctx_t *ctx, · line 94

Quoted 1 line
tests/i915/gem_exec_fence.c +1 -0
+                timeout = ! igt_run_in_simulation()?1:120;

-- ^ ------------------------ ^
Same here, also s/! igt/!igt/ or use macro (recommended).

tests/i915/gem_exec_fence.c static void test_fence_busy(int fd, const intel_ctx_t *ctx, · line 101

Quoted 8 lines
tests/i915/gem_exec_fence.c +1 -1
 	}
-	munmap(batch, 4096);
 
 	if (flags & WAIT) {
 		struct pollfd pfd = { .fd = fence, .events = POLLIN };
 		igt_assert(poll(&pfd, 1, timeout*1000) == 1);
 	} else {
+		int elapsed_time;

-- ^
Same here, change spaces into tabs.

tests/i915/gem_exec_fence.c static void test_fence_busy(int fd, const intel_ctx_t *ctx, · line 104

Quoted 8 lines
tests/i915/gem_exec_fence.c +2 -5
 		memset(&tv, 0, sizeof(tv));
-		while (fence_busy(fence))
-			igt_assert(igt_seconds_elapsed(&tv) < timeout);
-	}
-
-	igt_assert(!gem_bo_busy(fd, obj.handle));
+		while (fence_busy(fence)) {
+                        elapsed_time = igt_seconds_elapsed(&tv);

-- ^
Same here.

tests/i915/gem_exec_fence.c static void test_fence_busy(int fd, const intel_ctx_t *ctx, · line 105

Quoted 1 line
tests/i915/gem_exec_fence.c +1 -0
+                        if (elapsed_time >= timeout) {

------------------------------------------------------- ^ No need for this here (it is only one statement).

tests/i915/gem_exec_fence.c static void test_fence_busy(int fd, const intel_ctx_t *ctx, · line 106

Quoted 1 line
tests/i915/gem_exec_fence.c +1 -0
+                                igt_info("Elapsed time (%ds)\n", elapsed_time);

-- ^
Same here.

tests/i915/gem_exec_fence.c static void test_fence_busy(int fd, const intel_ctx_t *ctx, · line 107

Quoted 1 line
tests/i915/gem_exec_fence.c +1 -0
+                        }

-- ^
Same here.

tests/i915/gem_exec_fence.c static void test_fence_busy(int fd, const intel_ctx_t *ctx, · line 108

Quoted 1 line
tests/i915/gem_exec_fence.c +1 -0
+                        igt_assert(igt_seconds_elapsed(&tv) < timeout);

-- ^
Same here.

tests/i915/gem_exec_fence.c static void test_fence_busy(int fd, const intel_ctx_t *ctx, · line 110

Quoted 2 lines
tests/i915/gem_exec_fence.c +2 -0
+                }
+		igt_info("Elapsed time (%ds)\n", igt_seconds_elapsed(&tv));

-- ^
Same here.

Please use checkpatch script from Linux kernel, it can help you find out many of style problems.

Regards,
Kamil

Quoted 17 lines
tests/i915/gem_exec_fence.c +3 -4
+	}
+	igt_assert(!gem_bo_busy(fd, spin->handle));
 	igt_assert_eq(sync_fence_status(fence),
 		      flags & HANG ? -EIO : SYNC_FENCE_OK);
 
-	close(fence);
-	gem_close(fd, obj.handle);
-	put_offset(ahnd, obj.handle);
+	igt_spin_free(fd, spin);
 	put_ahnd(ahnd);
-
 	gem_quiescent_gpu(fd);
 }
 
Signature · 1 line
2.25.1