Skip to contentSkip to conversation

drm/i915: implement async_flip mode per plane tracking

PATCH In review Andrzej Hajda 4 participants 8 messages Jan 27, 2023 – Jan 30, 2023

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

PATCH v4 1/1 drm/i915: implement async_flip mode per plane tracking

Current implementation of async flip w/a relies on assumption that
previous atomic commit contains valid information if async_flip is still
enabled on the plane. It is incorrect. If previous commit did not modify
the plane its state->uapi.async_flip can be false. As a result DMAR/PIPE
errors can be observed:
i915 0000:00:02.0: [drm] *ERROR* Fault errors on pipe A: 0x00000080
i915 0000:00:02.0: [drm] *ERROR* Fault errors on pipe A: 0x00000080
DMAR: DRHD: handling fault status reg 2
DMAR: [DMA Read NO_PASID] Request device [00:02.0] fault addr 0x0 [fault reason 0x06] PTE Read access is not set

v2: update async_flip_planes in more reliable places (Ville)
v3: reset async_flip_planes and do_async_flip in more scenarios (Ville)
v4: move all resets to plane loops (Ville)

---
Hi Ville,

I am not sure about this change. I wonder if in case of for*plane loops code could be like:

new_crtc_state->async_flip_planes &= ~BIT(plane->id); if (!new_crtc_state->async_flip_planes)

	new_crtc_state->do_async_flip = false;

But let's see what CI says.

Regards
Andrzej

---
 drivers/gpu/drm/i915/display/intel_atomic_plane.c  | 5 ++++-
 drivers/gpu/drm/i915/display/intel_color.c         | 3 +++
 drivers/gpu/drm/i915/display/intel_display.c       | 9 ++++++---
 drivers/gpu/drm/i915/display/intel_display_types.h | 3 +++
 drivers/gpu/drm/i915/display/skl_watermark.c       | 4 ++++
 5 files changed, 20 insertions(+), 4 deletions(-)
drivers/gpu/drm/i915/display/intel_atomic_plane.c +4 -1
index 1409bcfb6fd3d9..3bd8f7eb75a60b 100644
@@ -363,6 +363,7 @@ void intel_plane_set_invisible(struct intel_crtc_state *crtc_state,
 	crtc_state->scaled_planes &= ~BIT(plane->id);
 	crtc_state->nv12_planes &= ~BIT(plane->id);
 	crtc_state->c8_planes &= ~BIT(plane->id);
+	crtc_state->async_flip_planes &= ~BIT(plane->id);
 	crtc_state->data_rate[plane->id] = 0;
 	crtc_state->data_rate_y[plane->id] = 0;
 	crtc_state->rel_data_rate[plane->id] = 0;
@@ -582,8 +583,10 @@ static int intel_plane_atomic_calc_changes(const struct intel_crtc_state *old_cr
 			 intel_plane_is_scaled(new_plane_state))))
 		new_crtc_state->disable_lp_wm = true;
 
-	if (intel_plane_do_async_flip(plane, old_crtc_state, new_crtc_state))
+	if (intel_plane_do_async_flip(plane, old_crtc_state, new_crtc_state)) {
 		new_crtc_state->do_async_flip = true;
+		new_crtc_state->async_flip_planes |= BIT(plane->id);
+	}
 
 	return 0;
 }
drivers/gpu/drm/i915/display/intel_color.c +3 -0
index 8d97c299e6577b..2ca7a016a9d9d1 100644
@@ -1500,12 +1500,15 @@ intel_color_add_affected_planes(struct intel_crtc_state *new_crtc_state)
 			return PTR_ERR(plane_state);
 
 		new_crtc_state->update_planes |= BIT(plane->id);
+		new_crtc_state->async_flip_planes = 0;
+		new_crtc_state->do_async_flip = false;
 
 		/* plane control register changes blocked by CxSR */
 		if (HAS_GMCH(i915))
 			new_crtc_state->disable_cxsr = true;
 	}
 
+
 	return 0;
 }
 
drivers/gpu/drm/i915/display/intel_display.c +6 -3
index 717ca3d7890d34..fcd3f1c7af3291 100644
@@ -1252,7 +1252,8 @@ static void intel_crtc_async_flip_disable_wa(struct intel_atomic_state *state,
 		intel_atomic_get_old_crtc_state(state, crtc);
 	const struct intel_crtc_state *new_crtc_state =
 		intel_atomic_get_new_crtc_state(state, crtc);
-	u8 update_planes = new_crtc_state->update_planes;
+	u8 disable_async_flip_planes = old_crtc_state->async_flip_planes &
+				       ~new_crtc_state->async_flip_planes;
 	const struct intel_plane_state *old_plane_state;
 	struct intel_plane *plane;
 	bool need_vbl_wait = false;
@@ -1261,7 +1262,7 @@ static void intel_crtc_async_flip_disable_wa(struct intel_atomic_state *state,
 	for_each_old_intel_plane_in_state(state, plane, old_plane_state, i) {
 		if (plane->need_async_flip_disable_wa &&
 		    plane->pipe == crtc->pipe &&
-		    update_planes & BIT(plane->id)) {
+		    disable_async_flip_planes & BIT(plane->id)) {
 			/*
 			 * Apart from the async flip bit we want to
 			 * preserve the old state for the plane.
@@ -1378,7 +1379,7 @@ static void intel_pre_plane_update(struct intel_atomic_state *state,
 	 * WA for platforms where async address update enable bit
 	 * is double buffered and only latched at start of vblank.
 	 */
-	if (old_crtc_state->uapi.async_flip && !new_crtc_state->uapi.async_flip)
+	if (old_crtc_state->async_flip_planes & ~new_crtc_state->async_flip_planes)
 		intel_crtc_async_flip_disable_wa(state, crtc);
 }
 
@@ -5939,6 +5940,8 @@ int intel_modeset_all_pipes(struct intel_atomic_state *state,
 			return ret;
 
 		crtc_state->update_planes |= crtc_state->active_planes;
+		crtc_state->async_flip_planes = 0;
+		crtc_state->do_async_flip = false;
 	}
 
 	return 0;
drivers/gpu/drm/i915/display/intel_display_types.h +3 -0
index 54c517ca9632fb..9ccae7a4602009 100644
@@ -1249,6 +1249,9 @@ struct intel_crtc_state {
 	/* bitmask of planes that will be updated during the commit */
 	u8 update_planes;
 
+	/* bitmask of planes with async flip active */
+	u8 async_flip_planes;
+
 	u8 framestart_delay; /* 1-4 */
 	u8 msa_timing_delay; /* 0-3 */
 
drivers/gpu/drm/i915/display/skl_watermark.c +4 -0
index ae4e9e680c2e30..261cdab390b484 100644
@@ -2397,6 +2397,8 @@ skl_ddb_add_affected_planes(const struct intel_crtc_state *old_crtc_state,
 			return PTR_ERR(plane_state);
 
 		new_crtc_state->update_planes |= BIT(plane_id);
+		new_crtc_state->async_flip_planes = 0;
+		new_crtc_state->do_async_flip = false;
 	}
 
 	return 0;
@@ -2754,6 +2756,8 @@ static int skl_wm_add_affected_planes(struct intel_atomic_state *state,
 			return PTR_ERR(plane_state);
 
 		new_crtc_state->update_planes |= BIT(plane_id);
+		new_crtc_state->async_flip_planes = 0;
+		new_crtc_state->do_async_flip = false;
 	}
 
 	return 0;
Signature · 1 line
2.34.1
#1 lore raw

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: implement async_flip mode per plane tracking (rev5)

== Series Details ==

== Series Details ==

Series: drm/i915: implement async_flip mode per plane tracking (rev5)
URL : https://patchwork.freedesktop.org/series/108371/
State : warning

== Summary ==

Error: dim checkpatch failed
39da81540542 drm/i915: implement async_flip mode per plane tracking
-:14: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line) #14:
DMAR: [DMA Read NO_PASID] Request device [00:02.0] fault addr 0x0 [fault reason 0x06] PTE Read access is not set

-:62: CHECK:LINE_SPACING: Please don't use multiple blank lines #62: FILE: drivers/gpu/drm/i915/display/intel_color.c:1511:

+

total: 0 errors, 1 warnings, 1 checks, 91 lines checked

#2 lore raw

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: implement async_flip mode per plane tracking (rev5)

In reply to Andrzej Hajda
== Series Details ==

== Series Details ==

Series: drm/i915: implement async_flip mode per plane tracking (rev5)
URL : https://patchwork.freedesktop.org/series/108371/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_12655 -> Patchwork_108371v5
====================================================

Summary
-------

**SUCCESS**

No regressions found.

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

Participating hosts (25 -> 24)
------------------------------

Missing (1): fi-snb-2520m

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

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

### IGT changes ###

#### Suppressed ####

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

* igt@gem_exec_suspend@basic-s0@smem:
- {bat-rpls-1}: NOTRUN -> [ABORT][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/bat-rpls-1/igt@gem_exec_suspend@[email protected]

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

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

### IGT changes ###

#### Possible fixes ####

* igt@i915_selftest@live@gt_heartbeat:
- fi-cfl-8109u: [DMESG-FAIL][2] ([i915#5334]) -> [PASS][3]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12655/fi-cfl-8109u/igt@i915_selftest@live@gt_heartbeat.html
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/fi-cfl-8109u/igt@i915_selftest@live@gt_heartbeat.html

* igt@i915_selftest@live@requests:
- {bat-rpls-1}: [ABORT][4] -> [PASS][5]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12655/bat-rpls-1/igt@i915_selftest@[email protected]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/bat-rpls-1/igt@i915_selftest@[email protected]
- {bat-adlp-6}: [ABORT][6] -> [PASS][7]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12655/bat-adlp-6/igt@i915_selftest@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/bat-adlp-6/igt@i915_selftest@[email protected]

* igt@i915_selftest@live@workarounds:
- {bat-rplp-1}: [INCOMPLETE][8] -> [PASS][9]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12655/bat-rplp-1/igt@i915_selftest@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/bat-rplp-1/igt@i915_selftest@[email protected]

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

[i915#4258]: https://gitlab.freedesktop.org/drm/intel/issues/4258
[i915#5334]: https://gitlab.freedesktop.org/drm/intel/issues/5334
[i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367
[i915#7699]: https://gitlab.freedesktop.org/drm/intel/issues/7699
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#7852]: https://gitlab.freedesktop.org/drm/intel/issues/7852

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

* Linux: CI_DRM_12655 -> Patchwork_108371v5

CI-20190529: 20190529
CI_DRM_12655: d9b0bc4a0e9edfcbf171e09d3743b7186cd801f7 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7139: 1e2fdea2a5547aba6d8595b7ac1c5e4543e90f2f @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_108371v5: d9b0bc4a0e9edfcbf171e09d3743b7186cd801f7 @ git://anongit.freedesktop.org/gfx-ci/linux

### Linux commits

367b64475e60 drm/i915: implement async_flip mode per plane tracking

== Logs ==

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

#3 lore raw

[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915: implement async_flip mode per plane tracking (rev5)

In reply to Andrzej Hajda
== Series Details ==

== Series Details ==

Series: drm/i915: implement async_flip mode per plane tracking (rev5)
URL : https://patchwork.freedesktop.org/series/108371/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_12655_full -> Patchwork_108371v5_full
====================================================

Summary
-------

**FAILURE**

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

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

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

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

Additional (1): shard-rkl0

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

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

### IGT changes ###

#### Possible regressions ####

* igt@gen9_exec_parse@allowed-single:
- shard-glk: [PASS][1] -> [ABORT][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12655/shard-glk4/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-glk1/igt@[email protected]

#### Suppressed ####

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

* igt@gem_ccs@suspend-resume:
- {shard-rkl}: [SKIP][3] ([i915#5325]) -> [SKIP][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12655/shard-rkl-2/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl-5/igt@[email protected]

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

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

### IGT changes ###

#### Issues hit ####

* igt@kms_dither@fb-8bpc-vs-panel-6bpc@pipe-a-hdmi-a-1:
- shard-glk: NOTRUN -> [SKIP][5] ([fdo#109271])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-glk3/igt@kms_dither@[email protected]

#### Possible fixes ####

* igt@drm_fdinfo@virtual-idle:
- {shard-rkl}: [FAIL][6] ([i915#7742]) -> [PASS][7] +1 similar issue
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12655/shard-rkl-2/igt@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl-5/igt@[email protected]

* igt@gem_ctx_persistence@many-contexts:
- {shard-dg1}: [ABORT][8] ([i915#4983]) -> [PASS][9]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12655/shard-dg1-14/igt@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-dg1-12/igt@[email protected]

* igt@gem_eio@in-flight-suspend:
- {shard-rkl}: [FAIL][10] ([fdo#103375]) -> [PASS][11]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12655/shard-rkl-4/igt@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl-5/igt@[email protected]

* igt@gem_exec_endless@dispatch@bcs0:
- {shard-rkl}: [SKIP][12] ([i915#6247]) -> [PASS][13]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12655/shard-rkl-5/igt@gem_exec_endless@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl-4/igt@gem_exec_endless@[email protected]

* igt@gem_exec_fair@basic-none@vcs0:
- {shard-rkl}: [FAIL][14] ([i915#2842]) -> [PASS][15] +1 similar issue
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12655/shard-rkl-2/igt@gem_exec_fair@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl-5/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-glk: [FAIL][16] ([i915#2842]) -> [PASS][17]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12655/shard-glk6/igt@gem_exec_fair@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-glk9/igt@gem_exec_fair@[email protected]

* igt@gem_exec_reloc@basic-wc-read-noreloc:
- {shard-rkl}: [SKIP][18] ([i915#3281]) -> [PASS][19] +15 similar issues
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12655/shard-rkl-3/igt@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl-5/igt@[email protected]

* igt@gem_pwrite_snooped:
- {shard-rkl}: [SKIP][20] ([i915#3282]) -> [PASS][21] +2 similar issues
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12655/shard-rkl-3/igt@gem_pwrite_snooped.html
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl-5/igt@gem_pwrite_snooped.html

* igt@gen9_exec_parse@batch-invalid-length:
- {shard-rkl}: [SKIP][22] ([i915#2527]) -> [PASS][23] +5 similar issues
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12655/shard-rkl-2/igt@[email protected]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl-5/igt@[email protected]

* igt@i915_pm_dc@dc6-dpms:
- {shard-rkl}: [SKIP][24] ([i915#3361]) -> [PASS][25]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12655/shard-rkl-5/igt@[email protected]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl-4/igt@[email protected]

* igt@i915_pm_rpm@modeset-non-lpsp-stress:
- {shard-dg1}: [SKIP][26] ([i915#1397]) -> [PASS][27]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12655/shard-dg1-14/igt@[email protected]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-dg1-12/igt@[email protected]

* igt@kms_atomic@atomic_plane_damage:
- {shard-rkl}: [SKIP][28] ([i915#4098]) -> [PASS][29] +1 similar issue
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12655/shard-rkl-2/igt@kms_atomic@atomic_plane_damage.html
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl-6/igt@kms_atomic@atomic_plane_damage.html

* igt@kms_big_fb@linear-16bpp-rotate-180:
- {shard-dg1}: [FAIL][30] ([i915#5138]) -> [PASS][31]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12655/shard-dg1-13/igt@[email protected]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-dg1-18/igt@[email protected]

* igt@kms_ccs@pipe-a-crc-primary-rotation-180-y_tiled_gen12_rc_ccs:
- {shard-tglu}: [SKIP][32] ([i915#7651]) -> [PASS][33] +4 similar issues
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12655/shard-tglu-6/igt@kms_ccs@pipe-a-crc-primary-rotation-180-y_tiled_gen12_rc_ccs.html
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-tglu-2/igt@kms_ccs@pipe-a-crc-primary-rotation-180-y_tiled_gen12_rc_ccs.html

* igt@kms_cursor_legacy@flip-vs-cursor-busy-crc-legacy:
- {shard-tglu}: [SKIP][34] ([i915#1845] / [i915#7651]) -> [PASS][35] +2 similar issues
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12655/shard-tglu-6/igt@[email protected]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-tglu-2/igt@[email protected]

* igt@kms_flip@2x-flip-vs-expired-vblank-interruptible@ab-hdmi-a1-hdmi-a2:
- shard-glk: [FAIL][36] ([i915#79]) -> [PASS][37]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12655/shard-glk3/igt@kms_flip@[email protected]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-glk8/igt@kms_flip@[email protected]

* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-blt:
- {shard-tglu}: [SKIP][38] ([i915#1849]) -> [PASS][39] +2 similar issues
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12655/shard-tglu-6/igt@[email protected]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-tglu-2/igt@[email protected]

* igt@kms_frontbuffer_tracking@psr-modesetfrombusy:
- {shard-rkl}: [SKIP][40] ([i915#1849] / [i915#4098]) -> [PASS][41] +9 similar issues
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12655/shard-rkl-4/igt@[email protected]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl-6/igt@[email protected]

* igt@kms_plane@pixel-format-source-clamping@pipe-b-planes:
- {shard-rkl}: [SKIP][42] ([i915#1849]) -> [PASS][43] +1 similar issue
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12655/shard-rkl-2/igt@kms_plane@[email protected]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl-6/igt@kms_plane@[email protected]

* igt@kms_psr@sprite_plane_move:
- {shard-rkl}: [SKIP][44] ([i915#1072]) -> [PASS][45] +1 similar issue
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12655/shard-rkl-4/igt@kms_psr@sprite_plane_move.html
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl-6/igt@kms_psr@sprite_plane_move.html

* igt@kms_rotation_crc@exhaust-fences:
- {shard-rkl}: [SKIP][46] ([i915#1845] / [i915#4098]) -> [PASS][47] +12 similar issues
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12655/shard-rkl-4/igt@[email protected]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl-6/igt@[email protected]

* igt@prime_vgem@basic-fence-read:
- {shard-rkl}: [SKIP][48] ([fdo#109295] / [i915#3291] / [i915#3708]) -> [PASS][49]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12655/shard-rkl-3/igt@[email protected]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl-5/igt@[email protected]

* igt@sysfs_timeslice_duration@timeout@rcs0:
- {shard-dg1}: [FAIL][50] ([i915#1755]) -> [PASS][51]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12655/shard-dg1-13/igt@sysfs_timeslice_duration@[email protected]
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-dg1-18/igt@sysfs_timeslice_duration@[email protected]

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

[fdo#103375]: https://bugs.freedesktop.org/show_bug.cgi?id=103375
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274
[fdo#109279]: https://bugs.freedesktop.org/show_bug.cgi?id=109279
[fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
[fdo#109283]: https://bugs.freedesktop.org/show_bug.cgi?id=109283
[fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295
[fdo#109300]: https://bugs.freedesktop.org/show_bug.cgi?id=109300
[fdo#109302]: https://bugs.freedesktop.org/show_bug.cgi?id=109302
[fdo#109303]: https://bugs.freedesktop.org/show_bug.cgi?id=109303
[fdo#109307]: https://bugs.freedesktop.org/show_bug.cgi?id=109307
[fdo#109309]: https://bugs.freedesktop.org/show_bug.cgi?id=109309
[fdo#109312]: https://bugs.freedesktop.org/show_bug.cgi?id=109312
[fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[fdo#109506]: https://bugs.freedesktop.org/show_bug.cgi?id=109506
[fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[fdo#110542]: https://bugs.freedesktop.org/show_bug.cgi?id=110542
[fdo#110723]: https://bugs.freedesktop.org/show_bug.cgi?id=110723
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[fdo#111614]: https://bugs.freedesktop.org/show_bug.cgi?id=111614
[fdo#111615]: https://bugs.freedesktop.org/show_bug.cgi?id=111615
[fdo#111644]: https://bugs.freedesktop.org/show_bug.cgi?id=111644
[fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[fdo#112054]: https://bugs.freedesktop.org/show_bug.cgi?id=112054
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#132]: https://gitlab.freedesktop.org/drm/intel/issues/132
[i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397
[i915#1755]: https://gitlab.freedesktop.org/drm/intel/issues/1755
[i915#1825]: https://gitlab.freedesktop.org/drm/intel/issues/1825
[i915#1839]: https://gitlab.freedesktop.org/drm/intel/issues/1839
[i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#1849]: https://gitlab.freedesktop.org/drm/intel/issues/1849
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2434]: https://gitlab.freedesktop.org/drm/intel/issues/2434
[i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527
[i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
[i915#2582]: https://gitlab.freedesktop.org/drm/intel/issues/2582
[i915#2587]: https://gitlab.freedesktop.org/drm/intel/issues/2587
[i915#2658]: https://gitlab.freedesktop.org/drm/intel/issues/2658
[i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672
[i915#280]: https://gitlab.freedesktop.org/drm/intel/issues/280
[i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
[i915#2856]: https://gitlab.freedesktop.org/drm/intel/issues/2856
[i915#2920]: https://gitlab.freedesktop.org/drm/intel/issues/2920
[i915#3116]: https://gitlab.freedesktop.org/drm/intel/issues/3116
[i915#315]: https://gitlab.freedesktop.org/drm/intel/issues/315
[i915#3281]: https://gitlab.freedesktop.org/drm/intel/issues/3281
[i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
[i915#3291]: https://gitlab.freedesktop.org/drm/intel/issues/3291
[i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297
[i915#3299]: https://gitlab.freedesktop.org/drm/intel/issues/3299
[i915#3318]: https://gitlab.freedesktop.org/drm/intel/issues/3318
[i915#3323]: https://gitlab.freedesktop.org/drm/intel/issues/3323
[i915#3359]: https://gitlab.freedesktop.org/drm/intel/issues/3359
[i915#3361]: https://gitlab.freedesktop.org/drm/intel/issues/3361
[i915#3458]: https://gitlab.freedesktop.org/drm/intel/issues/3458
[i915#3539]: https://gitlab.freedesktop.org/drm/intel/issues/3539
[i915#3546]: https://gitlab.freedesktop.org/drm/intel/issues/3546
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3558]: https://gitlab.freedesktop.org/drm/intel/issues/3558
[i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
[i915#3638]: https://gitlab.freedesktop.org/drm/intel/issues/3638
[i915#3639]: https://gitlab.freedesktop.org/drm/intel/issues/3639
[i915#3689]: https://gitlab.freedesktop.org/drm/intel/issues/3689
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#3734]: https://gitlab.freedesktop.org/drm/intel/issues/3734
[i915#3742]: https://gitlab.freedesktop.org/drm/intel/issues/3742
[i915#3825]: https://gitlab.freedesktop.org/drm/intel/issues/3825
[i915#3840]: https://gitlab.freedesktop.org/drm/intel/issues/3840
[i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
[i915#3955]: https://gitlab.freedesktop.org/drm/intel/issues/3955
[i915#3966]: https://gitlab.freedesktop.org/drm/intel/issues/3966
[i915#3989]: https://gitlab.freedesktop.org/drm/intel/issues/3989
[i915#4070]: https://gitlab.freedesktop.org/drm/intel/issues/4070
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4078]: https://gitlab.freedesktop.org/drm/intel/issues/4078
[i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4098]: https://gitlab.freedesktop.org/drm/intel/issues/4098
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212
[i915#426]: https://gitlab.freedesktop.org/drm/intel/issues/426
[i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270
[i915#433]: https://gitlab.freedesktop.org/drm/intel/issues/433
[i915#4387]: https://gitlab.freedesktop.org/drm/intel/issues/4387
[i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538
[i915#454]: https://gitlab.freedesktop.org/drm/intel/issues/454
[i915#4565]: https://gitlab.freedesktop.org/drm/intel/issues/4565
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4767]: https://gitlab.freedesktop.org/drm/intel/issues/4767
[i915#4812]: https://gitlab.freedesktop.org/drm/intel/issues/4812
[i915#4833]: https://gitlab.freedesktop.org/drm/intel/issues/4833
[i915#4852]: https://gitlab.freedesktop.org/drm/intel/issues/4852
[i915#4859]: https://gitlab.freedesktop.org/drm/intel/issues/4859
[i915#4860]: https://gitlab.freedesktop.org/drm/intel/issues/4860
[i915#4874]: https://gitlab.freedesktop.org/drm/intel/issues/4874
[i915#4877]: https://gitlab.freedesktop.org/drm/intel/issues/4877
[i915#4879]: https://gitlab.freedesktop.org/drm/intel/issues/4879
[i915#4880]: https://gitlab.freedesktop.org/drm/intel/issues/4880
[i915#4881]: https://gitlab.freedesktop.org/drm/intel/issues/4881
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#5138]: https://gitlab.freedesktop.org/drm/intel/issues/5138
[i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
[i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235
[i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286
[i915#5288]: https://gitlab.freedesktop.org/drm/intel/issues/5288
[i915#5289]: https://gitlab.freedesktop.org/drm/intel/issues/5289
[i915#5325]: https://gitlab.freedesktop.org/drm/intel/issues/5325
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
[i915#5461]: https://gitlab.freedesktop.org/drm/intel/issues/5461
[i915#5563]: https://gitlab.freedesktop.org/drm/intel/issues/5563
[i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
[i915#6230]: https://gitlab.freedesktop.org/drm/intel/issues/6230
[i915#6245]: https://gitlab.freedesktop.org/drm/intel/issues/6245
[i915#6247]: https://gitlab.freedesktop.org/drm/intel/issues/6247
[i915#6248]: https://gitlab.freedesktop.org/drm/intel/issues/6248
[i915#6252]: https://gitlab.freedesktop.org/drm/intel/issues/6252
[i915#6258]: https://gitlab.freedesktop.org/drm/intel/issues/6258
[i915#6259]: https://gitlab.freedesktop.org/drm/intel/issues/6259
[i915#6268]: https://gitlab.freedesktop.org/drm/intel/issues/6268
[i915#6301]: https://gitlab.freedesktop.org/drm/intel/issues/6301
[i915#6334]: https://gitlab.freedesktop.org/drm/intel/issues/6334
[i915#6355]: https://gitlab.freedesktop.org/drm/intel/issues/6355
[i915#6412]: https://gitlab.freedesktop.org/drm/intel/issues/6412
[i915#6433]: https://gitlab.freedesktop.org/drm/intel/issues/6433
[i915#6497]: https://gitlab.freedesktop.org/drm/intel/issues/6497
[i915#6524]: https://gitlab.freedesktop.org/drm/intel/issues/6524
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621
[i915#6768]: https://gitlab.freedesktop.org/drm/intel/issues/6768
[i915#6944]: https://gitlab.freedesktop.org/drm/intel/issues/6944
[i915#6946]: https://gitlab.freedesktop.org/drm/intel/issues/6946
[i915#6953]: https://gitlab.freedesktop.org/drm/intel/issues/6953
[i915#7116]: https://gitlab.freedesktop.org/drm/intel/issues/7116
[i915#7118]: https://gitlab.freedesktop.org/drm/intel/issues/7118
[i915#7276]: https://gitlab.freedesktop.org/drm/intel/issues/7276
[i915#7561]: https://gitlab.freedesktop.org/drm/intel/issues/7561
[i915#7651]: https://gitlab.freedesktop.org/drm/intel/issues/7651
[i915#7697]: https://gitlab.freedesktop.org/drm/intel/issues/7697
[i915#7701]: https://gitlab.freedesktop.org/drm/intel/issues/7701
[i915#7707]: https://gitlab.freedesktop.org/drm/intel/issues/7707
[i915#7711]: https://gitlab.freedesktop.org/drm/intel/issues/7711
[i915#7742]: https://gitlab.freedesktop.org/drm/intel/issues/7742
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79
[i915#7949]: https://gitlab.freedesktop.org/drm/intel/issues/7949
[i915#7957]: https://gitlab.freedesktop.org/drm/intel/issues/7957

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

* Linux: CI_DRM_12655 -> Patchwork_108371v5

CI-20190529: 20190529
CI_DRM_12655: d9b0bc4a0e9edfcbf171e09d3743b7186cd801f7 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7139: 1e2fdea2a5547aba6d8595b7ac1c5e4543e90f2f @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_108371v5: d9b0bc4a0e9edfcbf171e09d3743b7186cd801f7 @ git://anongit.freedesktop.org/gfx-ci/linux

== Logs ==

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

#4 lore raw

Re: [Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915: implement async_flip mode per plane tracking (rev5)

Hi,

Quoted 52 lines

-----Original Message-----
From: Intel-gfx <[email protected]> On Behalf Of Patchwork
Sent: perjantai 27. tammikuuta 2023 21.24
To: Hajda, Andrzej <[email protected]>
Cc: [email protected]
Subject: [Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915: implement async_flip mode per plane tracking (rev5)

Patch Details
Series: drm/i915: implement async_flip mode per plane tracking (rev5)
URL: https://patchwork.freedesktop.org/series/108371/
State: failure
Details: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/index.html

CI Bug Log - changes from CI_DRM_12655_full -> Patchwork_108371v5_full

Summary

FAILURE

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

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

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

Participating hosts (10 -> 11)

Additional (1): shard-rkl0

Possible new issues

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

IGT changes

Possible regressions

Quoted 6 lines

* igt@gen9_exec_parse@allowed-single:

	*	shard-glk: PASS <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-glk4/igt@[email protected]> -> ABORT <https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-
glk1/igt@[email protected]>

Similar issue seen on CI_DRM_12656:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12656/shard-glk5/igt@[email protected]
So I assume not due to this patch.

Quoted 253 lines

Suppressed

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

* igt@gem_ccs@suspend-resume:

	*	{shard-rkl}: SKIP <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-rkl-2/igt@[email protected]> (i915#5325
<https://gitlab.freedesktop.org/drm/intel/issues/5325> ) -> SKIP <https://intel-gfx-
ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl-5/igt@gem_ccs@suspend- resume.html>

Known issues

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

IGT changes

Issues hit

* igt@kms_dither@fb-8bpc-vs-panel-6bpc@pipe-a-hdmi-a-1:

	*	shard-glk: NOTRUN -> SKIP <https://intel-gfx-ci.01.org/tree/drm-

tip/Patchwork_108371v5/shard-glk3/igt@kms_dither@fb-8bpc-vs-panel- [email protected]> (fdo#109271
<https://bugs.freedesktop.org/show_bug.cgi?id=109271> )

Possible fixes

* igt@drm_fdinfo@virtual-idle:

	*	{shard-rkl}: FAIL <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-rkl-2/igt@[email protected]> (i915#7742
<https://gitlab.freedesktop.org/drm/intel/issues/7742> ) -> PASS <https://intel-gfx-
ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl-5/igt@drm_fdinfo@virtual- idle.html> +1 similar issue

* igt@gem_ctx_persistence@many-contexts:

	*	{shard-dg1}: ABORT <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-dg1-14/igt@[email protected]> (i915#4983 <https://gitlab.freedesktop.org/drm/intel/issues/4983> ) -> PASS
<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-dg1-
12/igt@[email protected]>

* igt@gem_eio@in-flight-suspend:

	*	{shard-rkl}: FAIL <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-rkl-4/igt@[email protected]> (fdo#103375
<https://bugs.freedesktop.org/show_bug.cgi?id=103375> ) -> PASS <https://intel-
gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl-5/igt@gem_eio@in- flight-suspend.html>

* igt@gem_exec_endless@dispatch@bcs0:

	*	{shard-rkl}: SKIP <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-rkl-5/igt@gem_exec_endless@[email protected]> (i915#6247 <https://gitlab.freedesktop.org/drm/intel/issues/6247> ) -> PASS
<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl-
4/igt@gem_exec_endless@[email protected]>

* igt@gem_exec_fair@basic-none@vcs0:

	*	{shard-rkl}: FAIL <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-rkl-2/igt@gem_exec_fair@[email protected]> (i915#2842 <https://gitlab.freedesktop.org/drm/intel/issues/2842> ) -> PASS
<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl-
5/igt@gem_exec_fair@[email protected]> +1 similar issue

* igt@gem_exec_fair@basic-pace-share@rcs0:

	*	shard-glk: FAIL <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-glk6/igt@gem_exec_fair@[email protected]> (i915#2842 <https://gitlab.freedesktop.org/drm/intel/issues/2842> ) -> PASS
<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-
glk9/igt@gem_exec_fair@[email protected]>

* igt@gem_exec_reloc@basic-wc-read-noreloc:

	*	{shard-rkl}: SKIP <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-rkl-3/igt@[email protected]> (i915#3281 <https://gitlab.freedesktop.org/drm/intel/issues/3281> ) -> PASS
<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl-
5/igt@[email protected]> +15 similar issues

* igt@gem_pwrite_snooped:

	*	{shard-rkl}: SKIP <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-rkl-3/igt@gem_pwrite_snooped.html> (i915#3282
<https://gitlab.freedesktop.org/drm/intel/issues/3282> ) -> PASS <https://intel-gfx-
ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl- 5/igt@gem_pwrite_snooped.html> +2 similar issues

* igt@gen9_exec_parse@batch-invalid-length:

	*	{shard-rkl}: SKIP <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-rkl-2/igt@[email protected]> (i915#2527 <https://gitlab.freedesktop.org/drm/intel/issues/2527> ) -> PASS
<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl-
5/igt@[email protected]> +5 similar issues

* igt@i915_pm_dc@dc6-dpms:

	*	{shard-rkl}: SKIP <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-rkl-5/igt@[email protected]> (i915#3361
<https://gitlab.freedesktop.org/drm/intel/issues/3361> ) -> PASS <https://intel-gfx-
ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl-4/igt@i915_pm_dc@dc6- dpms.html>

* igt@i915_pm_rpm@modeset-non-lpsp-stress:

	*	{shard-dg1}: SKIP <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-dg1-14/igt@i915_pm_rpm@modeset-non-lpsp- stress.html> (i915#1397 <https://gitlab.freedesktop.org/drm/intel/issues/1397> ) -> PASS <https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-dg1-
12/igt@[email protected]>

* igt@kms_atomic@atomic_plane_damage:

	*	{shard-rkl}: SKIP <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-rkl-2/igt@kms_atomic@atomic_plane_damage.html> (i915#4098 <https://gitlab.freedesktop.org/drm/intel/issues/4098> ) -> PASS
<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl-
6/igt@kms_atomic@atomic_plane_damage.html> +1 similar issue

* igt@kms_big_fb@linear-16bpp-rotate-180:

	*	{shard-dg1}: FAIL <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-dg1-13/igt@[email protected]> (i915#5138 <https://gitlab.freedesktop.org/drm/intel/issues/5138> ) -> PASS
<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-dg1-
18/igt@[email protected]>

* igt@kms_ccs@pipe-a-crc-primary-rotation-180-y_tiled_gen12_rc_ccs:

	*	{shard-tglu}: SKIP <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-tglu-6/igt@kms_ccs@pipe-a-crc-primary-rotation-180- y_tiled_gen12_rc_ccs.html> (i915#7651
<https://gitlab.freedesktop.org/drm/intel/issues/7651> ) -> PASS <https://intel-gfx-
ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-tglu-2/igt@kms_ccs@pipe-a- crc-primary-rotation-180-y_tiled_gen12_rc_ccs.html> +4 similar issues

* igt@kms_cursor_legacy@flip-vs-cursor-busy-crc-legacy:

	*	{shard-tglu}: SKIP <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-tglu-6/igt@kms_cursor_legacy@flip-vs-cursor-busy-crc- legacy.html> (i915#1845 <https://gitlab.freedesktop.org/drm/intel/issues/1845> / i915#7651 <https://gitlab.freedesktop.org/drm/intel/issues/7651> ) -> PASS
<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-tglu-
2/igt@[email protected]> +2 similar issues

* igt@kms_flip@2x-flip-vs-expired-vblank-interruptible@ab-hdmi-a1-hdmi-a2:

	*	shard-glk: FAIL <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-glk3/igt@kms_flip@2x-flip-vs-expired-vblank- [email protected]> (i915#79
<https://gitlab.freedesktop.org/drm/intel/issues/79> ) -> PASS <https://intel-gfx-
ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-glk8/igt@kms_flip@2x-flip-vs- [email protected]>

* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-blt:

	*	{shard-tglu}: SKIP <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-tglu-6/igt@kms_frontbuffer_tracking@fbc-1p-primscrn- cur-indfb-draw-blt.html> (i915#1849
<https://gitlab.freedesktop.org/drm/intel/issues/1849> ) -> PASS <https://intel-gfx-
ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-tglu- 2/igt@[email protected]> +2 similar issues

* igt@kms_frontbuffer_tracking@psr-modesetfrombusy:

	*	{shard-rkl}: SKIP <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-rkl-4/igt@kms_frontbuffer_tracking@psr- modesetfrombusy.html> (i915#1849
<https://gitlab.freedesktop.org/drm/intel/issues/1849> / i915#4098
<https://gitlab.freedesktop.org/drm/intel/issues/4098> ) -> PASS <https://intel-gfx-
ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl- 6/igt@[email protected]> +9 similar issues

* igt@kms_plane@pixel-format-source-clamping@pipe-b-planes:

	*	{shard-rkl}: SKIP <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-rkl-2/igt@kms_plane@pixel-format-source- [email protected]> (i915#1849
<https://gitlab.freedesktop.org/drm/intel/issues/1849> ) -> PASS <https://intel-gfx-
ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl-6/igt@kms_plane@pixel- [email protected]> +1 similar issue

* igt@kms_psr@sprite_plane_move:

	*	{shard-rkl}: SKIP <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-rkl-4/igt@kms_psr@sprite_plane_move.html> (i915#1072 <https://gitlab.freedesktop.org/drm/intel/issues/1072> ) -> PASS
<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl-
6/igt@kms_psr@sprite_plane_move.html> +1 similar issue

* igt@kms_rotation_crc@exhaust-fences:

	*	{shard-rkl}: SKIP <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-rkl-4/igt@[email protected]> (i915#1845 <https://gitlab.freedesktop.org/drm/intel/issues/1845> / i915#4098
<https://gitlab.freedesktop.org/drm/intel/issues/4098> ) -> PASS <https://intel-gfx-
ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl- 6/igt@[email protected]> +12 similar issues

* igt@prime_vgem@basic-fence-read:

	*	{shard-rkl}: SKIP <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-rkl-3/igt@[email protected]> (fdo#109295 <https://bugs.freedesktop.org/show_bug.cgi?id=109295> / i915#3291
<https://gitlab.freedesktop.org/drm/intel/issues/3291> / i915#3708
<https://gitlab.freedesktop.org/drm/intel/issues/3708> ) -> PASS <https://intel-gfx-
ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl-5/igt@prime_vgem@basic- fence-read.html>

* igt@sysfs_timeslice_duration@timeout@rcs0:

	*	{shard-dg1}: FAIL <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-dg1- 13/igt@sysfs_timeslice_duration@[email protected]> (i915#1755
<https://gitlab.freedesktop.org/drm/intel/issues/1755> ) -> PASS <https://intel-gfx-
ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-dg1- 18/igt@sysfs_timeslice_duration@[email protected]>

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

Build changes

* Linux: CI_DRM_12655 -> Patchwork_108371v5

CI-20190529: 20190529
CI_DRM_12655: d9b0bc4a0e9edfcbf171e09d3743b7186cd801f7 @
git://anongit.freedesktop.org/gfx-ci/linux
IGT_7139: 1e2fdea2a5547aba6d8595b7ac1c5e4543e90f2f @
https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_108371v5: d9b0bc4a0e9edfcbf171e09d3743b7186cd801f7 @
git://anongit.freedesktop.org/gfx-ci/linux

#5 lore raw

Re: [Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915: implement async_flip mode per plane tracking (rev5)

Quoted 55 lines · Jani

Hi,

Quoted 54 lines

-----Original Message-----
From: Intel-gfx <[email protected]> On Behalf Of Patchwork
Sent: perjantai 27. tammikuuta 2023 21.24
To: Hajda, Andrzej <[email protected]>
Cc: [email protected]
Subject: [Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915: implement async_flip mode per plane tracking (rev5)

Patch Details
Series: drm/i915: implement async_flip mode per plane tracking (rev5)
URL: https://patchwork.freedesktop.org/series/108371/
State: failure
Details: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/index.html

CI Bug Log - changes from CI_DRM_12655_full -> Patchwork_108371v5_full

Summary

FAILURE

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

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

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

Participating hosts (10 -> 11)

Additional (1): shard-rkl0

Possible new issues

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

IGT changes

Possible regressions

* igt@gen9_exec_parse@allowed-single:

Quoted 7 lines
Quoted 4 lines
	*	shard-glk: PASS <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-glk4/igt@[email protected]> -> ABORT <https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-
glk1/igt@[email protected]>

Similar issue seen on CI_DRM_12656:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12656/shard-glk5/igt@[email protected]
So I assume not due to this patch.

Thanks for checking this. Yes, this issue is not connected with the patch. The issue is also observed in:
http://gfx-ci.igk.intel.com/tree/drm-tip/CI_DRM_12659/shard-glk5/igt@[email protected]

Regards
Andrzej

Quoted 253 lines
Quoted 253 lines

Suppressed

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

* igt@gem_ccs@suspend-resume:

	*	{shard-rkl}: SKIP <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-rkl-2/igt@[email protected]> (i915#5325
<https://gitlab.freedesktop.org/drm/intel/issues/5325> ) -> SKIP <https://intel-gfx-
ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl-5/igt@gem_ccs@suspend- resume.html>

Known issues

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

IGT changes

Issues hit

* igt@kms_dither@fb-8bpc-vs-panel-6bpc@pipe-a-hdmi-a-1:

	*	shard-glk: NOTRUN -> SKIP <https://intel-gfx-ci.01.org/tree/drm-

tip/Patchwork_108371v5/shard-glk3/igt@kms_dither@fb-8bpc-vs-panel- [email protected]> (fdo#109271
<https://bugs.freedesktop.org/show_bug.cgi?id=109271> )

Possible fixes

* igt@drm_fdinfo@virtual-idle:

	*	{shard-rkl}: FAIL <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-rkl-2/igt@[email protected]> (i915#7742
<https://gitlab.freedesktop.org/drm/intel/issues/7742> ) -> PASS <https://intel-gfx-
ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl-5/igt@drm_fdinfo@virtual- idle.html> +1 similar issue

* igt@gem_ctx_persistence@many-contexts:

	*	{shard-dg1}: ABORT <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-dg1-14/igt@[email protected]> (i915#4983 <https://gitlab.freedesktop.org/drm/intel/issues/4983> ) -> PASS
<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-dg1-
12/igt@[email protected]>

* igt@gem_eio@in-flight-suspend:

	*	{shard-rkl}: FAIL <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-rkl-4/igt@[email protected]> (fdo#103375
<https://bugs.freedesktop.org/show_bug.cgi?id=103375> ) -> PASS <https://intel-
gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl-5/igt@gem_eio@in- flight-suspend.html>

* igt@gem_exec_endless@dispatch@bcs0:

	*	{shard-rkl}: SKIP <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-rkl-5/igt@gem_exec_endless@[email protected]> (i915#6247 <https://gitlab.freedesktop.org/drm/intel/issues/6247> ) -> PASS
<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl-
4/igt@gem_exec_endless@[email protected]>

* igt@gem_exec_fair@basic-none@vcs0:

	*	{shard-rkl}: FAIL <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-rkl-2/igt@gem_exec_fair@[email protected]> (i915#2842 <https://gitlab.freedesktop.org/drm/intel/issues/2842> ) -> PASS
<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl-
5/igt@gem_exec_fair@[email protected]> +1 similar issue

* igt@gem_exec_fair@basic-pace-share@rcs0:

	*	shard-glk: FAIL <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-glk6/igt@gem_exec_fair@[email protected]> (i915#2842 <https://gitlab.freedesktop.org/drm/intel/issues/2842> ) -> PASS
<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-
glk9/igt@gem_exec_fair@[email protected]>

* igt@gem_exec_reloc@basic-wc-read-noreloc:

	*	{shard-rkl}: SKIP <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-rkl-3/igt@[email protected]> (i915#3281 <https://gitlab.freedesktop.org/drm/intel/issues/3281> ) -> PASS
<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl-
5/igt@[email protected]> +15 similar issues

* igt@gem_pwrite_snooped:

	*	{shard-rkl}: SKIP <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-rkl-3/igt@gem_pwrite_snooped.html> (i915#3282
<https://gitlab.freedesktop.org/drm/intel/issues/3282> ) -> PASS <https://intel-gfx-
ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl- 5/igt@gem_pwrite_snooped.html> +2 similar issues

* igt@gen9_exec_parse@batch-invalid-length:

	*	{shard-rkl}: SKIP <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-rkl-2/igt@[email protected]> (i915#2527 <https://gitlab.freedesktop.org/drm/intel/issues/2527> ) -> PASS
<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl-
5/igt@[email protected]> +5 similar issues

* igt@i915_pm_dc@dc6-dpms:

	*	{shard-rkl}: SKIP <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-rkl-5/igt@[email protected]> (i915#3361
<https://gitlab.freedesktop.org/drm/intel/issues/3361> ) -> PASS <https://intel-gfx-
ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl-4/igt@i915_pm_dc@dc6- dpms.html>

* igt@i915_pm_rpm@modeset-non-lpsp-stress:

	*	{shard-dg1}: SKIP <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-dg1-14/igt@i915_pm_rpm@modeset-non-lpsp- stress.html> (i915#1397 <https://gitlab.freedesktop.org/drm/intel/issues/1397> ) -> PASS <https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-dg1-
12/igt@[email protected]>

* igt@kms_atomic@atomic_plane_damage:

	*	{shard-rkl}: SKIP <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-rkl-2/igt@kms_atomic@atomic_plane_damage.html> (i915#4098 <https://gitlab.freedesktop.org/drm/intel/issues/4098> ) -> PASS
<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl-
6/igt@kms_atomic@atomic_plane_damage.html> +1 similar issue

* igt@kms_big_fb@linear-16bpp-rotate-180:

	*	{shard-dg1}: FAIL <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-dg1-13/igt@[email protected]> (i915#5138 <https://gitlab.freedesktop.org/drm/intel/issues/5138> ) -> PASS
<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-dg1-
18/igt@[email protected]>

* igt@kms_ccs@pipe-a-crc-primary-rotation-180-y_tiled_gen12_rc_ccs:

	*	{shard-tglu}: SKIP <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-tglu-6/igt@kms_ccs@pipe-a-crc-primary-rotation-180- y_tiled_gen12_rc_ccs.html> (i915#7651
<https://gitlab.freedesktop.org/drm/intel/issues/7651> ) -> PASS <https://intel-gfx-
ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-tglu-2/igt@kms_ccs@pipe-a- crc-primary-rotation-180-y_tiled_gen12_rc_ccs.html> +4 similar issues

* igt@kms_cursor_legacy@flip-vs-cursor-busy-crc-legacy:

	*	{shard-tglu}: SKIP <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-tglu-6/igt@kms_cursor_legacy@flip-vs-cursor-busy-crc- legacy.html> (i915#1845 <https://gitlab.freedesktop.org/drm/intel/issues/1845> / i915#7651 <https://gitlab.freedesktop.org/drm/intel/issues/7651> ) -> PASS
<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-tglu-
2/igt@[email protected]> +2 similar issues

* igt@kms_flip@2x-flip-vs-expired-vblank-interruptible@ab-hdmi-a1-hdmi-a2:

	*	shard-glk: FAIL <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-glk3/igt@kms_flip@2x-flip-vs-expired-vblank- [email protected]> (i915#79
<https://gitlab.freedesktop.org/drm/intel/issues/79> ) -> PASS <https://intel-gfx-
ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-glk8/igt@kms_flip@2x-flip-vs- [email protected]>

* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-blt:

	*	{shard-tglu}: SKIP <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-tglu-6/igt@kms_frontbuffer_tracking@fbc-1p-primscrn- cur-indfb-draw-blt.html> (i915#1849
<https://gitlab.freedesktop.org/drm/intel/issues/1849> ) -> PASS <https://intel-gfx-
ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-tglu- 2/igt@[email protected]> +2 similar issues

* igt@kms_frontbuffer_tracking@psr-modesetfrombusy:

	*	{shard-rkl}: SKIP <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-rkl-4/igt@kms_frontbuffer_tracking@psr- modesetfrombusy.html> (i915#1849
<https://gitlab.freedesktop.org/drm/intel/issues/1849> / i915#4098
<https://gitlab.freedesktop.org/drm/intel/issues/4098> ) -> PASS <https://intel-gfx-
ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl- 6/igt@[email protected]> +9 similar issues

* igt@kms_plane@pixel-format-source-clamping@pipe-b-planes:

	*	{shard-rkl}: SKIP <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-rkl-2/igt@kms_plane@pixel-format-source- [email protected]> (i915#1849
<https://gitlab.freedesktop.org/drm/intel/issues/1849> ) -> PASS <https://intel-gfx-
ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl-6/igt@kms_plane@pixel- [email protected]> +1 similar issue

* igt@kms_psr@sprite_plane_move:

	*	{shard-rkl}: SKIP <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-rkl-4/igt@kms_psr@sprite_plane_move.html> (i915#1072 <https://gitlab.freedesktop.org/drm/intel/issues/1072> ) -> PASS
<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl-
6/igt@kms_psr@sprite_plane_move.html> +1 similar issue

* igt@kms_rotation_crc@exhaust-fences:

	*	{shard-rkl}: SKIP <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-rkl-4/igt@[email protected]> (i915#1845 <https://gitlab.freedesktop.org/drm/intel/issues/1845> / i915#4098
<https://gitlab.freedesktop.org/drm/intel/issues/4098> ) -> PASS <https://intel-gfx-
ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl- 6/igt@[email protected]> +12 similar issues

* igt@prime_vgem@basic-fence-read:

	*	{shard-rkl}: SKIP <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-rkl-3/igt@[email protected]> (fdo#109295 <https://bugs.freedesktop.org/show_bug.cgi?id=109295> / i915#3291
<https://gitlab.freedesktop.org/drm/intel/issues/3291> / i915#3708
<https://gitlab.freedesktop.org/drm/intel/issues/3708> ) -> PASS <https://intel-gfx-
ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-rkl-5/igt@prime_vgem@basic- fence-read.html>

* igt@sysfs_timeslice_duration@timeout@rcs0:

	*	{shard-dg1}: FAIL <https://intel-gfx-ci.01.org/tree/drm-

tip/CI_DRM_12655/shard-dg1- 13/igt@sysfs_timeslice_duration@[email protected]> (i915#1755
<https://gitlab.freedesktop.org/drm/intel/issues/1755> ) -> PASS <https://intel-gfx-
ci.01.org/tree/drm-tip/Patchwork_108371v5/shard-dg1- 18/igt@sysfs_timeslice_duration@[email protected]>

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

Build changes

* Linux: CI_DRM_12655 -> Patchwork_108371v5

CI-20190529: 20190529
CI_DRM_12655: d9b0bc4a0e9edfcbf171e09d3743b7186cd801f7 @
git://anongit.freedesktop.org/gfx-ci/linux
IGT_7139: 1e2fdea2a5547aba6d8595b7ac1c5e4543e90f2f @
https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_108371v5: d9b0bc4a0e9edfcbf171e09d3743b7186cd801f7 @
git://anongit.freedesktop.org/gfx-ci/linux

Reviewed-by on v4 1/1
#6 lore raw
In reply to Andrzej Hajda
Quoted 18 lines · Andrzej Hajda

Current implementation of async flip w/a relies on assumption that
previous atomic commit contains valid information if async_flip is still
enabled on the plane. It is incorrect. If previous commit did not modify
the plane its state->uapi.async_flip can be false. As a result DMAR/PIPE
errors can be observed:
i915 0000:00:02.0: [drm] *ERROR* Fault errors on pipe A: 0x00000080
i915 0000:00:02.0: [drm] *ERROR* Fault errors on pipe A: 0x00000080
DMAR: DRHD: handling fault status reg 2
DMAR: [DMA Read NO_PASID] Request device [00:02.0] fault addr 0x0 [fault reason 0x06] PTE Read access is not set

v2: update async_flip_planes in more reliable places (Ville)
v3: reset async_flip_planes and do_async_flip in more scenarios (Ville)
v4: move all resets to plane loops (Ville)

---
Hi Ville,

Quoted 6 lines

I am not sure about this change. I wonder if in case of for*plane loops code could be like:

new_crtc_state->async_flip_planes &= ~BIT(plane->id); if (!new_crtc_state->async_flip_planes)

	new_crtc_state->do_async_flip = false;

The current code is all geared towards all planes doing the same kind of update (async vs. sync). Maybe we could rework things so that some planes could remain in async mode while the rest (and the whole pipe) really does a sync update. But that will involve some real work.

This one is

Quoted 136 lines

But let's see what CI says.

Regards
Andrzej

---
 drivers/gpu/drm/i915/display/intel_atomic_plane.c  | 5 ++++-
 drivers/gpu/drm/i915/display/intel_color.c         | 3 +++
 drivers/gpu/drm/i915/display/intel_display.c       | 9 ++++++---
 drivers/gpu/drm/i915/display/intel_display_types.h | 3 +++
 drivers/gpu/drm/i915/display/skl_watermark.c       | 4 ++++
 5 files changed, 20 insertions(+), 4 deletions(-)
drivers/gpu/drm/i915/display/intel_atomic_plane.c +4 -1
index 1409bcfb6fd3d9..3bd8f7eb75a60b 100644
@@ -363,6 +363,7 @@ void intel_plane_set_invisible(struct intel_crtc_state *crtc_state,
 	crtc_state->scaled_planes &= ~BIT(plane->id);
 	crtc_state->nv12_planes &= ~BIT(plane->id);
 	crtc_state->c8_planes &= ~BIT(plane->id);
+	crtc_state->async_flip_planes &= ~BIT(plane->id);
 	crtc_state->data_rate[plane->id] = 0;
 	crtc_state->data_rate_y[plane->id] = 0;
 	crtc_state->rel_data_rate[plane->id] = 0;
@@ -582,8 +583,10 @@ static int intel_plane_atomic_calc_changes(const struct intel_crtc_state *old_cr
 			 intel_plane_is_scaled(new_plane_state))))
 		new_crtc_state->disable_lp_wm = true;
 
-	if (intel_plane_do_async_flip(plane, old_crtc_state, new_crtc_state))
+	if (intel_plane_do_async_flip(plane, old_crtc_state, new_crtc_state)) {
 		new_crtc_state->do_async_flip = true;
+		new_crtc_state->async_flip_planes |= BIT(plane->id);
+	}
 
 	return 0;
 }
drivers/gpu/drm/i915/display/intel_color.c +3 -0
index 8d97c299e6577b..2ca7a016a9d9d1 100644
@@ -1500,12 +1500,15 @@ intel_color_add_affected_planes(struct intel_crtc_state *new_crtc_state)
 			return PTR_ERR(plane_state);
 
 		new_crtc_state->update_planes |= BIT(plane->id);
+		new_crtc_state->async_flip_planes = 0;
+		new_crtc_state->do_async_flip = false;
 
 		/* plane control register changes blocked by CxSR */
 		if (HAS_GMCH(i915))
 			new_crtc_state->disable_cxsr = true;
 	}
 
+
 	return 0;
 }
 
drivers/gpu/drm/i915/display/intel_display.c +6 -3
index 717ca3d7890d34..fcd3f1c7af3291 100644
@@ -1252,7 +1252,8 @@ static void intel_crtc_async_flip_disable_wa(struct intel_atomic_state *state,
 		intel_atomic_get_old_crtc_state(state, crtc);
 	const struct intel_crtc_state *new_crtc_state =
 		intel_atomic_get_new_crtc_state(state, crtc);
-	u8 update_planes = new_crtc_state->update_planes;
+	u8 disable_async_flip_planes = old_crtc_state->async_flip_planes &
+				       ~new_crtc_state->async_flip_planes;
 	const struct intel_plane_state *old_plane_state;
 	struct intel_plane *plane;
 	bool need_vbl_wait = false;
@@ -1261,7 +1262,7 @@ static void intel_crtc_async_flip_disable_wa(struct intel_atomic_state *state,
 	for_each_old_intel_plane_in_state(state, plane, old_plane_state, i) {
 		if (plane->need_async_flip_disable_wa &&
 		    plane->pipe == crtc->pipe &&
-		    update_planes & BIT(plane->id)) {
+		    disable_async_flip_planes & BIT(plane->id)) {
 			/*
 			 * Apart from the async flip bit we want to
 			 * preserve the old state for the plane.
@@ -1378,7 +1379,7 @@ static void intel_pre_plane_update(struct intel_atomic_state *state,
 	 * WA for platforms where async address update enable bit
 	 * is double buffered and only latched at start of vblank.
 	 */
-	if (old_crtc_state->uapi.async_flip && !new_crtc_state->uapi.async_flip)
+	if (old_crtc_state->async_flip_planes & ~new_crtc_state->async_flip_planes)
 		intel_crtc_async_flip_disable_wa(state, crtc);
 }
 
@@ -5939,6 +5940,8 @@ int intel_modeset_all_pipes(struct intel_atomic_state *state,
 			return ret;
 
 		crtc_state->update_planes |= crtc_state->active_planes;
+		crtc_state->async_flip_planes = 0;
+		crtc_state->do_async_flip = false;
 	}
 
 	return 0;
drivers/gpu/drm/i915/display/intel_display_types.h +3 -0
index 54c517ca9632fb..9ccae7a4602009 100644
@@ -1249,6 +1249,9 @@ struct intel_crtc_state {
 	/* bitmask of planes that will be updated during the commit */
 	u8 update_planes;
 
+	/* bitmask of planes with async flip active */
+	u8 async_flip_planes;
+
 	u8 framestart_delay; /* 1-4 */
 	u8 msa_timing_delay; /* 0-3 */
 
drivers/gpu/drm/i915/display/skl_watermark.c +4 -0
index ae4e9e680c2e30..261cdab390b484 100644
@@ -2397,6 +2397,8 @@ skl_ddb_add_affected_planes(const struct intel_crtc_state *old_crtc_state,
 			return PTR_ERR(plane_state);
 
 		new_crtc_state->update_planes |= BIT(plane_id);
+		new_crtc_state->async_flip_planes = 0;
+		new_crtc_state->do_async_flip = false;
 	}
 
 	return 0;
@@ -2754,6 +2756,8 @@ static int skl_wm_add_affected_planes(struct intel_atomic_state *state,
 			return PTR_ERR(plane_state);
 
 		new_crtc_state->update_planes |= BIT(plane_id);
+		new_crtc_state->async_flip_planes = 0;
+		new_crtc_state->do_async_flip = false;
 	}
 
 	return 0;
Signature · 1 line
2.34.1
Signature · 2 lines
Ville Syrjälä
Intel
#7 lore raw
In reply to Andrzej Hajda
Quoted 70 lines · Andrzej Hajda

Current implementation of async flip w/a relies on assumption that
previous atomic commit contains valid information if async_flip is still
enabled on the plane. It is incorrect. If previous commit did not modify
the plane its state->uapi.async_flip can be false. As a result DMAR/PIPE
errors can be observed:
i915 0000:00:02.0: [drm] *ERROR* Fault errors on pipe A: 0x00000080
i915 0000:00:02.0: [drm] *ERROR* Fault errors on pipe A: 0x00000080
DMAR: DRHD: handling fault status reg 2
DMAR: [DMA Read NO_PASID] Request device [00:02.0] fault addr 0x0 [fault reason 0x06] PTE Read access is not set

v2: update async_flip_planes in more reliable places (Ville)
v3: reset async_flip_planes and do_async_flip in more scenarios (Ville)
v4: move all resets to plane loops (Ville)

---
Hi Ville,

I am not sure about this change. I wonder if in case of for*plane loops code could be like:

new_crtc_state->async_flip_planes &= ~BIT(plane->id); if (!new_crtc_state->async_flip_planes)

	new_crtc_state->do_async_flip = false;

But let's see what CI says.

Regards
Andrzej

---
 drivers/gpu/drm/i915/display/intel_atomic_plane.c  | 5 ++++-
 drivers/gpu/drm/i915/display/intel_color.c         | 3 +++
 drivers/gpu/drm/i915/display/intel_display.c       | 9 ++++++---
 drivers/gpu/drm/i915/display/intel_display_types.h | 3 +++
 drivers/gpu/drm/i915/display/skl_watermark.c       | 4 ++++
 5 files changed, 20 insertions(+), 4 deletions(-)
drivers/gpu/drm/i915/display/intel_atomic_plane.c +4 -1
index 1409bcfb6fd3d9..3bd8f7eb75a60b 100644
@@ -363,6 +363,7 @@ void intel_plane_set_invisible(struct intel_crtc_state *crtc_state,
 	crtc_state->scaled_planes &= ~BIT(plane->id);
 	crtc_state->nv12_planes &= ~BIT(plane->id);
 	crtc_state->c8_planes &= ~BIT(plane->id);
+	crtc_state->async_flip_planes &= ~BIT(plane->id);
 	crtc_state->data_rate[plane->id] = 0;
 	crtc_state->data_rate_y[plane->id] = 0;
 	crtc_state->rel_data_rate[plane->id] = 0;
@@ -582,8 +583,10 @@ static int intel_plane_atomic_calc_changes(const struct intel_crtc_state *old_cr
 			 intel_plane_is_scaled(new_plane_state))))
 		new_crtc_state->disable_lp_wm = true;
 
-	if (intel_plane_do_async_flip(plane, old_crtc_state, new_crtc_state))
+	if (intel_plane_do_async_flip(plane, old_crtc_state, new_crtc_state)) {
 		new_crtc_state->do_async_flip = true;
+		new_crtc_state->async_flip_planes |= BIT(plane->id);
+	}
 
 	return 0;
 }
drivers/gpu/drm/i915/display/intel_color.c +1 -0
index 8d97c299e6577b..2ca7a016a9d9d1 100644
@@ -1500,12 +1500,15 @@ intel_color_add_affected_planes(struct intel_crtc_state *new_crtc_state)
 			return PTR_ERR(plane_state);
 
 		new_crtc_state->update_planes |= BIT(plane->id);
+		new_crtc_state->async_flip_planes = 0;

drivers/gpu/drm/i915/display/intel_color.c intel_color_add_affected_planes(struct intel_crtc_state *new_crtc_state) · line 1513

Quoted 10 lines
drivers/gpu/drm/i915/display/intel_color.c +2 -0
+		new_crtc_state->do_async_flip = false;
 
 		/* plane control register changes blocked by CxSR */
 		if (HAS_GMCH(i915))
 			new_crtc_state->disable_cxsr = true;
 	}
 
+
 	return 0;
 }

Thanks. Pushed now. I nuked that bogus extra newline while pushing.

Quoted 80 lines
drivers/gpu/drm/i915/display/intel_display.c +6 -3
index 717ca3d7890d34..fcd3f1c7af3291 100644
@@ -1252,7 +1252,8 @@ static void intel_crtc_async_flip_disable_wa(struct intel_atomic_state *state,
 		intel_atomic_get_old_crtc_state(state, crtc);
 	const struct intel_crtc_state *new_crtc_state =
 		intel_atomic_get_new_crtc_state(state, crtc);
-	u8 update_planes = new_crtc_state->update_planes;
+	u8 disable_async_flip_planes = old_crtc_state->async_flip_planes &
+				       ~new_crtc_state->async_flip_planes;
 	const struct intel_plane_state *old_plane_state;
 	struct intel_plane *plane;
 	bool need_vbl_wait = false;
@@ -1261,7 +1262,7 @@ static void intel_crtc_async_flip_disable_wa(struct intel_atomic_state *state,
 	for_each_old_intel_plane_in_state(state, plane, old_plane_state, i) {
 		if (plane->need_async_flip_disable_wa &&
 		    plane->pipe == crtc->pipe &&
-		    update_planes & BIT(plane->id)) {
+		    disable_async_flip_planes & BIT(plane->id)) {
 			/*
 			 * Apart from the async flip bit we want to
 			 * preserve the old state for the plane.
@@ -1378,7 +1379,7 @@ static void intel_pre_plane_update(struct intel_atomic_state *state,
 	 * WA for platforms where async address update enable bit
 	 * is double buffered and only latched at start of vblank.
 	 */
-	if (old_crtc_state->uapi.async_flip && !new_crtc_state->uapi.async_flip)
+	if (old_crtc_state->async_flip_planes & ~new_crtc_state->async_flip_planes)
 		intel_crtc_async_flip_disable_wa(state, crtc);
 }
 
@@ -5939,6 +5940,8 @@ int intel_modeset_all_pipes(struct intel_atomic_state *state,
 			return ret;
 
 		crtc_state->update_planes |= crtc_state->active_planes;
+		crtc_state->async_flip_planes = 0;
+		crtc_state->do_async_flip = false;
 	}
 
 	return 0;
drivers/gpu/drm/i915/display/intel_display_types.h +3 -0
index 54c517ca9632fb..9ccae7a4602009 100644
@@ -1249,6 +1249,9 @@ struct intel_crtc_state {
 	/* bitmask of planes that will be updated during the commit */
 	u8 update_planes;
 
+	/* bitmask of planes with async flip active */
+	u8 async_flip_planes;
+
 	u8 framestart_delay; /* 1-4 */
 	u8 msa_timing_delay; /* 0-3 */
 
drivers/gpu/drm/i915/display/skl_watermark.c +4 -0
index ae4e9e680c2e30..261cdab390b484 100644
@@ -2397,6 +2397,8 @@ skl_ddb_add_affected_planes(const struct intel_crtc_state *old_crtc_state,
 			return PTR_ERR(plane_state);
 
 		new_crtc_state->update_planes |= BIT(plane_id);
+		new_crtc_state->async_flip_planes = 0;
+		new_crtc_state->do_async_flip = false;
 	}
 
 	return 0;
@@ -2754,6 +2756,8 @@ static int skl_wm_add_affected_planes(struct intel_atomic_state *state,
 			return PTR_ERR(plane_state);
 
 		new_crtc_state->update_planes |= BIT(plane_id);
+		new_crtc_state->async_flip_planes = 0;
+		new_crtc_state->do_async_flip = false;
 	}
 
 	return 0;
Signature · 1 line
2.34.1
Signature · 2 lines
Ville Syrjälä
Intel