Skip to contentSkip to conversation

drm/i915/selftests: Add context batchbuffers registers to live_lrc_fixed

PATCH New Chris Wilson 2 participants 8 messages Apr 23, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/i915/selftests: Add context batchbuffers registers to live_lrc_fixed

From: Mika Kuoppala <[email protected]>

Add per ctx bb and indirect ctx bb register locations to live_lrc_fixed for verification.

---
 drivers/gpu/drm/i915/gt/intel_lrc.c     | 110 ++++++++++++------------
 drivers/gpu/drm/i915/gt/intel_lrc_reg.h |   7 +-
 drivers/gpu/drm/i915/gt/selftest_lrc.c  |  15 ++++
 3 files changed, 72 insertions(+), 60 deletions(-)
drivers/gpu/drm/i915/gt/intel_lrc.c +55 -55
index dead24aaf45d..fdc012a333bd 100644
@@ -238,6 +238,55 @@ __execlists_update_reg_state(const struct intel_context *ce,
 			     const struct intel_engine_cs *engine,
 			     u32 head);
 
+static int lrc_ring_mi_mode(const struct intel_engine_cs *engine)
+{
+	if (INTEL_GEN(engine->i915) >= 12)
+		return 0x60;
+	else if (INTEL_GEN(engine->i915) >= 9)
+		return 0x54;
+	else if (engine->class == RENDER_CLASS)
+		return 0x58;
+	else
+		return -1;
+}
+
+static int lrc_wa_bb_per_ctx(const struct intel_engine_cs *engine)
+{
+	if (INTEL_GEN(engine->i915) >= 12)
+		return 0x18 + 1;
+	else
+		return 0x12 + 1;
+}
+
+static int lrc_indirect_ptr(const struct intel_engine_cs *engine)
+{
+	return lrc_wa_bb_per_ctx(engine) + 2;
+}
+
+static int lrc_indirect_offset(const struct intel_engine_cs *engine)
+{
+	return lrc_indirect_ptr(engine) + 2;
+}
+
+static u32 lrc_indirect_offset_default(const struct intel_engine_cs *engine)
+{
+	switch (INTEL_GEN(engine->i915)) {
+	default:
+		MISSING_CASE(INTEL_GEN(engine->i915));
+		fallthrough;
+	case 12:
+		return GEN12_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT;
+	case 11:
+		return GEN11_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT;
+	case 10:
+		return GEN10_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT;
+	case 9:
+		return GEN9_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT;
+	case 8:
+		return GEN8_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT;
+	}
+}
+
 static u32 intel_context_get_runtime(const struct intel_context *ce)
 {
 	/*
@@ -1102,18 +1151,6 @@ static void intel_engine_context_out(struct intel_engine_cs *engine)
 	write_sequnlock_irqrestore(&engine->stats.lock, flags);
 }
 
-static int lrc_ring_mi_mode(const struct intel_engine_cs *engine)
-{
-	if (INTEL_GEN(engine->i915) >= 12)
-		return 0x60;
-	else if (INTEL_GEN(engine->i915) >= 9)
-		return 0x54;
-	else if (engine->class == RENDER_CLASS)
-		return 0x58;
-	else
-		return -1;
-}
-
 static void
 execlists_check_context(const struct intel_context *ce,
 			const struct intel_engine_cs *engine)
@@ -4673,39 +4710,6 @@ int intel_execlists_submission_setup(struct intel_engine_cs *engine)
 	return 0;
 }
 
-static u32 intel_lr_indirect_ctx_offset(const struct intel_engine_cs *engine)
-{
-	u32 indirect_ctx_offset;
-
-	switch (INTEL_GEN(engine->i915)) {
-	default:
-		MISSING_CASE(INTEL_GEN(engine->i915));
-		/* fall through */
-	case 12:
-		indirect_ctx_offset =
-			GEN12_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT;
-		break;
-	case 11:
-		indirect_ctx_offset =
-			GEN11_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT;
-		break;
-	case 10:
-		indirect_ctx_offset =
-			GEN10_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT;
-		break;
-	case 9:
-		indirect_ctx_offset =
-			GEN9_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT;
-		break;
-	case 8:
-		indirect_ctx_offset =
-			GEN8_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT;
-		break;
-	}
-
-	return indirect_ctx_offset;
-}
-
 
 static void init_common_reg_state(u32 * const regs,
 				  const struct intel_engine_cs *engine,
@@ -4728,27 +4732,26 @@ static void init_common_reg_state(u32 * const regs,
 }
 
 static void init_wa_bb_reg_state(u32 * const regs,
-				 const struct intel_engine_cs *engine,
-				 u32 pos_bb_per_ctx)
+				 const struct intel_engine_cs *engine)
 {
 	const struct i915_ctx_workarounds * const wa_ctx = &engine->wa_ctx;
 
 	if (wa_ctx->per_ctx.size) {
 		const u32 ggtt_offset = i915_ggtt_offset(wa_ctx->vma);
 
-		regs[pos_bb_per_ctx] =
+		regs[lrc_wa_bb_per_ctx(engine)] =
 			(ggtt_offset + wa_ctx->per_ctx.offset) | 0x01;
 	}
 
 	if (wa_ctx->indirect_ctx.size) {
 		const u32 ggtt_offset = i915_ggtt_offset(wa_ctx->vma);
 
-		regs[pos_bb_per_ctx + 2] =
+		regs[lrc_indirect_ptr(engine)] =
 			(ggtt_offset + wa_ctx->indirect_ctx.offset) |
 			(wa_ctx->indirect_ctx.size / CACHELINE_BYTES);
 
-		regs[pos_bb_per_ctx + 4] =
-			intel_lr_indirect_ctx_offset(engine) << 6;
+		regs[lrc_indirect_offset(engine)] =
+			lrc_indirect_offset_default(engine) << 6;
 	}
 }
 
@@ -4797,10 +4800,7 @@ static void execlists_init_reg_state(u32 *regs,
 	init_common_reg_state(regs, engine, ring, inhibit);
 	init_ppgtt_reg_state(regs, vm_alias(ce->vm));
 
-	init_wa_bb_reg_state(regs, engine,
-			     INTEL_GEN(engine->i915) >= 12 ?
-			     GEN12_CTX_BB_PER_CTX_PTR :
-			     CTX_BB_PER_CTX_PTR);
+	init_wa_bb_reg_state(regs, engine);
 
 	__reset_stop_ring(regs, engine);
 }
drivers/gpu/drm/i915/gt/intel_lrc_reg.h +2 -5
index d39b72590e40..003a4ba7bce0 100644
@@ -8,15 +8,15 @@
 #define _INTEL_LRC_REG_H_
 
 #include <linux/types.h>
+#include "i915_drv.h"
 
-/* GEN8 to GEN11 Reg State Context */
+/* GEN8 to GEN12 Reg State Context */
 #define CTX_CONTEXT_CONTROL		(0x02 + 1)
 #define CTX_RING_HEAD			(0x04 + 1)
 #define CTX_RING_TAIL			(0x06 + 1)
 #define CTX_RING_START			(0x08 + 1)
 #define CTX_RING_CTL			(0x0a + 1)
 #define CTX_BB_STATE			(0x10 + 1)
-#define CTX_BB_PER_CTX_PTR		(0x18 + 1)
 #define CTX_TIMESTAMP			(0x22 + 1)
 #define CTX_PDP3_UDW			(0x24 + 1)
 #define CTX_PDP3_LDW			(0x26 + 1)
@@ -30,9 +30,6 @@
 
 #define GEN9_CTX_RING_MI_MODE		0x54
 
-/* GEN12+ Reg State Context */
-#define GEN12_CTX_BB_PER_CTX_PTR		(0x12 + 1)
-
 #define ASSIGN_CTX_PDP(ppgtt, reg_state, n) do { \
 	u32 *reg_state__ = (reg_state); \
 	const u64 addr__ = i915_page_dir_dma_addr((ppgtt), (n)); \
drivers/gpu/drm/i915/gt/selftest_lrc.c +15 -0
index fc3f9a248764..bcf15b620b5e 100644
@@ -4593,6 +4593,21 @@ static int live_lrc_fixed(void *arg)
 				CTX_BB_STATE - 1,
 				"BB_STATE"
 			},
+			{
+				i915_mmio_reg_offset(RING_BB_PER_CTX_PTR(engine->mmio_base)),
+				lrc_wa_bb_per_ctx(engine) - 1,
+				"RING_BB_PER_CTX_PTR"
+			},
+			{
+				i915_mmio_reg_offset(RING_INDIRECT_CTX(engine->mmio_base)),
+				lrc_indirect_ptr(engine) - 1,
+				"RING_INDIRECT_CTX_PTR"
+			},
+			{
+				i915_mmio_reg_offset(RING_INDIRECT_CTX_OFFSET(engine->mmio_base)),
+				lrc_indirect_offset(engine) - 1,
+				"RING_INDIRECT_CTX_OFFSET"
+			},
 			{
 				i915_mmio_reg_offset(RING_CTX_TIMESTAMP(engine->mmio_base)),
 				CTX_TIMESTAMP - 1,
Signature · 6 lines
2.20.1

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

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/selftests: Add context batchbuffers registers to live_lrc_fixed

== Series Details ==

== Series Details ==

Series: drm/i915/selftests: Add context batchbuffers registers to live_lrc_fixed
URL : https://patchwork.freedesktop.org/series/76407/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_8354 -> Patchwork_17446
====================================================

Summary
-------

**FAILURE**

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

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

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

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

### IGT changes ###

#### Possible regressions ####

* igt@debugfs_test@read_all_entries:
- fi-cml-s: [PASS][1] -> [SKIP][2] +31 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-cml-s/igt@debugfs_test@read_all_entries.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-cml-s/igt@debugfs_test@read_all_entries.html

* igt@gem_exec_fence@basic-await:
- fi-cml-u2: NOTRUN -> [SKIP][3] +5 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-cml-u2/igt@[email protected]

* igt@gem_exec_fence@basic-wait:
- fi-cml-s: NOTRUN -> [SKIP][4] +5 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-cml-s/igt@[email protected]

* igt@gem_sync@basic-each:
- fi-cml-u2: [PASS][5] -> [SKIP][6] +31 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-cml-u2/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-cml-u2/igt@[email protected]

* igt@i915_module_load@reload:
- fi-whl-u: [PASS][7] -> [INCOMPLETE][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-whl-u/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-whl-u/igt@[email protected]
- fi-skl-guc: [PASS][9] -> [INCOMPLETE][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-skl-guc/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-skl-guc/igt@[email protected]

* igt@i915_pm_rpm@module-reload:
- fi-apl-guc: [PASS][11] -> [INCOMPLETE][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-apl-guc/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-apl-guc/igt@[email protected]

* igt@i915_selftest@live@gt_engines:
- fi-kbl-7500u: [PASS][13] -> [FAIL][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-kbl-7500u/igt@i915_selftest@live@gt_engines.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-kbl-7500u/igt@i915_selftest@live@gt_engines.html
- fi-cfl-8109u: [PASS][15] -> [FAIL][16]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-cfl-8109u/igt@i915_selftest@live@gt_engines.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-cfl-8109u/igt@i915_selftest@live@gt_engines.html
- fi-kbl-soraka: [PASS][17] -> [FAIL][18]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-kbl-soraka/igt@i915_selftest@live@gt_engines.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-kbl-soraka/igt@i915_selftest@live@gt_engines.html
- fi-bxt-dsi: [PASS][19] -> [FAIL][20]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-bxt-dsi/igt@i915_selftest@live@gt_engines.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-bxt-dsi/igt@i915_selftest@live@gt_engines.html
- fi-skl-6700k2: [PASS][21] -> [FAIL][22]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-skl-6700k2/igt@i915_selftest@live@gt_engines.html
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-skl-6700k2/igt@i915_selftest@live@gt_engines.html
- fi-cml-u2: [PASS][23] -> [FAIL][24]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-cml-u2/igt@i915_selftest@live@gt_engines.html
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-cml-u2/igt@i915_selftest@live@gt_engines.html
- fi-bsw-n3050: [PASS][25] -> [FAIL][26]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-bsw-n3050/igt@i915_selftest@live@gt_engines.html
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-bsw-n3050/igt@i915_selftest@live@gt_engines.html
- fi-cfl-guc: [PASS][27] -> [FAIL][28]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-cfl-guc/igt@i915_selftest@live@gt_engines.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-cfl-guc/igt@i915_selftest@live@gt_engines.html
- fi-cml-s: [PASS][29] -> [FAIL][30]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-cml-s/igt@i915_selftest@live@gt_engines.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-cml-s/igt@i915_selftest@live@gt_engines.html
- fi-kbl-x1275: [PASS][31] -> [FAIL][32]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-kbl-x1275/igt@i915_selftest@live@gt_engines.html
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-kbl-x1275/igt@i915_selftest@live@gt_engines.html
- fi-glk-dsi: [PASS][33] -> [FAIL][34]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-glk-dsi/igt@i915_selftest@live@gt_engines.html
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-glk-dsi/igt@i915_selftest@live@gt_engines.html
- fi-bsw-kefka: [PASS][35] -> [FAIL][36]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-bsw-kefka/igt@i915_selftest@live@gt_engines.html
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-bsw-kefka/igt@i915_selftest@live@gt_engines.html
- fi-cfl-8700k: [PASS][37] -> [FAIL][38]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-cfl-8700k/igt@i915_selftest@live@gt_engines.html
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-cfl-8700k/igt@i915_selftest@live@gt_engines.html
- fi-kbl-r: [PASS][39] -> [FAIL][40]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-kbl-r/igt@i915_selftest@live@gt_engines.html
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-kbl-r/igt@i915_selftest@live@gt_engines.html
- fi-bsw-nick: [PASS][41] -> [FAIL][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-bsw-nick/igt@i915_selftest@live@gt_engines.html
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-bsw-nick/igt@i915_selftest@live@gt_engines.html

* igt@i915_selftest@live@gt_lrc:
- fi-icl-guc: [PASS][43] -> [DMESG-FAIL][44]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-icl-guc/igt@i915_selftest@live@gt_lrc.html
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-icl-guc/igt@i915_selftest@live@gt_lrc.html
- fi-cml-u2: [PASS][45] -> [DMESG-FAIL][46] +2 similar issues
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-cml-u2/igt@i915_selftest@live@gt_lrc.html
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-cml-u2/igt@i915_selftest@live@gt_lrc.html
- fi-bsw-n3050: [PASS][47] -> [DMESG-FAIL][48] +1 similar issue
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-bsw-n3050/igt@i915_selftest@live@gt_lrc.html
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-bsw-n3050/igt@i915_selftest@live@gt_lrc.html
- fi-kbl-soraka: [PASS][49] -> [DMESG-FAIL][50] +2 similar issues
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-kbl-soraka/igt@i915_selftest@live@gt_lrc.html
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-kbl-soraka/igt@i915_selftest@live@gt_lrc.html
- fi-cml-s: [PASS][51] -> [DMESG-FAIL][52] +2 similar issues
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-cml-s/igt@i915_selftest@live@gt_lrc.html
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-cml-s/igt@i915_selftest@live@gt_lrc.html
- fi-kbl-x1275: [PASS][53] -> [DMESG-FAIL][54] +2 similar issues
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-kbl-x1275/igt@i915_selftest@live@gt_lrc.html
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-kbl-x1275/igt@i915_selftest@live@gt_lrc.html
- fi-icl-y: [PASS][55] -> [DMESG-FAIL][56]
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-icl-y/igt@i915_selftest@live@gt_lrc.html
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-icl-y/igt@i915_selftest@live@gt_lrc.html
- fi-bsw-nick: [PASS][57] -> [DMESG-FAIL][58] +1 similar issue
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-bsw-nick/igt@i915_selftest@live@gt_lrc.html
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-bsw-nick/igt@i915_selftest@live@gt_lrc.html
- fi-bdw-5557u: [PASS][59] -> [DMESG-FAIL][60]
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-bdw-5557u/igt@i915_selftest@live@gt_lrc.html
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-bdw-5557u/igt@i915_selftest@live@gt_lrc.html
- fi-icl-u2: [PASS][61] -> [DMESG-FAIL][62]
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-icl-u2/igt@i915_selftest@live@gt_lrc.html
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-icl-u2/igt@i915_selftest@live@gt_lrc.html

* igt@i915_selftest@live@gt_mocs:
- fi-bxt-dsi: [PASS][63] -> [DMESG-FAIL][64] +2 similar issues
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-bxt-dsi/igt@i915_selftest@live@gt_mocs.html
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-bxt-dsi/igt@i915_selftest@live@gt_mocs.html
- fi-cfl-8700k: [PASS][65] -> [DMESG-FAIL][66] +2 similar issues
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-cfl-8700k/igt@i915_selftest@live@gt_mocs.html
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-cfl-8700k/igt@i915_selftest@live@gt_mocs.html
- fi-kbl-7500u: [PASS][67] -> [DMESG-FAIL][68] +2 similar issues
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-kbl-7500u/igt@i915_selftest@live@gt_mocs.html
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-kbl-7500u/igt@i915_selftest@live@gt_mocs.html
- fi-kbl-r: [PASS][69] -> [DMESG-FAIL][70] +2 similar issues
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-kbl-r/igt@i915_selftest@live@gt_mocs.html
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-kbl-r/igt@i915_selftest@live@gt_mocs.html
- fi-cfl-8109u: [PASS][71] -> [DMESG-FAIL][72] +2 similar issues
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-cfl-8109u/igt@i915_selftest@live@gt_mocs.html
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-cfl-8109u/igt@i915_selftest@live@gt_mocs.html

* igt@i915_selftest@live@mman:
- fi-bsw-kefka: [PASS][73] -> [INCOMPLETE][74]
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-bsw-kefka/igt@i915_selftest@[email protected]
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-bsw-kefka/igt@i915_selftest@[email protected]
- fi-kbl-r: [PASS][75] -> [INCOMPLETE][76]
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-kbl-r/igt@i915_selftest@[email protected]
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-kbl-r/igt@i915_selftest@[email protected]
- fi-bsw-nick: [PASS][77] -> [INCOMPLETE][78]
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-bsw-nick/igt@i915_selftest@[email protected]
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-bsw-nick/igt@i915_selftest@[email protected]
- fi-kbl-soraka: [PASS][79] -> [INCOMPLETE][80]
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-kbl-soraka/igt@i915_selftest@[email protected]
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-kbl-soraka/igt@i915_selftest@[email protected]
- fi-cfl-8109u: [PASS][81] -> [INCOMPLETE][82]
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-cfl-8109u/igt@i915_selftest@[email protected]
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-cfl-8109u/igt@i915_selftest@[email protected]
- fi-bxt-dsi: [PASS][83] -> [INCOMPLETE][84]
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-bxt-dsi/igt@i915_selftest@[email protected]
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-bxt-dsi/igt@i915_selftest@[email protected]
- fi-cml-u2: [PASS][85] -> [INCOMPLETE][86]
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-cml-u2/igt@i915_selftest@[email protected]
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-cml-u2/igt@i915_selftest@[email protected]
- fi-bsw-n3050: [PASS][87] -> [INCOMPLETE][88]
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-bsw-n3050/igt@i915_selftest@[email protected]
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-bsw-n3050/igt@i915_selftest@[email protected]
- fi-cfl-guc: [PASS][89] -> [INCOMPLETE][90]
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-cfl-guc/igt@i915_selftest@[email protected]
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-cfl-guc/igt@i915_selftest@[email protected]
- fi-cml-s: [PASS][91] -> [INCOMPLETE][92]
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-cml-s/igt@i915_selftest@[email protected]
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-cml-s/igt@i915_selftest@[email protected]
- fi-skl-6700k2: [PASS][93] -> [INCOMPLETE][94]
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-skl-6700k2/igt@i915_selftest@[email protected]
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-skl-6700k2/igt@i915_selftest@[email protected]
- fi-cfl-8700k: [PASS][95] -> [INCOMPLETE][96]
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-cfl-8700k/igt@i915_selftest@[email protected]
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-cfl-8700k/igt@i915_selftest@[email protected]
- fi-kbl-x1275: [PASS][97] -> [INCOMPLETE][98]
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-kbl-x1275/igt@i915_selftest@[email protected]
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-kbl-x1275/igt@i915_selftest@[email protected]
- fi-kbl-7500u: [PASS][99] -> [INCOMPLETE][100]
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-kbl-7500u/igt@i915_selftest@[email protected]
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-kbl-7500u/igt@i915_selftest@[email protected]

* igt@i915_selftest@live@uncore:
- fi-glk-dsi: [PASS][101] -> [DMESG-FAIL][102] +2 similar issues
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-glk-dsi/igt@i915_selftest@[email protected]
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-glk-dsi/igt@i915_selftest@[email protected]
- fi-bsw-kefka: [PASS][103] -> [DMESG-FAIL][104] +1 similar issue
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-bsw-kefka/igt@i915_selftest@[email protected]
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-bsw-kefka/igt@i915_selftest@[email protected]
- fi-skl-6700k2: [PASS][105] -> [DMESG-FAIL][106] +2 similar issues
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-skl-6700k2/igt@i915_selftest@[email protected]
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-skl-6700k2/igt@i915_selftest@[email protected]

#### Warnings ####

* igt@i915_selftest@live@gt_lrc:
- fi-tgl-y: [DMESG-FAIL][107] ([i915#1233]) -> [DMESG-FAIL][108]
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-tgl-y/igt@i915_selftest@live@gt_lrc.html
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-tgl-y/igt@i915_selftest@live@gt_lrc.html

#### Suppressed ####

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

* {igt@gem_busy@busy}:
- fi-cml-u2: NOTRUN -> [SKIP][109] +3 similar issues
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-cml-u2/igt@[email protected]

* {igt@gem_exec_parallel@engines}:
- fi-cml-s: NOTRUN -> [SKIP][110] +3 similar issues
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-cml-s/igt@[email protected]

* {igt@gem_exec_store@basic}:
- fi-cml-s: [PASS][111] -> [SKIP][112]
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-cml-s/igt@[email protected]
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-cml-s/igt@[email protected]
- fi-cml-u2: [PASS][113] -> [SKIP][114]
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-cml-u2/igt@[email protected]
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-cml-u2/igt@[email protected]

* igt@i915_selftest@live@gt_lrc:
- {fi-ehl-1}: [PASS][115] -> [DMESG-FAIL][116]
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-ehl-1/igt@i915_selftest@live@gt_lrc.html
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-ehl-1/igt@i915_selftest@live@gt_lrc.html
- {fi-tgl-dsi}: [DMESG-FAIL][117] ([i915#1233]) -> [DMESG-FAIL][118]
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-tgl-dsi/igt@i915_selftest@live@gt_lrc.html
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-tgl-dsi/igt@i915_selftest@live@gt_lrc.html
- {fi-tgl-u}: [DMESG-FAIL][119] ([i915#1233]) -> [DMESG-FAIL][120]
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-tgl-u/igt@i915_selftest@live@gt_lrc.html
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-tgl-u/igt@i915_selftest@live@gt_lrc.html

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

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

### IGT changes ###

#### Issues hit ####

* igt@gem_close_race@basic-threads:
- fi-skl-6600u: [PASS][121] -> [SKIP][122] ([fdo#109271]) +31 similar issues
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-skl-6600u/igt@[email protected]
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-skl-6600u/igt@[email protected]

* igt@gem_ctx_param@basic:
- fi-glk-dsi: [PASS][123] -> [SKIP][124] ([fdo#109271]) +28 similar issues
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-glk-dsi/igt@[email protected]
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-glk-dsi/igt@[email protected]

* igt@gem_ctx_param@basic-default:
- fi-skl-6700k2: [PASS][125] -> [SKIP][126] ([fdo#109271]) +31 similar issues
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-skl-6700k2/igt@[email protected]
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-skl-6700k2/igt@[email protected]

* igt@gem_exec_gttfill@basic:
- fi-kbl-x1275: [PASS][127] -> [SKIP][128] ([fdo#109271]) +31 similar issues
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-kbl-x1275/igt@[email protected]
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-kbl-x1275/igt@[email protected]

* igt@gem_exec_suspend@basic-s0:
- fi-kbl-r: [PASS][129] -> [SKIP][130] ([fdo#109271]) +31 similar issues
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-kbl-r/igt@[email protected]
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-kbl-r/igt@[email protected]

* igt@gem_exec_suspend@basic-s3:
- fi-kbl-8809g: [PASS][131] -> [SKIP][132] ([fdo#109271]) +26 similar issues
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-kbl-8809g/igt@[email protected]
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-kbl-8809g/igt@[email protected]

* igt@gem_render_linear_blits@basic:
- fi-cfl-8700k: [PASS][133] -> [SKIP][134] ([fdo#109271]) +31 similar issues
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-cfl-8700k/igt@[email protected]
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-cfl-8700k/igt@[email protected]

* igt@gem_sync@basic-each:
- fi-whl-u: [PASS][135] -> [SKIP][136] ([fdo#109271]) +31 similar issues
[135]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-whl-u/igt@[email protected]
[136]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-whl-u/igt@[email protected]

* igt@gem_tiled_fence_blits@basic:
- fi-apl-guc: [PASS][137] -> [SKIP][138] ([fdo#109271]) +31 similar issues
[137]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-apl-guc/igt@[email protected]
[138]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-apl-guc/igt@[email protected]
- fi-bxt-dsi: [PASS][139] -> [SKIP][140] ([fdo#109271]) +28 similar issues
[139]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-bxt-dsi/igt@[email protected]
[140]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-bxt-dsi/igt@[email protected]

* igt@i915_module_load@reload:
- fi-skl-6600u: [PASS][141] -> [INCOMPLETE][142] ([i915#69])
[141]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-skl-6600u/igt@[email protected]
[142]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-skl-6600u/igt@[email protected]

* igt@i915_pm_rpm@module-reload:
- fi-kbl-guc: [PASS][143] -> [INCOMPLETE][144] ([i915#151])
[143]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-kbl-guc/igt@[email protected]
[144]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-kbl-guc/igt@[email protected]
- fi-kbl-8809g: [PASS][145] -> [INCOMPLETE][146] ([i915#151])
[145]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-kbl-8809g/igt@[email protected]
[146]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-kbl-8809g/igt@[email protected]

* igt@i915_pm_rps@basic-api:
- fi-cfl-8109u: [PASS][147] -> [SKIP][148] ([fdo#109271]) +31 similar issues
[147]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-cfl-8109u/igt@[email protected]
[148]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-cfl-8109u/igt@[email protected]
- fi-bsw-nick: [PASS][149] -> [SKIP][150] ([fdo#109271]) +23 similar issues
[149]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-bsw-nick/igt@[email protected]
[150]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-bsw-nick/igt@[email protected]

* igt@i915_selftest@live@gt_lrc:
- fi-cfl-guc: [PASS][151] -> [DMESG-FAIL][152] ([i915#889]) +2 similar issues
[151]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-cfl-guc/igt@i915_selftest@live@gt_lrc.html
[152]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-cfl-guc/igt@i915_selftest@live@gt_lrc.html

* igt@i915_selftest@live@mman:
- fi-glk-dsi: [PASS][153] -> [INCOMPLETE][154] ([i915#58] / [k.org#198133])
[153]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-glk-dsi/igt@i915_selftest@[email protected]
[154]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-glk-dsi/igt@i915_selftest@[email protected]

* igt@i915_selftest@live@sanitycheck:
- fi-skl-lmem: [PASS][155] -> [INCOMPLETE][156] ([i915#198])
[155]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-skl-lmem/igt@i915_selftest@[email protected]
[156]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-skl-lmem/igt@i915_selftest@[email protected]

* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- fi-skl-guc: [PASS][157] -> [SKIP][158] ([fdo#109271]) +31 similar issues
[157]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-skl-guc/igt@[email protected]
[158]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-skl-guc/igt@[email protected]
- fi-cfl-guc: [PASS][159] -> [SKIP][160] ([fdo#109271]) +31 similar issues
[159]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-cfl-guc/igt@[email protected]
[160]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-cfl-guc/igt@[email protected]

* igt@prime_vgem@basic-fence-flip:
- fi-kbl-7500u: [PASS][161] -> [SKIP][162] ([fdo#109271]) +32 similar issues
[161]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-kbl-7500u/igt@[email protected]
[162]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-kbl-7500u/igt@[email protected]

* igt@prime_vgem@basic-fence-read:
- fi-bsw-kefka: [PASS][163] -> [SKIP][164] ([fdo#109271]) +30 similar issues
[163]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-bsw-kefka/igt@[email protected]
[164]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-bsw-kefka/igt@[email protected]

* igt@prime_vgem@basic-read:
- fi-kbl-guc: [PASS][165] -> [SKIP][166] ([fdo#109271]) +26 similar issues
[165]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-kbl-guc/igt@[email protected]
[166]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-kbl-guc/igt@[email protected]

* igt@prime_vgem@basic-write:
- fi-skl-lmem: [PASS][167] -> [SKIP][168] ([fdo#109271]) +31 similar issues
[167]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-skl-lmem/igt@[email protected]
[168]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-skl-lmem/igt@[email protected]
- fi-bsw-n3050: [PASS][169] -> [SKIP][170] ([fdo#109271]) +29 similar issues
[169]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-bsw-n3050/igt@[email protected]
[170]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-bsw-n3050/igt@[email protected]
- fi-kbl-soraka: [PASS][171] -> [SKIP][172] ([fdo#109271]) +28 similar issues
[171]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-kbl-soraka/igt@[email protected]
[172]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-kbl-soraka/igt@[email protected]

#### Possible fixes ####

* igt@i915_selftest@live@gt_pm:
- fi-kbl-soraka: [DMESG-FAIL][173] ([i915#1744]) -> [PASS][174]
[173]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-kbl-soraka/igt@i915_selftest@live@gt_pm.html
[174]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/fi-kbl-soraka/igt@i915_selftest@live@gt_pm.html

{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
[i915#1233]: https://gitlab.freedesktop.org/drm/intel/issues/1233
[i915#151]: https://gitlab.freedesktop.org/drm/intel/issues/151
[i915#1744]: https://gitlab.freedesktop.org/drm/intel/issues/1744
[i915#198]: https://gitlab.freedesktop.org/drm/intel/issues/198
[i915#58]: https://gitlab.freedesktop.org/drm/intel/issues/58
[i915#69]: https://gitlab.freedesktop.org/drm/intel/issues/69
[i915#889]: https://gitlab.freedesktop.org/drm/intel/issues/889
[k.org#198133]: https://bugzilla.kernel.org/show_bug.cgi?id=198133

Participating hosts (48 -> 43)
------------------------------

Additional (1): fi-bwr-2160
Missing (6): fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-byt-clapper fi-bdw-samus

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

* CI: CI-20190529 -> None
* Linux: CI_DRM_8354 -> Patchwork_17446

CI-20190529: 20190529
CI_DRM_8354: 6ec6eeeda39e1733777f9115ba813a992a47b5fe @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5608: e7bcaf1dd251d454706c7cd64282f531aec50183 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_17446: 2a21fd4722b45da17859a29564dc4266513429b2 @ git://anongit.freedesktop.org/gfx-ci/linux

== Linux commits ==

2a21fd4722b4 drm/i915/selftests: Add context batchbuffers registers to live_lrc_fixed

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17446/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#2 lore raw

PATCH 1/1 drm/i915/selftests: Add context batchbuffers registers to live_lrc_fixed

In reply to Chris Wilson

From: Mika Kuoppala <[email protected]>

Add per ctx bb and indirect ctx bb register locations to live_lrc_fixed for verification.

---
 drivers/gpu/drm/i915/gt/intel_lrc.c     | 110 ++++++++++++------------
 drivers/gpu/drm/i915/gt/intel_lrc_reg.h |   7 +-
 drivers/gpu/drm/i915/gt/selftest_lrc.c  |  15 ++++
 3 files changed, 72 insertions(+), 60 deletions(-)
drivers/gpu/drm/i915/gt/intel_lrc.c +55 -55
index dead24aaf45d..3cd698c82396 100644
@@ -238,6 +238,55 @@ __execlists_update_reg_state(const struct intel_context *ce,
 			     const struct intel_engine_cs *engine,
 			     u32 head);
 
+static int lrc_ring_mi_mode(const struct intel_engine_cs *engine)
+{
+	if (INTEL_GEN(engine->i915) >= 12)
+		return 0x60;
+	else if (INTEL_GEN(engine->i915) >= 9)
+		return 0x54;
+	else if (engine->class == RENDER_CLASS)
+		return 0x58;
+	else
+		return -1;
+}
+
+static int lrc_wa_bb_per_ctx(const struct intel_engine_cs *engine)
+{
+	if (INTEL_GEN(engine->i915) >= 12)
+		return 0x12 + 1;
+	else
+		return 0x18 + 1;
+}
+
+static int lrc_indirect_ptr(const struct intel_engine_cs *engine)
+{
+	return lrc_wa_bb_per_ctx(engine) + 2;
+}
+
+static int lrc_indirect_offset(const struct intel_engine_cs *engine)
+{
+	return lrc_indirect_ptr(engine) + 2;
+}
+
+static u32 lrc_indirect_offset_default(const struct intel_engine_cs *engine)
+{
+	switch (INTEL_GEN(engine->i915)) {
+	default:
+		MISSING_CASE(INTEL_GEN(engine->i915));
+		fallthrough;
+	case 12:
+		return GEN12_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT;
+	case 11:
+		return GEN11_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT;
+	case 10:
+		return GEN10_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT;
+	case 9:
+		return GEN9_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT;
+	case 8:
+		return GEN8_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT;
+	}
+}
+
 static u32 intel_context_get_runtime(const struct intel_context *ce)
 {
 	/*
@@ -1102,18 +1151,6 @@ static void intel_engine_context_out(struct intel_engine_cs *engine)
 	write_sequnlock_irqrestore(&engine->stats.lock, flags);
 }
 
-static int lrc_ring_mi_mode(const struct intel_engine_cs *engine)
-{
-	if (INTEL_GEN(engine->i915) >= 12)
-		return 0x60;
-	else if (INTEL_GEN(engine->i915) >= 9)
-		return 0x54;
-	else if (engine->class == RENDER_CLASS)
-		return 0x58;
-	else
-		return -1;
-}
-
 static void
 execlists_check_context(const struct intel_context *ce,
 			const struct intel_engine_cs *engine)
@@ -4673,39 +4710,6 @@ int intel_execlists_submission_setup(struct intel_engine_cs *engine)
 	return 0;
 }
 
-static u32 intel_lr_indirect_ctx_offset(const struct intel_engine_cs *engine)
-{
-	u32 indirect_ctx_offset;
-
-	switch (INTEL_GEN(engine->i915)) {
-	default:
-		MISSING_CASE(INTEL_GEN(engine->i915));
-		/* fall through */
-	case 12:
-		indirect_ctx_offset =
-			GEN12_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT;
-		break;
-	case 11:
-		indirect_ctx_offset =
-			GEN11_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT;
-		break;
-	case 10:
-		indirect_ctx_offset =
-			GEN10_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT;
-		break;
-	case 9:
-		indirect_ctx_offset =
-			GEN9_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT;
-		break;
-	case 8:
-		indirect_ctx_offset =
-			GEN8_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT;
-		break;
-	}
-
-	return indirect_ctx_offset;
-}
-
 
 static void init_common_reg_state(u32 * const regs,
 				  const struct intel_engine_cs *engine,
@@ -4728,27 +4732,26 @@ static void init_common_reg_state(u32 * const regs,
 }
 
 static void init_wa_bb_reg_state(u32 * const regs,
-				 const struct intel_engine_cs *engine,
-				 u32 pos_bb_per_ctx)
+				 const struct intel_engine_cs *engine)
 {
 	const struct i915_ctx_workarounds * const wa_ctx = &engine->wa_ctx;
 
 	if (wa_ctx->per_ctx.size) {
 		const u32 ggtt_offset = i915_ggtt_offset(wa_ctx->vma);
 
-		regs[pos_bb_per_ctx] =
+		regs[lrc_wa_bb_per_ctx(engine)] =
 			(ggtt_offset + wa_ctx->per_ctx.offset) | 0x01;
 	}
 
 	if (wa_ctx->indirect_ctx.size) {
 		const u32 ggtt_offset = i915_ggtt_offset(wa_ctx->vma);
 
-		regs[pos_bb_per_ctx + 2] =
+		regs[lrc_indirect_ptr(engine)] =
 			(ggtt_offset + wa_ctx->indirect_ctx.offset) |
 			(wa_ctx->indirect_ctx.size / CACHELINE_BYTES);
 
-		regs[pos_bb_per_ctx + 4] =
-			intel_lr_indirect_ctx_offset(engine) << 6;
+		regs[lrc_indirect_offset(engine)] =
+			lrc_indirect_offset_default(engine) << 6;
 	}
 }
 
@@ -4797,10 +4800,7 @@ static void execlists_init_reg_state(u32 *regs,
 	init_common_reg_state(regs, engine, ring, inhibit);
 	init_ppgtt_reg_state(regs, vm_alias(ce->vm));
 
-	init_wa_bb_reg_state(regs, engine,
-			     INTEL_GEN(engine->i915) >= 12 ?
-			     GEN12_CTX_BB_PER_CTX_PTR :
-			     CTX_BB_PER_CTX_PTR);
+	init_wa_bb_reg_state(regs, engine);
 
 	__reset_stop_ring(regs, engine);
 }
drivers/gpu/drm/i915/gt/intel_lrc_reg.h +2 -5
index d39b72590e40..003a4ba7bce0 100644
@@ -8,15 +8,15 @@
 #define _INTEL_LRC_REG_H_
 
 #include <linux/types.h>
+#include "i915_drv.h"
 
-/* GEN8 to GEN11 Reg State Context */
+/* GEN8 to GEN12 Reg State Context */
 #define CTX_CONTEXT_CONTROL		(0x02 + 1)
 #define CTX_RING_HEAD			(0x04 + 1)
 #define CTX_RING_TAIL			(0x06 + 1)
 #define CTX_RING_START			(0x08 + 1)
 #define CTX_RING_CTL			(0x0a + 1)
 #define CTX_BB_STATE			(0x10 + 1)
-#define CTX_BB_PER_CTX_PTR		(0x18 + 1)
 #define CTX_TIMESTAMP			(0x22 + 1)
 #define CTX_PDP3_UDW			(0x24 + 1)
 #define CTX_PDP3_LDW			(0x26 + 1)
@@ -30,9 +30,6 @@
 
 #define GEN9_CTX_RING_MI_MODE		0x54
 
-/* GEN12+ Reg State Context */
-#define GEN12_CTX_BB_PER_CTX_PTR		(0x12 + 1)
-
 #define ASSIGN_CTX_PDP(ppgtt, reg_state, n) do { \
 	u32 *reg_state__ = (reg_state); \
 	const u64 addr__ = i915_page_dir_dma_addr((ppgtt), (n)); \
drivers/gpu/drm/i915/gt/selftest_lrc.c +15 -0
index fc3f9a248764..bcf15b620b5e 100644
@@ -4593,6 +4593,21 @@ static int live_lrc_fixed(void *arg)
 				CTX_BB_STATE - 1,
 				"BB_STATE"
 			},
+			{
+				i915_mmio_reg_offset(RING_BB_PER_CTX_PTR(engine->mmio_base)),
+				lrc_wa_bb_per_ctx(engine) - 1,
+				"RING_BB_PER_CTX_PTR"
+			},
+			{
+				i915_mmio_reg_offset(RING_INDIRECT_CTX(engine->mmio_base)),
+				lrc_indirect_ptr(engine) - 1,
+				"RING_INDIRECT_CTX_PTR"
+			},
+			{
+				i915_mmio_reg_offset(RING_INDIRECT_CTX_OFFSET(engine->mmio_base)),
+				lrc_indirect_offset(engine) - 1,
+				"RING_INDIRECT_CTX_OFFSET"
+			},
 			{
 				i915_mmio_reg_offset(RING_CTX_TIMESTAMP(engine->mmio_base)),
 				CTX_TIMESTAMP - 1,
Signature · 6 lines
2.20.1

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
#3 lore raw

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/selftests: Add context batchbuffers registers to live_lrc_fixed (rev2)

In reply to Chris Wilson
== Series Details ==

== Series Details ==

Series: drm/i915/selftests: Add context batchbuffers registers to live_lrc_fixed (rev2)
URL : https://patchwork.freedesktop.org/series/76407/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_8354 -> Patchwork_17447
====================================================

Summary
-------

**FAILURE**

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

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

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

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

### IGT changes ###

#### Possible regressions ####

* igt@i915_selftest@live@gt_lrc:
- fi-bsw-n3050: [PASS][1] -> [DMESG-FAIL][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-bsw-n3050/igt@i915_selftest@live@gt_lrc.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17447/fi-bsw-n3050/igt@i915_selftest@live@gt_lrc.html
- fi-bsw-kefka: [PASS][3] -> [DMESG-FAIL][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-bsw-kefka/igt@i915_selftest@live@gt_lrc.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17447/fi-bsw-kefka/igt@i915_selftest@live@gt_lrc.html
- fi-bsw-nick: [PASS][5] -> [DMESG-FAIL][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-bsw-nick/igt@i915_selftest@live@gt_lrc.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17447/fi-bsw-nick/igt@i915_selftest@live@gt_lrc.html
- fi-bdw-5557u: [PASS][7] -> [DMESG-FAIL][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-bdw-5557u/igt@i915_selftest@live@gt_lrc.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17447/fi-bdw-5557u/igt@i915_selftest@live@gt_lrc.html

Participating hosts (48 -> 43)
------------------------------

Additional (1): fi-bwr-2160
Missing (6): fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-byt-clapper fi-bdw-samus

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

* CI: CI-20190529 -> None
* Linux: CI_DRM_8354 -> Patchwork_17447

CI-20190529: 20190529
CI_DRM_8354: 6ec6eeeda39e1733777f9115ba813a992a47b5fe @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5608: e7bcaf1dd251d454706c7cd64282f531aec50183 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_17447: 49869f6cf48a25a0db2e0aed40d33a6c9a603843 @ git://anongit.freedesktop.org/gfx-ci/linux

== Linux commits ==

49869f6cf48a drm/i915/selftests: Add context batchbuffers registers to live_lrc_fixed

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17447/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#4 lore raw

PATCH 1/1 drm/i915/selftests: Add context batchbuffers registers to live_lrc_fixed

In reply to Chris Wilson

From: Mika Kuoppala <[email protected]>

Add per ctx bb and indirect ctx bb register locations to live_lrc_fixed for verification.

---
 drivers/gpu/drm/i915/gt/intel_lrc.c     | 128 ++++++++++++++----------
 drivers/gpu/drm/i915/gt/intel_lrc_reg.h |   7 +-
 drivers/gpu/drm/i915/gt/selftest_lrc.c  |  15 +++
 3 files changed, 90 insertions(+), 60 deletions(-)
drivers/gpu/drm/i915/gt/intel_lrc.c +73 -55
index dead24aaf45d..3a87c642f17f 100644
@@ -238,6 +238,70 @@ __execlists_update_reg_state(const struct intel_context *ce,
 			     const struct intel_engine_cs *engine,
 			     u32 head);
 
+static int lrc_ring_mi_mode(const struct intel_engine_cs *engine)
+{
+	if (INTEL_GEN(engine->i915) >= 12)
+		return 0x60;
+	else if (INTEL_GEN(engine->i915) >= 9)
+		return 0x54;
+	else if (engine->class == RENDER_CLASS)
+		return 0x58;
+	else
+		return -1;
+}
+
+static int lrc_ring_wa_bb_per_ctx(const struct intel_engine_cs *engine)
+{
+	if (INTEL_GEN(engine->i915) >= 12)
+		return 0x12;
+	else if (INTEL_GEN(engine->i915) >= 9 || engine->class == RENDER_CLASS)
+		return 0x18;
+	else
+		return -1;
+}
+
+static int lrc_ring_indirect_ptr(const struct intel_engine_cs *engine)
+{
+	int x;
+
+	x = lrc_ring_wa_bb_per_ctx(engine);
+	if (x < 0)
+		return x;
+
+	return x + 2;
+}
+
+static int lrc_ring_indirect_offset(const struct intel_engine_cs *engine)
+{
+	int x;
+
+	x = lrc_ring_indirect_ptr(engine);
+	if (x < 0)
+		return x;
+
+	return x + 2;
+}
+
+static u32
+lrc_ring_indirect_offset_default(const struct intel_engine_cs *engine)
+{
+	switch (INTEL_GEN(engine->i915)) {
+	default:
+		MISSING_CASE(INTEL_GEN(engine->i915));
+		fallthrough;
+	case 12:
+		return GEN12_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT;
+	case 11:
+		return GEN11_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT;
+	case 10:
+		return GEN10_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT;
+	case 9:
+		return GEN9_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT;
+	case 8:
+		return GEN8_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT;
+	}
+}
+
 static u32 intel_context_get_runtime(const struct intel_context *ce)
 {
 	/*
@@ -1102,18 +1166,6 @@ static void intel_engine_context_out(struct intel_engine_cs *engine)
 	write_sequnlock_irqrestore(&engine->stats.lock, flags);
 }
 
-static int lrc_ring_mi_mode(const struct intel_engine_cs *engine)
-{
-	if (INTEL_GEN(engine->i915) >= 12)
-		return 0x60;
-	else if (INTEL_GEN(engine->i915) >= 9)
-		return 0x54;
-	else if (engine->class == RENDER_CLASS)
-		return 0x58;
-	else
-		return -1;
-}
-
 static void
 execlists_check_context(const struct intel_context *ce,
 			const struct intel_engine_cs *engine)
@@ -4673,39 +4725,6 @@ int intel_execlists_submission_setup(struct intel_engine_cs *engine)
 	return 0;
 }
 
-static u32 intel_lr_indirect_ctx_offset(const struct intel_engine_cs *engine)
-{
-	u32 indirect_ctx_offset;
-
-	switch (INTEL_GEN(engine->i915)) {
-	default:
-		MISSING_CASE(INTEL_GEN(engine->i915));
-		/* fall through */
-	case 12:
-		indirect_ctx_offset =
-			GEN12_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT;
-		break;
-	case 11:
-		indirect_ctx_offset =
-			GEN11_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT;
-		break;
-	case 10:
-		indirect_ctx_offset =
-			GEN10_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT;
-		break;
-	case 9:
-		indirect_ctx_offset =
-			GEN9_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT;
-		break;
-	case 8:
-		indirect_ctx_offset =
-			GEN8_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT;
-		break;
-	}
-
-	return indirect_ctx_offset;
-}
-
 
 static void init_common_reg_state(u32 * const regs,
 				  const struct intel_engine_cs *engine,
@@ -4728,27 +4747,29 @@ static void init_common_reg_state(u32 * const regs,
 }
 
 static void init_wa_bb_reg_state(u32 * const regs,
-				 const struct intel_engine_cs *engine,
-				 u32 pos_bb_per_ctx)
+				 const struct intel_engine_cs *engine)
 {
 	const struct i915_ctx_workarounds * const wa_ctx = &engine->wa_ctx;
 
 	if (wa_ctx->per_ctx.size) {
 		const u32 ggtt_offset = i915_ggtt_offset(wa_ctx->vma);
 
-		regs[pos_bb_per_ctx] =
+		GEM_BUG_ON(lrc_ring_wa_bb_per_ctx(engine) != -1);
+		regs[lrc_ring_wa_bb_per_ctx(engine) + 1] =
 			(ggtt_offset + wa_ctx->per_ctx.offset) | 0x01;
 	}
 
 	if (wa_ctx->indirect_ctx.size) {
 		const u32 ggtt_offset = i915_ggtt_offset(wa_ctx->vma);
 
-		regs[pos_bb_per_ctx + 2] =
+		GEM_BUG_ON(lrc_ring_indirect_ptr(engine) != -1);
+		regs[lrc_ring_indirect_ptr(engine) + 1] =
 			(ggtt_offset + wa_ctx->indirect_ctx.offset) |
 			(wa_ctx->indirect_ctx.size / CACHELINE_BYTES);
 
-		regs[pos_bb_per_ctx + 4] =
-			intel_lr_indirect_ctx_offset(engine) << 6;
+		GEM_BUG_ON(lrc_ring_indirect_offset(engine) != -1);
+		regs[lrc_ring_indirect_offset(engine) + 1] =
+			lrc_ring_indirect_offset_default(engine) << 6;
 	}
 }
 
@@ -4797,10 +4818,7 @@ static void execlists_init_reg_state(u32 *regs,
 	init_common_reg_state(regs, engine, ring, inhibit);
 	init_ppgtt_reg_state(regs, vm_alias(ce->vm));
 
-	init_wa_bb_reg_state(regs, engine,
-			     INTEL_GEN(engine->i915) >= 12 ?
-			     GEN12_CTX_BB_PER_CTX_PTR :
-			     CTX_BB_PER_CTX_PTR);
+	init_wa_bb_reg_state(regs, engine);
 
 	__reset_stop_ring(regs, engine);
 }
drivers/gpu/drm/i915/gt/intel_lrc_reg.h +2 -5
index d39b72590e40..003a4ba7bce0 100644
@@ -8,15 +8,15 @@
 #define _INTEL_LRC_REG_H_
 
 #include <linux/types.h>
+#include "i915_drv.h"
 
-/* GEN8 to GEN11 Reg State Context */
+/* GEN8 to GEN12 Reg State Context */
 #define CTX_CONTEXT_CONTROL		(0x02 + 1)
 #define CTX_RING_HEAD			(0x04 + 1)
 #define CTX_RING_TAIL			(0x06 + 1)
 #define CTX_RING_START			(0x08 + 1)
 #define CTX_RING_CTL			(0x0a + 1)
 #define CTX_BB_STATE			(0x10 + 1)
-#define CTX_BB_PER_CTX_PTR		(0x18 + 1)
 #define CTX_TIMESTAMP			(0x22 + 1)
 #define CTX_PDP3_UDW			(0x24 + 1)
 #define CTX_PDP3_LDW			(0x26 + 1)
@@ -30,9 +30,6 @@
 
 #define GEN9_CTX_RING_MI_MODE		0x54
 
-/* GEN12+ Reg State Context */
-#define GEN12_CTX_BB_PER_CTX_PTR		(0x12 + 1)
-
 #define ASSIGN_CTX_PDP(ppgtt, reg_state, n) do { \
 	u32 *reg_state__ = (reg_state); \
 	const u64 addr__ = i915_page_dir_dma_addr((ppgtt), (n)); \
drivers/gpu/drm/i915/gt/selftest_lrc.c +15 -0
index fc3f9a248764..ae0a0a692498 100644
@@ -4593,6 +4593,21 @@ static int live_lrc_fixed(void *arg)
 				CTX_BB_STATE - 1,
 				"BB_STATE"
 			},
+			{
+				i915_mmio_reg_offset(RING_BB_PER_CTX_PTR(engine->mmio_base)),
+				lrc_ring_wa_bb_per_ctx(engine),
+				"RING_BB_PER_CTX_PTR"
+			},
+			{
+				i915_mmio_reg_offset(RING_INDIRECT_CTX(engine->mmio_base)),
+				lrc_ring_indirect_ptr(engine),
+				"RING_INDIRECT_CTX_PTR"
+			},
+			{
+				i915_mmio_reg_offset(RING_INDIRECT_CTX_OFFSET(engine->mmio_base)),
+				lrc_ring_indirect_offset(engine),
+				"RING_INDIRECT_CTX_OFFSET"
+			},
 			{
 				i915_mmio_reg_offset(RING_CTX_TIMESTAMP(engine->mmio_base)),
 				CTX_TIMESTAMP - 1,
Signature · 6 lines
2.20.1

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
#5 lore raw

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/selftests: Add context batchbuffers registers to live_lrc_fixed (rev3)

In reply to Chris Wilson
== Series Details ==

== Series Details ==

Series: drm/i915/selftests: Add context batchbuffers registers to live_lrc_fixed (rev3)
URL : https://patchwork.freedesktop.org/series/76407/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_8354 -> Patchwork_17448
====================================================

Summary
-------

**FAILURE**

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

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

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

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

### IGT changes ###

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

[i915#34]: https://gitlab.freedesktop.org/drm/intel/issues/34

Participating hosts (48 -> 19)
------------------------------

ERROR: It appears as if the changes made in Patchwork_17448 prevented too many machines from booting.

Additional (1): fi-bwr-2160
Missing (30): fi-kbl-soraka fi-bdw-gvtdvm fi-apl-guc fi-skl-lmem fi-skl-6600u fi-cml-u2 fi-bxt-dsi fi-bdw-5557u fi-cml-s fi-bsw-n3050 fi-glk-dsi fi-kbl-7500u fi-ctg-p8600 fi-bsw-nick fi-skl-6700k2 fi-kbl-r fi-skl-guc fi-cfl-8700k fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-cfl-guc fi-kbl-guc fi-whl-u fi-kbl-x1275 fi-cfl-8109u fi-kbl-8809g fi-bsw-kefka fi-byt-clapper fi-bdw-samus

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

* CI: CI-20190529 -> None
* Linux: CI_DRM_8354 -> Patchwork_17448

CI-20190529: 20190529
CI_DRM_8354: 6ec6eeeda39e1733777f9115ba813a992a47b5fe @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5608: e7bcaf1dd251d454706c7cd64282f531aec50183 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_17448: 65c4f744373730554f6471b0556bc62727098bd7 @ git://anongit.freedesktop.org/gfx-ci/linux

== Linux commits ==

65c4f7443737 drm/i915/selftests: Add context batchbuffers registers to live_lrc_fixed

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17448/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#6 lore raw

PATCH 1/1 drm/i915/selftests: Add context batchbuffers registers to live_lrc_fixed

In reply to Chris Wilson

From: Mika Kuoppala <[email protected]>

Add per ctx bb and indirect ctx bb register locations to live_lrc_fixed for verification.

---
 drivers/gpu/drm/i915/gt/intel_lrc.c     | 128 ++++++++++++++----------
 drivers/gpu/drm/i915/gt/intel_lrc_reg.h |   7 +-
 drivers/gpu/drm/i915/gt/selftest_lrc.c  |  15 +++
 3 files changed, 90 insertions(+), 60 deletions(-)
drivers/gpu/drm/i915/gt/intel_lrc.c +73 -55
index dead24aaf45d..090be5981b55 100644
@@ -238,6 +238,70 @@ __execlists_update_reg_state(const struct intel_context *ce,
 			     const struct intel_engine_cs *engine,
 			     u32 head);
 
+static int lrc_ring_mi_mode(const struct intel_engine_cs *engine)
+{
+	if (INTEL_GEN(engine->i915) >= 12)
+		return 0x60;
+	else if (INTEL_GEN(engine->i915) >= 9)
+		return 0x54;
+	else if (engine->class == RENDER_CLASS)
+		return 0x58;
+	else
+		return -1;
+}
+
+static int lrc_ring_wa_bb_per_ctx(const struct intel_engine_cs *engine)
+{
+	if (INTEL_GEN(engine->i915) >= 12)
+		return 0x12;
+	else if (INTEL_GEN(engine->i915) >= 9 || engine->class == RENDER_CLASS)
+		return 0x18;
+	else
+		return -1;
+}
+
+static int lrc_ring_indirect_ptr(const struct intel_engine_cs *engine)
+{
+	int x;
+
+	x = lrc_ring_wa_bb_per_ctx(engine);
+	if (x < 0)
+		return x;
+
+	return x + 2;
+}
+
+static int lrc_ring_indirect_offset(const struct intel_engine_cs *engine)
+{
+	int x;
+
+	x = lrc_ring_indirect_ptr(engine);
+	if (x < 0)
+		return x;
+
+	return x + 2;
+}
+
+static u32
+lrc_ring_indirect_offset_default(const struct intel_engine_cs *engine)
+{
+	switch (INTEL_GEN(engine->i915)) {
+	default:
+		MISSING_CASE(INTEL_GEN(engine->i915));
+		fallthrough;
+	case 12:
+		return GEN12_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT;
+	case 11:
+		return GEN11_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT;
+	case 10:
+		return GEN10_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT;
+	case 9:
+		return GEN9_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT;
+	case 8:
+		return GEN8_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT;
+	}
+}
+
 static u32 intel_context_get_runtime(const struct intel_context *ce)
 {
 	/*
@@ -1102,18 +1166,6 @@ static void intel_engine_context_out(struct intel_engine_cs *engine)
 	write_sequnlock_irqrestore(&engine->stats.lock, flags);
 }
 
-static int lrc_ring_mi_mode(const struct intel_engine_cs *engine)
-{
-	if (INTEL_GEN(engine->i915) >= 12)
-		return 0x60;
-	else if (INTEL_GEN(engine->i915) >= 9)
-		return 0x54;
-	else if (engine->class == RENDER_CLASS)
-		return 0x58;
-	else
-		return -1;
-}
-
 static void
 execlists_check_context(const struct intel_context *ce,
 			const struct intel_engine_cs *engine)
@@ -4673,39 +4725,6 @@ int intel_execlists_submission_setup(struct intel_engine_cs *engine)
 	return 0;
 }
 
-static u32 intel_lr_indirect_ctx_offset(const struct intel_engine_cs *engine)
-{
-	u32 indirect_ctx_offset;
-
-	switch (INTEL_GEN(engine->i915)) {
-	default:
-		MISSING_CASE(INTEL_GEN(engine->i915));
-		/* fall through */
-	case 12:
-		indirect_ctx_offset =
-			GEN12_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT;
-		break;
-	case 11:
-		indirect_ctx_offset =
-			GEN11_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT;
-		break;
-	case 10:
-		indirect_ctx_offset =
-			GEN10_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT;
-		break;
-	case 9:
-		indirect_ctx_offset =
-			GEN9_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT;
-		break;
-	case 8:
-		indirect_ctx_offset =
-			GEN8_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT;
-		break;
-	}
-
-	return indirect_ctx_offset;
-}
-
 
 static void init_common_reg_state(u32 * const regs,
 				  const struct intel_engine_cs *engine,
@@ -4728,27 +4747,29 @@ static void init_common_reg_state(u32 * const regs,
 }
 
 static void init_wa_bb_reg_state(u32 * const regs,
-				 const struct intel_engine_cs *engine,
-				 u32 pos_bb_per_ctx)
+				 const struct intel_engine_cs *engine)
 {
 	const struct i915_ctx_workarounds * const wa_ctx = &engine->wa_ctx;
 
 	if (wa_ctx->per_ctx.size) {
 		const u32 ggtt_offset = i915_ggtt_offset(wa_ctx->vma);
 
-		regs[pos_bb_per_ctx] =
+		GEM_BUG_ON(lrc_ring_wa_bb_per_ctx(engine) == -1);
+		regs[lrc_ring_wa_bb_per_ctx(engine) + 1] =
 			(ggtt_offset + wa_ctx->per_ctx.offset) | 0x01;
 	}
 
 	if (wa_ctx->indirect_ctx.size) {
 		const u32 ggtt_offset = i915_ggtt_offset(wa_ctx->vma);
 
-		regs[pos_bb_per_ctx + 2] =
+		GEM_BUG_ON(lrc_ring_indirect_ptr(engine) == -1);
+		regs[lrc_ring_indirect_ptr(engine) + 1] =
 			(ggtt_offset + wa_ctx->indirect_ctx.offset) |
 			(wa_ctx->indirect_ctx.size / CACHELINE_BYTES);
 
-		regs[pos_bb_per_ctx + 4] =
-			intel_lr_indirect_ctx_offset(engine) << 6;
+		GEM_BUG_ON(lrc_ring_indirect_offset(engine) == -1);
+		regs[lrc_ring_indirect_offset(engine) + 1] =
+			lrc_ring_indirect_offset_default(engine) << 6;
 	}
 }
 
@@ -4797,10 +4818,7 @@ static void execlists_init_reg_state(u32 *regs,
 	init_common_reg_state(regs, engine, ring, inhibit);
 	init_ppgtt_reg_state(regs, vm_alias(ce->vm));
 
-	init_wa_bb_reg_state(regs, engine,
-			     INTEL_GEN(engine->i915) >= 12 ?
-			     GEN12_CTX_BB_PER_CTX_PTR :
-			     CTX_BB_PER_CTX_PTR);
+	init_wa_bb_reg_state(regs, engine);
 
 	__reset_stop_ring(regs, engine);
 }
drivers/gpu/drm/i915/gt/intel_lrc_reg.h +2 -5
index d39b72590e40..003a4ba7bce0 100644
@@ -8,15 +8,15 @@
 #define _INTEL_LRC_REG_H_
 
 #include <linux/types.h>
+#include "i915_drv.h"
 
-/* GEN8 to GEN11 Reg State Context */
+/* GEN8 to GEN12 Reg State Context */
 #define CTX_CONTEXT_CONTROL		(0x02 + 1)
 #define CTX_RING_HEAD			(0x04 + 1)
 #define CTX_RING_TAIL			(0x06 + 1)
 #define CTX_RING_START			(0x08 + 1)
 #define CTX_RING_CTL			(0x0a + 1)
 #define CTX_BB_STATE			(0x10 + 1)
-#define CTX_BB_PER_CTX_PTR		(0x18 + 1)
 #define CTX_TIMESTAMP			(0x22 + 1)
 #define CTX_PDP3_UDW			(0x24 + 1)
 #define CTX_PDP3_LDW			(0x26 + 1)
@@ -30,9 +30,6 @@
 
 #define GEN9_CTX_RING_MI_MODE		0x54
 
-/* GEN12+ Reg State Context */
-#define GEN12_CTX_BB_PER_CTX_PTR		(0x12 + 1)
-
 #define ASSIGN_CTX_PDP(ppgtt, reg_state, n) do { \
 	u32 *reg_state__ = (reg_state); \
 	const u64 addr__ = i915_page_dir_dma_addr((ppgtt), (n)); \
drivers/gpu/drm/i915/gt/selftest_lrc.c +15 -0
index fc3f9a248764..ae0a0a692498 100644
@@ -4593,6 +4593,21 @@ static int live_lrc_fixed(void *arg)
 				CTX_BB_STATE - 1,
 				"BB_STATE"
 			},
+			{
+				i915_mmio_reg_offset(RING_BB_PER_CTX_PTR(engine->mmio_base)),
+				lrc_ring_wa_bb_per_ctx(engine),
+				"RING_BB_PER_CTX_PTR"
+			},
+			{
+				i915_mmio_reg_offset(RING_INDIRECT_CTX(engine->mmio_base)),
+				lrc_ring_indirect_ptr(engine),
+				"RING_INDIRECT_CTX_PTR"
+			},
+			{
+				i915_mmio_reg_offset(RING_INDIRECT_CTX_OFFSET(engine->mmio_base)),
+				lrc_ring_indirect_offset(engine),
+				"RING_INDIRECT_CTX_OFFSET"
+			},
 			{
 				i915_mmio_reg_offset(RING_CTX_TIMESTAMP(engine->mmio_base)),
 				CTX_TIMESTAMP - 1,
Signature · 6 lines
2.20.1

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
#7 lore raw

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/selftests: Add context batchbuffers registers to live_lrc_fixed (rev4)

In reply to Chris Wilson
== Series Details ==

== Series Details ==

Series: drm/i915/selftests: Add context batchbuffers registers to live_lrc_fixed (rev4)
URL : https://patchwork.freedesktop.org/series/76407/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_8354 -> Patchwork_17449
====================================================

Summary
-------

**FAILURE**

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

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

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

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

### IGT changes ###

#### Possible regressions ####

* igt@runner@aborted:
- fi-bsw-nick: NOTRUN -> [FAIL][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17449/fi-bsw-nick/igt@[email protected]

#### Suppressed ####

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

* {igt@gem_exec_parallel@engines@fds}:
- fi-bsw-nick: [PASS][2] -> [INCOMPLETE][3]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8354/fi-bsw-nick/igt@gem_exec_parallel@[email protected]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17449/fi-bsw-nick/igt@gem_exec_parallel@[email protected]

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

Participating hosts (48 -> 44)
------------------------------

Additional (2): fi-kbl-7560u fi-bwr-2160
Missing (6): fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-byt-clapper fi-bdw-samus

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

* CI: CI-20190529 -> None
* Linux: CI_DRM_8354 -> Patchwork_17449

CI-20190529: 20190529
CI_DRM_8354: 6ec6eeeda39e1733777f9115ba813a992a47b5fe @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5608: e7bcaf1dd251d454706c7cd64282f531aec50183 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_17449: 22d0fd6a3d3fcfd63dbbde1858fd0ff348e01e55 @ git://anongit.freedesktop.org/gfx-ci/linux

== Linux commits ==

22d0fd6a3d3f drm/i915/selftests: Add context batchbuffers registers to live_lrc_fixed

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17449/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx