public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915/selftests: Hold request reference over waits
@ 2019-10-09  0:07 Chris Wilson
  2019-10-09  0:58 ` ✗ Fi.CI.BAT: failure for " Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Chris Wilson @ 2019-10-09  0:07 UTC (permalink / raw)
  To: intel-gfx

Take a reference on the request before submitting it to the HW and then
waiting on it for selftest_workarounds. Once submitted, the request may
be freed by a background worker, unless we take an extra reference for
ourselves.

References: https://bugs.freedesktop.org/show_bug.cgi?id=111926
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
 .../gpu/drm/i915/gt/selftest_workarounds.c    | 74 +++++++++----------
 1 file changed, 34 insertions(+), 40 deletions(-)

diff --git a/drivers/gpu/drm/i915/gt/selftest_workarounds.c b/drivers/gpu/drm/i915/gt/selftest_workarounds.c
index 74952bda9256..8ec26d5f5026 100644
--- a/drivers/gpu/drm/i915/gt/selftest_workarounds.c
+++ b/drivers/gpu/drm/i915/gt/selftest_workarounds.c
@@ -33,6 +33,30 @@ struct wa_lists {
 	} engine[I915_NUM_ENGINES];
 };
 
+static int request_add_sync(struct i915_request *rq, int err)
+{
+	i915_request_get(rq);
+	i915_request_add(rq);
+	if (i915_request_wait(rq, 0, HZ / 5) < 0)
+		err = -EIO;
+	i915_request_put(rq);
+
+	return err;
+}
+
+static int request_add_spin(struct i915_request *rq, struct igt_spinner *spin)
+{
+	int err = 0;
+
+	i915_request_get(rq);
+	i915_request_add(rq);
+	if (spin && !igt_wait_for_spinner(spin, rq))
+		err = -ETIMEDOUT;
+	i915_request_put(rq);
+
+	return err;
+}
+
 static void
 reference_lists_init(struct drm_i915_private *i915, struct wa_lists *lists)
 {
@@ -243,7 +267,6 @@ switch_to_scratch_context(struct intel_engine_cs *engine,
 	struct i915_gem_context *ctx;
 	struct intel_context *ce;
 	struct i915_request *rq;
-	intel_wakeref_t wakeref;
 	int err = 0;
 
 	ctx = kernel_context(engine->i915);
@@ -255,9 +278,7 @@ switch_to_scratch_context(struct intel_engine_cs *engine,
 	ce = i915_gem_context_get_engine(ctx, engine->legacy_idx);
 	GEM_BUG_ON(IS_ERR(ce));
 
-	rq = ERR_PTR(-ENODEV);
-	with_intel_runtime_pm(engine->uncore->rpm, wakeref)
-		rq = igt_spinner_create_request(spin, ce, MI_NOOP);
+	rq = igt_spinner_create_request(spin, ce, MI_NOOP);
 
 	intel_context_put(ce);
 
@@ -267,13 +288,7 @@ switch_to_scratch_context(struct intel_engine_cs *engine,
 		goto err;
 	}
 
-	i915_request_add(rq);
-
-	if (spin && !igt_wait_for_spinner(spin, rq)) {
-		pr_err("Spinner failed to start\n");
-		err = -ETIMEDOUT;
-	}
-
+	err = request_add_spin(rq, spin);
 err:
 	if (err && spin)
 		igt_spinner_end(spin);
@@ -586,15 +601,11 @@ static int check_dirty_whitelist(struct i915_gem_context *ctx,
 			goto err_request;
 
 err_request:
-		i915_request_add(rq);
-		if (err)
-			goto out_batch;
-
-		if (i915_request_wait(rq, 0, HZ / 5) < 0) {
+		err = request_add_sync(rq, err);
+		if (err) {
 			pr_err("%s: Futzing %x timedout; cancelling test\n",
 			       engine->name, reg);
 			intel_gt_set_wedged(&ctx->i915->gt);
-			err = -EIO;
 			goto out_batch;
 		}
 
@@ -697,7 +708,6 @@ static int live_dirty_whitelist(void *arg)
 	struct intel_engine_cs *engine;
 	struct i915_gem_context *ctx;
 	enum intel_engine_id id;
-	intel_wakeref_t wakeref;
 	struct drm_file *file;
 	int err = 0;
 
@@ -706,13 +716,9 @@ static int live_dirty_whitelist(void *arg)
 	if (INTEL_GEN(i915) < 7) /* minimum requirement for LRI, SRM, LRM */
 		return 0;
 
-	wakeref = intel_runtime_pm_get(&i915->runtime_pm);
-
 	file = mock_file(i915);
-	if (IS_ERR(file)) {
-		err = PTR_ERR(file);
-		goto out_rpm;
-	}
+	if (IS_ERR(file))
+		return PTR_ERR(file);
 
 	ctx = live_context(i915, file);
 	if (IS_ERR(ctx)) {
@@ -731,8 +737,6 @@ static int live_dirty_whitelist(void *arg)
 
 out_file:
 	mock_file_free(i915, file);
-out_rpm:
-	intel_runtime_pm_put(&i915->runtime_pm, wakeref);
 	return err;
 }
 
@@ -807,12 +811,7 @@ static int read_whitelisted_registers(struct i915_gem_context *ctx,
 	intel_ring_advance(rq, cs);
 
 err_req:
-	i915_request_add(rq);
-
-	if (i915_request_wait(rq, 0, HZ / 5) < 0)
-		err = -EIO;
-
-	return err;
+	return request_add_sync(rq, err);
 }
 
 static int scrub_whitelisted_registers(struct i915_gem_context *ctx,
@@ -872,9 +871,7 @@ static int scrub_whitelisted_registers(struct i915_gem_context *ctx,
 	err = engine->emit_bb_start(rq, batch->node.start, 0, 0);
 
 err_request:
-	i915_request_add(rq);
-	if (i915_request_wait(rq, 0, HZ / 5) < 0)
-		err = -EIO;
+	err = request_add_sync(rq, err);
 
 err_unpin:
 	i915_gem_object_unpin_map(batch->obj);
@@ -1229,12 +1226,10 @@ live_engine_reset_workarounds(void *arg)
 			goto err;
 		}
 
-		i915_request_add(rq);
-
-		if (!igt_wait_for_spinner(&spin, rq)) {
+		ret = request_add_spin(rq, &spin);
+		if (ret) {
 			pr_err("Spinner failed to start\n");
 			igt_spinner_fini(&spin);
-			ret = -ETIMEDOUT;
 			goto err;
 		}
 
@@ -1252,7 +1247,6 @@ live_engine_reset_workarounds(void *arg)
 err:
 	i915_gem_context_unlock_engines(ctx);
 	reference_lists_fini(i915, &lists);
-	intel_runtime_pm_put(&i915->runtime_pm, wakeref);
 	igt_global_reset_unlock(&i915->gt);
 	kernel_context_close(ctx);
 
-- 
2.23.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* ✗ Fi.CI.BAT: failure for drm/i915/selftests: Hold request reference over waits
  2019-10-09  0:07 [PATCH] drm/i915/selftests: Hold request reference over waits Chris Wilson
@ 2019-10-09  0:58 ` Patchwork
  2019-10-09  6:17 ` [PATCH] " Chris Wilson
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Patchwork @ 2019-10-09  0:58 UTC (permalink / raw)
  To: Chris Wilson; +Cc: intel-gfx

== Series Details ==

Series: drm/i915/selftests: Hold request reference over waits
URL   : https://patchwork.freedesktop.org/series/67757/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_7037 -> Patchwork_14714
====================================================

Summary
-------

  **FAILURE**

  Serious unknown changes coming with Patchwork_14714 absolutely need to be
  verified manually.
  
  If you think the reported changes have nothing to do with the changes
  introduced in Patchwork_14714, 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/Patchwork_14714/index.html

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

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

### IGT changes ###

#### Possible regressions ####

  * igt@i915_selftest@live_workarounds:
    - fi-bsw-n3050:       [PASS][1] -> [DMESG-WARN][2]
   [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/fi-bsw-n3050/igt@i915_selftest@live_workarounds.html
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-bsw-n3050/igt@i915_selftest@live_workarounds.html
    - fi-cfl-guc:         [PASS][3] -> [DMESG-WARN][4]
   [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/fi-cfl-guc/igt@i915_selftest@live_workarounds.html
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-cfl-guc/igt@i915_selftest@live_workarounds.html
    - fi-glk-dsi:         [PASS][5] -> [DMESG-WARN][6]
   [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/fi-glk-dsi/igt@i915_selftest@live_workarounds.html
   [6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-glk-dsi/igt@i915_selftest@live_workarounds.html
    - fi-bsw-kefka:       [PASS][7] -> [DMESG-WARN][8]
   [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/fi-bsw-kefka/igt@i915_selftest@live_workarounds.html
   [8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-bsw-kefka/igt@i915_selftest@live_workarounds.html
    - fi-kbl-7500u:       [PASS][9] -> [DMESG-WARN][10]
   [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/fi-kbl-7500u/igt@i915_selftest@live_workarounds.html
   [10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-kbl-7500u/igt@i915_selftest@live_workarounds.html
    - fi-cfl-8109u:       [PASS][11] -> [DMESG-WARN][12]
   [11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/fi-cfl-8109u/igt@i915_selftest@live_workarounds.html
   [12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-cfl-8109u/igt@i915_selftest@live_workarounds.html
    - fi-kbl-guc:         [PASS][13] -> [DMESG-WARN][14]
   [13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/fi-kbl-guc/igt@i915_selftest@live_workarounds.html
   [14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-kbl-guc/igt@i915_selftest@live_workarounds.html
    - fi-skl-6600u:       [PASS][15] -> [DMESG-WARN][16]
   [15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/fi-skl-6600u/igt@i915_selftest@live_workarounds.html
   [16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-skl-6600u/igt@i915_selftest@live_workarounds.html
    - fi-bdw-5557u:       [PASS][17] -> [DMESG-WARN][18]
   [17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/fi-bdw-5557u/igt@i915_selftest@live_workarounds.html
   [18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-bdw-5557u/igt@i915_selftest@live_workarounds.html
    - fi-whl-u:           [PASS][19] -> [DMESG-WARN][20]
   [19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/fi-whl-u/igt@i915_selftest@live_workarounds.html
   [20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-whl-u/igt@i915_selftest@live_workarounds.html
    - fi-apl-guc:         [PASS][21] -> [DMESG-WARN][22]
   [21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/fi-apl-guc/igt@i915_selftest@live_workarounds.html
   [22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-apl-guc/igt@i915_selftest@live_workarounds.html
    - fi-skl-6700k2:      NOTRUN -> [DMESG-WARN][23]
   [23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-skl-6700k2/igt@i915_selftest@live_workarounds.html
    - fi-skl-iommu:       [PASS][24] -> [DMESG-WARN][25]
   [24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/fi-skl-iommu/igt@i915_selftest@live_workarounds.html
   [25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-skl-iommu/igt@i915_selftest@live_workarounds.html
    - fi-skl-lmem:        [PASS][26] -> [DMESG-WARN][27]
   [26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/fi-skl-lmem/igt@i915_selftest@live_workarounds.html
   [27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-skl-lmem/igt@i915_selftest@live_workarounds.html
    - fi-kbl-x1275:       [PASS][28] -> [DMESG-WARN][29]
   [28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/fi-kbl-x1275/igt@i915_selftest@live_workarounds.html
   [29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-kbl-x1275/igt@i915_selftest@live_workarounds.html
    - fi-icl-u3:          [PASS][30] -> [DMESG-WARN][31]
   [30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/fi-icl-u3/igt@i915_selftest@live_workarounds.html
   [31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-icl-u3/igt@i915_selftest@live_workarounds.html
    - fi-skl-6260u:       [PASS][32] -> [DMESG-WARN][33]
   [32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/fi-skl-6260u/igt@i915_selftest@live_workarounds.html
   [33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-skl-6260u/igt@i915_selftest@live_workarounds.html
    - fi-kbl-r:           [PASS][34] -> [DMESG-WARN][35]
   [34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/fi-kbl-r/igt@i915_selftest@live_workarounds.html
   [35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-kbl-r/igt@i915_selftest@live_workarounds.html
    - fi-kbl-8809g:       [PASS][36] -> [DMESG-WARN][37]
   [36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/fi-kbl-8809g/igt@i915_selftest@live_workarounds.html
   [37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-kbl-8809g/igt@i915_selftest@live_workarounds.html
    - fi-skl-guc:         [PASS][38] -> [DMESG-WARN][39]
   [38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/fi-skl-guc/igt@i915_selftest@live_workarounds.html
   [39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-skl-guc/igt@i915_selftest@live_workarounds.html
    - fi-bxt-dsi:         [PASS][40] -> [DMESG-WARN][41]
   [40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/fi-bxt-dsi/igt@i915_selftest@live_workarounds.html
   [41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-bxt-dsi/igt@i915_selftest@live_workarounds.html
    - fi-cfl-8700k:       [PASS][42] -> [DMESG-WARN][43]
   [42]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/fi-cfl-8700k/igt@i915_selftest@live_workarounds.html
   [43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-cfl-8700k/igt@i915_selftest@live_workarounds.html
    - fi-icl-u2:          [PASS][44] -> [DMESG-WARN][45]
   [44]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/fi-icl-u2/igt@i915_selftest@live_workarounds.html
   [45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-icl-u2/igt@i915_selftest@live_workarounds.html
    - fi-cml-u2:          [PASS][46] -> [DMESG-WARN][47]
   [46]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/fi-cml-u2/igt@i915_selftest@live_workarounds.html
   [47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-cml-u2/igt@i915_selftest@live_workarounds.html

  * igt@runner@aborted:
    - fi-cfl-8109u:       NOTRUN -> [FAIL][48]
   [48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-cfl-8109u/igt@runner@aborted.html
    - fi-kbl-7500u:       NOTRUN -> [FAIL][49]
   [49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-kbl-7500u/igt@runner@aborted.html
    - fi-whl-u:           NOTRUN -> [FAIL][50]
   [50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-whl-u/igt@runner@aborted.html
    - fi-cml-u2:          NOTRUN -> [FAIL][51]
   [51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-cml-u2/igt@runner@aborted.html
    - fi-bxt-dsi:         NOTRUN -> [FAIL][52]
   [52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-bxt-dsi/igt@runner@aborted.html
    - fi-kbl-x1275:       NOTRUN -> [FAIL][53]
   [53]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-kbl-x1275/igt@runner@aborted.html
    - fi-cfl-8700k:       NOTRUN -> [FAIL][54]
   [54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-cfl-8700k/igt@runner@aborted.html
    - fi-kbl-8809g:       NOTRUN -> [FAIL][55]
   [55]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-kbl-8809g/igt@runner@aborted.html
    - fi-kbl-r:           NOTRUN -> [FAIL][56]
   [56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-kbl-r/igt@runner@aborted.html

  
#### Suppressed ####

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

  * igt@i915_selftest@live_workarounds:
    - {fi-cml-s}:         [PASS][57] -> [DMESG-WARN][58]
   [57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/fi-cml-s/igt@i915_selftest@live_workarounds.html
   [58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-cml-s/igt@i915_selftest@live_workarounds.html
    - {fi-icl-u4}:        [PASS][59] -> [DMESG-WARN][60]
   [59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/fi-icl-u4/igt@i915_selftest@live_workarounds.html
   [60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-icl-u4/igt@i915_selftest@live_workarounds.html
    - {fi-icl-dsi}:       NOTRUN -> [DMESG-WARN][61]
   [61]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-icl-dsi/igt@i915_selftest@live_workarounds.html
    - {fi-tgl-u}:         NOTRUN -> [DMESG-WARN][62]
   [62]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-tgl-u/igt@i915_selftest@live_workarounds.html
    - {fi-kbl-soraka}:    [PASS][63] -> [DMESG-WARN][64]
   [63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/fi-kbl-soraka/igt@i915_selftest@live_workarounds.html
   [64]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-kbl-soraka/igt@i915_selftest@live_workarounds.html
    - {fi-icl-guc}:       [PASS][65] -> [DMESG-WARN][66]
   [65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/fi-icl-guc/igt@i915_selftest@live_workarounds.html
   [66]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-icl-guc/igt@i915_selftest@live_workarounds.html

  * igt@runner@aborted:
    - {fi-kbl-soraka}:    NOTRUN -> [FAIL][67]
   [67]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-kbl-soraka/igt@runner@aborted.html
    - {fi-cml-s}:         NOTRUN -> [FAIL][68]
   [68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-cml-s/igt@runner@aborted.html
    - {fi-tgl-u}:         NOTRUN -> [FAIL][69]
   [69]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-tgl-u/igt@runner@aborted.html

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

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

### IGT changes ###

#### Issues hit ####

  * igt@gem_exec_suspend@basic-s3:
    - fi-blb-e6850:       [PASS][70] -> [INCOMPLETE][71] ([fdo#107718])
   [70]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/fi-blb-e6850/igt@gem_exec_suspend@basic-s3.html
   [71]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-blb-e6850/igt@gem_exec_suspend@basic-s3.html

  * igt@gem_linear_blits@basic:
    - fi-icl-u3:          [PASS][72] -> [DMESG-WARN][73] ([fdo#107724])
   [72]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/fi-icl-u3/igt@gem_linear_blits@basic.html
   [73]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-icl-u3/igt@gem_linear_blits@basic.html

  * igt@kms_frontbuffer_tracking@basic:
    - fi-hsw-peppy:       [PASS][74] -> [DMESG-WARN][75] ([fdo#102614])
   [74]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/fi-hsw-peppy/igt@kms_frontbuffer_tracking@basic.html
   [75]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-hsw-peppy/igt@kms_frontbuffer_tracking@basic.html

  
#### Possible fixes ####

  * igt@gem_exec_gttfill@basic:
    - {fi-tgl-u}:         [INCOMPLETE][76] ([fdo#111593]) -> [PASS][77]
   [76]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/fi-tgl-u/igt@gem_exec_gttfill@basic.html
   [77]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-tgl-u/igt@gem_exec_gttfill@basic.html

  * igt@gem_tiled_fence_blits@basic:
    - fi-icl-u3:          [DMESG-WARN][78] ([fdo#107724]) -> [PASS][79]
   [78]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/fi-icl-u3/igt@gem_tiled_fence_blits@basic.html
   [79]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/fi-icl-u3/igt@gem_tiled_fence_blits@basic.html

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

  [fdo#102614]: https://bugs.freedesktop.org/show_bug.cgi?id=102614
  [fdo#107718]: https://bugs.freedesktop.org/show_bug.cgi?id=107718
  [fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
  [fdo#111593]: https://bugs.freedesktop.org/show_bug.cgi?id=111593


Participating hosts (50 -> 45)
------------------------------

  Additional (1): fi-icl-dsi 
  Missing    (6): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-icl-y fi-byt-clapper fi-bdw-samus 


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

  * CI: CI-20190529 -> None
  * Linux: CI_DRM_7037 -> Patchwork_14714

  CI-20190529: 20190529
  CI_DRM_7037: 4ff590d66f456266150c2c42c194f62338569140 @ git://anongit.freedesktop.org/gfx-ci/linux
  IGT_5218: 869ed1ee0b71ce17f0a864512488f8b1a6cb8545 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
  Patchwork_14714: 50701fede942ad59aaba10c8d9a98c6af31bad11 @ git://anongit.freedesktop.org/gfx-ci/linux


== Linux commits ==

50701fede942 drm/i915/selftests: Hold request reference over waits

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14714/index.html
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH] drm/i915/selftests: Hold request reference over waits
  2019-10-09  0:07 [PATCH] drm/i915/selftests: Hold request reference over waits Chris Wilson
  2019-10-09  0:58 ` ✗ Fi.CI.BAT: failure for " Patchwork
@ 2019-10-09  6:17 ` Chris Wilson
  2019-10-09  7:49   ` Mika Kuoppala
  2019-10-09  7:29 ` ✓ Fi.CI.BAT: success for drm/i915/selftests: Hold request reference over waits (rev2) Patchwork
  2019-10-09 10:37 ` ✓ Fi.CI.IGT: " Patchwork
  3 siblings, 1 reply; 6+ messages in thread
From: Chris Wilson @ 2019-10-09  6:17 UTC (permalink / raw)
  To: intel-gfx

Take a reference on the request before submitting it to the HW and then
waiting on it for selftest_workarounds. Once submitted, the request may
be freed by a background worker, unless we take an extra reference for
ourselves.

References: https://bugs.freedesktop.org/show_bug.cgi?id=111926
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
 .../gpu/drm/i915/gt/selftest_workarounds.c    | 73 +++++++++----------
 1 file changed, 34 insertions(+), 39 deletions(-)

diff --git a/drivers/gpu/drm/i915/gt/selftest_workarounds.c b/drivers/gpu/drm/i915/gt/selftest_workarounds.c
index 74952bda9256..1048be646c35 100644
--- a/drivers/gpu/drm/i915/gt/selftest_workarounds.c
+++ b/drivers/gpu/drm/i915/gt/selftest_workarounds.c
@@ -33,6 +33,30 @@ struct wa_lists {
 	} engine[I915_NUM_ENGINES];
 };
 
+static int request_add_sync(struct i915_request *rq, int err)
+{
+	i915_request_get(rq);
+	i915_request_add(rq);
+	if (i915_request_wait(rq, 0, HZ / 5) < 0)
+		err = -EIO;
+	i915_request_put(rq);
+
+	return err;
+}
+
+static int request_add_spin(struct i915_request *rq, struct igt_spinner *spin)
+{
+	int err = 0;
+
+	i915_request_get(rq);
+	i915_request_add(rq);
+	if (spin && !igt_wait_for_spinner(spin, rq))
+		err = -ETIMEDOUT;
+	i915_request_put(rq);
+
+	return err;
+}
+
 static void
 reference_lists_init(struct drm_i915_private *i915, struct wa_lists *lists)
 {
@@ -243,7 +267,6 @@ switch_to_scratch_context(struct intel_engine_cs *engine,
 	struct i915_gem_context *ctx;
 	struct intel_context *ce;
 	struct i915_request *rq;
-	intel_wakeref_t wakeref;
 	int err = 0;
 
 	ctx = kernel_context(engine->i915);
@@ -255,9 +278,7 @@ switch_to_scratch_context(struct intel_engine_cs *engine,
 	ce = i915_gem_context_get_engine(ctx, engine->legacy_idx);
 	GEM_BUG_ON(IS_ERR(ce));
 
-	rq = ERR_PTR(-ENODEV);
-	with_intel_runtime_pm(engine->uncore->rpm, wakeref)
-		rq = igt_spinner_create_request(spin, ce, MI_NOOP);
+	rq = igt_spinner_create_request(spin, ce, MI_NOOP);
 
 	intel_context_put(ce);
 
@@ -267,13 +288,7 @@ switch_to_scratch_context(struct intel_engine_cs *engine,
 		goto err;
 	}
 
-	i915_request_add(rq);
-
-	if (spin && !igt_wait_for_spinner(spin, rq)) {
-		pr_err("Spinner failed to start\n");
-		err = -ETIMEDOUT;
-	}
-
+	err = request_add_spin(rq, spin);
 err:
 	if (err && spin)
 		igt_spinner_end(spin);
@@ -586,15 +601,11 @@ static int check_dirty_whitelist(struct i915_gem_context *ctx,
 			goto err_request;
 
 err_request:
-		i915_request_add(rq);
-		if (err)
-			goto out_batch;
-
-		if (i915_request_wait(rq, 0, HZ / 5) < 0) {
+		err = request_add_sync(rq, err);
+		if (err) {
 			pr_err("%s: Futzing %x timedout; cancelling test\n",
 			       engine->name, reg);
 			intel_gt_set_wedged(&ctx->i915->gt);
-			err = -EIO;
 			goto out_batch;
 		}
 
@@ -697,7 +708,6 @@ static int live_dirty_whitelist(void *arg)
 	struct intel_engine_cs *engine;
 	struct i915_gem_context *ctx;
 	enum intel_engine_id id;
-	intel_wakeref_t wakeref;
 	struct drm_file *file;
 	int err = 0;
 
@@ -706,13 +716,9 @@ static int live_dirty_whitelist(void *arg)
 	if (INTEL_GEN(i915) < 7) /* minimum requirement for LRI, SRM, LRM */
 		return 0;
 
-	wakeref = intel_runtime_pm_get(&i915->runtime_pm);
-
 	file = mock_file(i915);
-	if (IS_ERR(file)) {
-		err = PTR_ERR(file);
-		goto out_rpm;
-	}
+	if (IS_ERR(file))
+		return PTR_ERR(file);
 
 	ctx = live_context(i915, file);
 	if (IS_ERR(ctx)) {
@@ -731,8 +737,6 @@ static int live_dirty_whitelist(void *arg)
 
 out_file:
 	mock_file_free(i915, file);
-out_rpm:
-	intel_runtime_pm_put(&i915->runtime_pm, wakeref);
 	return err;
 }
 
@@ -807,12 +811,7 @@ static int read_whitelisted_registers(struct i915_gem_context *ctx,
 	intel_ring_advance(rq, cs);
 
 err_req:
-	i915_request_add(rq);
-
-	if (i915_request_wait(rq, 0, HZ / 5) < 0)
-		err = -EIO;
-
-	return err;
+	return request_add_sync(rq, err);
 }
 
 static int scrub_whitelisted_registers(struct i915_gem_context *ctx,
@@ -872,9 +871,7 @@ static int scrub_whitelisted_registers(struct i915_gem_context *ctx,
 	err = engine->emit_bb_start(rq, batch->node.start, 0, 0);
 
 err_request:
-	i915_request_add(rq);
-	if (i915_request_wait(rq, 0, HZ / 5) < 0)
-		err = -EIO;
+	err = request_add_sync(rq, err);
 
 err_unpin:
 	i915_gem_object_unpin_map(batch->obj);
@@ -1229,12 +1226,10 @@ live_engine_reset_workarounds(void *arg)
 			goto err;
 		}
 
-		i915_request_add(rq);
-
-		if (!igt_wait_for_spinner(&spin, rq)) {
+		ret = request_add_spin(rq, &spin);
+		if (ret) {
 			pr_err("Spinner failed to start\n");
 			igt_spinner_fini(&spin);
-			ret = -ETIMEDOUT;
 			goto err;
 		}
 
-- 
2.23.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* ✓ Fi.CI.BAT: success for drm/i915/selftests: Hold request reference over waits (rev2)
  2019-10-09  0:07 [PATCH] drm/i915/selftests: Hold request reference over waits Chris Wilson
  2019-10-09  0:58 ` ✗ Fi.CI.BAT: failure for " Patchwork
  2019-10-09  6:17 ` [PATCH] " Chris Wilson
@ 2019-10-09  7:29 ` Patchwork
  2019-10-09 10:37 ` ✓ Fi.CI.IGT: " Patchwork
  3 siblings, 0 replies; 6+ messages in thread
From: Patchwork @ 2019-10-09  7:29 UTC (permalink / raw)
  To: Chris Wilson; +Cc: intel-gfx

== Series Details ==

Series: drm/i915/selftests: Hold request reference over waits (rev2)
URL   : https://patchwork.freedesktop.org/series/67757/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_7037 -> Patchwork_14716
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

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

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

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

### IGT changes ###

#### Issues hit ####

  * igt@gem_flink_basic@basic:
    - fi-icl-u3:          [PASS][1] -> [DMESG-WARN][2] ([fdo#107724]) +1 similar issue
   [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/fi-icl-u3/igt@gem_flink_basic@basic.html
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14716/fi-icl-u3/igt@gem_flink_basic@basic.html

  * igt@kms_chamelium@hdmi-hpd-fast:
    - fi-kbl-7500u:       [PASS][3] -> [FAIL][4] ([fdo#111045] / [fdo#111096])
   [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/fi-kbl-7500u/igt@kms_chamelium@hdmi-hpd-fast.html
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14716/fi-kbl-7500u/igt@kms_chamelium@hdmi-hpd-fast.html

  
#### Possible fixes ####

  * igt@gem_exec_gttfill@basic:
    - {fi-tgl-u}:         [INCOMPLETE][5] ([fdo#111593]) -> [PASS][6]
   [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/fi-tgl-u/igt@gem_exec_gttfill@basic.html
   [6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14716/fi-tgl-u/igt@gem_exec_gttfill@basic.html

  * igt@gem_tiled_fence_blits@basic:
    - fi-icl-u3:          [DMESG-WARN][7] ([fdo#107724]) -> [PASS][8]
   [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/fi-icl-u3/igt@gem_tiled_fence_blits@basic.html
   [8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14716/fi-icl-u3/igt@gem_tiled_fence_blits@basic.html

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

  [fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
  [fdo#111045]: https://bugs.freedesktop.org/show_bug.cgi?id=111045
  [fdo#111096]: https://bugs.freedesktop.org/show_bug.cgi?id=111096
  [fdo#111593]: https://bugs.freedesktop.org/show_bug.cgi?id=111593


Participating hosts (50 -> 45)
------------------------------

  Additional (1): fi-icl-dsi 
  Missing    (6): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-icl-y fi-byt-clapper fi-bdw-samus 


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

  * CI: CI-20190529 -> None
  * Linux: CI_DRM_7037 -> Patchwork_14716

  CI-20190529: 20190529
  CI_DRM_7037: 4ff590d66f456266150c2c42c194f62338569140 @ git://anongit.freedesktop.org/gfx-ci/linux
  IGT_5218: 869ed1ee0b71ce17f0a864512488f8b1a6cb8545 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
  Patchwork_14716: 85e661914035fb1397b7aa1a88e9d703031ba199 @ git://anongit.freedesktop.org/gfx-ci/linux


== Linux commits ==

85e661914035 drm/i915/selftests: Hold request reference over waits

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14716/index.html
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] drm/i915/selftests: Hold request reference over waits
  2019-10-09  6:17 ` [PATCH] " Chris Wilson
@ 2019-10-09  7:49   ` Mika Kuoppala
  0 siblings, 0 replies; 6+ messages in thread
From: Mika Kuoppala @ 2019-10-09  7:49 UTC (permalink / raw)
  To: Chris Wilson, intel-gfx

Chris Wilson <chris@chris-wilson.co.uk> writes:

> Take a reference on the request before submitting it to the HW and then
> waiting on it for selftest_workarounds. Once submitted, the request may
> be freed by a background worker, unless we take an extra reference for
> ourselves.
>
> References: https://bugs.freedesktop.org/show_bug.cgi?id=111926
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>

Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>

> ---
>  .../gpu/drm/i915/gt/selftest_workarounds.c    | 73 +++++++++----------
>  1 file changed, 34 insertions(+), 39 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/gt/selftest_workarounds.c b/drivers/gpu/drm/i915/gt/selftest_workarounds.c
> index 74952bda9256..1048be646c35 100644
> --- a/drivers/gpu/drm/i915/gt/selftest_workarounds.c
> +++ b/drivers/gpu/drm/i915/gt/selftest_workarounds.c
> @@ -33,6 +33,30 @@ struct wa_lists {
>  	} engine[I915_NUM_ENGINES];
>  };
>  
> +static int request_add_sync(struct i915_request *rq, int err)
> +{
> +	i915_request_get(rq);
> +	i915_request_add(rq);
> +	if (i915_request_wait(rq, 0, HZ / 5) < 0)
> +		err = -EIO;
> +	i915_request_put(rq);
> +
> +	return err;
> +}
> +
> +static int request_add_spin(struct i915_request *rq, struct igt_spinner *spin)
> +{
> +	int err = 0;
> +
> +	i915_request_get(rq);
> +	i915_request_add(rq);
> +	if (spin && !igt_wait_for_spinner(spin, rq))
> +		err = -ETIMEDOUT;
> +	i915_request_put(rq);
> +
> +	return err;
> +}
> +
>  static void
>  reference_lists_init(struct drm_i915_private *i915, struct wa_lists *lists)
>  {
> @@ -243,7 +267,6 @@ switch_to_scratch_context(struct intel_engine_cs *engine,
>  	struct i915_gem_context *ctx;
>  	struct intel_context *ce;
>  	struct i915_request *rq;
> -	intel_wakeref_t wakeref;
>  	int err = 0;
>  
>  	ctx = kernel_context(engine->i915);
> @@ -255,9 +278,7 @@ switch_to_scratch_context(struct intel_engine_cs *engine,
>  	ce = i915_gem_context_get_engine(ctx, engine->legacy_idx);
>  	GEM_BUG_ON(IS_ERR(ce));
>  
> -	rq = ERR_PTR(-ENODEV);
> -	with_intel_runtime_pm(engine->uncore->rpm, wakeref)
> -		rq = igt_spinner_create_request(spin, ce, MI_NOOP);
> +	rq = igt_spinner_create_request(spin, ce, MI_NOOP);
>  
>  	intel_context_put(ce);
>  
> @@ -267,13 +288,7 @@ switch_to_scratch_context(struct intel_engine_cs *engine,
>  		goto err;
>  	}
>  
> -	i915_request_add(rq);
> -
> -	if (spin && !igt_wait_for_spinner(spin, rq)) {
> -		pr_err("Spinner failed to start\n");
> -		err = -ETIMEDOUT;
> -	}
> -
> +	err = request_add_spin(rq, spin);
>  err:
>  	if (err && spin)
>  		igt_spinner_end(spin);
> @@ -586,15 +601,11 @@ static int check_dirty_whitelist(struct i915_gem_context *ctx,
>  			goto err_request;
>  
>  err_request:
> -		i915_request_add(rq);
> -		if (err)
> -			goto out_batch;
> -
> -		if (i915_request_wait(rq, 0, HZ / 5) < 0) {
> +		err = request_add_sync(rq, err);
> +		if (err) {
>  			pr_err("%s: Futzing %x timedout; cancelling test\n",
>  			       engine->name, reg);
>  			intel_gt_set_wedged(&ctx->i915->gt);
> -			err = -EIO;
>  			goto out_batch;
>  		}
>  
> @@ -697,7 +708,6 @@ static int live_dirty_whitelist(void *arg)
>  	struct intel_engine_cs *engine;
>  	struct i915_gem_context *ctx;
>  	enum intel_engine_id id;
> -	intel_wakeref_t wakeref;
>  	struct drm_file *file;
>  	int err = 0;
>  
> @@ -706,13 +716,9 @@ static int live_dirty_whitelist(void *arg)
>  	if (INTEL_GEN(i915) < 7) /* minimum requirement for LRI, SRM, LRM */
>  		return 0;
>  
> -	wakeref = intel_runtime_pm_get(&i915->runtime_pm);
> -
>  	file = mock_file(i915);
> -	if (IS_ERR(file)) {
> -		err = PTR_ERR(file);
> -		goto out_rpm;
> -	}
> +	if (IS_ERR(file))
> +		return PTR_ERR(file);
>  
>  	ctx = live_context(i915, file);
>  	if (IS_ERR(ctx)) {
> @@ -731,8 +737,6 @@ static int live_dirty_whitelist(void *arg)
>  
>  out_file:
>  	mock_file_free(i915, file);
> -out_rpm:
> -	intel_runtime_pm_put(&i915->runtime_pm, wakeref);
>  	return err;
>  }
>  
> @@ -807,12 +811,7 @@ static int read_whitelisted_registers(struct i915_gem_context *ctx,
>  	intel_ring_advance(rq, cs);
>  
>  err_req:
> -	i915_request_add(rq);
> -
> -	if (i915_request_wait(rq, 0, HZ / 5) < 0)
> -		err = -EIO;
> -
> -	return err;
> +	return request_add_sync(rq, err);
>  }
>  
>  static int scrub_whitelisted_registers(struct i915_gem_context *ctx,
> @@ -872,9 +871,7 @@ static int scrub_whitelisted_registers(struct i915_gem_context *ctx,
>  	err = engine->emit_bb_start(rq, batch->node.start, 0, 0);
>  
>  err_request:
> -	i915_request_add(rq);
> -	if (i915_request_wait(rq, 0, HZ / 5) < 0)
> -		err = -EIO;
> +	err = request_add_sync(rq, err);
>  
>  err_unpin:
>  	i915_gem_object_unpin_map(batch->obj);
> @@ -1229,12 +1226,10 @@ live_engine_reset_workarounds(void *arg)
>  			goto err;
>  		}
>  
> -		i915_request_add(rq);
> -
> -		if (!igt_wait_for_spinner(&spin, rq)) {
> +		ret = request_add_spin(rq, &spin);
> +		if (ret) {
>  			pr_err("Spinner failed to start\n");
>  			igt_spinner_fini(&spin);
> -			ret = -ETIMEDOUT;
>  			goto err;
>  		}
>  
> -- 
> 2.23.0
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 6+ messages in thread

* ✓ Fi.CI.IGT: success for drm/i915/selftests: Hold request reference over waits (rev2)
  2019-10-09  0:07 [PATCH] drm/i915/selftests: Hold request reference over waits Chris Wilson
                   ` (2 preceding siblings ...)
  2019-10-09  7:29 ` ✓ Fi.CI.BAT: success for drm/i915/selftests: Hold request reference over waits (rev2) Patchwork
@ 2019-10-09 10:37 ` Patchwork
  3 siblings, 0 replies; 6+ messages in thread
From: Patchwork @ 2019-10-09 10:37 UTC (permalink / raw)
  To: Chris Wilson; +Cc: intel-gfx

== Series Details ==

Series: drm/i915/selftests: Hold request reference over waits (rev2)
URL   : https://patchwork.freedesktop.org/series/67757/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_7037_full -> Patchwork_14716_full
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

  

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

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

### IGT changes ###

#### Suppressed ####

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

  * igt@kms_flip@flip-vs-blocking-wf-vblank:
    - {shard-tglb}:       NOTRUN -> [FAIL][1]
   [1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14716/shard-tglb5/igt@kms_flip@flip-vs-blocking-wf-vblank.html

  * igt@kms_flip_tiling@flip-to-yf-tiled:
    - {shard-tglb}:       NOTRUN -> [SKIP][2] +1 similar issue
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14716/shard-tglb2/igt@kms_flip_tiling@flip-to-yf-tiled.html

  * igt@kms_rotation_crc@primary-y-tiled-reflect-x-270:
    - {shard-tglb}:       NOTRUN -> [INCOMPLETE][3] +1 similar issue
   [3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14716/shard-tglb5/igt@kms_rotation_crc@primary-y-tiled-reflect-x-270.html

  
New tests
---------

  New tests have been introduced between CI_DRM_7037_full and Patchwork_14716_full:

### New Piglit tests (1) ###

  * spec@arb_copy_image@arb_copy_image-formats:
    - Statuses : 1 incomplete(s)
    - Exec time: [0.0] s

  

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

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

### IGT changes ###

#### Issues hit ####

  * igt@debugfs_test@read_all_entries_display_on:
    - shard-skl:          [PASS][4] -> [DMESG-WARN][5] ([fdo#106107])
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/shard-skl3/igt@debugfs_test@read_all_entries_display_on.html
   [5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14716/shard-skl4/igt@debugfs_test@read_all_entries_display_on.html

  * igt@gem_ctx_isolation@vcs1-dirty-create:
    - shard-iclb:         [PASS][6] -> [SKIP][7] ([fdo#109276]) +13 similar issues
   [6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/shard-iclb2/igt@gem_ctx_isolation@vcs1-dirty-create.html
   [7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14716/shard-iclb7/igt@gem_ctx_isolation@vcs1-dirty-create.html

  * igt@gem_eio@in-flight-suspend:
    - shard-skl:          [PASS][8] -> [INCOMPLETE][9] ([fdo#104108])
   [8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/shard-skl3/igt@gem_eio@in-flight-suspend.html
   [9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14716/shard-skl4/igt@gem_eio@in-flight-suspend.html

  * igt@gem_exec_balancer@smoke:
    - shard-iclb:         [PASS][10] -> [SKIP][11] ([fdo#110854])
   [10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/shard-iclb1/igt@gem_exec_balancer@smoke.html
   [11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14716/shard-iclb8/igt@gem_exec_balancer@smoke.html

  * igt@gem_exec_schedule@reorder-wide-bsd:
    - shard-iclb:         [PASS][12] -> [SKIP][13] ([fdo#111325]) +5 similar issues
   [12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/shard-iclb3/igt@gem_exec_schedule@reorder-wide-bsd.html
   [13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14716/shard-iclb4/igt@gem_exec_schedule@reorder-wide-bsd.html

  * igt@gem_tiled_swapping@non-threaded:
    - shard-iclb:         [PASS][14] -> [INCOMPLETE][15] ([fdo#107713] / [fdo#108686])
   [14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/shard-iclb7/igt@gem_tiled_swapping@non-threaded.html
   [15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14716/shard-iclb1/igt@gem_tiled_swapping@non-threaded.html

  * igt@gem_userptr_blits@sync-unmap-cycles:
    - shard-snb:          [PASS][16] -> [DMESG-WARN][17] ([fdo#111870]) +1 similar issue
   [16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/shard-snb4/igt@gem_userptr_blits@sync-unmap-cycles.html
   [17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14716/shard-snb1/igt@gem_userptr_blits@sync-unmap-cycles.html

  * igt@i915_selftest@live_hangcheck:
    - shard-iclb:         [PASS][18] -> [INCOMPLETE][19] ([fdo#107713] / [fdo#108569])
   [18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/shard-iclb4/igt@i915_selftest@live_hangcheck.html
   [19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14716/shard-iclb5/igt@i915_selftest@live_hangcheck.html

  * igt@i915_suspend@fence-restore-untiled:
    - shard-snb:          [PASS][20] -> [INCOMPLETE][21] ([fdo#105411])
   [20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/shard-snb4/igt@i915_suspend@fence-restore-untiled.html
   [21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14716/shard-snb1/igt@i915_suspend@fence-restore-untiled.html

  * igt@kms_cursor_legacy@flip-vs-cursor-atomic:
    - shard-skl:          [PASS][22] -> [FAIL][23] ([fdo#102670])
   [22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/shard-skl3/igt@kms_cursor_legacy@flip-vs-cursor-atomic.html
   [23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14716/shard-skl10/igt@kms_cursor_legacy@flip-vs-cursor-atomic.html

  * igt@kms_frontbuffer_tracking@fbcpsr-1p-shrfb-fliptrack:
    - shard-iclb:         [PASS][24] -> [FAIL][25] ([fdo#103167]) +3 similar issues
   [24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/shard-iclb6/igt@kms_frontbuffer_tracking@fbcpsr-1p-shrfb-fliptrack.html
   [25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14716/shard-iclb2/igt@kms_frontbuffer_tracking@fbcpsr-1p-shrfb-fliptrack.html

  * igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a:
    - shard-apl:          [PASS][26] -> [DMESG-WARN][27] ([fdo#108566])
   [26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/shard-apl3/igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a.html
   [27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14716/shard-apl1/igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a.html

  * igt@kms_plane_lowres@pipe-a-tiling-x:
    - shard-iclb:         [PASS][28] -> [FAIL][29] ([fdo#103166])
   [28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/shard-iclb8/igt@kms_plane_lowres@pipe-a-tiling-x.html
   [29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14716/shard-iclb5/igt@kms_plane_lowres@pipe-a-tiling-x.html

  * igt@kms_psr@psr2_primary_mmap_gtt:
    - shard-iclb:         [PASS][30] -> [SKIP][31] ([fdo#109441]) +1 similar issue
   [30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/shard-iclb2/igt@kms_psr@psr2_primary_mmap_gtt.html
   [31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14716/shard-iclb7/igt@kms_psr@psr2_primary_mmap_gtt.html

  * igt@kms_setmode@basic:
    - shard-apl:          [PASS][32] -> [FAIL][33] ([fdo#99912])
   [32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/shard-apl7/igt@kms_setmode@basic.html
   [33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14716/shard-apl4/igt@kms_setmode@basic.html
    - shard-kbl:          [PASS][34] -> [FAIL][35] ([fdo#99912])
   [34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/shard-kbl7/igt@kms_setmode@basic.html
   [35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14716/shard-kbl3/igt@kms_setmode@basic.html

  
#### Possible fixes ####

  * igt@gem_exec_flush@basic-wb-pro-default:
    - shard-apl:          [INCOMPLETE][36] ([fdo#103927]) -> [PASS][37] +2 similar issues
   [36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/shard-apl8/igt@gem_exec_flush@basic-wb-pro-default.html
   [37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14716/shard-apl6/igt@gem_exec_flush@basic-wb-pro-default.html

  * igt@gem_exec_schedule@preempt-other-chain-bsd:
    - shard-iclb:         [SKIP][38] ([fdo#111325]) -> [PASS][39] +4 similar issues
   [38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/shard-iclb1/igt@gem_exec_schedule@preempt-other-chain-bsd.html
   [39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14716/shard-iclb8/igt@gem_exec_schedule@preempt-other-chain-bsd.html

  * igt@gem_userptr_blits@dmabuf-sync:
    - shard-snb:          [DMESG-WARN][40] ([fdo#111870]) -> [PASS][41]
   [40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/shard-snb2/igt@gem_userptr_blits@dmabuf-sync.html
   [41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14716/shard-snb1/igt@gem_userptr_blits@dmabuf-sync.html

  * igt@gem_userptr_blits@dmabuf-unsync:
    - shard-hsw:          [DMESG-WARN][42] ([fdo#111870]) -> [PASS][43]
   [42]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/shard-hsw2/igt@gem_userptr_blits@dmabuf-unsync.html
   [43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14716/shard-hsw2/igt@gem_userptr_blits@dmabuf-unsync.html

  * igt@i915_suspend@sysfs-reader:
    - shard-apl:          [DMESG-WARN][44] ([fdo#108566]) -> [PASS][45] +2 similar issues
   [44]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/shard-apl7/igt@i915_suspend@sysfs-reader.html
   [45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14716/shard-apl8/igt@i915_suspend@sysfs-reader.html

  * igt@kms_busy@extended-modeset-hang-newfb-render-a:
    - shard-iclb:         [INCOMPLETE][46] ([fdo#107713]) -> [PASS][47]
   [46]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/shard-iclb7/igt@kms_busy@extended-modeset-hang-newfb-render-a.html
   [47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14716/shard-iclb3/igt@kms_busy@extended-modeset-hang-newfb-render-a.html

  * igt@kms_cursor_crc@pipe-c-cursor-256x85-offscreen:
    - shard-skl:          [FAIL][48] ([fdo#103232]) -> [PASS][49]
   [48]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/shard-skl8/igt@kms_cursor_crc@pipe-c-cursor-256x85-offscreen.html
   [49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14716/shard-skl1/igt@kms_cursor_crc@pipe-c-cursor-256x85-offscreen.html

  * igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-pwrite:
    - shard-iclb:         [FAIL][50] ([fdo#103167]) -> [PASS][51] +3 similar issues
   [50]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/shard-iclb2/igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-pwrite.html
   [51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14716/shard-iclb7/igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-pwrite.html

  * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-blt:
    - {shard-tglb}:       [FAIL][52] ([fdo#103167]) -> [PASS][53]
   [52]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/shard-tglb3/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-blt.html
   [53]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14716/shard-tglb1/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-blt.html

  * igt@kms_plane_alpha_blend@pipe-c-coverage-7efc:
    - shard-skl:          [FAIL][54] ([fdo#108145] / [fdo#110403]) -> [PASS][55]
   [54]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/shard-skl8/igt@kms_plane_alpha_blend@pipe-c-coverage-7efc.html
   [55]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14716/shard-skl1/igt@kms_plane_alpha_blend@pipe-c-coverage-7efc.html

  * igt@kms_psr@psr2_sprite_render:
    - shard-iclb:         [SKIP][56] ([fdo#109441]) -> [PASS][57] +1 similar issue
   [56]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/shard-iclb8/igt@kms_psr@psr2_sprite_render.html
   [57]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14716/shard-iclb2/igt@kms_psr@psr2_sprite_render.html

  * igt@prime_busy@hang-bsd2:
    - shard-iclb:         [SKIP][58] ([fdo#109276]) -> [PASS][59] +14 similar issues
   [58]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/shard-iclb3/igt@prime_busy@hang-bsd2.html
   [59]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14716/shard-iclb4/igt@prime_busy@hang-bsd2.html

  
#### Warnings ####

  * igt@gem_ctx_isolation@vcs1-nonpriv:
    - shard-iclb:         [SKIP][60] ([fdo#109276]) -> [FAIL][61] ([fdo#111329])
   [60]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/shard-iclb8/igt@gem_ctx_isolation@vcs1-nonpriv.html
   [61]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14716/shard-iclb2/igt@gem_ctx_isolation@vcs1-nonpriv.html

  * igt@gem_mocs_settings@mocs-isolation-bsd2:
    - shard-iclb:         [FAIL][62] ([fdo#111330]) -> [SKIP][63] ([fdo#109276])
   [62]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/shard-iclb1/igt@gem_mocs_settings@mocs-isolation-bsd2.html
   [63]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14716/shard-iclb3/igt@gem_mocs_settings@mocs-isolation-bsd2.html

  * igt@gem_mocs_settings@mocs-rc6-bsd2:
    - shard-iclb:         [SKIP][64] ([fdo#109276]) -> [FAIL][65] ([fdo#111330])
   [64]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/shard-iclb8/igt@gem_mocs_settings@mocs-rc6-bsd2.html
   [65]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14716/shard-iclb4/igt@gem_mocs_settings@mocs-rc6-bsd2.html

  * igt@kms_psr@psr2_suspend:
    - shard-iclb:         [SKIP][66] ([fdo#109441]) -> [DMESG-WARN][67] ([fdo#107724])
   [66]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7037/shard-iclb6/igt@kms_psr@psr2_suspend.html
   [67]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14716/shard-iclb2/igt@kms_psr@psr2_suspend.html

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

  [fdo#102670]: https://bugs.freedesktop.org/show_bug.cgi?id=102670
  [fdo#103166]: https://bugs.freedesktop.org/show_bug.cgi?id=103166
  [fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
  [fdo#103232]: https://bugs.freedesktop.org/show_bug.cgi?id=103232
  [fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
  [fdo#104108]: https://bugs.freedesktop.org/show_bug.cgi?id=104108
  [fdo#105411]: https://bugs.freedesktop.org/show_bug.cgi?id=105411
  [fdo#106107]: https://bugs.freedesktop.org/show_bug.cgi?id=106107
  [fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
  [fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
  [fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
  [fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566
  [fdo#108569]: https://bugs.freedesktop.org/show_bug.cgi?id=108569
  [fdo#108686]: https://bugs.freedesktop.org/show_bug.cgi?id=108686
  [fdo#109276]: https://bugs.freedesktop.org/show_bug.cgi?id=109276
  [fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
  [fdo#110403]: https://bugs.freedesktop.org/show_bug.cgi?id=110403
  [fdo#110854]: https://bugs.freedesktop.org/show_bug.cgi?id=110854
  [fdo#111325]: https://bugs.freedesktop.org/show_bug.cgi?id=111325
  [fdo#111329]: https://bugs.freedesktop.org/show_bug.cgi?id=111329
  [fdo#111330]: https://bugs.freedesktop.org/show_bug.cgi?id=111330
  [fdo#111747]: https://bugs.freedesktop.org/show_bug.cgi?id=111747
  [fdo#111781]: https://bugs.freedesktop.org/show_bug.cgi?id=111781
  [fdo#111832]: https://bugs.freedesktop.org/show_bug.cgi?id=111832
  [fdo#111870]: https://bugs.freedesktop.org/show_bug.cgi?id=111870
  [fdo#99912]: https://bugs.freedesktop.org/show_bug.cgi?id=99912


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

  No changes in participating hosts


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

  * CI: CI-20190529 -> None
  * Linux: CI_DRM_7037 -> Patchwork_14716

  CI-20190529: 20190529
  CI_DRM_7037: 4ff590d66f456266150c2c42c194f62338569140 @ git://anongit.freedesktop.org/gfx-ci/linux
  IGT_5218: 869ed1ee0b71ce17f0a864512488f8b1a6cb8545 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
  Patchwork_14716: 85e661914035fb1397b7aa1a88e9d703031ba199 @ git://anongit.freedesktop.org/gfx-ci/linux
  piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14716/index.html
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-10-09 10:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-09  0:07 [PATCH] drm/i915/selftests: Hold request reference over waits Chris Wilson
2019-10-09  0:58 ` ✗ Fi.CI.BAT: failure for " Patchwork
2019-10-09  6:17 ` [PATCH] " Chris Wilson
2019-10-09  7:49   ` Mika Kuoppala
2019-10-09  7:29 ` ✓ Fi.CI.BAT: success for drm/i915/selftests: Hold request reference over waits (rev2) Patchwork
2019-10-09 10:37 ` ✓ Fi.CI.IGT: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox