Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/12] drm/atomic: Try to make atomic+async usable, and clear up the "async update" helper confusion
@ 2026-11-16  9:11 Ville Syrjala
  2026-11-16  9:11 ` [PATCH 01/12] drm/atomic: Remove tall tales about tearing vs. "async updates" Ville Syrjala
                   ` (15 more replies)
  0 siblings, 16 replies; 22+ messages in thread
From: Ville Syrjala @ 2026-11-16  9:11 UTC (permalink / raw)
  To: dri-devel
  Cc: intel-gfx, intel-xe, Erwin Springer, amd-gfx, André Almeida,
	Boris Brezillon, Christopher Snowhill, Dave Stevenson,
	Dharma Balasubiramani, Dmitry Baryshkov, freedreno,
	Gustavo Padovan, Huacai Chen, Icenowy Zheng, Jianmin Lv,
	linux-arm-msm, linux-mediatek, linux-rockchip, linux-tegra,
	Liviu Dudau, Maíra Canal, Manikandan Muralidharan,
	Maxime Ripard, Mingcong Bai, nouveau, Qianhai Wu,
	Raspberry Pi Kernel Maintenance, Simon Ser, wayland-devel,
	Xaver Hugl, Xi Ruoyao

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

The weird uapi semantics of the atomic async flip support make it
really hard for drivers to implement. Try to fix that by filtering
out the no-op junk from the commit that userspace likes to put there.

Also a lot of people are apparently confusing the
.atomic_async_{update,check}() hack with async flips. The two
are completely orthogonal, so try to clear up that mess by
renaming the hack to .atomic_bypass_{update,check}().

TODO: atomic+async is in serious need to proper tests, somehow
      all that seems to have gotten skipped when the feature
      was added :(

Cc: amd-gfx@lists.freedesktop.org
Cc: André Almeida <andrealmeid@igalia.com>
Cc: Boris Brezillon <bbrezillon@kernel.org>
Cc: Christopher Snowhill <chris@kode54.net>
Cc: Dave Stevenson <dave.stevenson@raspberrypi.com>
Cc: Dharma Balasubiramani <dharma.b@microchip.com>
Cc: Dmitry Baryshkov <lumag@kernel.org>
Cc: freedreno@lists.freedesktop.org
Cc: Gustavo Padovan <gustavo.padovan@collabora.com>
Cc: Huacai Chen <chenhuacai@kernel.org>
Cc: Icenowy Zheng <zhengxingda@iscas.ac.cn>
Cc: intel-gfx@lists.freedesktop.org
Cc: intel-xe@lists.freedesktop.org
Cc: Jianmin Lv <lvjianmin@loongson.cn>
Cc: linux-arm-msm@vger.kernel.org
Cc: linux-mediatek@lists.infradead.org
Cc: linux-rockchip@lists.infradead.org
Cc: linux-tegra@vger.kernel.org
Cc: Liviu Dudau <liviu.dudau@arm.com>
Cc: Maíra Canal <mcanal@igalia.com>
Cc: Manikandan Muralidharan <manikandan.m@microchip.com>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: Mingcong Bai <jeffbai@aosc.io>
Cc: nouveau@lists.freedesktop.org
Cc: Qianhai Wu <wuqianhai@loongson.cn>
Cc: Raspberry Pi Kernel Maintenance <kernel-list@raspberrypi.com>
Cc: Simon Ser <contact@emersion.fr>
Cc: wayland-devel@lists.freedesktop.org
Cc: Xaver Hugl <xaver.hugl@kde.org>
Cc: Xi Ruoyao <xry111@xry111.site>

Ville Syrjälä (12):
  drm/atomic: Remove tall tales about tearing vs. "async updates"
  drm/atomic: s/async/bypass/
  drm/atomic: Add FIXMEs around the incorrect use of the
    .atomic_bypass_check() for async flips
  drm/atomic: Highlight that bypass commits need care
  drm/atomic/uapi: Eliminate the confusing
    drm_atomic_check_prop_changes()
  drm/atomic/uapi: Improve the async flip property rejection debugs
  drm/atomic/uapi: Document the non-obvious fence/fb_id prop behaviour
  drm/atomic/uapi: Add a FIXME about colorop vs. async flips
  drm/atomic-helper: Mark drm_atomic_crtc_state_for_each_plane_state()
    unsafe
  drm/i915: Complete no-op "async flips" by hand
  drm/atomic/uapi: Make async flips a bit more palatable through atomic
  drm/atomic/uapi: Extract {connector,crtc,plane}_async_flip_check()

 .clang-format                                 |   2 +-
 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c |  12 +-
 .../amd/display/amdgpu_dm/amdgpu_dm_plane.c   |  20 +-
 .../amd/display/amdgpu_dm/amdgpu_dm_plane.h   |   6 +-
 .../amd/display/amdgpu_dm/amdgpu_dm_trace.h   |  16 +-
 .../amdgpu_dm/tests/amdgpu_dm_plane_test.c    |  32 +--
 drivers/gpu/drm/arm/malidp_crtc.c             |   6 +-
 drivers/gpu/drm/drm_atomic.c                  |  97 ++++++++
 drivers/gpu/drm/drm_atomic_helper.c           |  49 ++---
 drivers/gpu/drm/drm_atomic_uapi.c             | 208 ++++++++++++++----
 drivers/gpu/drm/drm_crtc_internal.h           |   9 +
 drivers/gpu/drm/drm_self_refresh_helper.c     |   4 +-
 drivers/gpu/drm/i915/display/i9xx_wm.c        |   2 +-
 drivers/gpu/drm/i915/display/intel_display.c  |  38 ++++
 drivers/gpu/drm/i915/display/intel_display.h  |   4 +-
 drivers/gpu/drm/loongson/lsdc_plane.c         |  18 +-
 drivers/gpu/drm/mediatek/mtk_plane.c          |  12 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c |   2 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c      |   2 +-
 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c     |   2 +-
 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c    |  12 +-
 drivers/gpu/drm/msm/msm_atomic.c              |   2 +-
 drivers/gpu/drm/rockchip/rockchip_drm_vop.c   |  12 +-
 drivers/gpu/drm/tegra/dc.c                    |  18 +-
 drivers/gpu/drm/vc4/vc4_hvs.c                 |   2 +-
 drivers/gpu/drm/vc4/vc4_plane.c               |  16 +-
 include/drm/drm_atomic.h                      |  10 +-
 include/drm/drm_atomic_helper.h               |  20 +-
 include/drm/drm_modeset_helper_vtables.h      |  50 +++--
 29 files changed, 482 insertions(+), 201 deletions(-)

-- 
2.56.0


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

* [PATCH 01/12] drm/atomic: Remove tall tales about tearing vs. "async updates"
  2026-11-16  9:11 [PATCH 00/12] drm/atomic: Try to make atomic+async usable, and clear up the "async update" helper confusion Ville Syrjala
@ 2026-11-16  9:11 ` Ville Syrjala
  2026-11-16  9:11 ` [PATCH 02/12] drm/atomic: s/async/bypass/ Ville Syrjala
                   ` (14 subsequent siblings)
  15 siblings, 0 replies; 22+ messages in thread
From: Ville Syrjala @ 2026-11-16  9:11 UTC (permalink / raw)
  To: dri-devel
  Cc: intel-gfx, intel-xe, Erwin Springer, amd-gfx, André Almeida,
	Boris Brezillon, Christopher Snowhill, Dave Stevenson,
	Dharma Balasubiramani, Dmitry Baryshkov, freedreno,
	Gustavo Padovan, Huacai Chen, Icenowy Zheng, Jianmin Lv,
	linux-arm-msm, linux-mediatek, linux-rockchip, linux-tegra,
	Liviu Dudau, Maíra Canal, Manikandan Muralidharan,
	Maxime Ripard, Mingcong Bai, nouveau, Qianhai Wu,
	Raspberry Pi Kernel Maintenance, Simon Ser, wayland-devel,
	Xaver Hugl, Xi Ruoyao

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

The "async update" stuff has nothing to do with async vs.
sync updates as far as the hardware is concerned (as in
tearing vs. not). What it does is bypass the normal commit
machinery and just let the driver directly perform the
update (as it sees fit) and swap the plane state without
involving the whole crtc commit machinery.

The actual hardware update it does could be an async flip
(as in tearing) or a mailbox flip, depending on how the
driver decides to do it.

I also suspect some drivers abusing this for async flips might
be performing mailbox updates under the hood, which is
very broken because the commits complete in completely random
order and userspace has no idea when the hardware has stopped
scanning out from the old framebuffer. That means userspace
thinks it can start rendering new stuff to what is still the
current hardware scanout buffer. That will lead to incomplete
live rendering appearing on the screen, which is never OK.
Effectively one is performing front buffer rendering at that
point. This kind of fake async flip implementation would
immediately fail igt/kms_async_flips/crc, but that test
requires the driver/hardware to have working CRC support.
To make mailbox updates actually correct we would need
out fences, and a mechanism to signal them in the correct
order.

Cc: amd-gfx@lists.freedesktop.org
Cc: André Almeida <andrealmeid@igalia.com>
Cc: Boris Brezillon <bbrezillon@kernel.org>
Cc: Christopher Snowhill <chris@kode54.net>
Cc: Dave Stevenson <dave.stevenson@raspberrypi.com>
Cc: Dharma Balasubiramani <dharma.b@microchip.com>
Cc: Dmitry Baryshkov <lumag@kernel.org>
Cc: freedreno@lists.freedesktop.org
Cc: Gustavo Padovan <gustavo.padovan@collabora.com>
Cc: Huacai Chen <chenhuacai@kernel.org>
Cc: Icenowy Zheng <zhengxingda@iscas.ac.cn>
Cc: intel-gfx@lists.freedesktop.org
Cc: intel-xe@lists.freedesktop.org
Cc: Jianmin Lv <lvjianmin@loongson.cn>
Cc: linux-arm-msm@vger.kernel.org
Cc: linux-mediatek@lists.infradead.org
Cc: linux-rockchip@lists.infradead.org
Cc: linux-tegra@vger.kernel.org
Cc: Liviu Dudau <liviu.dudau@arm.com>
Cc: Maíra Canal <mcanal@igalia.com>
Cc: Manikandan Muralidharan <manikandan.m@microchip.com>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: Mingcong Bai <jeffbai@aosc.io>
Cc: nouveau@lists.freedesktop.org
Cc: Qianhai Wu <wuqianhai@loongson.cn>
Cc: Raspberry Pi Kernel Maintenance <kernel-list@raspberrypi.com>
Cc: Simon Ser <contact@emersion.fr>
Cc: wayland-devel@lists.freedesktop.org
Cc: Xaver Hugl <xaver.hugl@kde.org>
Cc: Xi Ruoyao <xry111@xry111.site>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
 drivers/gpu/drm/drm_atomic_helper.c      | 9 ++++-----
 include/drm/drm_modeset_helper_vtables.h | 6 ++----
 2 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/drivers/gpu/drm/drm_atomic_helper.c b/drivers/gpu/drm/drm_atomic_helper.c
index ccfe3840d505..f81eb29d9ac8 100644
--- a/drivers/gpu/drm/drm_atomic_helper.c
+++ b/drivers/gpu/drm/drm_atomic_helper.c
@@ -2187,11 +2187,10 @@ EXPORT_SYMBOL(drm_atomic_helper_async_check);
  * @dev: DRM device
  * @state: the driver state object
  *
- * This function commits a state asynchronously, i.e., not vblank
- * synchronized. It should be used on a state only when
- * drm_atomic_async_check() succeeds. Async commits are not supposed to swap
- * the states like normal sync commits, but just do in-place changes on the
- * current state.
+ * This function commits a state asynchronously. It should be used on a state
+ * only when drm_atomic_async_check() succeeds. Async commits are not supposed
+ * to swap the states like normal sync commits, but just do in-place changes
+ * on the current state.
  *
  * TODO: Implement full swap instead of doing in-place changes.
  */
diff --git a/include/drm/drm_modeset_helper_vtables.h b/include/drm/drm_modeset_helper_vtables.h
index 60b30cc26940..c2431c08a60a 100644
--- a/include/drm/drm_modeset_helper_vtables.h
+++ b/include/drm/drm_modeset_helper_vtables.h
@@ -1424,8 +1424,7 @@ struct drm_plane_helper_funcs {
 	 * @atomic_async_check:
 	 *
 	 * Drivers should set this function pointer to check if the plane's
-	 * atomic state can be updated in a async fashion. Here async means
-	 * "not vblank synchronized".
+	 * atomic state can be updated in a async fashion.
 	 *
 	 * This hook is called by drm_atomic_async_check() to establish if a
 	 * given update can be committed asynchronously, that is, if it can
@@ -1449,8 +1448,7 @@ struct drm_plane_helper_funcs {
 	 *
 	 * Drivers should set this function pointer to perform asynchronous
 	 * updates of planes, that is, jump ahead of the currently queued
-	 * state and update the plane. Here async means "not vblank
-	 * synchronized".
+	 * state and update the plane.
 	 *
 	 * This hook is called by drm_atomic_helper_async_commit().
 	 *
-- 
2.56.0


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

* [PATCH 02/12] drm/atomic: s/async/bypass/
  2026-11-16  9:11 [PATCH 00/12] drm/atomic: Try to make atomic+async usable, and clear up the "async update" helper confusion Ville Syrjala
  2026-11-16  9:11 ` [PATCH 01/12] drm/atomic: Remove tall tales about tearing vs. "async updates" Ville Syrjala
@ 2026-11-16  9:11 ` Ville Syrjala
  2026-11-16  9:23   ` sashiko-bot
  2026-11-16  9:11 ` [PATCH 03/12] drm/atomic: Add FIXMEs around the incorrect use of the .atomic_bypass_check() for async flips Ville Syrjala
                   ` (13 subsequent siblings)
  15 siblings, 1 reply; 22+ messages in thread
From: Ville Syrjala @ 2026-11-16  9:11 UTC (permalink / raw)
  To: dri-devel
  Cc: intel-gfx, intel-xe, Erwin Springer, amd-gfx, André Almeida,
	Boris Brezillon, Christopher Snowhill, Dave Stevenson,
	Dharma Balasubiramani, Dmitry Baryshkov, freedreno,
	Gustavo Padovan, Huacai Chen, Icenowy Zheng, Jianmin Lv,
	linux-arm-msm, linux-mediatek, linux-rockchip, linux-tegra,
	Liviu Dudau, Maíra Canal, Manikandan Muralidharan,
	Maxime Ripard, Mingcong Bai, nouveau, Qianhai Wu,
	Raspberry Pi Kernel Maintenance, Simon Ser, wayland-devel,
	Xaver Hugl, Xi Ruoyao

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

The "async update" stuff has nothing to do with async vs.
sync updates as far as the hardware is concerned (as in
tearing vs. not). What it does is bypass the normal commit
machinery and just let the driver directly perform the
update (as it sees fit) and swap the plane state without
involving the whole crtc commit machinery.

The actual hardware update it does could be an async flip
(as in tearing) or a mailbox flip, depending on how the
driver decides to do it.

Rename the framework to talk about "bypass updates" rather
than "async updates" to avoid confusion.

Cc: amd-gfx@lists.freedesktop.org
Cc: André Almeida <andrealmeid@igalia.com>
Cc: Boris Brezillon <bbrezillon@kernel.org>
Cc: Christopher Snowhill <chris@kode54.net>
Cc: Dave Stevenson <dave.stevenson@raspberrypi.com>
Cc: Dharma Balasubiramani <dharma.b@microchip.com>
Cc: Dmitry Baryshkov <lumag@kernel.org>
Cc: freedreno@lists.freedesktop.org
Cc: Gustavo Padovan <gustavo.padovan@collabora.com>
Cc: Huacai Chen <chenhuacai@kernel.org>
Cc: Icenowy Zheng <zhengxingda@iscas.ac.cn>
Cc: intel-gfx@lists.freedesktop.org
Cc: intel-xe@lists.freedesktop.org
Cc: Jianmin Lv <lvjianmin@loongson.cn>
Cc: linux-arm-msm@vger.kernel.org
Cc: linux-mediatek@lists.infradead.org
Cc: linux-rockchip@lists.infradead.org
Cc: linux-tegra@vger.kernel.org
Cc: Liviu Dudau <liviu.dudau@arm.com>
Cc: Maíra Canal <mcanal@igalia.com>
Cc: Manikandan Muralidharan <manikandan.m@microchip.com>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: Mingcong Bai <jeffbai@aosc.io>
Cc: nouveau@lists.freedesktop.org
Cc: Qianhai Wu <wuqianhai@loongson.cn>
Cc: Raspberry Pi Kernel Maintenance <kernel-list@raspberrypi.com>
Cc: Simon Ser <contact@emersion.fr>
Cc: wayland-devel@lists.freedesktop.org
Cc: Xaver Hugl <xaver.hugl@kde.org>
Cc: Xi Ruoyao <xry111@xry111.site>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 12 ++---
 .../amd/display/amdgpu_dm/amdgpu_dm_plane.c   | 20 ++++----
 .../amd/display/amdgpu_dm/amdgpu_dm_plane.h   |  6 +--
 .../amd/display/amdgpu_dm/amdgpu_dm_trace.h   | 16 +++----
 .../amdgpu_dm/tests/amdgpu_dm_plane_test.c    | 32 ++++++-------
 drivers/gpu/drm/drm_atomic_helper.c           | 48 +++++++++----------
 drivers/gpu/drm/drm_atomic_uapi.c             |  4 +-
 drivers/gpu/drm/drm_self_refresh_helper.c     |  4 +-
 drivers/gpu/drm/loongson/lsdc_plane.c         | 18 +++----
 drivers/gpu/drm/mediatek/mtk_plane.c          | 12 ++---
 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c    | 12 ++---
 drivers/gpu/drm/msm/msm_atomic.c              |  2 +-
 drivers/gpu/drm/rockchip/rockchip_drm_vop.c   | 12 ++---
 drivers/gpu/drm/tegra/dc.c                    | 12 ++---
 drivers/gpu/drm/vc4/vc4_plane.c               | 16 +++----
 include/drm/drm_atomic.h                      |  4 +-
 include/drm/drm_atomic_helper.h               |  8 ++--
 include/drm/drm_modeset_helper_vtables.h      | 38 +++++++--------
 18 files changed, 138 insertions(+), 138 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
index 94d45e5d2a3b..d43ca823e905 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
@@ -6581,20 +6581,20 @@ STATIC_IFN_KUNIT int amdgpu_dm_atomic_check(struct drm_device *dev,
 	if (state->legacy_cursor_update) {
 		/*
 		 * This is a fast cursor update coming from the plane update
-		 * helper, check if it can be done asynchronously for better
-		 * performance.
+		 * helper, check if it can be bypass the atomic machinery
+		 * for better performance.
 		 */
-		state->async_update =
-			!drm_atomic_helper_async_check(dev, state);
+		state->bypass_update =
+			!drm_atomic_helper_bypass_check(dev, state);
 
 		/*
-		 * Skip the remaining global validation if this is an async
+		 * Skip the remaining global validation if this is a bypass
 		 * update. Cursor updates can be done without affecting
 		 * state or bandwidth calcs and this avoids the performance
 		 * penalty of locking the private state object and
 		 * allocating a new dc_state.
 		 */
-		if (state->async_update)
+		if (state->bypass_update)
 			return 0;
 	}
 
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c
index b224d9596fd2..0936594c651c 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c
@@ -1565,8 +1565,8 @@ STATIC_IFN_KUNIT int amdgpu_dm_plane_atomic_check(struct drm_plane *plane,
 }
 EXPORT_IF_KUNIT(amdgpu_dm_plane_atomic_check);
 
-STATIC_IFN_KUNIT int amdgpu_dm_plane_atomic_async_check(struct drm_plane *plane,
-							struct drm_atomic_commit *state, bool flip)
+STATIC_IFN_KUNIT int amdgpu_dm_plane_atomic_bypass_check(struct drm_plane *plane,
+							 struct drm_atomic_commit *state, bool flip)
 {
 	struct drm_crtc_state *new_crtc_state;
 	struct drm_plane_state *new_plane_state;
@@ -1588,7 +1588,7 @@ STATIC_IFN_KUNIT int amdgpu_dm_plane_atomic_async_check(struct drm_plane *plane,
 
 	return 0;
 }
-EXPORT_IF_KUNIT(amdgpu_dm_plane_atomic_async_check);
+EXPORT_IF_KUNIT(amdgpu_dm_plane_atomic_bypass_check);
 
 int amdgpu_dm_plane_get_cursor_position(struct drm_plane *plane, struct drm_crtc *crtc,
 					struct dc_cursor_position *position)
@@ -1725,8 +1725,8 @@ void amdgpu_dm_plane_handle_cursor_update(struct drm_plane *plane,
 }
 EXPORT_IF_KUNIT(amdgpu_dm_plane_handle_cursor_update);
 
-STATIC_IFN_KUNIT void amdgpu_dm_plane_atomic_async_update(struct drm_plane *plane,
-							  struct drm_atomic_commit *state)
+STATIC_IFN_KUNIT void amdgpu_dm_plane_atomic_bypass_update(struct drm_plane *plane,
+							   struct drm_atomic_commit *state)
 {
 	struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state,
 									   plane);
@@ -1748,7 +1748,7 @@ STATIC_IFN_KUNIT void amdgpu_dm_plane_atomic_async_update(struct drm_plane *plan
 
 	amdgpu_dm_plane_handle_cursor_update(plane, old_state);
 }
-EXPORT_IF_KUNIT(amdgpu_dm_plane_atomic_async_update);
+EXPORT_IF_KUNIT(amdgpu_dm_plane_atomic_bypass_update);
 
 STATIC_IFN_KUNIT void amdgpu_dm_plane_panic_flush(struct drm_plane *plane)
 {
@@ -1769,16 +1769,16 @@ static const struct drm_plane_helper_funcs dm_plane_helper_funcs = {
 	.prepare_fb = amdgpu_dm_plane_helper_prepare_fb,
 	.cleanup_fb = amdgpu_dm_plane_helper_cleanup_fb,
 	.atomic_check = amdgpu_dm_plane_atomic_check,
-	.atomic_async_check = amdgpu_dm_plane_atomic_async_check,
-	.atomic_async_update = amdgpu_dm_plane_atomic_async_update
+	.atomic_bypass_check = amdgpu_dm_plane_atomic_bypass_check,
+	.atomic_bypass_update = amdgpu_dm_plane_atomic_bypass_update
 };
 
 static const struct drm_plane_helper_funcs dm_primary_plane_helper_funcs = {
 	.prepare_fb = amdgpu_dm_plane_helper_prepare_fb,
 	.cleanup_fb = amdgpu_dm_plane_helper_cleanup_fb,
 	.atomic_check = amdgpu_dm_plane_atomic_check,
-	.atomic_async_check = amdgpu_dm_plane_atomic_async_check,
-	.atomic_async_update = amdgpu_dm_plane_atomic_async_update,
+	.atomic_bypass_check = amdgpu_dm_plane_atomic_bypass_check,
+	.atomic_bypass_update = amdgpu_dm_plane_atomic_bypass_update,
 	.get_scanout_buffer = amdgpu_display_get_scanout_buffer,
 	.panic_flush = amdgpu_dm_plane_panic_flush,
 };
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.h b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.h
index a432aad41b8f..7e85195d42fb 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.h
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.h
@@ -112,8 +112,8 @@ void amdgpu_dm_plane_get_min_max_dc_plane_scaling(struct drm_device *dev,
 						  struct drm_framebuffer *fb,
 						  int *min_downscale,
 						  int *max_upscale);
-int amdgpu_dm_plane_atomic_async_check(struct drm_plane *plane,
-				       struct drm_atomic_commit *state, bool flip);
+int amdgpu_dm_plane_atomic_bypass_check(struct drm_plane *plane,
+					struct drm_atomic_commit *state, bool flip);
 int amdgpu_dm_plane_atomic_check(struct drm_plane *plane,
 				 struct drm_atomic_commit *state);
 void amdgpu_dm_plane_panic_flush(struct drm_plane *plane);
@@ -136,6 +136,6 @@ bool amdgpu_dm_plane_gfx6_format_mod_supported(const struct amdgpu_device *adev,
 					       const u64 modifier);
 int amdgpu_dm_plane_helper_prepare_fb(struct drm_plane *plane, struct drm_plane_state *new_state);
 void amdgpu_dm_plane_helper_cleanup_fb(struct drm_plane *plane, struct drm_plane_state *old_state);
-void amdgpu_dm_plane_atomic_async_update(struct drm_plane *plane, struct drm_atomic_commit *state);
+void amdgpu_dm_plane_atomic_bypass_update(struct drm_plane *plane, struct drm_atomic_commit *state);
 #endif
 #endif
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h
index 9027933cec3f..b075cabfaaf5 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h
@@ -316,7 +316,7 @@ DECLARE_EVENT_CLASS(amdgpu_dm_atomic_state_template,
 		    TP_STRUCT__entry(__field(const struct drm_atomic_commit *, state)
 				     __field(bool, allow_modeset)
 				     __field(bool, legacy_cursor_update)
-				     __field(bool, async_update)
+				     __field(bool, bypass_update)
 				     __field(bool, duplicated)
 				     __field(int, num_connector)
 				     __field(int, num_private_objs)
@@ -324,16 +324,16 @@ DECLARE_EVENT_CLASS(amdgpu_dm_atomic_state_template,
 		    TP_fast_assign(__entry->state = state;
 				   __entry->allow_modeset = state->allow_modeset;
 				   __entry->legacy_cursor_update = state->legacy_cursor_update;
-				   __entry->async_update = state->async_update;
+				   __entry->bypass_update = state->bypass_update;
 				   __entry->duplicated = state->duplicated;
 				   __entry->num_connector = state->num_connector;
 				   __entry->num_private_objs = state->num_private_objs;
 		    ),
 		    TP_printk("state=%p allow_modeset=%d legacy_cursor_update=%d "
-			      "async_update=%d duplicated=%d num_connector=%d "
+			      "bypass_update=%d duplicated=%d num_connector=%d "
 			      "num_private_objs=%d",
 			      __entry->state, __entry->allow_modeset,
-			      __entry->legacy_cursor_update, __entry->async_update,
+			      __entry->legacy_cursor_update, __entry->bypass_update,
 			      __entry->duplicated, __entry->num_connector,
 			      __entry->num_private_objs)
 );
@@ -357,20 +357,20 @@ TRACE_EVENT(amdgpu_dm_atomic_check_finish,
 	    TP_STRUCT__entry(
 			     __field(const struct drm_atomic_commit *, state)
 			     __field(int, res)
-			     __field(bool, async_update)
+			     __field(bool, bypass_update)
 			     __field(bool, allow_modeset)
 	    ),
 
 	    TP_fast_assign(
 			   __entry->state = state;
 			   __entry->res = res;
-			   __entry->async_update = state->async_update;
+			   __entry->bypass_update = state->bypass_update;
 			   __entry->allow_modeset = state->allow_modeset;
 	    ),
 
-	    TP_printk("state=%p res=%d async_update=%d allow_modeset=%d",
+	    TP_printk("state=%p res=%d bypass_update=%d allow_modeset=%d",
 		      __entry->state, __entry->res,
-		      __entry->async_update, __entry->allow_modeset)
+		      __entry->bypass_update, __entry->allow_modeset)
 );
 
 TRACE_EVENT(amdgpu_dm_dc_pipe_state,
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_plane_test.c b/drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_plane_test.c
index 1f5ee7a0d741..d6b00aeade3b 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_plane_test.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_plane_test.c
@@ -1936,13 +1936,13 @@ static void dm_test_format_mod_supported_d_swizzle_reject(struct kunit *test)
 }
 
 /**
- * dm_test_atomic_async_check_rejects() - Verify async check rejections.
+ * dm_test_atomic_bypass_check_rejects() - Verify async check rejections.
  * @test: KUnit test context.
  *
  * Verify if async flip on non-overlay planes and async cursor update on
  * non-cursor planes are rejected.
  */
-static void dm_test_atomic_async_check_rejects(struct kunit *test)
+static void dm_test_atomic_bypass_check_rejects(struct kunit *test)
 {
 	struct drm_plane *plane;
 
@@ -1951,21 +1951,21 @@ static void dm_test_atomic_async_check_rejects(struct kunit *test)
 
 	plane->type = DRM_PLANE_TYPE_PRIMARY;
 	KUNIT_EXPECT_EQ(test,
-			amdgpu_dm_plane_atomic_async_check(plane, NULL, true),
+			amdgpu_dm_plane_atomic_bypass_check(plane, NULL, true),
 			-EINVAL);
 	KUNIT_EXPECT_EQ(test,
-			amdgpu_dm_plane_atomic_async_check(plane, NULL, false),
+			amdgpu_dm_plane_atomic_bypass_check(plane, NULL, false),
 			-EINVAL);
 }
 
 /**
- * dm_test_atomic_async_check_overlay_cursor() - Verify overlay cursor rejection.
+ * dm_test_atomic_bypass_check_overlay_cursor() - Verify overlay cursor rejection.
  * @test: KUnit test context.
  *
  * Verify if async cursor updates are rejected while the CRTC is using an
  * overlay cursor mode.
  */
-static void dm_test_atomic_async_check_overlay_cursor(struct kunit *test)
+static void dm_test_atomic_bypass_check_overlay_cursor(struct kunit *test)
 {
 	struct drm_atomic_commit *state;
 	struct __drm_planes_state *planes;
@@ -2001,12 +2001,12 @@ static void dm_test_atomic_async_check_overlay_cursor(struct kunit *test)
 	state->crtcs[0].new_state = &dm_crtc_state->base;
 
 	KUNIT_EXPECT_EQ(test,
-			amdgpu_dm_plane_atomic_async_check(plane, state, false),
+			amdgpu_dm_plane_atomic_bypass_check(plane, state, false),
 			-EINVAL);
 
 	dm_crtc_state->cursor_mode = DM_CURSOR_NATIVE_MODE;
 	KUNIT_EXPECT_EQ(test,
-			amdgpu_dm_plane_atomic_async_check(plane, state, false),
+			amdgpu_dm_plane_atomic_bypass_check(plane, state, false),
 			0);
 }
 
@@ -2878,13 +2878,13 @@ static void dm_test_handle_cursor_update_no_fb(struct kunit *test)
 }
 
 /**
- * dm_test_atomic_async_update_copies_state() - Verify async cursor state copy.
+ * dm_test_atomic_bypass_update_copies_state() - Verify async cursor state copy.
  * @test: KUnit test context.
  *
  * Verify if the async update swaps the framebuffer and copies the source and
  * CRTC rectangles from the new state into the current plane state.
  */
-static void dm_test_atomic_async_update_copies_state(struct kunit *test)
+static void dm_test_atomic_bypass_update_copies_state(struct kunit *test)
 {
 	struct amdgpu_device *adev;
 	struct drm_atomic_commit *state;
@@ -2928,7 +2928,7 @@ static void dm_test_atomic_async_update_copies_state(struct kunit *test)
 	state->planes[0].new_state = new_state;
 	state->planes[0].old_state = old_state;
 
-	amdgpu_dm_plane_atomic_async_update(plane, state);
+	amdgpu_dm_plane_atomic_bypass_update(plane, state);
 
 	KUNIT_EXPECT_PTR_EQ(test, cur_state->fb, NULL);
 	KUNIT_EXPECT_PTR_EQ(test, new_state->fb, &afb->base);
@@ -3294,11 +3294,11 @@ static struct kunit_case amdgpu_dm_plane_test_cases[] = {
 	KUNIT_CASE(dm_test_handle_cursor_update_no_fb),
 	KUNIT_CASE(dm_test_handle_cursor_update_disabled),
 	KUNIT_CASE(dm_test_handle_cursor_update_no_stream),
-	/* amdgpu_dm_plane_atomic_async_update() */
-	KUNIT_CASE(dm_test_atomic_async_update_copies_state),
-	/* amdgpu_dm_plane_atomic_async_check() */
-	KUNIT_CASE(dm_test_atomic_async_check_rejects),
-	KUNIT_CASE(dm_test_atomic_async_check_overlay_cursor),
+	/* amdgpu_dm_plane_atomic_bypass_update() */
+	KUNIT_CASE(dm_test_atomic_bypass_update_copies_state),
+	/* amdgpu_dm_plane_atomic_bypass_check() */
+	KUNIT_CASE(dm_test_atomic_bypass_check_rejects),
+	KUNIT_CASE(dm_test_atomic_bypass_check_overlay_cursor),
 	/* amdgpu_dm_plane_atomic_check() */
 	KUNIT_CASE(dm_test_atomic_check_no_dc_state),
 	KUNIT_CASE(dm_test_atomic_check_missing_crtc_state),
diff --git a/drivers/gpu/drm/drm_atomic_helper.c b/drivers/gpu/drm/drm_atomic_helper.c
index f81eb29d9ac8..4e6dade4fb39 100644
--- a/drivers/gpu/drm/drm_atomic_helper.c
+++ b/drivers/gpu/drm/drm_atomic_helper.c
@@ -1130,7 +1130,7 @@ int drm_atomic_helper_check(struct drm_device *dev,
 		return ret;
 
 	if (state->legacy_cursor_update)
-		state->async_update = !drm_atomic_helper_async_check(dev, state);
+		state->bypass_update = !drm_atomic_helper_bypass_check(dev, state);
 
 	drm_self_refresh_helper_alter_state(state);
 
@@ -2099,7 +2099,7 @@ static void commit_work(struct work_struct *work)
 }
 
 /**
- * drm_atomic_helper_async_check - check if state can be committed asynchronously
+ * drm_atomic_helper_bypass_check - check if state can be committed bypassing the normal commit tracking
  * @dev: DRM device
  * @state: the driver state object
  *
@@ -2111,7 +2111,7 @@ static void commit_work(struct work_struct *work)
  * if not. Note that error just mean it can't be committed asynchronously, if it
  * fails the commit should be treated like a normal synchronous commit.
  */
-int drm_atomic_helper_async_check(struct drm_device *dev,
+int drm_atomic_helper_bypass_check(struct drm_device *dev,
 				   struct drm_atomic_commit *state)
 {
 	struct drm_crtc *crtc;
@@ -2146,56 +2146,56 @@ int drm_atomic_helper_async_check(struct drm_device *dev,
 	}
 
 	funcs = plane->helper_private;
-	if (!funcs->atomic_async_update) {
+	if (!funcs->atomic_bypass_update) {
 		drm_dbg_atomic(dev,
-			       "[PLANE:%d:%s] driver does not support async updates\n",
+			       "[PLANE:%d:%s] driver does not support bypass updates\n",
 			       plane->base.id, plane->name);
 		return -EINVAL;
 	}
 
 	if (new_plane_state->fence) {
 		drm_dbg_atomic(dev,
-			       "[PLANE:%d:%s] missing fence for async update\n",
+			       "[PLANE:%d:%s] missing fence for bypass update\n",
 			       plane->base.id, plane->name);
 		return -EINVAL;
 	}
 
 	/*
 	 * Don't do an async update if there is an outstanding commit modifying
-	 * the plane.  This prevents our async update's changes from getting
-	 * overridden by a previous synchronous update's state.
+	 * the plane.  This prevents our bypass update's changes from getting
+	 * overridden by a previous normal update's state.
 	 */
 	if (old_plane_state->commit &&
 	    !try_wait_for_completion(&old_plane_state->commit->hw_done)) {
 		drm_dbg_atomic(dev,
-			       "[PLANE:%d:%s] inflight previous commit preventing async commit\n",
+			       "[PLANE:%d:%s] inflight previous commit preventing bypass commit\n",
 			       plane->base.id, plane->name);
 		return -EBUSY;
 	}
 
-	ret = funcs->atomic_async_check(plane, state, false);
+	ret = funcs->atomic_bypass_check(plane, state, false);
 	if (ret != 0)
 		drm_dbg_atomic(dev,
-			       "[PLANE:%d:%s] driver async check failed\n",
+			       "[PLANE:%d:%s] driver bypass check failed\n",
 			       plane->base.id, plane->name);
 	return ret;
 }
-EXPORT_SYMBOL(drm_atomic_helper_async_check);
+EXPORT_SYMBOL(drm_atomic_helper_bypass_check);
 
 /**
- * drm_atomic_helper_async_commit - commit state asynchronously
+ * drm_atomic_helper_bypass_commit - commit state asynchronously bypassing normal commit tracking
  * @dev: DRM device
  * @state: the driver state object
  *
- * This function commits a state asynchronously. It should be used on a state
- * only when drm_atomic_async_check() succeeds. Async commits are not supposed
- * to swap the states like normal sync commits, but just do in-place changes
- * on the current state.
+ * This function commits a state asynchronously bypassing the normal commit
+ * tracking. It should be used on a state only when drm_atomic_bypass_check()
+ * succeeds. Bypass commits are not supposed to swap the states like normal
+ * commits, but just do in-place changes on the current state.
  *
  * TODO: Implement full swap instead of doing in-place changes.
  */
-void drm_atomic_helper_async_commit(struct drm_device *dev,
-				    struct drm_atomic_commit *state)
+void drm_atomic_helper_bypass_commit(struct drm_device *dev,
+				     struct drm_atomic_commit *state)
 {
 	struct drm_plane *plane;
 	struct drm_plane_state *plane_state;
@@ -2207,10 +2207,10 @@ void drm_atomic_helper_async_commit(struct drm_device *dev,
 		struct drm_framebuffer *old_fb = plane->state->fb;
 
 		funcs = plane->helper_private;
-		funcs->atomic_async_update(plane, state);
+		funcs->atomic_bypass_update(plane, state);
 
 		/*
-		 * ->atomic_async_update() is supposed to update the
+		 * ->atomic_bypass_update() is supposed to update the
 		 * plane->state in-place, make sure at least common
 		 * properties have been properly updated.
 		 */
@@ -2227,7 +2227,7 @@ void drm_atomic_helper_async_commit(struct drm_device *dev,
 		WARN_ON_ONCE(plane_state->fb != old_fb);
 	}
 }
-EXPORT_SYMBOL(drm_atomic_helper_async_commit);
+EXPORT_SYMBOL(drm_atomic_helper_bypass_commit);
 
 /**
  * drm_atomic_helper_commit - commit validated state object
@@ -2253,12 +2253,12 @@ int drm_atomic_helper_commit(struct drm_device *dev,
 {
 	int ret;
 
-	if (state->async_update) {
+	if (state->bypass_update) {
 		ret = drm_atomic_helper_prepare_planes(dev, state);
 		if (ret)
 			return ret;
 
-		drm_atomic_helper_async_commit(dev, state);
+		drm_atomic_helper_bypass_commit(dev, state);
 		drm_atomic_helper_unprepare_planes(dev, state);
 
 		return 0;
diff --git a/drivers/gpu/drm/drm_atomic_uapi.c b/drivers/gpu/drm/drm_atomic_uapi.c
index 1eebcf6f5e05..04fcaa72c46f 100644
--- a/drivers/gpu/drm/drm_atomic_uapi.c
+++ b/drivers/gpu/drm/drm_atomic_uapi.c
@@ -1292,8 +1292,8 @@ int drm_atomic_set_property(struct drm_atomic_commit *state,
 
 			if (ret && plane->type != DRM_PLANE_TYPE_PRIMARY) {
 				/* ask the driver if this non-primary plane is supported */
-				if (plane_funcs && plane_funcs->atomic_async_check)
-					ret = plane_funcs->atomic_async_check(plane, state, true);
+				if (plane_funcs && plane_funcs->atomic_bypass_check)
+					ret = plane_funcs->atomic_bypass_check(plane, state, true);
 
 				if (ret) {
 					drm_dbg_atomic(prop->dev,
diff --git a/drivers/gpu/drm/drm_self_refresh_helper.c b/drivers/gpu/drm/drm_self_refresh_helper.c
index 37ec7fb00f03..9cc7f0526df5 100644
--- a/drivers/gpu/drm/drm_self_refresh_helper.c
+++ b/drivers/gpu/drm/drm_self_refresh_helper.c
@@ -191,10 +191,10 @@ void drm_self_refresh_helper_alter_state(struct drm_atomic_commit *state)
 	struct drm_crtc_state *crtc_state;
 	int i;
 
-	if (state->async_update || !state->allow_modeset) {
+	if (state->bypass_update || !state->allow_modeset) {
 		for_each_old_crtc_in_state(state, crtc, crtc_state, i) {
 			if (crtc_state->self_refresh_active) {
-				state->async_update = false;
+				state->bypass_update = false;
 				state->allow_modeset = true;
 				break;
 			}
diff --git a/drivers/gpu/drm/loongson/lsdc_plane.c b/drivers/gpu/drm/loongson/lsdc_plane.c
index c425288ba490..59f85072273a 100644
--- a/drivers/gpu/drm/loongson/lsdc_plane.c
+++ b/drivers/gpu/drm/loongson/lsdc_plane.c
@@ -172,9 +172,9 @@ static const struct drm_plane_helper_funcs lsdc_primary_helper_funcs = {
 	.atomic_disable = lsdc_primary_atomic_disable,
 };
 
-static int lsdc_cursor_plane_atomic_async_check(struct drm_plane *plane,
-						struct drm_atomic_commit *state,
-						bool flip)
+static int lsdc_cursor_plane_atomic_bypass_check(struct drm_plane *plane,
+						 struct drm_atomic_commit *state,
+						 bool flip)
 {
 	struct drm_plane_state *new_state;
 	struct drm_crtc_state *crtc_state;
@@ -219,8 +219,8 @@ static int lsdc_cursor_plane_atomic_async_check(struct drm_plane *plane,
 						   true, true);
 }
 
-static void lsdc_cursor_plane_atomic_async_update(struct drm_plane *plane,
-						  struct drm_atomic_commit *state)
+static void lsdc_cursor_plane_atomic_bypass_update(struct drm_plane *plane,
+						   struct drm_atomic_commit *state)
 {
 	struct lsdc_cursor *cursor = to_lsdc_cursor(plane);
 	const struct lsdc_cursor_plane_ops *ops = cursor->ops;
@@ -335,8 +335,8 @@ static const struct drm_plane_helper_funcs ls7a1000_cursor_plane_helper_funcs =
 	.atomic_check = ls7a1000_cursor_plane_atomic_check,
 	.atomic_update = ls7a1000_cursor_plane_atomic_update,
 	.atomic_disable = ls7a1000_cursor_plane_atomic_disable,
-	.atomic_async_check = lsdc_cursor_plane_atomic_async_check,
-	.atomic_async_update = lsdc_cursor_plane_atomic_async_update,
+	.atomic_bypass_check = lsdc_cursor_plane_atomic_bypass_check,
+	.atomic_bypass_update = lsdc_cursor_plane_atomic_bypass_update,
 };
 
 /* ls7a2000 cursor plane helpers */
@@ -431,8 +431,8 @@ static const struct drm_plane_helper_funcs ls7a2000_cursor_plane_helper_funcs =
 	.atomic_check = ls7a2000_cursor_plane_atomic_check,
 	.atomic_update = ls7a2000_cursor_plane_atomic_update,
 	.atomic_disable = ls7a2000_cursor_plane_atomic_disable,
-	.atomic_async_check = lsdc_cursor_plane_atomic_async_check,
-	.atomic_async_update = lsdc_cursor_plane_atomic_async_update,
+	.atomic_bypass_check = lsdc_cursor_plane_atomic_bypass_check,
+	.atomic_bypass_update = lsdc_cursor_plane_atomic_bypass_update,
 };
 
 static void lsdc_plane_atomic_print_state(struct drm_printer *p,
diff --git a/drivers/gpu/drm/mediatek/mtk_plane.c b/drivers/gpu/drm/mediatek/mtk_plane.c
index 3fad7f2ff004..18d22ab35184 100644
--- a/drivers/gpu/drm/mediatek/mtk_plane.c
+++ b/drivers/gpu/drm/mediatek/mtk_plane.c
@@ -74,8 +74,8 @@ static void mtk_plane_destroy_state(struct drm_plane *plane,
 	kfree(to_mtk_plane_state(state));
 }
 
-static int mtk_plane_atomic_async_check(struct drm_plane *plane,
-					struct drm_atomic_commit *state, bool flip)
+static int mtk_plane_atomic_bypass_check(struct drm_plane *plane,
+					 struct drm_atomic_commit *state, bool flip)
 {
 	struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state,
 										 plane);
@@ -187,8 +187,8 @@ static void mtk_plane_update_new_state(struct drm_plane_state *new_state,
 	mtk_plane_state->pending.color_encoding = new_state->color_encoding;
 }
 
-static void mtk_plane_atomic_async_update(struct drm_plane *plane,
-					  struct drm_atomic_commit *state)
+static void mtk_plane_atomic_bypass_update(struct drm_plane *plane,
+					   struct drm_atomic_commit *state)
 {
 	struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state,
 									   plane);
@@ -295,8 +295,8 @@ static const struct drm_plane_helper_funcs mtk_plane_helper_funcs = {
 	.atomic_check = mtk_plane_atomic_check,
 	.atomic_update = mtk_plane_atomic_update,
 	.atomic_disable = mtk_plane_atomic_disable,
-	.atomic_async_update = mtk_plane_atomic_async_update,
-	.atomic_async_check = mtk_plane_atomic_async_check,
+	.atomic_bypass_update = mtk_plane_atomic_bypass_update,
+	.atomic_bypass_check = mtk_plane_atomic_bypass_check,
 };
 
 int mtk_plane_init(struct drm_device *dev, struct drm_plane *plane,
diff --git a/drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c b/drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c
index 7e878c698247..55ef62999484 100644
--- a/drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c
+++ b/drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c
@@ -358,8 +358,8 @@ static void mdp5_plane_atomic_update(struct drm_plane *plane,
 	}
 }
 
-static int mdp5_plane_atomic_async_check(struct drm_plane *plane,
-					 struct drm_atomic_commit *state, bool flip)
+static int mdp5_plane_atomic_bypass_check(struct drm_plane *plane,
+					  struct drm_atomic_commit *state, bool flip)
 {
 	struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state,
 										 plane);
@@ -412,8 +412,8 @@ static int mdp5_plane_atomic_async_check(struct drm_plane *plane,
 	return 0;
 }
 
-static void mdp5_plane_atomic_async_update(struct drm_plane *plane,
-					   struct drm_atomic_commit *state)
+static void mdp5_plane_atomic_bypass_update(struct drm_plane *plane,
+					    struct drm_atomic_commit *state)
 {
 	struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state,
 									   plane);
@@ -450,8 +450,8 @@ static const struct drm_plane_helper_funcs mdp5_plane_helper_funcs = {
 		.cleanup_fb = mdp5_plane_cleanup_fb,
 		.atomic_check = mdp5_plane_atomic_check,
 		.atomic_update = mdp5_plane_atomic_update,
-		.atomic_async_check = mdp5_plane_atomic_async_check,
-		.atomic_async_update = mdp5_plane_atomic_async_update,
+		.atomic_bypass_check = mdp5_plane_atomic_bypass_check,
+		.atomic_bypass_update = mdp5_plane_atomic_bypass_update,
 };
 
 static void set_scanout_locked(struct mdp5_kms *mdp5_kms,
diff --git a/drivers/gpu/drm/msm/msm_atomic.c b/drivers/gpu/drm/msm/msm_atomic.c
index a8babf1dbe0d..030f479b2246 100644
--- a/drivers/gpu/drm/msm/msm_atomic.c
+++ b/drivers/gpu/drm/msm/msm_atomic.c
@@ -145,7 +145,7 @@ static bool can_do_async(struct drm_atomic_commit *state,
 	struct drm_crtc *crtc;
 	int i, num_crtcs = 0;
 
-	if (!(state->legacy_cursor_update || state->async_update))
+	if (!(state->legacy_cursor_update || state->bypass_update))
 		return false;
 
 	/* any connector change, means slow path: */
diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c b/drivers/gpu/drm/rockchip/rockchip_drm_vop.c
index 69e72727da24..dd768f9c8934 100644
--- a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c
+++ b/drivers/gpu/drm/rockchip/rockchip_drm_vop.c
@@ -1070,8 +1070,8 @@ static void vop_plane_atomic_update(struct drm_plane *plane,
 	spin_unlock(&vop->reg_lock);
 }
 
-static int vop_plane_atomic_async_check(struct drm_plane *plane,
-					struct drm_atomic_commit *state, bool flip)
+static int vop_plane_atomic_bypass_check(struct drm_plane *plane,
+					 struct drm_atomic_commit *state, bool flip)
 {
 	struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state,
 										 plane);
@@ -1104,8 +1104,8 @@ static int vop_plane_atomic_async_check(struct drm_plane *plane,
 						   true, true);
 }
 
-static void vop_plane_atomic_async_update(struct drm_plane *plane,
-					  struct drm_atomic_commit *state)
+static void vop_plane_atomic_bypass_update(struct drm_plane *plane,
+					   struct drm_atomic_commit *state)
 {
 	struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state,
 									   plane);
@@ -1149,8 +1149,8 @@ static const struct drm_plane_helper_funcs plane_helper_funcs = {
 	.atomic_check = vop_plane_atomic_check,
 	.atomic_update = vop_plane_atomic_update,
 	.atomic_disable = vop_plane_atomic_disable,
-	.atomic_async_check = vop_plane_atomic_async_check,
-	.atomic_async_update = vop_plane_atomic_async_update,
+	.atomic_bypass_check = vop_plane_atomic_bypass_check,
+	.atomic_bypass_update = vop_plane_atomic_bypass_update,
 };
 
 static const struct drm_plane_funcs vop_plane_funcs = {
diff --git a/drivers/gpu/drm/tegra/dc.c b/drivers/gpu/drm/tegra/dc.c
index c9df14544ced..9cd6399b85bb 100644
--- a/drivers/gpu/drm/tegra/dc.c
+++ b/drivers/gpu/drm/tegra/dc.c
@@ -1127,8 +1127,8 @@ static void tegra_cursor_atomic_disable(struct drm_plane *plane,
 	tegra_dc_writel(dc, value, DC_DISP_DISP_WIN_OPTIONS);
 }
 
-static int tegra_cursor_atomic_async_check(struct drm_plane *plane, struct drm_atomic_commit *state,
-					   bool flip)
+static int tegra_cursor_atomic_bypass_check(struct drm_plane *plane, struct drm_atomic_commit *state,
+					    bool flip)
 {
 	struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, plane);
 	struct drm_crtc_state *crtc_state;
@@ -1165,8 +1165,8 @@ static int tegra_cursor_atomic_async_check(struct drm_plane *plane, struct drm_a
 	return 0;
 }
 
-static void tegra_cursor_atomic_async_update(struct drm_plane *plane,
-					     struct drm_atomic_commit *state)
+static void tegra_cursor_atomic_bypass_update(struct drm_plane *plane,
+					      struct drm_atomic_commit *state)
 {
 	struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, plane);
 	struct tegra_dc *dc = to_tegra_dc(new_state->crtc);
@@ -1198,8 +1198,8 @@ static const struct drm_plane_helper_funcs tegra_cursor_plane_helper_funcs = {
 	.atomic_check = tegra_cursor_atomic_check,
 	.atomic_update = tegra_cursor_atomic_update,
 	.atomic_disable = tegra_cursor_atomic_disable,
-	.atomic_async_check = tegra_cursor_atomic_async_check,
-	.atomic_async_update = tegra_cursor_atomic_async_update,
+	.atomic_bypass_check = tegra_cursor_atomic_bypass_check,
+	.atomic_bypass_update = tegra_cursor_atomic_bypass_update,
 };
 
 static const uint64_t linear_modifiers[] = {
diff --git a/drivers/gpu/drm/vc4/vc4_plane.c b/drivers/gpu/drm/vc4/vc4_plane.c
index 20c9fc9283a8..c90b9921a617 100644
--- a/drivers/gpu/drm/vc4/vc4_plane.c
+++ b/drivers/gpu/drm/vc4/vc4_plane.c
@@ -2257,8 +2257,8 @@ void vc4_plane_async_set_fb(struct drm_plane *plane, struct drm_framebuffer *fb)
 	drm_dev_exit(idx);
 }
 
-static void vc4_plane_atomic_async_update(struct drm_plane *plane,
-					  struct drm_atomic_commit *state)
+static void vc4_plane_atomic_bypass_update(struct drm_plane *plane,
+					   struct drm_atomic_commit *state)
 {
 	struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state,
 										 plane);
@@ -2331,8 +2331,8 @@ static void vc4_plane_atomic_async_update(struct drm_plane *plane,
 	drm_dev_exit(idx);
 }
 
-static int vc4_plane_atomic_async_check(struct drm_plane *plane,
-					struct drm_atomic_commit *state, bool flip)
+static int vc4_plane_atomic_bypass_check(struct drm_plane *plane,
+					 struct drm_atomic_commit *state, bool flip)
 {
 	struct vc4_dev *vc4 = to_vc4_dev(plane->dev);
 	struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state,
@@ -2414,15 +2414,15 @@ static const struct drm_plane_helper_funcs vc4_plane_helper_funcs = {
 	.atomic_update = vc4_plane_atomic_update,
 	.prepare_fb = vc4_prepare_fb,
 	.cleanup_fb = vc4_cleanup_fb,
-	.atomic_async_check = vc4_plane_atomic_async_check,
-	.atomic_async_update = vc4_plane_atomic_async_update,
+	.atomic_bypass_check = vc4_plane_atomic_bypass_check,
+	.atomic_bypass_update = vc4_plane_atomic_bypass_update,
 };
 
 static const struct drm_plane_helper_funcs vc5_plane_helper_funcs = {
 	.atomic_check = vc4_plane_atomic_check,
 	.atomic_update = vc4_plane_atomic_update,
-	.atomic_async_check = vc4_plane_atomic_async_check,
-	.atomic_async_update = vc4_plane_atomic_async_update,
+	.atomic_bypass_check = vc4_plane_atomic_bypass_check,
+	.atomic_bypass_update = vc4_plane_atomic_bypass_update,
 };
 
 static bool vc4_format_mod_supported(struct drm_plane *plane,
diff --git a/include/drm/drm_atomic.h b/include/drm/drm_atomic.h
index 3ae35b09c0cf..f60a77ad9b9b 100644
--- a/include/drm/drm_atomic.h
+++ b/include/drm/drm_atomic.h
@@ -551,9 +551,9 @@ struct drm_atomic_commit {
 	bool legacy_cursor_update : 1;
 
 	/**
-	 * @async_update: hint for asynchronous plane update
+	 * @bypass_update: hint for bypass plane update
 	 */
-	bool async_update : 1;
+	bool bypass_update : 1;
 
 	/**
 	 * @duplicated:
diff --git a/include/drm/drm_atomic_helper.h b/include/drm/drm_atomic_helper.h
index 4cfeec70d648..278560760e6e 100644
--- a/include/drm/drm_atomic_helper.h
+++ b/include/drm/drm_atomic_helper.h
@@ -73,10 +73,10 @@ void drm_atomic_helper_commit_tail_rpm(struct drm_atomic_commit *state);
 int drm_atomic_helper_commit(struct drm_device *dev,
 			     struct drm_atomic_commit *state,
 			     bool nonblock);
-int drm_atomic_helper_async_check(struct drm_device *dev,
-				  struct drm_atomic_commit *state);
-void drm_atomic_helper_async_commit(struct drm_device *dev,
-				    struct drm_atomic_commit *state);
+int drm_atomic_helper_bypass_check(struct drm_device *dev,
+				   struct drm_atomic_commit *state);
+void drm_atomic_helper_bypass_commit(struct drm_device *dev,
+				     struct drm_atomic_commit *state);
 
 int drm_atomic_helper_wait_for_fences(struct drm_device *dev,
 					struct drm_atomic_commit *state,
diff --git a/include/drm/drm_modeset_helper_vtables.h b/include/drm/drm_modeset_helper_vtables.h
index c2431c08a60a..cc511068f53a 100644
--- a/include/drm/drm_modeset_helper_vtables.h
+++ b/include/drm/drm_modeset_helper_vtables.h
@@ -1237,7 +1237,7 @@ struct drm_plane_helper_funcs {
 	 * VRAM. Other possible preparatory work includes flushing caches.
 	 *
 	 * This function must not block for outstanding rendering, since it is
-	 * called in the context of the atomic IOCTL even for async commits to
+	 * called in the context of the atomic IOCTL even for bypass commits to
 	 * be able to return any errors to userspace. Instead the recommended
 	 * way is to fill out the &drm_plane_state.fence of the passed-in
 	 * &drm_plane_state. If the driver doesn't support native fences then
@@ -1421,14 +1421,14 @@ struct drm_plane_helper_funcs {
 			       struct drm_atomic_commit *state);
 
 	/**
-	 * @atomic_async_check:
+	 * @atomic_bypass_check:
 	 *
 	 * Drivers should set this function pointer to check if the plane's
-	 * atomic state can be updated in a async fashion.
+	 * atomic state can be updated in a bypass fashion.
 	 *
-	 * This hook is called by drm_atomic_async_check() to establish if a
-	 * given update can be committed asynchronously, that is, if it can
-	 * jump ahead of the state currently queued for update.
+	 * This hook is called by drm_atomic_bypass_check() to establish if a
+	 * given update can be committed bypassing the atomic commit machinery.
+	 * That is, if it can jump ahead of the state currently queued for update.
 	 *
 	 * This function is also used by drm_atomic_set_property() to determine
 	 * if the plane can be flipped in async. The flip flag is used to
@@ -1438,35 +1438,35 @@ struct drm_plane_helper_funcs {
 	 * RETURNS:
 	 *
 	 * Return 0 on success and any error returned indicates that the update
-	 * can not be applied in asynchronous manner.
+	 * can not be applied bypassing the normal machinery.
 	 */
-	int (*atomic_async_check)(struct drm_plane *plane,
-				  struct drm_atomic_commit *state, bool flip);
+	int (*atomic_bypass_check)(struct drm_plane *plane,
+				   struct drm_atomic_commit *state, bool flip);
 
 	/**
-	 * @atomic_async_update:
+	 * @atomic_bypass_update:
 	 *
 	 * Drivers should set this function pointer to perform asynchronous
-	 * updates of planes, that is, jump ahead of the currently queued
-	 * state and update the plane.
+	 * updates of planes, bypassing the commit machinery. That is, jump
+	 * ahead of the currently queued state and update the plane.
 	 *
-	 * This hook is called by drm_atomic_helper_async_commit().
+	 * This hook is called by drm_atomic_helper_bypass_commit().
 	 *
-	 * An async update will happen on legacy cursor updates. An async
+	 * A bypass update will happen on legacy cursor updates. A bypass
 	 * update won't happen if there is an outstanding commit modifying
 	 * the same plane.
 	 *
-	 * When doing async_update drivers shouldn't replace the
+	 * When doing bypass_update drivers shouldn't replace the
 	 * &drm_plane_state but update the current one with the new plane
 	 * configurations in the new plane_state.
 	 *
 	 * Drivers should also swap the framebuffers between current plane
 	 * state (&drm_plane.state) and new_state.
-	 * This is required since cleanup for async commits is performed on
+	 * This is required since cleanup for bypass commits is performed on
 	 * the new state, rather than old state like for traditional commits.
 	 * Since we want to give up the reference on the current (old) fb
 	 * instead of our brand new one, swap them in the driver during the
-	 * async commit.
+	 * bypass commit.
 	 *
 	 * FIXME:
 	 *  - It only works for single plane updates
@@ -1476,8 +1476,8 @@ struct drm_plane_helper_funcs {
 	 *    we run this hook. For now drivers must implement their own workers
 	 *    for deferring if needed, until a common solution is created.
 	 */
-	void (*atomic_async_update)(struct drm_plane *plane,
-				    struct drm_atomic_commit *state);
+	void (*atomic_bypass_update)(struct drm_plane *plane,
+				     struct drm_atomic_commit *state);
 
 	/**
 	 * @get_scanout_buffer:
-- 
2.56.0


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

* [PATCH 03/12] drm/atomic: Add FIXMEs around the incorrect use of the .atomic_bypass_check() for async flips
  2026-11-16  9:11 [PATCH 00/12] drm/atomic: Try to make atomic+async usable, and clear up the "async update" helper confusion Ville Syrjala
  2026-11-16  9:11 ` [PATCH 01/12] drm/atomic: Remove tall tales about tearing vs. "async updates" Ville Syrjala
  2026-11-16  9:11 ` [PATCH 02/12] drm/atomic: s/async/bypass/ Ville Syrjala
@ 2026-11-16  9:11 ` Ville Syrjala
  2026-11-16  9:11 ` [PATCH 04/12] drm/atomic: Highlight that bypass commits need care Ville Syrjala
                   ` (12 subsequent siblings)
  15 siblings, 0 replies; 22+ messages in thread
From: Ville Syrjala @ 2026-11-16  9:11 UTC (permalink / raw)
  To: dri-devel
  Cc: intel-gfx, intel-xe, Erwin Springer, amd-gfx, André Almeida,
	Boris Brezillon, Christopher Snowhill, Dave Stevenson,
	Dharma Balasubiramani, Dmitry Baryshkov, freedreno,
	Gustavo Padovan, Huacai Chen, Icenowy Zheng, Jianmin Lv,
	linux-arm-msm, linux-mediatek, linux-rockchip, linux-tegra,
	Liviu Dudau, Maíra Canal, Manikandan Muralidharan,
	Maxime Ripard, Mingcong Bai, nouveau, Qianhai Wu,
	Raspberry Pi Kernel Maintenance, Simon Ser, wayland-devel,
	Xaver Hugl, Xi Ruoyao

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

The "bypass update" stuff has nothing to do with async vs.
sync updates as far as the hardware is concerned (as in
tearing vs. not). What it does is bypass the normal commit
machinery and just let the driver directly perform the
update (as it sees fit) and swap the plane state without
involving the whole crtc commit machinery.

The actual hardware update it does could be an async flip
(as in tearing) or a mailbox flip, depending on how the
driver decides to do it.

The use of bypass updates vs. not is a driver decision, and
the high level atomic code should not be making incorrect
assumptions about it. Toss in some FIXMEs in the hopes
that people will relocate this stuff to a more appropriate
place.

Cc: amd-gfx@lists.freedesktop.org
Cc: André Almeida <andrealmeid@igalia.com>
Cc: Boris Brezillon <bbrezillon@kernel.org>
Cc: Christopher Snowhill <chris@kode54.net>
Cc: Dave Stevenson <dave.stevenson@raspberrypi.com>
Cc: Dharma Balasubiramani <dharma.b@microchip.com>
Cc: Dmitry Baryshkov <lumag@kernel.org>
Cc: freedreno@lists.freedesktop.org
Cc: Gustavo Padovan <gustavo.padovan@collabora.com>
Cc: Huacai Chen <chenhuacai@kernel.org>
Cc: Icenowy Zheng <zhengxingda@iscas.ac.cn>
Cc: intel-gfx@lists.freedesktop.org
Cc: intel-xe@lists.freedesktop.org
Cc: Jianmin Lv <lvjianmin@loongson.cn>
Cc: linux-arm-msm@vger.kernel.org
Cc: linux-mediatek@lists.infradead.org
Cc: linux-rockchip@lists.infradead.org
Cc: linux-tegra@vger.kernel.org
Cc: Liviu Dudau <liviu.dudau@arm.com>
Cc: Maíra Canal <mcanal@igalia.com>
Cc: Manikandan Muralidharan <manikandan.m@microchip.com>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: Mingcong Bai <jeffbai@aosc.io>
Cc: nouveau@lists.freedesktop.org
Cc: Qianhai Wu <wuqianhai@loongson.cn>
Cc: Raspberry Pi Kernel Maintenance <kernel-list@raspberrypi.com>
Cc: Simon Ser <contact@emersion.fr>
Cc: wayland-devel@lists.freedesktop.org
Cc: Xaver Hugl <xaver.hugl@kde.org>
Cc: Xi Ruoyao <xry111@xry111.site>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
 drivers/gpu/drm/drm_atomic_uapi.c        | 6 ++++++
 include/drm/drm_modeset_helper_vtables.h | 4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/drm_atomic_uapi.c b/drivers/gpu/drm/drm_atomic_uapi.c
index 04fcaa72c46f..eb002799497c 100644
--- a/drivers/gpu/drm/drm_atomic_uapi.c
+++ b/drivers/gpu/drm/drm_atomic_uapi.c
@@ -1290,6 +1290,12 @@ int drm_atomic_set_property(struct drm_atomic_commit *state,
 				break;
 			}
 
+			/*
+			 * FIXME this is in the wrong place. Whether to do a
+			 * bypass commit for async flips would is a driver
+			 * decision. Drivers that want this need to just do
+			 * these checks themselves somewhere.
+			 */
 			if (ret && plane->type != DRM_PLANE_TYPE_PRIMARY) {
 				/* ask the driver if this non-primary plane is supported */
 				if (plane_funcs && plane_funcs->atomic_bypass_check)
diff --git a/include/drm/drm_modeset_helper_vtables.h b/include/drm/drm_modeset_helper_vtables.h
index cc511068f53a..d28d8ffc66b4 100644
--- a/include/drm/drm_modeset_helper_vtables.h
+++ b/include/drm/drm_modeset_helper_vtables.h
@@ -1430,10 +1430,10 @@ struct drm_plane_helper_funcs {
 	 * given update can be committed bypassing the atomic commit machinery.
 	 * That is, if it can jump ahead of the state currently queued for update.
 	 *
-	 * This function is also used by drm_atomic_set_property() to determine
+	 * This function is also abused by drm_atomic_set_property() to determine
 	 * if the plane can be flipped in async. The flip flag is used to
 	 * distinguish if the function is used for just the plane state or for a
-	 * flip.
+	 * flip. FIXME this is wrong, and needs to be moved into the drivers.
 	 *
 	 * RETURNS:
 	 *
-- 
2.56.0


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

* [PATCH 04/12] drm/atomic: Highlight that bypass commits need care
  2026-11-16  9:11 [PATCH 00/12] drm/atomic: Try to make atomic+async usable, and clear up the "async update" helper confusion Ville Syrjala
                   ` (2 preceding siblings ...)
  2026-11-16  9:11 ` [PATCH 03/12] drm/atomic: Add FIXMEs around the incorrect use of the .atomic_bypass_check() for async flips Ville Syrjala
@ 2026-11-16  9:11 ` Ville Syrjala
  2026-11-16  9:11 ` [PATCH 05/12] drm/atomic/uapi: Eliminate the confusing drm_atomic_check_prop_changes() Ville Syrjala
                   ` (11 subsequent siblings)
  15 siblings, 0 replies; 22+ messages in thread
From: Ville Syrjala @ 2026-11-16  9:11 UTC (permalink / raw)
  To: dri-devel
  Cc: intel-gfx, intel-xe, Erwin Springer, amd-gfx, André Almeida,
	Boris Brezillon, Christopher Snowhill, Dave Stevenson,
	Dharma Balasubiramani, Dmitry Baryshkov, freedreno,
	Gustavo Padovan, Huacai Chen, Icenowy Zheng, Jianmin Lv,
	linux-arm-msm, linux-mediatek, linux-rockchip, linux-tegra,
	Liviu Dudau, Maíra Canal, Manikandan Muralidharan,
	Maxime Ripard, Mingcong Bai, nouveau, Qianhai Wu,
	Raspberry Pi Kernel Maintenance, Simon Ser, wayland-devel,
	Xaver Hugl, Xi Ruoyao

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

Document the fact that implementing bypass commits
need actual care and attention to make sure the
effective commit reordering is actually safe.

Cc: amd-gfx@lists.freedesktop.org
Cc: André Almeida <andrealmeid@igalia.com>
Cc: Boris Brezillon <bbrezillon@kernel.org>
Cc: Christopher Snowhill <chris@kode54.net>
Cc: Dave Stevenson <dave.stevenson@raspberrypi.com>
Cc: Dharma Balasubiramani <dharma.b@microchip.com>
Cc: Dmitry Baryshkov <lumag@kernel.org>
Cc: freedreno@lists.freedesktop.org
Cc: Gustavo Padovan <gustavo.padovan@collabora.com>
Cc: Huacai Chen <chenhuacai@kernel.org>
Cc: Icenowy Zheng <zhengxingda@iscas.ac.cn>
Cc: intel-gfx@lists.freedesktop.org
Cc: intel-xe@lists.freedesktop.org
Cc: Jianmin Lv <lvjianmin@loongson.cn>
Cc: linux-arm-msm@vger.kernel.org
Cc: linux-mediatek@lists.infradead.org
Cc: linux-rockchip@lists.infradead.org
Cc: linux-tegra@vger.kernel.org
Cc: Liviu Dudau <liviu.dudau@arm.com>
Cc: Maíra Canal <mcanal@igalia.com>
Cc: Manikandan Muralidharan <manikandan.m@microchip.com>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: Mingcong Bai <jeffbai@aosc.io>
Cc: nouveau@lists.freedesktop.org
Cc: Qianhai Wu <wuqianhai@loongson.cn>
Cc: Raspberry Pi Kernel Maintenance <kernel-list@raspberrypi.com>
Cc: Simon Ser <contact@emersion.fr>
Cc: wayland-devel@lists.freedesktop.org
Cc: Xaver Hugl <xaver.hugl@kde.org>
Cc: Xi Ruoyao <xry111@xry111.site>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
 include/drm/drm_modeset_helper_vtables.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/include/drm/drm_modeset_helper_vtables.h b/include/drm/drm_modeset_helper_vtables.h
index d28d8ffc66b4..1036744b9922 100644
--- a/include/drm/drm_modeset_helper_vtables.h
+++ b/include/drm/drm_modeset_helper_vtables.h
@@ -1430,6 +1430,12 @@ struct drm_plane_helper_funcs {
 	 * given update can be committed bypassing the atomic commit machinery.
 	 * That is, if it can jump ahead of the state currently queued for update.
 	 *
+	 * Extreme care is needed to make this safe as the already queued commits
+	 * will not be aware of the bypass commit that overtook them. And the
+	 * state that the bypass commit will observe is the final already queued
+	 * state, not the current state at the point when the bypass commit
+	 * will actually execute.
+	 *
 	 * This function is also abused by drm_atomic_set_property() to determine
 	 * if the plane can be flipped in async. The flip flag is used to
 	 * distinguish if the function is used for just the plane state or for a
-- 
2.56.0


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

* [PATCH 05/12] drm/atomic/uapi: Eliminate the confusing drm_atomic_check_prop_changes()
  2026-11-16  9:11 [PATCH 00/12] drm/atomic: Try to make atomic+async usable, and clear up the "async update" helper confusion Ville Syrjala
                   ` (3 preceding siblings ...)
  2026-11-16  9:11 ` [PATCH 04/12] drm/atomic: Highlight that bypass commits need care Ville Syrjala
@ 2026-11-16  9:11 ` Ville Syrjala
  2026-11-16  9:11 ` [PATCH 06/12] drm/atomic/uapi: Improve the async flip property rejection debugs Ville Syrjala
                   ` (10 subsequent siblings)
  15 siblings, 0 replies; 22+ messages in thread
From: Ville Syrjala @ 2026-11-16  9:11 UTC (permalink / raw)
  To: dri-devel
  Cc: intel-gfx, intel-xe, Erwin Springer, amd-gfx, André Almeida,
	Boris Brezillon, Christopher Snowhill, Dave Stevenson,
	Dharma Balasubiramani, Dmitry Baryshkov, freedreno,
	Gustavo Padovan, Huacai Chen, Icenowy Zheng, Jianmin Lv,
	linux-arm-msm, linux-mediatek, linux-rockchip, linux-tegra,
	Liviu Dudau, Maíra Canal, Manikandan Muralidharan,
	Maxime Ripard, Mingcong Bai, nouveau, Qianhai Wu,
	Raspberry Pi Kernel Maintenance, Simon Ser, wayland-devel,
	Xaver Hugl, Xi Ruoyao

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

drm_atomic_check_prop_changes() is a very confusing for
many reasons:
- the 'ret' propagation through it is completely non-obvious
- for planes it prints the debug message about rejecting the
  update before we actually decide whether the update needs
  to be rejected or not
- the debug message is also printed if the property doesn't
  exist, which is confusing
- the debug message lacks the KMS object type/ID/name,
  which could be helpful during debugging

Just get rid of the whole drm_atomic_check_prop_changes() and
do things by hand.

Also remove the debug message for the case where the property
doesn't exist as drm_atomic_*_get_property() will already print
its own debug message in that situation.

Cc: amd-gfx@lists.freedesktop.org
Cc: André Almeida <andrealmeid@igalia.com>
Cc: Boris Brezillon <bbrezillon@kernel.org>
Cc: Christopher Snowhill <chris@kode54.net>
Cc: Dave Stevenson <dave.stevenson@raspberrypi.com>
Cc: Dharma Balasubiramani <dharma.b@microchip.com>
Cc: Dmitry Baryshkov <lumag@kernel.org>
Cc: freedreno@lists.freedesktop.org
Cc: Gustavo Padovan <gustavo.padovan@collabora.com>
Cc: Huacai Chen <chenhuacai@kernel.org>
Cc: Icenowy Zheng <zhengxingda@iscas.ac.cn>
Cc: intel-gfx@lists.freedesktop.org
Cc: intel-xe@lists.freedesktop.org
Cc: Jianmin Lv <lvjianmin@loongson.cn>
Cc: linux-arm-msm@vger.kernel.org
Cc: linux-mediatek@lists.infradead.org
Cc: linux-rockchip@lists.infradead.org
Cc: linux-tegra@vger.kernel.org
Cc: Liviu Dudau <liviu.dudau@arm.com>
Cc: Maíra Canal <mcanal@igalia.com>
Cc: Manikandan Muralidharan <manikandan.m@microchip.com>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: Mingcong Bai <jeffbai@aosc.io>
Cc: nouveau@lists.freedesktop.org
Cc: Qianhai Wu <wuqianhai@loongson.cn>
Cc: Raspberry Pi Kernel Maintenance <kernel-list@raspberrypi.com>
Cc: Simon Ser <contact@emersion.fr>
Cc: wayland-devel@lists.freedesktop.org
Cc: Xaver Hugl <xaver.hugl@kde.org>
Cc: Xi Ruoyao <xry111@xry111.site>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
 drivers/gpu/drm/drm_atomic_uapi.c | 51 +++++++++++++++++++------------
 1 file changed, 31 insertions(+), 20 deletions(-)

diff --git a/drivers/gpu/drm/drm_atomic_uapi.c b/drivers/gpu/drm/drm_atomic_uapi.c
index eb002799497c..2ea03b4b0be9 100644
--- a/drivers/gpu/drm/drm_atomic_uapi.c
+++ b/drivers/gpu/drm/drm_atomic_uapi.c
@@ -1194,19 +1194,6 @@ int drm_atomic_connector_commit_dpms(struct drm_atomic_commit *state,
 	return ret;
 }
 
-static int drm_atomic_check_prop_changes(int ret, uint64_t old_val, uint64_t prop_value,
-					 struct drm_property *prop)
-{
-	if (ret != 0 || old_val != prop_value) {
-		drm_dbg_atomic(prop->dev,
-			       "[PROP:%d:%s] No prop can be changed during async flip\n",
-			       prop->base.id, prop->name);
-		return -EINVAL;
-	}
-
-	return 0;
-}
-
 int drm_atomic_set_property(struct drm_atomic_commit *state,
 			    struct drm_file *file_priv,
 			    struct drm_mode_object *obj,
@@ -1235,8 +1222,16 @@ int drm_atomic_set_property(struct drm_atomic_commit *state,
 		if (async_flip) {
 			ret = drm_atomic_connector_get_property(connector, connector_state,
 								prop, &old_val);
-			ret = drm_atomic_check_prop_changes(ret, old_val, prop_value, prop);
-			break;
+			if (ret)
+				break;
+
+			if (old_val != prop_value) {
+				drm_dbg_atomic(prop->dev,
+					       "[PROP:%d:%s] No prop can be changed during async flip\n",
+					       prop->base.id, prop->name);
+				ret = -EINVAL;
+				break;
+			}
 		}
 
 		ret = drm_atomic_connector_set_property(connector,
@@ -1257,8 +1252,16 @@ int drm_atomic_set_property(struct drm_atomic_commit *state,
 		if (async_flip) {
 			ret = drm_atomic_crtc_get_property(crtc, crtc_state,
 							   prop, &old_val);
-			ret = drm_atomic_check_prop_changes(ret, old_val, prop_value, prop);
-			break;
+			if (ret)
+				break;
+
+			if (old_val != prop_value) {
+				drm_dbg_atomic(prop->dev,
+					       "[PROP:%d:%s] No prop can be changed during async flip\n",
+					       prop->base.id, prop->name);
+				ret = -EINVAL;
+				break;
+			}
 		}
 
 		ret = drm_atomic_crtc_set_property(crtc,
@@ -1281,12 +1284,18 @@ int drm_atomic_set_property(struct drm_atomic_commit *state,
 			/* no-op changes are always allowed */
 			ret = drm_atomic_plane_get_property(plane, plane_state,
 							    prop, &old_val);
-			ret = drm_atomic_check_prop_changes(ret, old_val, prop_value, prop);
+			if (ret)
+				break;
 
 			/* fail everything that isn't no-op or a pure flip */
-			if (ret && prop != config->prop_fb_id &&
+			if (old_val != prop_value &&
+			    prop != config->prop_fb_id &&
 			    prop != config->prop_in_fence_fd &&
 			    prop != config->prop_fb_damage_clips) {
+				drm_dbg_atomic(prop->dev,
+					       "[PROP:%d:%s] No prop can be changed during async flip\n",
+					       prop->base.id, prop->name);
+				ret = -EINVAL;
 				break;
 			}
 
@@ -1296,10 +1305,12 @@ int drm_atomic_set_property(struct drm_atomic_commit *state,
 			 * decision. Drivers that want this need to just do
 			 * these checks themselves somewhere.
 			 */
-			if (ret && plane->type != DRM_PLANE_TYPE_PRIMARY) {
+			if (old_val != prop_value && plane->type != DRM_PLANE_TYPE_PRIMARY) {
 				/* ask the driver if this non-primary plane is supported */
 				if (plane_funcs && plane_funcs->atomic_bypass_check)
 					ret = plane_funcs->atomic_bypass_check(plane, state, true);
+				else
+					ret = -EINVAL;
 
 				if (ret) {
 					drm_dbg_atomic(prop->dev,
-- 
2.56.0


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

* [PATCH 06/12] drm/atomic/uapi: Improve the async flip property rejection debugs
  2026-11-16  9:11 [PATCH 00/12] drm/atomic: Try to make atomic+async usable, and clear up the "async update" helper confusion Ville Syrjala
                   ` (4 preceding siblings ...)
  2026-11-16  9:11 ` [PATCH 05/12] drm/atomic/uapi: Eliminate the confusing drm_atomic_check_prop_changes() Ville Syrjala
@ 2026-11-16  9:11 ` Ville Syrjala
  2026-11-16  9:11 ` [PATCH 07/12] drm/atomic/uapi: Document the non-obvious fence/fb_id prop behaviour Ville Syrjala
                   ` (9 subsequent siblings)
  15 siblings, 0 replies; 22+ messages in thread
From: Ville Syrjala @ 2026-11-16  9:11 UTC (permalink / raw)
  To: dri-devel; +Cc: intel-gfx, intel-xe, Erwin Springer

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

The current property rejection debug claims that no properties
can be changed during async flips, which is simply not true.
Reword the message to indicate that the attempted property change
is unsupported. Also include the KMS object type/ID/name in the
debug message to help the person reading the logs.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
 drivers/gpu/drm/drm_atomic_uapi.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/drm_atomic_uapi.c b/drivers/gpu/drm/drm_atomic_uapi.c
index 2ea03b4b0be9..aad71d3e2105 100644
--- a/drivers/gpu/drm/drm_atomic_uapi.c
+++ b/drivers/gpu/drm/drm_atomic_uapi.c
@@ -1227,7 +1227,8 @@ int drm_atomic_set_property(struct drm_atomic_commit *state,
 
 			if (old_val != prop_value) {
 				drm_dbg_atomic(prop->dev,
-					       "[PROP:%d:%s] No prop can be changed during async flip\n",
+					       "[CONNECTOR:%d:%s][PROP:%d:%s] Unsupported property change during async flip\n",
+					       connector->base.id, connector->name,
 					       prop->base.id, prop->name);
 				ret = -EINVAL;
 				break;
@@ -1257,7 +1258,8 @@ int drm_atomic_set_property(struct drm_atomic_commit *state,
 
 			if (old_val != prop_value) {
 				drm_dbg_atomic(prop->dev,
-					       "[PROP:%d:%s] No prop can be changed during async flip\n",
+					       "[CRTC:%d:%s][PROP:%d:%s] Unsupported property change during async flip\n",
+					       crtc->base.id, crtc->name,
 					       prop->base.id, prop->name);
 				ret = -EINVAL;
 				break;
@@ -1293,7 +1295,8 @@ int drm_atomic_set_property(struct drm_atomic_commit *state,
 			    prop != config->prop_in_fence_fd &&
 			    prop != config->prop_fb_damage_clips) {
 				drm_dbg_atomic(prop->dev,
-					       "[PROP:%d:%s] No prop can be changed during async flip\n",
+					       "[PLANE:%d:%s][PROP:%d:%s] Unsupported property change during async flip\n",
+					       plane->base.id, plane->name,
 					       prop->base.id, prop->name);
 				ret = -EINVAL;
 				break;
-- 
2.56.0


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

* [PATCH 07/12] drm/atomic/uapi: Document the non-obvious fence/fb_id prop behaviour
  2026-11-16  9:11 [PATCH 00/12] drm/atomic: Try to make atomic+async usable, and clear up the "async update" helper confusion Ville Syrjala
                   ` (5 preceding siblings ...)
  2026-11-16  9:11 ` [PATCH 06/12] drm/atomic/uapi: Improve the async flip property rejection debugs Ville Syrjala
@ 2026-11-16  9:11 ` Ville Syrjala
  2026-11-16  9:11 ` [PATCH 08/12] drm/atomic/uapi: Add a FIXME about colorop vs. async flips Ville Syrjala
                   ` (8 subsequent siblings)
  15 siblings, 0 replies; 22+ messages in thread
From: Ville Syrjala @ 2026-11-16  9:11 UTC (permalink / raw)
  To: dri-devel
  Cc: intel-gfx, intel-xe, Erwin Springer, amd-gfx, André Almeida,
	Boris Brezillon, Christopher Snowhill, Dave Stevenson,
	Dharma Balasubiramani, Dmitry Baryshkov, freedreno,
	Gustavo Padovan, Huacai Chen, Icenowy Zheng, Jianmin Lv,
	linux-arm-msm, linux-mediatek, linux-rockchip, linux-tegra,
	Liviu Dudau, Maíra Canal, Manikandan Muralidharan,
	Maxime Ripard, Mingcong Bai, nouveau, Qianhai Wu,
	Raspberry Pi Kernel Maintenance, Simon Ser, wayland-devel,
	Xaver Hugl, Xi Ruoyao

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

The atomic async flip checks want to compare the old vs. new
property values. For normal properties that is all perfectly
clear, but for the fence/fb_id properties the old value is
not what one might expect. Add some notes to remind the reader
what is happening.

Cc: amd-gfx@lists.freedesktop.org
Cc: André Almeida <andrealmeid@igalia.com>
Cc: Boris Brezillon <bbrezillon@kernel.org>
Cc: Christopher Snowhill <chris@kode54.net>
Cc: Dave Stevenson <dave.stevenson@raspberrypi.com>
Cc: Dharma Balasubiramani <dharma.b@microchip.com>
Cc: Dmitry Baryshkov <lumag@kernel.org>
Cc: freedreno@lists.freedesktop.org
Cc: Gustavo Padovan <gustavo.padovan@collabora.com>
Cc: Huacai Chen <chenhuacai@kernel.org>
Cc: Icenowy Zheng <zhengxingda@iscas.ac.cn>
Cc: intel-gfx@lists.freedesktop.org
Cc: intel-xe@lists.freedesktop.org
Cc: Jianmin Lv <lvjianmin@loongson.cn>
Cc: linux-arm-msm@vger.kernel.org
Cc: linux-mediatek@lists.infradead.org
Cc: linux-rockchip@lists.infradead.org
Cc: linux-tegra@vger.kernel.org
Cc: Liviu Dudau <liviu.dudau@arm.com>
Cc: Maíra Canal <mcanal@igalia.com>
Cc: Manikandan Muralidharan <manikandan.m@microchip.com>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: Mingcong Bai <jeffbai@aosc.io>
Cc: nouveau@lists.freedesktop.org
Cc: Qianhai Wu <wuqianhai@loongson.cn>
Cc: Raspberry Pi Kernel Maintenance <kernel-list@raspberrypi.com>
Cc: Simon Ser <contact@emersion.fr>
Cc: wayland-devel@lists.freedesktop.org
Cc: Xaver Hugl <xaver.hugl@kde.org>
Cc: Xi Ruoyao <xry111@xry111.site>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
 drivers/gpu/drm/drm_atomic_uapi.c | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/drm_atomic_uapi.c b/drivers/gpu/drm/drm_atomic_uapi.c
index aad71d3e2105..cf1edcb242cc 100644
--- a/drivers/gpu/drm/drm_atomic_uapi.c
+++ b/drivers/gpu/drm/drm_atomic_uapi.c
@@ -1225,6 +1225,11 @@ int drm_atomic_set_property(struct drm_atomic_commit *state,
 			if (ret)
 				break;
 
+			/*
+			 * Note that for WRITEBACK_FB_ID and WRITEBACK_OUT_FENCE_PTR
+			 * the old value will always be 0. So any commit that sets either
+			 * property to any other value will not be considered a no-op.
+			 */
 			if (old_val != prop_value) {
 				drm_dbg_atomic(prop->dev,
 					       "[CONNECTOR:%d:%s][PROP:%d:%s] Unsupported property change during async flip\n",
@@ -1256,6 +1261,11 @@ int drm_atomic_set_property(struct drm_atomic_commit *state,
 			if (ret)
 				break;
 
+			/*
+			 * Note that for OUT_FENCE_PTR the old value will always be 0.
+			 * So any commit that sets the property to any other value
+			 * will not be considered a no-op.
+			 */
 			if (old_val != prop_value) {
 				drm_dbg_atomic(prop->dev,
 					       "[CRTC:%d:%s][PROP:%d:%s] Unsupported property change during async flip\n",
@@ -1289,7 +1299,13 @@ int drm_atomic_set_property(struct drm_atomic_commit *state,
 			if (ret)
 				break;
 
-			/* fail everything that isn't no-op or a pure flip */
+			/*
+			 * Fail everything that isn't no-op or a pure flip.
+			 *
+			 * Note that for IN_FENCE_FD the old value will always be -1.
+			 * So any commit that sets the property to any other value
+			 * will not be considered a no-op.
+			 */
 			if (old_val != prop_value &&
 			    prop != config->prop_fb_id &&
 			    prop != config->prop_in_fence_fd &&
-- 
2.56.0


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

* [PATCH 08/12] drm/atomic/uapi: Add a FIXME about colorop vs. async flips
  2026-11-16  9:11 [PATCH 00/12] drm/atomic: Try to make atomic+async usable, and clear up the "async update" helper confusion Ville Syrjala
                   ` (6 preceding siblings ...)
  2026-11-16  9:11 ` [PATCH 07/12] drm/atomic/uapi: Document the non-obvious fence/fb_id prop behaviour Ville Syrjala
@ 2026-11-16  9:11 ` Ville Syrjala
  2026-11-16  9:11 ` [PATCH 09/12] drm/atomic-helper: Mark drm_atomic_crtc_state_for_each_plane_state() unsafe Ville Syrjala
                   ` (7 subsequent siblings)
  15 siblings, 0 replies; 22+ messages in thread
From: Ville Syrjala @ 2026-11-16  9:11 UTC (permalink / raw)
  To: dri-devel
  Cc: intel-gfx, intel-xe, Erwin Springer, amd-gfx, André Almeida,
	Boris Brezillon, Christopher Snowhill, Dave Stevenson,
	Dharma Balasubiramani, Dmitry Baryshkov, freedreno,
	Gustavo Padovan, Huacai Chen, Icenowy Zheng, Jianmin Lv,
	linux-arm-msm, linux-mediatek, linux-rockchip, linux-tegra,
	Liviu Dudau, Maíra Canal, Manikandan Muralidharan,
	Maxime Ripard, Mingcong Bai, nouveau, Qianhai Wu,
	Raspberry Pi Kernel Maintenance, Simon Ser, wayland-devel,
	Xaver Hugl, Xi Ruoyao

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

The colorop stuff in the atomic ioctl handler is completely
missing any async flip handling. Add a FIXME in the hopes
that someone will fix it.

Cc: amd-gfx@lists.freedesktop.org
Cc: André Almeida <andrealmeid@igalia.com>
Cc: Boris Brezillon <bbrezillon@kernel.org>
Cc: Christopher Snowhill <chris@kode54.net>
Cc: Dave Stevenson <dave.stevenson@raspberrypi.com>
Cc: Dharma Balasubiramani <dharma.b@microchip.com>
Cc: Dmitry Baryshkov <lumag@kernel.org>
Cc: freedreno@lists.freedesktop.org
Cc: Gustavo Padovan <gustavo.padovan@collabora.com>
Cc: Huacai Chen <chenhuacai@kernel.org>
Cc: Icenowy Zheng <zhengxingda@iscas.ac.cn>
Cc: intel-gfx@lists.freedesktop.org
Cc: intel-xe@lists.freedesktop.org
Cc: Jianmin Lv <lvjianmin@loongson.cn>
Cc: linux-arm-msm@vger.kernel.org
Cc: linux-mediatek@lists.infradead.org
Cc: linux-rockchip@lists.infradead.org
Cc: linux-tegra@vger.kernel.org
Cc: Liviu Dudau <liviu.dudau@arm.com>
Cc: Maíra Canal <mcanal@igalia.com>
Cc: Manikandan Muralidharan <manikandan.m@microchip.com>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: Mingcong Bai <jeffbai@aosc.io>
Cc: nouveau@lists.freedesktop.org
Cc: Qianhai Wu <wuqianhai@loongson.cn>
Cc: Raspberry Pi Kernel Maintenance <kernel-list@raspberrypi.com>
Cc: Simon Ser <contact@emersion.fr>
Cc: wayland-devel@lists.freedesktop.org
Cc: Xaver Hugl <xaver.hugl@kde.org>
Cc: Xi Ruoyao <xry111@xry111.site>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
 drivers/gpu/drm/drm_atomic_uapi.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/drm_atomic_uapi.c b/drivers/gpu/drm/drm_atomic_uapi.c
index cf1edcb242cc..7517950d2e51 100644
--- a/drivers/gpu/drm/drm_atomic_uapi.c
+++ b/drivers/gpu/drm/drm_atomic_uapi.c
@@ -1352,6 +1352,8 @@ int drm_atomic_set_property(struct drm_atomic_commit *state,
 		struct drm_colorop_state *colorop_state;
 		bool replaced = false;
 
+		/* FIXME async flip checks completely missing here */
+
 		colorop_state = drm_atomic_get_colorop_state(state, colorop);
 		if (IS_ERR(colorop_state)) {
 			ret = PTR_ERR(colorop_state);
-- 
2.56.0


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

* [PATCH 09/12] drm/atomic-helper: Mark drm_atomic_crtc_state_for_each_plane_state() unsafe
  2026-11-16  9:11 [PATCH 00/12] drm/atomic: Try to make atomic+async usable, and clear up the "async update" helper confusion Ville Syrjala
                   ` (7 preceding siblings ...)
  2026-11-16  9:11 ` [PATCH 08/12] drm/atomic/uapi: Add a FIXME about colorop vs. async flips Ville Syrjala
@ 2026-11-16  9:11 ` Ville Syrjala
  2026-11-16  9:11 ` [PATCH 10/12] drm/i915: Complete no-op "async flips" by hand Ville Syrjala
                   ` (6 subsequent siblings)
  15 siblings, 0 replies; 22+ messages in thread
From: Ville Syrjala @ 2026-11-16  9:11 UTC (permalink / raw)
  To: dri-devel
  Cc: intel-gfx, intel-xe, Erwin Springer, Miguel Ojeda, amd-gfx,
	André Almeida, Boris Brezillon, Christopher Snowhill,
	Dave Stevenson, Dharma Balasubiramani, Dmitry Baryshkov,
	freedreno, Gustavo Padovan, Huacai Chen, Icenowy Zheng,
	Jianmin Lv, linux-arm-msm, linux-mediatek, linux-rockchip,
	linux-tegra, Liviu Dudau, Maíra Canal,
	Manikandan Muralidharan, Maxime Ripard, Mingcong Bai, nouveau,
	Qianhai Wu, Raspberry Pi Kernel Maintenance, Simon Ser,
	wayland-devel, Xaver Hugl, Xi Ruoyao

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

drm_atomic_crtc_state_for_each_plane_state() uses the unsafe
__drm_atomic_get_current_plane_state() under the hood. Mark
it all unsafe and give it a __drm prefix to make it doubly
clear that it's a footgun waiting to happen.

I want the old name for a slightly different (safer) purpose.

Everyone really should stop using this, and find a better
way to do things.

Cc: Miguel Ojeda <ojeda@kernel.org>
Cc: amd-gfx@lists.freedesktop.org
Cc: André Almeida <andrealmeid@igalia.com>
Cc: Boris Brezillon <bbrezillon@kernel.org>
Cc: Christopher Snowhill <chris@kode54.net>
Cc: Dave Stevenson <dave.stevenson@raspberrypi.com>
Cc: Dharma Balasubiramani <dharma.b@microchip.com>
Cc: Dmitry Baryshkov <lumag@kernel.org>
Cc: freedreno@lists.freedesktop.org
Cc: Gustavo Padovan <gustavo.padovan@collabora.com>
Cc: Huacai Chen <chenhuacai@kernel.org>
Cc: Icenowy Zheng <zhengxingda@iscas.ac.cn>
Cc: intel-gfx@lists.freedesktop.org
Cc: intel-xe@lists.freedesktop.org
Cc: Jianmin Lv <lvjianmin@loongson.cn>
Cc: linux-arm-msm@vger.kernel.org
Cc: linux-mediatek@lists.infradead.org
Cc: linux-rockchip@lists.infradead.org
Cc: linux-tegra@vger.kernel.org
Cc: Liviu Dudau <liviu.dudau@arm.com>
Cc: Maíra Canal <mcanal@igalia.com>
Cc: Manikandan Muralidharan <manikandan.m@microchip.com>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: Mingcong Bai <jeffbai@aosc.io>
Cc: nouveau@lists.freedesktop.org
Cc: Qianhai Wu <wuqianhai@loongson.cn>
Cc: Raspberry Pi Kernel Maintenance <kernel-list@raspberrypi.com>
Cc: Simon Ser <contact@emersion.fr>
Cc: wayland-devel@lists.freedesktop.org
Cc: Xaver Hugl <xaver.hugl@kde.org>
Cc: Xi Ruoyao <xry111@xry111.site>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
 .clang-format                                 |  2 +-
 drivers/gpu/drm/arm/malidp_crtc.c             |  6 +++---
 drivers/gpu/drm/i915/display/i9xx_wm.c        |  2 +-
 drivers/gpu/drm/i915/display/intel_display.h  |  4 ++--
 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c |  2 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c      |  2 +-
 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c     |  2 +-
 drivers/gpu/drm/tegra/dc.c                    |  6 +++---
 drivers/gpu/drm/vc4/vc4_hvs.c                 |  2 +-
 include/drm/drm_atomic.h                      |  6 +++---
 include/drm/drm_atomic_helper.h               | 12 ++++++++----
 11 files changed, 25 insertions(+), 21 deletions(-)

diff --git a/.clang-format b/.clang-format
index 395292ab2ac6..db707fd6a684 100644
--- a/.clang-format
+++ b/.clang-format
@@ -160,7 +160,7 @@ ForEachMacros:
   - 'do_for_each_ftrace_op'
   - 'drm_atomic_crtc_for_each_plane'
   - 'drm_atomic_crtc_state_for_each_plane'
-  - 'drm_atomic_crtc_state_for_each_plane_state'
+  - '__drm_atomic_crtc_state_for_each_plane_state_unsafe'
   - 'drm_atomic_for_each_plane_damage'
   - 'drm_client_for_each_connector_iter'
   - 'drm_client_for_each_modeset'
diff --git a/drivers/gpu/drm/arm/malidp_crtc.c b/drivers/gpu/drm/arm/malidp_crtc.c
index ec7b9db8b0b4..3c02f7ec92b8 100644
--- a/drivers/gpu/drm/arm/malidp_crtc.c
+++ b/drivers/gpu/drm/arm/malidp_crtc.c
@@ -268,7 +268,7 @@ static int malidp_crtc_atomic_check_scaling(struct drm_crtc *crtc,
 	if (scaling & (scaling - 1))
 		return -EINVAL;
 
-	drm_atomic_crtc_state_for_each_plane_state(plane, pstate, state) {
+	__drm_atomic_crtc_state_for_each_plane_state_unsafe(plane, pstate, state) {
 		struct malidp_plane *mp = to_malidp_plane(plane);
 		u32 phase;
 
@@ -373,7 +373,7 @@ static int malidp_crtc_atomic_check(struct drm_crtc *crtc,
 	 */
 
 	/* first count the number of rotated planes */
-	drm_atomic_crtc_state_for_each_plane_state(plane, pstate, crtc_state) {
+	__drm_atomic_crtc_state_for_each_plane_state_unsafe(plane, pstate, crtc_state) {
 		struct drm_framebuffer *fb = pstate->fb;
 
 		if ((pstate->rotation & MALIDP_ROTATED_MASK) || fb->modifier)
@@ -389,7 +389,7 @@ static int malidp_crtc_atomic_check(struct drm_crtc *crtc,
 		rot_mem_free += hwdev->rotation_memory[1];
 
 	/* now validate the rotation memory requirements */
-	drm_atomic_crtc_state_for_each_plane_state(plane, pstate, crtc_state) {
+	__drm_atomic_crtc_state_for_each_plane_state_unsafe(plane, pstate, crtc_state) {
 		struct malidp_plane *mp = to_malidp_plane(plane);
 		struct malidp_plane_state *ms = to_malidp_plane_state(pstate);
 		struct drm_framebuffer *fb = pstate->fb;
diff --git a/drivers/gpu/drm/i915/display/i9xx_wm.c b/drivers/gpu/drm/i915/display/i9xx_wm.c
index 46bfada7c060..efd1791efd5f 100644
--- a/drivers/gpu/drm/i915/display/i9xx_wm.c
+++ b/drivers/gpu/drm/i915/display/i9xx_wm.c
@@ -2931,7 +2931,7 @@ static int ilk_compute_pipe_wm(struct intel_atomic_state *state,
 
 	pipe_wm = &crtc_state->wm.ilk.optimal;
 
-	intel_atomic_crtc_state_for_each_plane_state(plane, plane_state, crtc_state) {
+	__intel_atomic_crtc_state_for_each_plane_state_unsafe(plane, plane_state, crtc_state) {
 		if (plane->base.type == DRM_PLANE_TYPE_PRIMARY)
 			pristate = plane_state;
 		else if (plane->base.type == DRM_PLANE_TYPE_OVERLAY)
diff --git a/drivers/gpu/drm/i915/display/intel_display.h b/drivers/gpu/drm/i915/display/intel_display.h
index d53b7b4a80e7..43701325b3de 100644
--- a/drivers/gpu/drm/i915/display/intel_display.h
+++ b/drivers/gpu/drm/i915/display/intel_display.h
@@ -307,13 +307,13 @@ enum phy_fia {
 		for_each_if(((old_crtc_state) = intel_atomic_get_old_crtc_state((__state), (crtc)), \
 			     (new_crtc_state) = intel_atomic_get_new_crtc_state((__state), (crtc))))
 
-#define intel_atomic_crtc_state_for_each_plane_state( \
+#define __intel_atomic_crtc_state_for_each_plane_state_unsafe( \
 		  plane, plane_state, \
 		  crtc_state) \
 	for_each_intel_plane_mask(((crtc_state)->uapi.state->dev), (plane), \
 				((crtc_state)->uapi.plane_mask)) \
 		for_each_if ((plane_state = \
-			      to_intel_plane_state(__drm_atomic_get_current_plane_state((crtc_state)->uapi.state, &plane->base))))
+			      to_intel_plane_state(__drm_atomic_get_current_plane_state_unsafe((crtc_state)->uapi.state, &plane->base))))
 
 #define for_each_new_intel_connector_in_state(__state, connector, new_connector_state, __i) \
 	for ((__i) = 0; \
diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c
index 9fa55904dba1..6f45adb9c7ae 100644
--- a/drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c
+++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c
@@ -65,7 +65,7 @@ static u64 _dpu_core_perf_calc_bw(const struct dpu_perf_cfg *perf_cfg,
 	u64 crtc_plane_bw = 0;
 	u32 bw_factor;
 
-	drm_atomic_crtc_state_for_each_plane_state(plane, plane_state, state)
+	__drm_atomic_crtc_state_for_each_plane_state_unsafe(plane, plane_state, state)
 		crtc_plane_bw += to_dpu_plane_state(plane_state)->plane_fetch_bw;
 
 	bw_factor = perf_cfg->bw_inefficiency_factor;
diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c
index 77a2d1f6700d..f5cf9cae732e 100644
--- a/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c
+++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c
@@ -1568,7 +1568,7 @@ static int dpu_crtc_atomic_check(struct drm_crtc *crtc,
 	}
 
 	/* FIXME: move this to dpu_plane_atomic_check? */
-	drm_atomic_crtc_state_for_each_plane_state(plane, pstate, crtc_state) {
+	__drm_atomic_crtc_state_for_each_plane_state_unsafe(plane, pstate, crtc_state) {
 		struct dpu_plane_state *dpu_pstate = to_dpu_plane_state(pstate);
 
 		if (IS_ERR_OR_NULL(pstate)) {
diff --git a/drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c b/drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c
index 1e1fff37380c..df85027b7ee0 100644
--- a/drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c
+++ b/drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c
@@ -711,7 +711,7 @@ static int mdp5_crtc_atomic_check(struct drm_crtc *crtc,
 
 	DBG("%s: check", crtc->name);
 
-	drm_atomic_crtc_state_for_each_plane_state(plane, pstate, crtc_state) {
+	__drm_atomic_crtc_state_for_each_plane_state_unsafe(plane, pstate, crtc_state) {
 		struct mdp5_plane_state *mdp5_pstate =
 				to_mdp5_plane_state(pstate);
 
diff --git a/drivers/gpu/drm/tegra/dc.c b/drivers/gpu/drm/tegra/dc.c
index 9cd6399b85bb..4ce93b2ef300 100644
--- a/drivers/gpu/drm/tegra/dc.c
+++ b/drivers/gpu/drm/tegra/dc.c
@@ -2471,7 +2471,7 @@ tegra_plane_overlap_mask(struct drm_crtc_state *state,
 	if (tegra_plane_is_cursor(plane_state))
 		return 0;
 
-	drm_atomic_crtc_state_for_each_plane_state(plane, other_state, state) {
+	__drm_atomic_crtc_state_for_each_plane_state_unsafe(plane, other_state, state) {
 		rect = plane_state->dst;
 
 		tegra = to_tegra_plane(other_state->plane);
@@ -2529,7 +2529,7 @@ static int tegra_crtc_calculate_memory_bandwidth(struct drm_crtc *crtc,
 	 * overlap. Note that bitmask[plane] includes BIT(plane) in order
 	 * to make further code nicer and simpler.
 	 */
-	drm_atomic_crtc_state_for_each_plane_state(plane, plane_state, new_state) {
+	__drm_atomic_crtc_state_for_each_plane_state_unsafe(plane, plane_state, new_state) {
 		tegra_state = to_const_tegra_plane_state(plane_state);
 		tegra = to_tegra_plane(plane);
 
@@ -2559,7 +2559,7 @@ static int tegra_crtc_calculate_memory_bandwidth(struct drm_crtc *crtc,
 	 * in order to set up latency allowance based on the peak BW, see
 	 * tegra_crtc_update_memory_bandwidth().
 	 */
-	drm_atomic_crtc_state_for_each_plane_state(plane, plane_state, new_state) {
+	__drm_atomic_crtc_state_for_each_plane_state_unsafe(plane, plane_state, new_state) {
 		u32 i, old_peak_bw, new_peak_bw, overlap_bw = 0;
 
 		/*
diff --git a/drivers/gpu/drm/vc4/vc4_hvs.c b/drivers/gpu/drm/vc4/vc4_hvs.c
index 537aaa992129..abda0309393b 100644
--- a/drivers/gpu/drm/vc4/vc4_hvs.c
+++ b/drivers/gpu/drm/vc4/vc4_hvs.c
@@ -806,7 +806,7 @@ int vc4_hvs_atomic_check(struct drm_crtc *crtc, struct drm_atomic_commit *state)
 	if (hweight32(crtc_state->connector_mask) > 1)
 		return -EINVAL;
 
-	drm_atomic_crtc_state_for_each_plane_state(plane, plane_state, crtc_state) {
+	__drm_atomic_crtc_state_for_each_plane_state_unsafe(plane, plane_state, crtc_state) {
 		u32 plane_dlist_count = vc4_plane_dlist_size(plane_state);
 
 		drm_dbg_driver(dev, "[CRTC:%d:%s] Found [PLANE:%d:%s] with DLIST size: %u\n",
diff --git a/include/drm/drm_atomic.h b/include/drm/drm_atomic.h
index f60a77ad9b9b..b6414229dc8f 100644
--- a/include/drm/drm_atomic.h
+++ b/include/drm/drm_atomic.h
@@ -887,7 +887,7 @@ drm_atomic_get_new_connector_state(const struct drm_atomic_commit *state,
 }
 
 /**
- * __drm_atomic_get_current_plane_state - get current plane state
+ * __drm_atomic_get_current_plane_state_unsafe - get current plane state
  * @state: global atomic state object
  * @plane: plane to grab
  *
@@ -913,8 +913,8 @@ drm_atomic_get_new_connector_state(const struct drm_atomic_commit *state,
  * Read-only pointer to the current plane state.
  */
 static inline const struct drm_plane_state *
-__drm_atomic_get_current_plane_state(const struct drm_atomic_commit *state,
-				     struct drm_plane *plane)
+__drm_atomic_get_current_plane_state_unsafe(const struct drm_atomic_commit *state,
+					    struct drm_plane *plane)
 {
 	struct drm_plane_state *plane_state;
 
diff --git a/include/drm/drm_atomic_helper.h b/include/drm/drm_atomic_helper.h
index 278560760e6e..06b6dc9bc4be 100644
--- a/include/drm/drm_atomic_helper.h
+++ b/include/drm/drm_atomic_helper.h
@@ -214,7 +214,7 @@ int drm_atomic_helper_page_flip_target(
 	drm_for_each_plane_mask(plane, (crtc_state)->state->dev, (crtc_state)->plane_mask)
 
 /**
- * drm_atomic_crtc_state_for_each_plane_state - iterate over attached planes in new state
+ * __drm_atomic_crtc_state_for_each_plane_state_unsafe - iterate over attached planes in new state
  * @plane: the loop cursor
  * @plane_state: loop cursor for the plane's state, must be const
  * @crtc_state: the incoming CRTC state
@@ -227,12 +227,16 @@ int drm_atomic_helper_page_flip_target(
  * Compared to just drm_atomic_crtc_state_for_each_plane() this also fills in a
  * const plane_state. This is useful when a driver just wants to peek at other
  * active planes on this CRTC, but does not need to change it.
+ *
+ * WARNING:
+ * This is generally unsafe to use. See
+ * __drm_atomic_get_current_plane_state_unsafe() for further details.
  */
-#define drm_atomic_crtc_state_for_each_plane_state(plane, plane_state, crtc_state) \
+#define __drm_atomic_crtc_state_for_each_plane_state_unsafe(plane, plane_state, crtc_state) \
 	drm_for_each_plane_mask(plane, (crtc_state)->state->dev, (crtc_state)->plane_mask) \
 		for_each_if ((plane_state = \
-			      __drm_atomic_get_current_plane_state((crtc_state)->state, \
-								   plane)))
+			      __drm_atomic_get_current_plane_state_unsafe((crtc_state)->state, \
+									  plane)))
 
 /**
  * drm_atomic_plane_enabling - check whether a plane is being enabled
-- 
2.56.0


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

* [PATCH 10/12] drm/i915: Complete no-op "async flips" by hand
  2026-11-16  9:11 [PATCH 00/12] drm/atomic: Try to make atomic+async usable, and clear up the "async update" helper confusion Ville Syrjala
                   ` (8 preceding siblings ...)
  2026-11-16  9:11 ` [PATCH 09/12] drm/atomic-helper: Mark drm_atomic_crtc_state_for_each_plane_state() unsafe Ville Syrjala
@ 2026-11-16  9:11 ` Ville Syrjala
  2026-11-16  9:28   ` sashiko-bot
  2026-11-16  9:11 ` [PATCH 11/12] drm/atomic/uapi: Make async flips a bit more palatable through atomic Ville Syrjala
                   ` (5 subsequent siblings)
  15 siblings, 1 reply; 22+ messages in thread
From: Ville Syrjala @ 2026-11-16  9:11 UTC (permalink / raw)
  To: dri-devel
  Cc: intel-gfx, intel-xe, Erwin Springer, amd-gfx, André Almeida,
	Boris Brezillon, Christopher Snowhill, Dave Stevenson,
	Dharma Balasubiramani, Dmitry Baryshkov, freedreno,
	Gustavo Padovan, Huacai Chen, Icenowy Zheng, Jianmin Lv,
	linux-arm-msm, linux-mediatek, linux-rockchip, linux-tegra,
	Liviu Dudau, Maíra Canal, Manikandan Muralidharan,
	Maxime Ripard, Mingcong Bai, nouveau, Qianhai Wu,
	Raspberry Pi Kernel Maintenance, Simon Ser, wayland-devel,
	Xaver Hugl, Xi Ruoyao

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

If no planes appear in an async flip commit there will be
no flip done interrupt. Complete the commit by hand in
that case. Shouldn't really matter where we do this exactly,
but just before the wait stuff near the end of the commit
seems reasonable.

This can't happen via the legacy page flip ioctl path,
but nothing prevents fully no-op (as far as planes are
concerned) "async flips" via the atomic ioctl.

TODO: igt tests for atomic+async uapi don't really exist :(

Cc: amd-gfx@lists.freedesktop.org
Cc: André Almeida <andrealmeid@igalia.com>
Cc: Boris Brezillon <bbrezillon@kernel.org>
Cc: Christopher Snowhill <chris@kode54.net>
Cc: Dave Stevenson <dave.stevenson@raspberrypi.com>
Cc: Dharma Balasubiramani <dharma.b@microchip.com>
Cc: Dmitry Baryshkov <lumag@kernel.org>
Cc: freedreno@lists.freedesktop.org
Cc: Gustavo Padovan <gustavo.padovan@collabora.com>
Cc: Huacai Chen <chenhuacai@kernel.org>
Cc: Icenowy Zheng <zhengxingda@iscas.ac.cn>
Cc: intel-gfx@lists.freedesktop.org
Cc: intel-xe@lists.freedesktop.org
Cc: Jianmin Lv <lvjianmin@loongson.cn>
Cc: linux-arm-msm@vger.kernel.org
Cc: linux-mediatek@lists.infradead.org
Cc: linux-rockchip@lists.infradead.org
Cc: linux-tegra@vger.kernel.org
Cc: Liviu Dudau <liviu.dudau@arm.com>
Cc: Maíra Canal <mcanal@igalia.com>
Cc: Manikandan Muralidharan <manikandan.m@microchip.com>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: Mingcong Bai <jeffbai@aosc.io>
Cc: nouveau@lists.freedesktop.org
Cc: Qianhai Wu <wuqianhai@loongson.cn>
Cc: Raspberry Pi Kernel Maintenance <kernel-list@raspberrypi.com>
Cc: Simon Ser <contact@emersion.fr>
Cc: wayland-devel@lists.freedesktop.org
Cc: Xaver Hugl <xaver.hugl@kde.org>
Cc: Xi Ruoyao <xry111@xry111.site>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
 drivers/gpu/drm/i915/display/intel_display.c | 38 ++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c
index f4d9148efde3..afaaf3fc4646 100644
--- a/drivers/gpu/drm/i915/display/intel_display.c
+++ b/drivers/gpu/drm/i915/display/intel_display.c
@@ -1190,6 +1190,42 @@ static void intel_crtc_disable_flip_done(struct intel_atomic_state *state,
 	}
 }
 
+static void intel_crtc_complete_noop_async_flip(struct intel_crtc_state *crtc_state)
+{
+	struct intel_display *display = to_intel_display(crtc_state);
+	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
+
+	if (!crtc_state->do_async_flip)
+		return;
+
+	/*
+	 * If there are planes actually performing the async flip then
+	 * the commit will be completed via the flip done interrupt
+	 * handler. For a fully no-op "async flip" the commit must
+	 * be completed by hand as no interrupt will be raised.
+	 */
+	if (crtc_state->update_planes)
+		return;
+
+	if (crtc_state->uapi.event) {
+		spin_lock_irq(&display->drm->event_lock);
+		drm_crtc_send_vblank_event(&crtc->base,
+					   crtc_state->uapi.event);
+		spin_unlock_irq(&display->drm->event_lock);
+
+		crtc_state->uapi.event = NULL;
+	}
+}
+
+static void intel_atomic_complete_noop_async_flips(struct intel_atomic_state *state)
+{
+	struct intel_crtc_state *new_crtc_state;
+	struct intel_crtc *crtc;
+
+	for_each_new_intel_crtc_in_state(state, crtc, new_crtc_state)
+		intel_crtc_complete_noop_async_flip(new_crtc_state);
+}
+
 static void intel_crtc_async_flip_disable_wa(struct intel_atomic_state *state,
 					     struct intel_crtc *crtc)
 {
@@ -7852,6 +7888,8 @@ static void intel_atomic_commit_tail(struct intel_atomic_state *state)
 	if (intel_display_power_dc3co_allowed(display))
 		intel_cmtg_program(state);
 
+	intel_atomic_complete_noop_async_flips(state);
+
 	intel_wait_for_vblank_workers(state);
 
 	/* FIXME: We should call drm_atomic_helper_commit_hw_done() here
-- 
2.56.0


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

* [PATCH 11/12] drm/atomic/uapi: Make async flips a bit more palatable through atomic
  2026-11-16  9:11 [PATCH 00/12] drm/atomic: Try to make atomic+async usable, and clear up the "async update" helper confusion Ville Syrjala
                   ` (9 preceding siblings ...)
  2026-11-16  9:11 ` [PATCH 10/12] drm/i915: Complete no-op "async flips" by hand Ville Syrjala
@ 2026-11-16  9:11 ` Ville Syrjala
  2026-11-16  9:44   ` sashiko-bot
  2026-11-16  9:11 ` [PATCH 12/12] drm/atomic/uapi: Extract {connector, crtc, plane}_async_flip_check() Ville Syrjala
                   ` (4 subsequent siblings)
  15 siblings, 1 reply; 22+ messages in thread
From: Ville Syrjala @ 2026-11-16  9:11 UTC (permalink / raw)
  To: dri-devel
  Cc: intel-gfx, intel-xe, Erwin Springer, amd-gfx, André Almeida,
	Boris Brezillon, Christopher Snowhill, Dave Stevenson,
	Dharma Balasubiramani, Dmitry Baryshkov, freedreno,
	Gustavo Padovan, Huacai Chen, Icenowy Zheng, Jianmin Lv,
	linux-arm-msm, linux-mediatek, linux-rockchip, linux-tegra,
	Liviu Dudau, Maíra Canal, Manikandan Muralidharan,
	Maxime Ripard, Mingcong Bai, nouveau, Qianhai Wu,
	Raspberry Pi Kernel Maintenance, Simon Ser, wayland-devel,
	Xaver Hugl, Xi Ruoyao

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

Userspace developers are supremely lazy, and apparently not willing
to spend any effort on trimming out no-op property changes from
their atomic commits.

For normal atomic commits it just means that the kernel and/or
hardware will need to do a bit more work to deal with the redundant
updates. Eg. on i915/xe we don't bother doing an exhaustive comparison
of all the state to filter out no-ops, and thus we end up feeding
most of it to the hardware. Apart from wasted power (not an
insignificant amount probably in some cases) that is kinda fine.

For normal atomic commit the rule is also that all side effects
of the commit must be observed. For example, if the plane's
framebuffer appears on the property list, we have to make sure
that any shadow copies of the framebuffer contents (PSR,
i915/xe FBC, etc.) are updated (even if the FB_ID stays the
same) in case there was any front buffer rendering done to
the buffer.

But for async flips the uapi has completely separate rules,
essentially saying that a plane that is part of the atomic
commit can be completely ignored by the driver if none its
properties are changing values. Ie. side effects need not
be observed.

The current scheme can sort of work without any extra state
comparisons, but only if every plane on the device supports
async flips. That is generally not the case. Eg. on i915/xe
we only support async flips on the primary plane. Later
hardware generations do support async flips on sprite planes
as well, but we've not hooked that up yet. And cursor planes
don't support async flips on any hardware generation.

Currently the only way to implement the no-op checks is by
having the driver perform that exhaustive comparison of the
full state. That would be tedious and supremely fragile as
it would be very easy to forget to update those checks when
adding a new piece of state.

Let's avoid that whole mess by doing the no-op filtering
directly in the atomic ioctl handler. It's pretty easy on
this level as all we really have to care about is the actual
uapi property values, not how they get stored in the state
objects (since we reuse the normal drm_atomic_get_property()
for that), and derived state is not a factor on this level
at all. The code is in fact mostly already there, just for
input validation purposes. It just needs to be extended
slightly to completely filter out the no-ops.

This way we can completely skip adding planes and connectors
to the state if all they have is no-op property changes. The
driver never even sees the no-op objects, and thus can't think
it needs to reject the commit due to their presence. CRTCs
we have to add even if none of their properties change state.
This is because the uapi rules say that any CRTC named in the
commit (either directly, or indirectly via a plane/connector)
must actually perform the commit, and send back the completion
event. For that reason we must also always add the
plane's/connector's current crtc to the state in the new
bespoke __drm_atomic_get_current_*_state() helpers.

TODO: igt tests for atomic+async uapi don't really exist :(

Cc: amd-gfx@lists.freedesktop.org
Cc: André Almeida <andrealmeid@igalia.com>
Cc: Boris Brezillon <bbrezillon@kernel.org>
Cc: Christopher Snowhill <chris@kode54.net>
Cc: Dave Stevenson <dave.stevenson@raspberrypi.com>
Cc: Dharma Balasubiramani <dharma.b@microchip.com>
Cc: Dmitry Baryshkov <lumag@kernel.org>
Cc: freedreno@lists.freedesktop.org
Cc: Gustavo Padovan <gustavo.padovan@collabora.com>
Cc: Huacai Chen <chenhuacai@kernel.org>
Cc: Icenowy Zheng <zhengxingda@iscas.ac.cn>
Cc: intel-gfx@lists.freedesktop.org
Cc: intel-xe@lists.freedesktop.org
Cc: Jianmin Lv <lvjianmin@loongson.cn>
Cc: linux-arm-msm@vger.kernel.org
Cc: linux-mediatek@lists.infradead.org
Cc: linux-rockchip@lists.infradead.org
Cc: linux-tegra@vger.kernel.org
Cc: Liviu Dudau <liviu.dudau@arm.com>
Cc: Maíra Canal <mcanal@igalia.com>
Cc: Manikandan Muralidharan <manikandan.m@microchip.com>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: Mingcong Bai <jeffbai@aosc.io>
Cc: nouveau@lists.freedesktop.org
Cc: Qianhai Wu <wuqianhai@loongson.cn>
Cc: Raspberry Pi Kernel Maintenance <kernel-list@raspberrypi.com>
Cc: Simon Ser <contact@emersion.fr>
Cc: wayland-devel@lists.freedesktop.org
Cc: Xaver Hugl <xaver.hugl@kde.org>
Cc: Xi Ruoyao <xry111@xry111.site>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
 drivers/gpu/drm/drm_atomic.c        |  97 +++++++++++++++++++
 drivers/gpu/drm/drm_atomic_uapi.c   | 139 ++++++++++++++++++++--------
 drivers/gpu/drm/drm_crtc_internal.h |   9 ++
 3 files changed, 205 insertions(+), 40 deletions(-)

diff --git a/drivers/gpu/drm/drm_atomic.c b/drivers/gpu/drm/drm_atomic.c
index 81591173265d..176520aec21c 100644
--- a/drivers/gpu/drm/drm_atomic.c
+++ b/drivers/gpu/drm/drm_atomic.c
@@ -497,6 +497,28 @@ drm_atomic_get_crtc_state(struct drm_atomic_commit *state,
 }
 EXPORT_SYMBOL(drm_atomic_get_crtc_state);
 
+const struct drm_crtc_state *
+__drm_atomic_get_current_crtc_state(struct drm_atomic_commit *state,
+				    struct drm_crtc *crtc)
+{
+	const struct drm_crtc_state *crtc_state;
+	int ret;
+
+	WARN_ON(!state->acquire_ctx);
+	drm_WARN_ON(state->dev, state->checked);
+
+	crtc_state = drm_atomic_get_new_crtc_state(state, crtc);
+	if (crtc_state)
+		return crtc_state;
+
+	ret = drm_modeset_lock(&crtc->mutex, state->acquire_ctx);
+	if (ret)
+		return ERR_PTR(ret);
+
+	return crtc->state;
+}
+/* Do not export! Only meant for drm_atomic_set_property(). */
+
 static int drm_atomic_crtc_check(const struct drm_crtc_state *old_crtc_state,
 				 const struct drm_crtc_state *new_crtc_state)
 {
@@ -704,6 +726,43 @@ drm_atomic_get_plane_state(struct drm_atomic_commit *state,
 }
 EXPORT_SYMBOL(drm_atomic_get_plane_state);
 
+const struct drm_plane_state *
+__drm_atomic_get_current_plane_state(struct drm_atomic_commit *state,
+				     struct drm_plane *plane)
+{
+	const struct drm_plane_state *plane_state;
+	int ret;
+
+	WARN_ON(!state->acquire_ctx);
+	drm_WARN_ON(state->dev, state->checked);
+
+	plane_state = drm_atomic_get_new_plane_state(state, plane);
+	if (plane_state)
+		return plane_state;
+
+	ret = drm_modeset_lock(&plane->mutex, state->acquire_ctx);
+	if (ret)
+		return ERR_PTR(ret);
+
+	plane_state = plane->state;
+
+	/*
+	 * The plane's current crtc must always be added
+	 * to the commit for completion/event purposes.
+	 */
+	if (plane_state->crtc) {
+		struct drm_crtc_state *crtc_state;
+
+		crtc_state = drm_atomic_get_crtc_state(state,
+						       plane_state->crtc);
+		if (IS_ERR(crtc_state))
+			return ERR_CAST(crtc_state);
+	}
+
+	return plane_state;
+}
+/* Do not export! Only meant for drm_atomic_set_property(). */
+
 static void drm_atomic_commit_set_colorop_state(struct drm_atomic_commit *commit,
 						struct drm_colorop *colorop,
 						struct drm_colorop_state *colorop_state)
@@ -1496,6 +1555,44 @@ drm_atomic_get_connector_state(struct drm_atomic_commit *state,
 }
 EXPORT_SYMBOL(drm_atomic_get_connector_state);
 
+const struct drm_connector_state *
+__drm_atomic_get_current_connector_state(struct drm_atomic_commit *state,
+					 struct drm_connector *connector)
+{
+	struct drm_mode_config *config = &connector->dev->mode_config;
+	const struct drm_connector_state *connector_state;
+	int ret;
+
+	WARN_ON(!state->acquire_ctx);
+	drm_WARN_ON(state->dev, state->checked);
+
+	connector_state = drm_atomic_get_new_connector_state(state, connector);
+	if (connector_state)
+		return connector_state;
+
+	ret = drm_modeset_lock(&config->connection_mutex, state->acquire_ctx);
+	if (ret)
+		return ERR_PTR(ret);
+
+	connector_state = connector->state;
+
+	/*
+	 * The connectors's current crtc must always be added
+	 * to the commit for completion/event purposes.
+	 */
+	if (connector_state->crtc) {
+		struct drm_crtc_state *crtc_state;
+
+		crtc_state = drm_atomic_get_crtc_state(state,
+						       connector_state->crtc);
+		if (IS_ERR(crtc_state))
+			return ERR_CAST(crtc_state);
+	}
+
+	return connector_state;
+}
+/* Do not export! Only meant for drm_atomic_set_property(). */
+
 static void drm_atomic_connector_print_state(struct drm_printer *p,
 		const struct drm_connector_state *state)
 {
diff --git a/drivers/gpu/drm/drm_atomic_uapi.c b/drivers/gpu/drm/drm_atomic_uapi.c
index 7517950d2e51..87181aba1451 100644
--- a/drivers/gpu/drm/drm_atomic_uapi.c
+++ b/drivers/gpu/drm/drm_atomic_uapi.c
@@ -1212,15 +1212,19 @@ int drm_atomic_set_property(struct drm_atomic_commit *state,
 	case DRM_MODE_OBJECT_CONNECTOR: {
 		struct drm_connector *connector = obj_to_connector(obj);
 		struct drm_connector_state *connector_state;
-
-		connector_state = drm_atomic_get_connector_state(state, connector);
-		if (IS_ERR(connector_state)) {
-			ret = PTR_ERR(connector_state);
-			break;
-		}
+		bool is_noop = false;
 
 		if (async_flip) {
-			ret = drm_atomic_connector_get_property(connector, connector_state,
+			const struct drm_connector_state *current_connector_state;
+
+			current_connector_state =
+				__drm_atomic_get_current_connector_state(state, connector);
+			if (IS_ERR(current_connector_state)) {
+				ret = PTR_ERR(current_connector_state);
+				break;
+			}
+
+			ret = drm_atomic_connector_get_property(connector, current_connector_state,
 								prop, &old_val);
 			if (ret)
 				break;
@@ -1238,6 +1242,21 @@ int drm_atomic_set_property(struct drm_atomic_commit *state,
 				ret = -EINVAL;
 				break;
 			}
+
+			if (old_val == prop_value)
+				is_noop = true;
+		}
+
+		/* No-op connector property changes can be completely skipped */
+		if (is_noop) {
+			ret = 0;
+			break;
+		}
+
+		connector_state = drm_atomic_get_connector_state(state, connector);
+		if (IS_ERR(connector_state)) {
+			ret = PTR_ERR(connector_state);
+			break;
 		}
 
 		ret = drm_atomic_connector_set_property(connector,
@@ -1248,15 +1267,19 @@ int drm_atomic_set_property(struct drm_atomic_commit *state,
 	case DRM_MODE_OBJECT_CRTC: {
 		struct drm_crtc *crtc = obj_to_crtc(obj);
 		struct drm_crtc_state *crtc_state;
-
-		crtc_state = drm_atomic_get_crtc_state(state, crtc);
-		if (IS_ERR(crtc_state)) {
-			ret = PTR_ERR(crtc_state);
-			break;
-		}
+		bool is_noop = false;
 
 		if (async_flip) {
-			ret = drm_atomic_crtc_get_property(crtc, crtc_state,
+			const struct drm_crtc_state *current_crtc_state;
+
+			current_crtc_state =
+				__drm_atomic_get_current_crtc_state(state, crtc);
+			if (IS_ERR(current_crtc_state)) {
+				ret = PTR_ERR(current_crtc_state);
+				break;
+			}
+
+			ret = drm_atomic_crtc_get_property(crtc, current_crtc_state,
 							   prop, &old_val);
 			if (ret)
 				break;
@@ -1274,6 +1297,24 @@ int drm_atomic_set_property(struct drm_atomic_commit *state,
 				ret = -EINVAL;
 				break;
 			}
+
+			if (old_val == prop_value)
+				is_noop = true;
+		}
+
+		/*
+		 * CRTCs must always be included in the commit,
+		 * even for no-op property changes.
+		 */
+		crtc_state = drm_atomic_get_crtc_state(state, crtc);
+		if (IS_ERR(crtc_state)) {
+			ret = PTR_ERR(crtc_state);
+			break;
+		}
+
+		if (is_noop) {
+			ret = 0;
+			break;
 		}
 
 		ret = drm_atomic_crtc_set_property(crtc,
@@ -1285,16 +1326,19 @@ int drm_atomic_set_property(struct drm_atomic_commit *state,
 		struct drm_plane_state *plane_state;
 		struct drm_mode_config *config = &plane->dev->mode_config;
 		const struct drm_plane_helper_funcs *plane_funcs = plane->helper_private;
-
-		plane_state = drm_atomic_get_plane_state(state, plane);
-		if (IS_ERR(plane_state)) {
-			ret = PTR_ERR(plane_state);
-			break;
-		}
+		bool is_noop = false;
 
 		if (async_flip) {
-			/* no-op changes are always allowed */
-			ret = drm_atomic_plane_get_property(plane, plane_state,
+			const struct drm_plane_state *current_plane_state;
+
+			current_plane_state =
+				__drm_atomic_get_current_plane_state(state, plane);
+			if (IS_ERR(current_plane_state)) {
+				ret = PTR_ERR(current_plane_state);
+				break;
+			}
+
+			ret = drm_atomic_plane_get_property(plane, current_plane_state,
 							    prop, &old_val);
 			if (ret)
 				break;
@@ -1318,25 +1362,40 @@ int drm_atomic_set_property(struct drm_atomic_commit *state,
 				break;
 			}
 
-			/*
-			 * FIXME this is in the wrong place. Whether to do a
-			 * bypass commit for async flips would is a driver
-			 * decision. Drivers that want this need to just do
-			 * these checks themselves somewhere.
-			 */
-			if (old_val != prop_value && plane->type != DRM_PLANE_TYPE_PRIMARY) {
-				/* ask the driver if this non-primary plane is supported */
-				if (plane_funcs && plane_funcs->atomic_bypass_check)
-					ret = plane_funcs->atomic_bypass_check(plane, state, true);
-				else
-					ret = -EINVAL;
+			if (old_val == prop_value)
+				is_noop = true;
+		}
 
-				if (ret) {
-					drm_dbg_atomic(prop->dev,
-						       "[PLANE:%d:%s] does not support async flips\n",
-						       obj->id, plane->name);
-					break;
-				}
+		/* No-op plane property changes can be fully skipped */
+		if (is_noop) {
+			ret = 0;
+			break;
+		}
+
+		plane_state = drm_atomic_get_plane_state(state, plane);
+		if (IS_ERR(plane_state)) {
+			ret = PTR_ERR(plane_state);
+			break;
+		}
+
+		/*
+		 * FIXME this is in the wrong place. Whether to do a
+		 * bypass commit for async flips would is a driver
+		 * decision. Drivers that want this need to just do
+		 * these checks themselves somewhere.
+		 */
+		if (async_flip && !is_noop && plane->type != DRM_PLANE_TYPE_PRIMARY) {
+			/* ask the driver if this non-primary plane is supported */
+			if (plane_funcs && plane_funcs->atomic_bypass_check)
+				ret = plane_funcs->atomic_bypass_check(plane, state, true);
+			else
+				ret = -EINVAL;
+
+			if (ret) {
+				drm_dbg_atomic(prop->dev,
+					       "[PLANE:%d:%s] does not support async flips\n",
+					       obj->id, plane->name);
+				break;
 			}
 		}
 
diff --git a/drivers/gpu/drm/drm_crtc_internal.h b/drivers/gpu/drm/drm_crtc_internal.h
index 3492787c3697..5ae86d33e3ae 100644
--- a/drivers/gpu/drm/drm_crtc_internal.h
+++ b/drivers/gpu/drm/drm_crtc_internal.h
@@ -252,6 +252,15 @@ int __drm_atomic_helper_set_config(struct drm_mode_set *set,
 
 void drm_atomic_print_new_state(const struct drm_atomic_commit *state,
 		struct drm_printer *p);
+const struct drm_crtc_state *
+__drm_atomic_get_current_crtc_state(struct drm_atomic_commit *state,
+				    struct drm_crtc *crtc);
+const struct drm_connector_state *
+__drm_atomic_get_current_connector_state(struct drm_atomic_commit *state,
+					 struct drm_connector *connector);
+const struct drm_plane_state *
+__drm_atomic_get_current_plane_state(struct drm_atomic_commit *state,
+				     struct drm_plane *plane);
 
 /* drm_atomic_uapi.c */
 int drm_atomic_connector_commit_dpms(struct drm_atomic_commit *state,
-- 
2.56.0


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

* [PATCH 12/12] drm/atomic/uapi: Extract {connector, crtc, plane}_async_flip_check()
  2026-11-16  9:11 [PATCH 00/12] drm/atomic: Try to make atomic+async usable, and clear up the "async update" helper confusion Ville Syrjala
                   ` (10 preceding siblings ...)
  2026-11-16  9:11 ` [PATCH 11/12] drm/atomic/uapi: Make async flips a bit more palatable through atomic Ville Syrjala
@ 2026-11-16  9:11 ` Ville Syrjala
  2026-11-16 10:37 ` ✗ CI.checkpatch: warning for drm/atomic: Try to make atomic+async usable, and clear up the "async update" helper confusion Patchwork
                   ` (3 subsequent siblings)
  15 siblings, 0 replies; 22+ messages in thread
From: Ville Syrjala @ 2026-11-16  9:11 UTC (permalink / raw)
  To: dri-devel
  Cc: intel-gfx, intel-xe, Erwin Springer, amd-gfx, André Almeida,
	Boris Brezillon, Christopher Snowhill, Dave Stevenson,
	Dharma Balasubiramani, Dmitry Baryshkov, freedreno,
	Gustavo Padovan, Huacai Chen, Icenowy Zheng, Jianmin Lv,
	linux-arm-msm, linux-mediatek, linux-rockchip, linux-tegra,
	Liviu Dudau, Maíra Canal, Manikandan Muralidharan,
	Maxime Ripard, Mingcong Bai, nouveau, Qianhai Wu,
	Raspberry Pi Kernel Maintenance, Simon Ser, wayland-devel,
	Xaver Hugl, Xi Ruoyao

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

Reduce the clutter in drm_atomic_set_property() by
extracting the async flip related checks to
connector,crtc,plane}_async_flip_check().

Cc: amd-gfx@lists.freedesktop.org
Cc: André Almeida <andrealmeid@igalia.com>
Cc: Boris Brezillon <bbrezillon@kernel.org>
Cc: Christopher Snowhill <chris@kode54.net>
Cc: Dave Stevenson <dave.stevenson@raspberrypi.com>
Cc: Dharma Balasubiramani <dharma.b@microchip.com>
Cc: Dmitry Baryshkov <lumag@kernel.org>
Cc: freedreno@lists.freedesktop.org
Cc: Gustavo Padovan <gustavo.padovan@collabora.com>
Cc: Huacai Chen <chenhuacai@kernel.org>
Cc: Icenowy Zheng <zhengxingda@iscas.ac.cn>
Cc: intel-gfx@lists.freedesktop.org
Cc: intel-xe@lists.freedesktop.org
Cc: Jianmin Lv <lvjianmin@loongson.cn>
Cc: linux-arm-msm@vger.kernel.org
Cc: linux-mediatek@lists.infradead.org
Cc: linux-rockchip@lists.infradead.org
Cc: linux-tegra@vger.kernel.org
Cc: Liviu Dudau <liviu.dudau@arm.com>
Cc: Maíra Canal <mcanal@igalia.com>
Cc: Manikandan Muralidharan <manikandan.m@microchip.com>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: Mingcong Bai <jeffbai@aosc.io>
Cc: nouveau@lists.freedesktop.org
Cc: Qianhai Wu <wuqianhai@loongson.cn>
Cc: Raspberry Pi Kernel Maintenance <kernel-list@raspberrypi.com>
Cc: Simon Ser <contact@emersion.fr>
Cc: wayland-devel@lists.freedesktop.org
Cc: Xaver Hugl <xaver.hugl@kde.org>
Cc: Xi Ruoyao <xry111@xry111.site>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
 drivers/gpu/drm/drm_atomic_uapi.c | 215 +++++++++++++++++-------------
 1 file changed, 124 insertions(+), 91 deletions(-)

diff --git a/drivers/gpu/drm/drm_atomic_uapi.c b/drivers/gpu/drm/drm_atomic_uapi.c
index 87181aba1451..65e1be6c4ad5 100644
--- a/drivers/gpu/drm/drm_atomic_uapi.c
+++ b/drivers/gpu/drm/drm_atomic_uapi.c
@@ -1194,6 +1194,124 @@ int drm_atomic_connector_commit_dpms(struct drm_atomic_commit *state,
 	return ret;
 }
 
+static int connector_async_flip_check(struct drm_atomic_commit *state,
+				      struct drm_connector *connector,
+				      struct drm_property *prop,
+				      u64 prop_value, bool *is_noop)
+{
+	const struct drm_connector_state *current_connector_state;
+	u64 old_val = 0;
+	int ret;
+
+	current_connector_state =
+		__drm_atomic_get_current_connector_state(state, connector);
+	if (IS_ERR(current_connector_state))
+		return PTR_ERR(current_connector_state);
+
+	ret = drm_atomic_connector_get_property(connector, current_connector_state,
+						prop, &old_val);
+	if (ret)
+		return ret;
+
+	/*
+	 * Note that for WRITEBACK_FB_ID and WRITEBACK_OUT_FENCE_PTR
+	 * the old value will always be 0. So any commit that sets either
+	 * property to any other value will not be considered a no-op.
+	 */
+	if (old_val != prop_value) {
+		drm_dbg_atomic(prop->dev,
+			       "[CONNECTOR:%d:%s][PROP:%d:%s] Unsupported property change during async flip\n",
+			       connector->base.id, connector->name,
+			       prop->base.id, prop->name);
+		return -EINVAL;
+	}
+
+	*is_noop = old_val == prop_value;
+
+	return 0;
+}
+
+static int crtc_async_flip_check(struct drm_atomic_commit *state,
+				 struct drm_crtc *crtc,
+				 struct drm_property *prop,
+				 u64 prop_value, bool *is_noop)
+{
+	const struct drm_crtc_state *current_crtc_state;
+	u64 old_val = 0;
+	int ret;
+
+	current_crtc_state =
+		__drm_atomic_get_current_crtc_state(state, crtc);
+	if (IS_ERR(current_crtc_state))
+		return PTR_ERR(current_crtc_state);
+
+	ret = drm_atomic_crtc_get_property(crtc, current_crtc_state,
+					   prop, &old_val);
+	if (ret)
+		return ret;
+
+	/*
+	 * Note that for OUT_FENCE_PTR the old value will always be 0.
+	 * So any commit that sets the property to any other value
+	 * will not be considered a no-op.
+	 */
+	if (old_val != prop_value) {
+		drm_dbg_atomic(prop->dev,
+			       "[CRTC:%d:%s][PROP:%d:%s] Unsupported property change during async flip\n",
+			       crtc->base.id, crtc->name,
+			       prop->base.id, prop->name);
+		return -EINVAL;
+	}
+
+	*is_noop = old_val == prop_value;
+
+	return 0;
+}
+
+static int plane_async_flip_check(struct drm_atomic_commit *state,
+				  struct drm_plane *plane,
+				  struct drm_property *prop,
+				  u64 prop_value, bool *is_noop)
+{
+	struct drm_device *dev = plane->dev;
+	struct drm_mode_config *config = &dev->mode_config;
+	const struct drm_plane_state *current_plane_state;
+	u64 old_val = 0;
+	int ret;
+
+	current_plane_state =
+		__drm_atomic_get_current_plane_state(state, plane);
+	if (IS_ERR(current_plane_state))
+		return PTR_ERR(current_plane_state);
+
+	ret = drm_atomic_plane_get_property(plane, current_plane_state,
+					    prop, &old_val);
+	if (ret)
+		return ret;
+
+	/*
+	 * Fail everything that isn't no-op or a pure flip.
+	 *
+	 * Note that for IN_FENCE_FD the old value will always be -1.
+	 * So any commit that sets the property to any other value
+	 * will not be considered a no-op.
+	 */
+	if (old_val != prop_value &&
+	    prop != config->prop_fb_id &&
+	    prop != config->prop_in_fence_fd &&
+	    prop != config->prop_fb_damage_clips) {
+		drm_dbg_atomic(prop->dev,
+			       "[PLANE:%d:%s][PROP:%d:%s] Unsupported property change during async flip\n",
+			       plane->base.id, plane->name,
+			       prop->base.id, prop->name);
+		return -EINVAL;
+	}
+
+	*is_noop = old_val == prop_value;
+
+	return 0;
+}
+
 int drm_atomic_set_property(struct drm_atomic_commit *state,
 			    struct drm_file *file_priv,
 			    struct drm_mode_object *obj,
@@ -1202,7 +1320,6 @@ int drm_atomic_set_property(struct drm_atomic_commit *state,
 			    bool async_flip)
 {
 	struct drm_mode_object *ref;
-	u64 old_val;
 	int ret;
 
 	if (!drm_property_change_valid_get(prop, prop_value, &ref))
@@ -1215,36 +1332,10 @@ int drm_atomic_set_property(struct drm_atomic_commit *state,
 		bool is_noop = false;
 
 		if (async_flip) {
-			const struct drm_connector_state *current_connector_state;
-
-			current_connector_state =
-				__drm_atomic_get_current_connector_state(state, connector);
-			if (IS_ERR(current_connector_state)) {
-				ret = PTR_ERR(current_connector_state);
-				break;
-			}
-
-			ret = drm_atomic_connector_get_property(connector, current_connector_state,
-								prop, &old_val);
+			ret = connector_async_flip_check(state, connector,
+							 prop, prop_value, &is_noop);
 			if (ret)
 				break;
-
-			/*
-			 * Note that for WRITEBACK_FB_ID and WRITEBACK_OUT_FENCE_PTR
-			 * the old value will always be 0. So any commit that sets either
-			 * property to any other value will not be considered a no-op.
-			 */
-			if (old_val != prop_value) {
-				drm_dbg_atomic(prop->dev,
-					       "[CONNECTOR:%d:%s][PROP:%d:%s] Unsupported property change during async flip\n",
-					       connector->base.id, connector->name,
-					       prop->base.id, prop->name);
-				ret = -EINVAL;
-				break;
-			}
-
-			if (old_val == prop_value)
-				is_noop = true;
 		}
 
 		/* No-op connector property changes can be completely skipped */
@@ -1270,36 +1361,10 @@ int drm_atomic_set_property(struct drm_atomic_commit *state,
 		bool is_noop = false;
 
 		if (async_flip) {
-			const struct drm_crtc_state *current_crtc_state;
-
-			current_crtc_state =
-				__drm_atomic_get_current_crtc_state(state, crtc);
-			if (IS_ERR(current_crtc_state)) {
-				ret = PTR_ERR(current_crtc_state);
-				break;
-			}
-
-			ret = drm_atomic_crtc_get_property(crtc, current_crtc_state,
-							   prop, &old_val);
+			ret = crtc_async_flip_check(state, crtc,
+						    prop, prop_value, &is_noop);
 			if (ret)
 				break;
-
-			/*
-			 * Note that for OUT_FENCE_PTR the old value will always be 0.
-			 * So any commit that sets the property to any other value
-			 * will not be considered a no-op.
-			 */
-			if (old_val != prop_value) {
-				drm_dbg_atomic(prop->dev,
-					       "[CRTC:%d:%s][PROP:%d:%s] Unsupported property change during async flip\n",
-					       crtc->base.id, crtc->name,
-					       prop->base.id, prop->name);
-				ret = -EINVAL;
-				break;
-			}
-
-			if (old_val == prop_value)
-				is_noop = true;
 		}
 
 		/*
@@ -1324,46 +1389,14 @@ int drm_atomic_set_property(struct drm_atomic_commit *state,
 	case DRM_MODE_OBJECT_PLANE: {
 		struct drm_plane *plane = obj_to_plane(obj);
 		struct drm_plane_state *plane_state;
-		struct drm_mode_config *config = &plane->dev->mode_config;
 		const struct drm_plane_helper_funcs *plane_funcs = plane->helper_private;
 		bool is_noop = false;
 
 		if (async_flip) {
-			const struct drm_plane_state *current_plane_state;
-
-			current_plane_state =
-				__drm_atomic_get_current_plane_state(state, plane);
-			if (IS_ERR(current_plane_state)) {
-				ret = PTR_ERR(current_plane_state);
-				break;
-			}
-
-			ret = drm_atomic_plane_get_property(plane, current_plane_state,
-							    prop, &old_val);
+			ret = plane_async_flip_check(state, plane,
+						     prop, prop_value, &is_noop);
 			if (ret)
 				break;
-
-			/*
-			 * Fail everything that isn't no-op or a pure flip.
-			 *
-			 * Note that for IN_FENCE_FD the old value will always be -1.
-			 * So any commit that sets the property to any other value
-			 * will not be considered a no-op.
-			 */
-			if (old_val != prop_value &&
-			    prop != config->prop_fb_id &&
-			    prop != config->prop_in_fence_fd &&
-			    prop != config->prop_fb_damage_clips) {
-				drm_dbg_atomic(prop->dev,
-					       "[PLANE:%d:%s][PROP:%d:%s] Unsupported property change during async flip\n",
-					       plane->base.id, plane->name,
-					       prop->base.id, prop->name);
-				ret = -EINVAL;
-				break;
-			}
-
-			if (old_val == prop_value)
-				is_noop = true;
 		}
 
 		/* No-op plane property changes can be fully skipped */
-- 
2.56.0


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

* Re: [PATCH 02/12] drm/atomic: s/async/bypass/
  2026-11-16  9:11 ` [PATCH 02/12] drm/atomic: s/async/bypass/ Ville Syrjala
@ 2026-11-16  9:23   ` sashiko-bot
  0 siblings, 0 replies; 22+ messages in thread
From: sashiko-bot @ 2026-11-16  9:23 UTC (permalink / raw)
  To: Ville Syrjala, dri-devel; +Cc: intel-gfx, intel-xe, amd-gfx

Thank you for your contribution! Sashiko AI review found no new issues
in this patch, but noticed 2 related pre-existing issues it does not
introduce:
- [High] drm/loongson: live state mutation in
  lsdc_cursor_plane_atomic_async_check() [1]
- [Medium] drm/loongson: incomplete state copy in
  lsdc_cursor_plane_atomic_async_update() [2]
--

commit 7aa4a6090dacda1cd98d23702b18772083dad3be
Author: Ville Syrjälä <ville.syrjala@linux.intel.com>

drm/atomic: s/async/bypass/

This commit renames the atomic plane async update helpers, hooks, and
state flags to "bypass" across the DRM core and display drivers.

[ ... ]

> diff --git a/drivers/gpu/drm/loongson/lsdc_plane.c b/drivers/gpu/drm/loongson/lsdc_plane.c
> index c425288ba4909..59f85072273a6 100644
> --- a/drivers/gpu/drm/loongson/lsdc_plane.c
> +++ b/drivers/gpu/drm/loongson/lsdc_plane.c
> @@ -172,9 +172,9 @@ static const struct drm_plane_helper_funcs lsdc_primary_helper_funcs = {
>  	.atomic_disable = lsdc_primary_atomic_disable,
>  };
>  
> -static int lsdc_cursor_plane_atomic_async_check(struct drm_plane *plane,
> -						struct drm_atomic_commit *state,
> -						bool flip)
> +static int lsdc_cursor_plane_atomic_bypass_check(struct drm_plane *plane,
> +						 struct drm_atomic_commit *state,
> +						 bool flip)
>  {
>  	struct drm_plane_state *new_state;
>  	struct drm_crtc_state *crtc_state;

[Severity: High]
This problem wasn't introduced by this patch, but should
lsdc_cursor_plane_atomic_bypass_check() pass new_state instead of
plane->state to drm_atomic_helper_check_plane_state() [1]?

drivers/gpu/drm/loongson/lsdc_plane.c:lsdc_cursor_plane_atomic_bypass_check() {
	...
	return drm_atomic_helper_check_plane_state(plane->state,
						   crtc_state,
						   DRM_PLANE_NO_SCALING,
						   DRM_PLANE_NO_SCALING,
						   true, true);
}

drm_atomic_helper_check_plane_state() updates src, dst, and visible on the
passed-in state, so passing plane->state mutates the live committed state
during the check phase, racing with concurrent readers and corrupting
active state if the check fails or runs as TEST_ONLY.

> @@ -219,8 +219,8 @@ static int lsdc_cursor_plane_atomic_async_check(struct drm_plane *plane,
>  						   true, true);
>  }
>  
> -static void lsdc_cursor_plane_atomic_async_update(struct drm_plane *plane,
> -						  struct drm_atomic_commit *state)
> +static void lsdc_cursor_plane_atomic_bypass_update(struct drm_plane *plane,
> +						   struct drm_atomic_commit *state)
>  {
>  	struct lsdc_cursor *cursor = to_lsdc_cursor(plane);
>  	const struct lsdc_cursor_plane_ops *ops = cursor->ops;

[Severity: Medium]
This problem wasn't introduced by this patch, but does
lsdc_cursor_plane_atomic_bypass_update() leave plane->state with stale
clipping rectangles and visibility [2]?

drivers/gpu/drm/loongson/lsdc_plane.c:lsdc_cursor_plane_atomic_bypass_update() {
	...
	plane->state->src_x = new_state->src_x;
	plane->state->src_y = new_state->src_y;
	plane->state->src_h = new_state->src_h;
	plane->state->src_w = new_state->src_w;
	swap(plane->state->fb, new_state->fb);
	...
}

The in-place state update copies the integer coordinates and swaps fb, but
never copies src, dst, or visible from new_state into plane->state, leaving
them out of sync with the updated coordinates once the check phase stops
mutating plane->state directly.

[1] https://sashiko.dev/#/bug/linux-6b50e65f-5d91-4154-8ead-a7e41b3bb981
[2] https://sashiko.dev/#/bug/linux-39745fec-ddf4-4f7a-a3b2-188ca2cfda2a

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261116091130.13950-1-ville.syrjala@linux.intel.com?part=2

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

* Re: [PATCH 10/12] drm/i915: Complete no-op "async flips" by hand
  2026-11-16  9:11 ` [PATCH 10/12] drm/i915: Complete no-op "async flips" by hand Ville Syrjala
@ 2026-11-16  9:28   ` sashiko-bot
  2026-11-16 11:10     ` Ville Syrjälä
  0 siblings, 1 reply; 22+ messages in thread
From: sashiko-bot @ 2026-11-16  9:28 UTC (permalink / raw)
  To: Ville Syrjala, dri-devel; +Cc: intel-gfx, intel-xe, amd-gfx

Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [Medium] drm/i915: unreachable noop check in
  intel_crtc_complete_noop_async_flip()
- [Medium] drm/i915: intel_crtc_complete_noop_async_flip() checks
  cleared uapi.event
--

commit 828bac38a449130d5473b2a45f7f646152241cec
Author: Ville Syrjälä <ville.syrjala@linux.intel.com>

drm/i915: Complete no-op "async flips" by hand

This commit adds helpers to manually send the vblank event for atomic
async flip commits when no planes are updated.

> diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c
> index f79caeb5a82ec..dd12929284bb8 100644
> --- a/drivers/gpu/drm/i915/display/intel_display.c
> +++ b/drivers/gpu/drm/i915/display/intel_display.c
> @@ -1190,6 +1190,42 @@ static void intel_crtc_disable_flip_done(struct intel_atomic_state *state,
>  	}
>  }
>  
> +static void intel_crtc_complete_noop_async_flip(struct intel_crtc_state *crtc_state)
> +{
> +	struct intel_display *display = to_intel_display(crtc_state);
> +	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
> +
> +	if (!crtc_state->do_async_flip)
> +		return;
> +
> +	/*
> +	 * If there are planes actually performing the async flip then
> +	 * the commit will be completed via the flip done interrupt
> +	 * handler. For a fully no-op "async flip" the commit must
> +	 * be completed by hand as no interrupt will be raised.
> +	 */
> +	if (crtc_state->update_planes)
> +		return;

[Severity: Medium]
Can crtc_state->do_async_flip ever be true when crtc_state->update_planes
is zero?

intel_crtc_duplicate_state() initializes both fields to zero/false, and the
only place that sets new_crtc_state->do_async_flip = true is
intel_plane_atomic_check_with_state() -> intel_plane_atomic_calc_changes()
for a visible plane, after intel_plane_atomic_check_with_state() has
already set BIT(plane->id) in new_crtc_state->update_planes:

drivers/gpu/drm/i915/display/intel_plane.c:intel_plane_atomic_check_with_state() {
	...
	if (new_plane_state->uapi.visible || old_plane_state->uapi.visible)
		new_crtc_state->update_planes |= BIT(plane->id);
	...
	return intel_plane_atomic_calc_changes(old_crtc_state, new_crtc_state,
					       old_plane_state, new_plane_state);
}

When no visible planes are in the atomic state, crtc_state->do_async_flip
remains false (unlike crtc_state->uapi.async_flip), so this function always
returns early on the first check and never completes a no-op async flip.

> +
> +	if (crtc_state->uapi.event) {
> +		spin_lock_irq(&display->drm->event_lock);
> +		drm_crtc_send_vblank_event(&crtc->base,
> +					   crtc_state->uapi.event);
> +		spin_unlock_irq(&display->drm->event_lock);
> +
> +		crtc_state->uapi.event = NULL;
> +	}
> +}

[Severity: Medium]
Will crtc_state->uapi.event always be NULL by the time
intel_crtc_complete_noop_async_flip() runs?

In intel_atomic_commit_tail(), commit_modeset_enables() runs before
intel_atomic_complete_noop_async_flips().  When new_crtc_state->do_async_flip
is true, intel_update_crtc() -> intel_pipe_update_start() calls
intel_crtc_prepare_vblank_event(new_crtc_state, &crtc->flip_done_event),
which moves new_crtc_state->uapi.event into crtc->flip_done_event and sets
new_crtc_state->uapi.event = NULL.  With update_planes == 0, no flip-done
interrupt will fire to consume crtc->flip_done_event, leaving the event
unsent and causing drm_atomic_helper_wait_for_flip_done() to time out.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261116091130.13950-1-ville.syrjala@linux.intel.com?part=10

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

* Re: [PATCH 11/12] drm/atomic/uapi: Make async flips a bit more palatable through atomic
  2026-11-16  9:11 ` [PATCH 11/12] drm/atomic/uapi: Make async flips a bit more palatable through atomic Ville Syrjala
@ 2026-11-16  9:44   ` sashiko-bot
  2026-11-16 11:06     ` Ville Syrjälä
  0 siblings, 1 reply; 22+ messages in thread
From: sashiko-bot @ 2026-11-16  9:44 UTC (permalink / raw)
  To: Ville Syrjala, dri-devel; +Cc: intel-gfx, intel-xe, amd-gfx

Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [High] drm/atomic: skipping all no-op planes breaks CRTC-only async
  flips
- [Medium] drm/atomic: stale FB_DAMAGE_CLIPS read in
  drm_atomic_set_property()
--

commit 64d10f48b65296ed20fc62e81d5d8b357f0e8b51
Author: Ville Syrjälä <ville.syrjala@linux.intel.com>

drm/atomic/uapi: Make async flips a bit more palatable through atomic

This commit filters out no-op property changes during atomic async flips
in drm_atomic_set_property() before duplicating plane and connector states,
while still adding the associated CRTCs to the commit.

> diff --git a/drivers/gpu/drm/drm_atomic_uapi.c b/drivers/gpu/drm/drm_atomic_uapi.c
> index 7517950d2e515..87181aba14514 100644
> --- a/drivers/gpu/drm/drm_atomic_uapi.c
> +++ b/drivers/gpu/drm/drm_atomic_uapi.c

[ ... ]

> @@ -1285,16 +1326,19 @@ int drm_atomic_set_property(struct drm_atomic_commit *state,
>  		struct drm_plane_state *plane_state;
>  		struct drm_mode_config *config = &plane->dev->mode_config;
>  		const struct drm_plane_helper_funcs *plane_funcs = plane->helper_private;
> -
> -		plane_state = drm_atomic_get_plane_state(state, plane);
> -		if (IS_ERR(plane_state)) {
> -			ret = PTR_ERR(plane_state);
> -			break;
> -		}
> +		bool is_noop = false;
>  
>  		if (async_flip) {
> -			/* no-op changes are always allowed */
> -			ret = drm_atomic_plane_get_property(plane, plane_state,
> +			const struct drm_plane_state *current_plane_state;
> +
> +			current_plane_state =
> +				__drm_atomic_get_current_plane_state(state, plane);
> +			if (IS_ERR(current_plane_state)) {
> +				ret = PTR_ERR(current_plane_state);
> +				break;
> +			}
> +
> +			ret = drm_atomic_plane_get_property(plane, current_plane_state,
>  							    prop, &old_val);

[Severity: Medium]
Does reading prop_fb_damage_clips from current_plane_state return the
previous commit's damage blob ID instead of 0?

Unlike IN_FENCE_FD (which always reports -1), drm_atomic_plane_get_property()
returns state->fb_damage_clips->base.id, and state->fb_damage_clips is only
cleared to NULL when __drm_atomic_helper_plane_duplicate_state() duplicates
the state for a new commit.  Before this change, drm_atomic_get_plane_state()
ran first, so old_val was always 0 on a fresh plane state.

When current_plane_state is the un-duplicated plane->state from a previous
commit that attached damage clips, passing FB_DAMAGE_CLIPS = 0 on a
non-primary plane (such as a cursor plane) looks like a property change
(old_val != 0) and fails the async flip with -EINVAL.  Conversely, if
userspace passes the same blob ID as the previous commit before FB_ID in the
property list, FB_DAMAGE_CLIPS is skipped as a no-op and then wiped to NULL
when FB_ID duplicates the plane state.

>  			if (ret)
>  				break;
> @@ -1318,25 +1362,40 @@ int drm_atomic_set_property(struct drm_atomic_commit *state,
>  				break;
>  			}
>  
> -			/*
> -			 * FIXME this is in the wrong place. Whether to do a
> -			 * bypass commit for async flips would is a driver
> -			 * decision. Drivers that want this need to just do
> -			 * these checks themselves somewhere.
> -			 */
> -			if (old_val != prop_value && plane->type != DRM_PLANE_TYPE_PRIMARY) {
> -				/* ask the driver if this non-primary plane is supported */
> -				if (plane_funcs && plane_funcs->atomic_bypass_check)
> -					ret = plane_funcs->atomic_bypass_check(plane, state, true);
> -				else
> -					ret = -EINVAL;
> -
> -				if (ret) {
> -					drm_dbg_atomic(prop->dev,
> -						       "[PLANE:%d:%s] does not support async flips\n",
> -						       obj->id, plane->name);
> -					break;
> -				}
> +			if (old_val == prop_value)
> +				is_noop = true;
> +		}
> +
> +		/* No-op plane property changes can be fully skipped */
> +		if (is_noop) {
> +			ret = 0;
> +			break;
> +		}

[Severity: High]
What happens when all plane property updates in an async flip commit are
no-ops (for example, primary plane FB_ID set to the current FB_ID)?

__drm_atomic_get_current_plane_state() adds the CRTC to the commit and
set_async_flip() sets crtc_state->async_flip = true, but skipping all planes
leaves the commit with zero planes in state.

On i915/xe, crtc_state->do_async_flip is only set in
intel_plane_atomic_calc_changes(), which only runs for planes in state.
With no planes in state, do_async_flip stays false:

1. If the first async flip on a pipe is a no-op, uapi.async_flip becomes
   true in crtc->state without switching the primary plane to minimal
   wm0/DDB.  On the next async flip where FB_ID actually changes,
   intel_plane_do_async_flip() sees old_crtc_state->uapi.async_flip == true
   and sets do_async_flip = true, while skl_compute_wm() tries to switch to
   minimal wm0/DDB for the first time; skl_ddb_add_affected_planes() and
   skl_wm_add_affected_planes() then reject that and all subsequent async
   flips with -EINVAL because watermarks/DDB cannot change during an async
   flip.

2. intel_crtc_complete_noop_async_flip() from commit "drm/i915: Complete
   no-op async flips by hand" returns early on !crtc_state->do_async_flip,
   so a no-op async flip falls through to a vblank-waited sync commit.

3. On amdgpu_dm, a commit with no planes skips pageflip event arming in
   amdgpu_dm_commit_planes() and falls back to drm_send_event_locked() in
   amdgpu_dm_atomic_commit_tail(), sending DRM_EVENT_FLIP_COMPLETE with a
   zeroed sequence and timestamp.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261116091130.13950-1-ville.syrjala@linux.intel.com?part=11

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

* ✗ CI.checkpatch: warning for drm/atomic: Try to make atomic+async usable, and clear up the "async update" helper confusion
  2026-11-16  9:11 [PATCH 00/12] drm/atomic: Try to make atomic+async usable, and clear up the "async update" helper confusion Ville Syrjala
                   ` (11 preceding siblings ...)
  2026-11-16  9:11 ` [PATCH 12/12] drm/atomic/uapi: Extract {connector, crtc, plane}_async_flip_check() Ville Syrjala
@ 2026-11-16 10:37 ` Patchwork
  2026-11-16 10:39 ` ✓ CI.KUnit: success " Patchwork
                   ` (2 subsequent siblings)
  15 siblings, 0 replies; 22+ messages in thread
From: Patchwork @ 2026-11-16 10:37 UTC (permalink / raw)
  To: Ville Syrjälä; +Cc: intel-xe

== Series Details ==

Series: drm/atomic: Try to make atomic+async usable, and clear up the "async update" helper confusion
URL   : https://patchwork.freedesktop.org/series/178652/
State : warning

== Summary ==

+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
3009867cd31863246e4afc138520a7a8bd37bb11
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit f475fad08c303fd39bd60f4adb8fcbb36131e62f
Author: Ville Syrjälä <ville.syrjala@linux.intel.com>
Date:   Mon Nov 16 11:11:30 2026 +0200

    drm/atomic/uapi: Extract {connector, crtc, plane}_async_flip_check()
    
    Reduce the clutter in drm_atomic_set_property() by
    extracting the async flip related checks to
    connector,crtc,plane}_async_flip_check().
    
    Cc: amd-gfx@lists.freedesktop.org
    Cc: André Almeida <andrealmeid@igalia.com>
    Cc: Boris Brezillon <bbrezillon@kernel.org>
    Cc: Christopher Snowhill <chris@kode54.net>
    Cc: Dave Stevenson <dave.stevenson@raspberrypi.com>
    Cc: Dharma Balasubiramani <dharma.b@microchip.com>
    Cc: Dmitry Baryshkov <lumag@kernel.org>
    Cc: freedreno@lists.freedesktop.org
    Cc: Gustavo Padovan <gustavo.padovan@collabora.com>
    Cc: Huacai Chen <chenhuacai@kernel.org>
    Cc: Icenowy Zheng <zhengxingda@iscas.ac.cn>
    Cc: intel-gfx@lists.freedesktop.org
    Cc: intel-xe@lists.freedesktop.org
    Cc: Jianmin Lv <lvjianmin@loongson.cn>
    Cc: linux-arm-msm@vger.kernel.org
    Cc: linux-mediatek@lists.infradead.org
    Cc: linux-rockchip@lists.infradead.org
    Cc: linux-tegra@vger.kernel.org
    Cc: Liviu Dudau <liviu.dudau@arm.com>
    Cc: Maíra Canal <mcanal@igalia.com>
    Cc: Manikandan Muralidharan <manikandan.m@microchip.com>
    Cc: Maxime Ripard <mripard@kernel.org>
    Cc: Mingcong Bai <jeffbai@aosc.io>
    Cc: nouveau@lists.freedesktop.org
    Cc: Qianhai Wu <wuqianhai@loongson.cn>
    Cc: Raspberry Pi Kernel Maintenance <kernel-list@raspberrypi.com>
    Cc: Simon Ser <contact@emersion.fr>
    Cc: wayland-devel@lists.freedesktop.org
    Cc: Xaver Hugl <xaver.hugl@kde.org>
    Cc: Xi Ruoyao <xry111@xry111.site>
    Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
+ /mt/dim checkpatch 5bb208452f267a62584fc2c559a6b6feb18356f0 drm-intel
7dac1f962677 drm/atomic: Remove tall tales about tearing vs. "async updates"
a5594e92bb5d drm/atomic: s/async/bypass/
-:106: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#106: FILE: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c:1591:
 }
+EXPORT_IF_KUNIT(amdgpu_dm_plane_atomic_bypass_check);

-:126: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#126: FILE: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c:1751:
 }
+EXPORT_IF_KUNIT(amdgpu_dm_plane_atomic_bypass_update);

-:353: WARNING:LONG_LINE_COMMENT: line length of 104 exceeds 100 columns
#353: FILE: drivers/gpu/drm/drm_atomic_helper.c:2102:
+ * drm_atomic_helper_bypass_check - check if state can be committed bypassing the normal commit tracking

-:692: WARNING:LONG_LINE: line length of 101 exceeds 100 columns
#692: FILE: drivers/gpu/drm/tegra/dc.c:1130:
+static int tegra_cursor_atomic_bypass_check(struct drm_plane *plane, struct drm_atomic_commit *state,

total: 0 errors, 2 warnings, 2 checks, 712 lines checked
c71a4277e1f5 drm/atomic: Add FIXMEs around the incorrect use of the .atomic_bypass_check() for async flips
f5a92ae9b6c0 drm/atomic: Highlight that bypass commits need care
e135d605afa5 drm/atomic/uapi: Eliminate the confusing drm_atomic_check_prop_changes()
69bd6a603447 drm/atomic/uapi: Improve the async flip property rejection debugs
73e4a4a8ecaa drm/atomic/uapi: Document the non-obvious fence/fb_id prop behaviour
94b3e70759e5 drm/atomic/uapi: Add a FIXME about colorop vs. async flips
5fc713862c28 drm/atomic-helper: Mark drm_atomic_crtc_state_for_each_plane_state() unsafe
-:119: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#119: FILE: drivers/gpu/drm/i915/display/intel_display.h:310:
+#define __intel_atomic_crtc_state_for_each_plane_state_unsafe( \
 		  plane, plane_state, \
 		  crtc_state) \
 	for_each_intel_plane_mask(((crtc_state)->uapi.state->dev), (plane), \
 				((crtc_state)->uapi.plane_mask)) \
 		for_each_if ((plane_state = \
+			      to_intel_plane_state(__drm_atomic_get_current_plane_state_unsafe((crtc_state)->uapi.state, &plane->base))))

BUT SEE:

   do {} while (0) advice is over-stated in a few situations:

   The more obvious case is macros, like MODULE_PARM_DESC, invoked at
   file-scope, where C disallows code (it must be in functions).  See
   $exceptions if you have one to add by name.

   More troublesome is declarative macros used at top of new scope,
   like DECLARE_PER_CPU.  These might just compile with a do-while-0
   wrapper, but would be incorrect.  Most of these are handled by
   detecting struct,union,etc declaration primitives in $exceptions.

   Theres also macros called inside an if (block), which "return" an
   expression.  These cannot do-while, and need a ({}) wrapper.

   Enjoy this qualification while we work to improve our heuristics.

-:119: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'plane' - possible side-effects?
#119: FILE: drivers/gpu/drm/i915/display/intel_display.h:310:
+#define __intel_atomic_crtc_state_for_each_plane_state_unsafe( \
 		  plane, plane_state, \
 		  crtc_state) \
 	for_each_intel_plane_mask(((crtc_state)->uapi.state->dev), (plane), \
 				((crtc_state)->uapi.plane_mask)) \
 		for_each_if ((plane_state = \
+			      to_intel_plane_state(__drm_atomic_get_current_plane_state_unsafe((crtc_state)->uapi.state, &plane->base))))

-:119: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'crtc_state' - possible side-effects?
#119: FILE: drivers/gpu/drm/i915/display/intel_display.h:310:
+#define __intel_atomic_crtc_state_for_each_plane_state_unsafe( \
 		  plane, plane_state, \
 		  crtc_state) \
 	for_each_intel_plane_mask(((crtc_state)->uapi.state->dev), (plane), \
 				((crtc_state)->uapi.plane_mask)) \
 		for_each_if ((plane_state = \
+			      to_intel_plane_state(__drm_atomic_get_current_plane_state_unsafe((crtc_state)->uapi.state, &plane->base))))

-:126: WARNING:LONG_LINE: line length of 137 exceeds 100 columns
#126: FILE: drivers/gpu/drm/i915/display/intel_display.h:316:
+			      to_intel_plane_state(__drm_atomic_get_current_plane_state_unsafe((crtc_state)->uapi.state, &plane->base))))

-:260: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#260: FILE: include/drm/drm_atomic_helper.h:235:
+#define __drm_atomic_crtc_state_for_each_plane_state_unsafe(plane, plane_state, crtc_state) \
 	drm_for_each_plane_mask(plane, (crtc_state)->state->dev, (crtc_state)->plane_mask) \
 		for_each_if ((plane_state = \
+			      __drm_atomic_get_current_plane_state_unsafe((crtc_state)->state, \
+									  plane)))

BUT SEE:

   do {} while (0) advice is over-stated in a few situations:

   The more obvious case is macros, like MODULE_PARM_DESC, invoked at
   file-scope, where C disallows code (it must be in functions).  See
   $exceptions if you have one to add by name.

   More troublesome is declarative macros used at top of new scope,
   like DECLARE_PER_CPU.  These might just compile with a do-while-0
   wrapper, but would be incorrect.  Most of these are handled by
   detecting struct,union,etc declaration primitives in $exceptions.

   Theres also macros called inside an if (block), which "return" an
   expression.  These cannot do-while, and need a ({}) wrapper.

   Enjoy this qualification while we work to improve our heuristics.

-:260: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'plane' - possible side-effects?
#260: FILE: include/drm/drm_atomic_helper.h:235:
+#define __drm_atomic_crtc_state_for_each_plane_state_unsafe(plane, plane_state, crtc_state) \
 	drm_for_each_plane_mask(plane, (crtc_state)->state->dev, (crtc_state)->plane_mask) \
 		for_each_if ((plane_state = \
+			      __drm_atomic_get_current_plane_state_unsafe((crtc_state)->state, \
+									  plane)))

-:260: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'crtc_state' - possible side-effects?
#260: FILE: include/drm/drm_atomic_helper.h:235:
+#define __drm_atomic_crtc_state_for_each_plane_state_unsafe(plane, plane_state, crtc_state) \
 	drm_for_each_plane_mask(plane, (crtc_state)->state->dev, (crtc_state)->plane_mask) \
 		for_each_if ((plane_state = \
+			      __drm_atomic_get_current_plane_state_unsafe((crtc_state)->state, \
+									  plane)))

total: 2 errors, 1 warnings, 4 checks, 156 lines checked
ae15450fd980 drm/i915: Complete no-op "async flips" by hand
ab36804e3382 drm/atomic/uapi: Make async flips a bit more palatable through atomic
-:133: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#133: FILE: drivers/gpu/drm/drm_atomic.c:520:
+}
+/* Do not export! Only meant for drm_atomic_set_property(). */

-:177: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#177: FILE: drivers/gpu/drm/drm_atomic.c:764:
+}
+/* Do not export! Only meant for drm_atomic_set_property(). */

-:222: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#222: FILE: drivers/gpu/drm/drm_atomic.c:1594:
+}
+/* Do not export! Only meant for drm_atomic_set_property(). */

total: 0 errors, 0 warnings, 3 checks, 313 lines checked
f475fad08c30 drm/atomic/uapi: Extract {connector, crtc, plane}_async_flip_check()



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

* ✓ CI.KUnit: success for drm/atomic: Try to make atomic+async usable, and clear up the "async update" helper confusion
  2026-11-16  9:11 [PATCH 00/12] drm/atomic: Try to make atomic+async usable, and clear up the "async update" helper confusion Ville Syrjala
                   ` (12 preceding siblings ...)
  2026-11-16 10:37 ` ✗ CI.checkpatch: warning for drm/atomic: Try to make atomic+async usable, and clear up the "async update" helper confusion Patchwork
@ 2026-11-16 10:39 ` Patchwork
  2026-11-16 11:14 ` ✓ Xe.CI.BAT: " Patchwork
  2026-11-16 15:21 ` ✗ Xe.CI.FULL: failure " Patchwork
  15 siblings, 0 replies; 22+ messages in thread
From: Patchwork @ 2026-11-16 10:39 UTC (permalink / raw)
  To: Ville Syrjälä; +Cc: intel-xe

== Series Details ==

Series: drm/atomic: Try to make atomic+async usable, and clear up the "async update" helper confusion
URL   : https://patchwork.freedesktop.org/series/178652/
State : success

== Summary ==

+ trap cleanup EXIT
+ kunitconfigs=('/kernel/drivers/gpu/tests/.kunitconfig' '/kernel/drivers/gpu/drm/xe/.kunitconfig' '/kernel/drivers/gpu/drm/tests/.kunitconfig' '/kernel/drivers/gpu/drm/ttm/tests/.kunitconfig' '/kernel/drivers/dma-buf/.kunitconfig')
+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/tests/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/tests/.kunitconfig
[10:37:23] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[10:37:29] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[10:37:49] Starting KUnit Kernel (1/1)...
[10:37:49] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[10:37:49] ================= gpu_buddy (15 subtests) ==================
[10:37:49] [PASSED] gpu_test_buddy_alloc_limit
[10:37:49] [PASSED] gpu_test_buddy_alloc_optimistic
[10:37:49] [PASSED] gpu_test_buddy_alloc_pessimistic
[10:37:49] [PASSED] gpu_test_buddy_alloc_pathological
[10:37:49] [PASSED] gpu_test_buddy_alloc_contiguous
[10:37:49] [PASSED] gpu_test_buddy_alloc_clear
[10:37:49] [PASSED] gpu_test_buddy_alloc_range
[10:37:49] [PASSED] gpu_test_buddy_alloc_range_bias
[10:37:50] [PASSED] gpu_test_buddy_alloc_range_clear_guard
[10:37:51] [PASSED] gpu_test_buddy_fragmentation_performance
[10:37:51] [PASSED] gpu_test_buddy_dirty_tracker_performance
[10:37:51] [PASSED] gpu_test_buddy_alloc_exceeds_max_order
[10:37:51] [PASSED] gpu_test_buddy_offset_aligned_allocation
[10:37:51] [PASSED] gpu_test_buddy_subtree_offset_alignment_stress
[10:37:51] [PASSED] gpu_test_buddy_addr_to_block
[10:37:51] ==================== [PASSED] gpu_buddy ====================
[10:37:51] ============================================================
[10:37:51] Testing complete. Ran 15 tests: passed: 15
[10:37:51] Elapsed time: 27.719s total, 5.180s configuring, 20.571s building, 1.908s running

+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/drm/xe/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig
[10:37:51] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[10:37:54] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[10:38:32] Starting KUnit Kernel (1/1)...
[10:38:32] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[10:38:32] ================== guc_buf (11 subtests) ===================
[10:38:32] [PASSED] test_smallest
[10:38:32] [PASSED] test_largest
[10:38:32] [PASSED] test_granular
[10:38:32] [PASSED] test_unique
[10:38:32] [PASSED] test_overlap
[10:38:32] [PASSED] test_reusable
[10:38:32] [PASSED] test_too_big
[10:38:32] [PASSED] test_flush
[10:38:32] [PASSED] test_lookup
[10:38:32] [PASSED] test_data
[10:38:32] [PASSED] test_class
[10:38:32] ===================== [PASSED] guc_buf =====================
[10:38:32] =================== guc_dbm (7 subtests) ===================
[10:38:32] [PASSED] test_empty
[10:38:32] [PASSED] test_default
[10:38:32] ======================== test_size  ========================
[10:38:32] [PASSED] 4
[10:38:32] [PASSED] 8
[10:38:32] [PASSED] 32
[10:38:32] [PASSED] 256
[10:38:32] ==================== [PASSED] test_size ====================
[10:38:32] ======================= test_reuse  ========================
[10:38:32] [PASSED] 4
[10:38:32] [PASSED] 8
[10:38:32] [PASSED] 32
[10:38:32] [PASSED] 256
[10:38:32] =================== [PASSED] test_reuse ====================
[10:38:32] =================== test_range_overlap  ====================
[10:38:32] [PASSED] 4
[10:38:32] [PASSED] 8
[10:38:32] [PASSED] 32
[10:38:32] [PASSED] 256
[10:38:32] =============== [PASSED] test_range_overlap ================
[10:38:32] =================== test_range_compact  ====================
[10:38:32] [PASSED] 4
[10:38:32] [PASSED] 8
[10:38:32] [PASSED] 32
[10:38:32] [PASSED] 256
[10:38:32] =============== [PASSED] test_range_compact ================
[10:38:32] ==================== test_range_spare  =====================
[10:38:32] [PASSED] 4
[10:38:32] [PASSED] 8
[10:38:32] [PASSED] 32
[10:38:32] [PASSED] 256
[10:38:32] ================ [PASSED] test_range_spare =================
[10:38:32] ===================== [PASSED] guc_dbm =====================
[10:38:32] ================== guc_idm (22 subtests) ===================
[10:38:32] [PASSED] bad_init
[10:38:32] [PASSED] no_init
[10:38:32] [PASSED] init_fini
[10:38:32] [PASSED] check_init_small
[10:38:32] [PASSED] check_init_shared
[10:38:32] [PASSED] check_used
[10:38:32] [PASSED] check_quota
[10:38:32] [PASSED] check_all
[10:38:32] [PASSED] check_limits
[10:38:32] [PASSED] check_overlap
[10:38:32] [PASSED] check_overlap_alloc
[10:38:32] [PASSED] check_overlap_release
[10:38:32] [PASSED] check_overlap_partial_init
[10:38:32] [PASSED] check_overlap_partial_shared_range_blocking
[10:38:32] [PASSED] check_used_usable
[10:38:32] [PASSED] check_used_shareable
[10:38:32] [PASSED] check_used_mixed
[10:38:32] [PASSED] check_release_usable_range
[10:38:32] [PASSED] check_release_shareable_range
[10:38:32] [PASSED] check_split_boundaries
[10:38:32] [PASSED] check_shareable_spare
[10:38:32] [PASSED] check_shareable_spare_fragmented_tail
[10:38:32] ===================== [PASSED] guc_idm =====================
[10:38:32] ============== guc_klv_helpers (13 subtests) ===============
[10:38:32] [PASSED] test_count
[10:38:32] [PASSED] test_encode_u32
[10:38:32] [PASSED] test_encode_u64
[10:38:32] [PASSED] test_encode_string
[10:38:32] [PASSED] test_encode_object_raw
[10:38:32] [PASSED] test_encode_object_klv
[10:38:32] [PASSED] test_encode_object_nested
[10:38:32] [PASSED] test_encode_object_basic
[10:38:32] ===================== test_decode_u16  =====================
[10:38:32] [PASSED] empty
[10:38:32] [PASSED] valid
[10:38:32] [PASSED] max
[10:38:32] [PASSED] big
[10:38:32] [PASSED] long
[10:38:32] ================= [PASSED] test_decode_u16 =================
[10:38:32] ===================== test_decode_u32  =====================
[10:38:32] [PASSED] empty
[10:38:32] [PASSED] valid
[10:38:32] [PASSED] max
[10:38:32] [PASSED] long
[10:38:32] ================= [PASSED] test_decode_u32 =================
[10:38:32] ===================== test_decode_u64  =====================
[10:38:32] [PASSED] empty
[10:38:32] [PASSED] short
[10:38:32] [PASSED] valid
[10:38:32] [PASSED] max
[10:38:32] [PASSED] long
[10:38:32] ================= [PASSED] test_decode_u64 =================
[10:38:32] ===================== test_decode_str  =====================
[10:38:32] [PASSED] empty
[10:38:32] [PASSED] one
[10:38:32] [PASSED] one_trash
[10:38:32] [PASSED] two
[10:38:32] [PASSED] two_trash
[10:38:32] [PASSED] three
[10:38:32] [PASSED] dword
[10:38:32] [PASSED] four
[10:38:32] [PASSED] five
[10:38:32] [PASSED] six
[10:38:32] [PASSED] seven
[10:38:32] [PASSED] qword
[10:38:32] ================= [PASSED] test_decode_str =================
[10:38:32] [PASSED] test_print
[10:38:32] ================= [PASSED] guc_klv_helpers =================
[10:38:32] =================== xe_log (4 subtests) ====================
[10:38:32] [PASSED] demo_cper
[10:38:32] [PASSED] demo_dmesg
[10:38:32] ======================= test_dmesg  ========================
[10:38:32] [PASSED] test_fatal
[10:38:32] [PASSED] test_fatal_tile
[10:38:32] [PASSED] test_fatal_gt
[10:38:32] [PASSED] test_fatal_comp
[10:38:32] [PASSED] test_fatal_comp_tile
[10:38:32] [PASSED] test_fatal_comp_gt
[10:38:32] [PASSED] test_fatal_all
[10:38:32] [PASSED] test_recoverable
[10:38:32] [PASSED] test_recoverable_tile
[10:38:32] [PASSED] test_recoverable_gt
[10:38:32] [PASSED] test_recoverable_comp
[10:38:32] [PASSED] test_recoverable_comp_tile
[10:38:32] [PASSED] test_recoverable_comp_gt
[10:38:32] [PASSED] test_recoverable_all
[10:38:32] [PASSED] test_info
[10:38:32] [PASSED] test_info_tile
[10:38:32] [PASSED] test_info_gt
[10:38:32] [PASSED] test_info_err
[10:38:32] [PASSED] test_info_comp
[10:38:32] [PASSED] test_info_comp_tile
[10:38:32] [PASSED] test_info_comp_gt
[10:38:32] [PASSED] test_info_all
[10:38:32] [PASSED] test_hw_fatal
[10:38:32] [PASSED] test_hw_recoverable
[10:38:32] [PASSED] test_hw_corrected
[10:38:32] [PASSED] test_hw_informational
[10:38:32] =================== [PASSED] test_dmesg ====================
[10:38:32] ====================== test_invalid  =======================
[10:38:32] [SKIPPED] no-component no-location no-warn (requires CONFIG_DRM_XE_DEBUG)
[10:38:32] [SKIPPED] reserved location (requires CONFIG_DRM_XE_DEBUG)
[10:38:32] [SKIPPED] unknown location (requires CONFIG_DRM_XE_DEBUG)
[10:38:32] [SKIPPED] nonzero-device-id location (requires CONFIG_DRM_XE_DEBUG)
[10:38:32] [SKIPPED] invalid-tile-id location (requires CONFIG_DRM_XE_DEBUG)
[10:38:32] [SKIPPED] invalid-gt-id location (requires CONFIG_DRM_XE_DEBUG)
[10:38:32] [SKIPPED] unknown component class (requires CONFIG_DRM_XE_DEBUG)
[10:38:32] [SKIPPED] unknown system component (requires CONFIG_DRM_XE_DEBUG)
[10:38:32] [SKIPPED] unknown hardware component (requires CONFIG_DRM_XE_DEBUG)
[10:38:32] [SKIPPED] unknown component and location (requires CONFIG_DRM_XE_DEBUG)
[10:38:32] ================== [SKIPPED] test_invalid ==================
[10:38:32] ===================== [PASSED] xe_log ======================
[10:38:32] ================== no_relay (3 subtests) ===================
[10:38:32] [PASSED] xe_drops_guc2pf_if_not_ready
[10:38:32] [PASSED] xe_drops_guc2vf_if_not_ready
[10:38:32] [PASSED] xe_rejects_send_if_not_ready
[10:38:32] ==================== [PASSED] no_relay =====================
[10:38:32] ================== pf_relay (14 subtests) ==================
[10:38:32] [PASSED] pf_rejects_guc2pf_too_short
[10:38:32] [PASSED] pf_rejects_guc2pf_too_long
[10:38:32] [PASSED] pf_rejects_guc2pf_no_payload
[10:38:32] [PASSED] pf_fails_no_payload
[10:38:32] [PASSED] pf_fails_bad_origin
[10:38:32] [PASSED] pf_fails_bad_type
[10:38:32] [PASSED] pf_txn_reports_error
[10:38:32] [PASSED] pf_txn_sends_pf2guc
[10:38:32] [PASSED] pf_sends_pf2guc
[10:38:32] [SKIPPED] pf_loopback_nop (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[10:38:32] [SKIPPED] pf_loopback_echo (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[10:38:32] [SKIPPED] pf_loopback_fail (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[10:38:32] [SKIPPED] pf_loopback_busy (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[10:38:32] [SKIPPED] pf_loopback_retry (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[10:38:32] ==================== [PASSED] pf_relay =====================
[10:38:32] ================== vf_relay (3 subtests) ===================
[10:38:32] [PASSED] vf_rejects_guc2vf_too_short
[10:38:32] [PASSED] vf_rejects_guc2vf_too_long
[10:38:32] [PASSED] vf_rejects_guc2vf_no_payload
[10:38:32] ==================== [PASSED] vf_relay =====================
[10:38:32] ================ pf_gt_config (9 subtests) =================
[10:38:32] [PASSED] fair_contexts_1vf
[10:38:32] [PASSED] fair_doorbells_1vf
[10:38:32] [PASSED] fair_ggtt_1vf
[10:38:32] ====================== fair_vram_1vf  ======================
[10:38:32] [PASSED] 3.50 GiB
[10:38:32] [PASSED] 11.5 GiB
[10:38:32] [PASSED] 15.5 GiB
[10:38:32] [PASSED] 31.5 GiB
[10:38:32] [PASSED] 63.5 GiB
[10:38:32] [PASSED] 1.91 GiB
[10:38:32] ================== [PASSED] fair_vram_1vf ==================
[10:38:32] ================ fair_vram_1vf_admin_only  =================
[10:38:32] [PASSED] 3.50 GiB
[10:38:32] [PASSED] 11.5 GiB
[10:38:32] [PASSED] 15.5 GiB
[10:38:32] [PASSED] 31.5 GiB
[10:38:32] [PASSED] 63.5 GiB
[10:38:32] [PASSED] 1.91 GiB
[10:38:32] ============ [PASSED] fair_vram_1vf_admin_only =============
[10:38:32] ====================== fair_contexts  ======================
[10:38:32] [PASSED] 1 VF
[10:38:32] [PASSED] 2 VFs
[10:38:32] [PASSED] 3 VFs
[10:38:32] [PASSED] 4 VFs
[10:38:32] [PASSED] 5 VFs
[10:38:32] [PASSED] 6 VFs
[10:38:32] [PASSED] 7 VFs
[10:38:32] [PASSED] 8 VFs
[10:38:32] [PASSED] 9 VFs
[10:38:32] [PASSED] 10 VFs
[10:38:32] [PASSED] 11 VFs
[10:38:32] [PASSED] 12 VFs
[10:38:32] [PASSED] 13 VFs
[10:38:32] [PASSED] 14 VFs
[10:38:32] [PASSED] 15 VFs
[10:38:32] [PASSED] 16 VFs
[10:38:32] [PASSED] 17 VFs
[10:38:32] [PASSED] 18 VFs
[10:38:32] [PASSED] 19 VFs
[10:38:32] [PASSED] 20 VFs
[10:38:32] [PASSED] 21 VFs
[10:38:32] [PASSED] 22 VFs
[10:38:32] [PASSED] 23 VFs
[10:38:32] [PASSED] 24 VFs
[10:38:32] [PASSED] 25 VFs
[10:38:32] [PASSED] 26 VFs
[10:38:32] [PASSED] 27 VFs
[10:38:32] [PASSED] 28 VFs
[10:38:32] [PASSED] 29 VFs
[10:38:32] [PASSED] 30 VFs
[10:38:32] [PASSED] 31 VFs
[10:38:32] [PASSED] 32 VFs
[10:38:32] [PASSED] 33 VFs
[10:38:32] [PASSED] 34 VFs
[10:38:32] [PASSED] 35 VFs
[10:38:32] [PASSED] 36 VFs
[10:38:32] [PASSED] 37 VFs
[10:38:32] [PASSED] 38 VFs
[10:38:32] [PASSED] 39 VFs
[10:38:32] [PASSED] 40 VFs
[10:38:32] [PASSED] 41 VFs
[10:38:32] [PASSED] 42 VFs
[10:38:32] [PASSED] 43 VFs
[10:38:32] [PASSED] 44 VFs
[10:38:32] [PASSED] 45 VFs
[10:38:32] [PASSED] 46 VFs
[10:38:32] [PASSED] 47 VFs
[10:38:32] [PASSED] 48 VFs
[10:38:32] [PASSED] 49 VFs
[10:38:32] [PASSED] 50 VFs
[10:38:32] [PASSED] 51 VFs
[10:38:32] [PASSED] 52 VFs
[10:38:32] [PASSED] 53 VFs
[10:38:32] [PASSED] 54 VFs
[10:38:32] [PASSED] 55 VFs
[10:38:32] [PASSED] 56 VFs
[10:38:32] [PASSED] 57 VFs
[10:38:32] [PASSED] 58 VFs
[10:38:32] [PASSED] 59 VFs
[10:38:32] [PASSED] 60 VFs
[10:38:32] [PASSED] 61 VFs
[10:38:32] [PASSED] 62 VFs
[10:38:32] [PASSED] 63 VFs
[10:38:32] ================== [PASSED] fair_contexts ==================
[10:38:32] ===================== fair_doorbells  ======================
[10:38:32] [PASSED] 1 VF
[10:38:32] [PASSED] 2 VFs
[10:38:32] [PASSED] 3 VFs
[10:38:32] [PASSED] 4 VFs
[10:38:32] [PASSED] 5 VFs
[10:38:32] [PASSED] 6 VFs
[10:38:32] [PASSED] 7 VFs
[10:38:32] [PASSED] 8 VFs
[10:38:32] [PASSED] 9 VFs
[10:38:32] [PASSED] 10 VFs
[10:38:32] [PASSED] 11 VFs
[10:38:32] [PASSED] 12 VFs
[10:38:32] [PASSED] 13 VFs
[10:38:32] [PASSED] 14 VFs
[10:38:32] [PASSED] 15 VFs
[10:38:32] [PASSED] 16 VFs
[10:38:32] [PASSED] 17 VFs
[10:38:32] [PASSED] 18 VFs
[10:38:32] [PASSED] 19 VFs
[10:38:32] [PASSED] 20 VFs
[10:38:32] [PASSED] 21 VFs
[10:38:32] [PASSED] 22 VFs
[10:38:32] [PASSED] 23 VFs
[10:38:32] [PASSED] 24 VFs
[10:38:32] [PASSED] 25 VFs
[10:38:32] [PASSED] 26 VFs
[10:38:32] [PASSED] 27 VFs
[10:38:32] [PASSED] 28 VFs
[10:38:32] [PASSED] 29 VFs
[10:38:32] [PASSED] 30 VFs
[10:38:32] [PASSED] 31 VFs
[10:38:32] [PASSED] 32 VFs
[10:38:32] [PASSED] 33 VFs
[10:38:32] [PASSED] 34 VFs
[10:38:32] [PASSED] 35 VFs
[10:38:32] [PASSED] 36 VFs
[10:38:32] [PASSED] 37 VFs
[10:38:32] [PASSED] 38 VFs
[10:38:32] [PASSED] 39 VFs
[10:38:32] [PASSED] 40 VFs
[10:38:32] [PASSED] 41 VFs
[10:38:32] [PASSED] 42 VFs
[10:38:32] [PASSED] 43 VFs
[10:38:32] [PASSED] 44 VFs
[10:38:32] [PASSED] 45 VFs
[10:38:32] [PASSED] 46 VFs
[10:38:32] [PASSED] 47 VFs
[10:38:32] [PASSED] 48 VFs
[10:38:32] [PASSED] 49 VFs
[10:38:32] [PASSED] 50 VFs
[10:38:32] [PASSED] 51 VFs
[10:38:32] [PASSED] 52 VFs
[10:38:32] [PASSED] 53 VFs
[10:38:32] [PASSED] 54 VFs
[10:38:32] [PASSED] 55 VFs
[10:38:32] [PASSED] 56 VFs
[10:38:32] [PASSED] 57 VFs
[10:38:32] [PASSED] 58 VFs
[10:38:32] [PASSED] 59 VFs
[10:38:32] [PASSED] 60 VFs
[10:38:32] [PASSED] 61 VFs
[10:38:32] [PASSED] 62 VFs
[10:38:32] [PASSED] 63 VFs
[10:38:32] ================= [PASSED] fair_doorbells ==================
[10:38:32] ======================== fair_ggtt  ========================
[10:38:32] [PASSED] 1 VF
[10:38:32] [PASSED] 2 VFs
[10:38:32] [PASSED] 3 VFs
[10:38:32] [PASSED] 4 VFs
[10:38:32] [PASSED] 5 VFs
[10:38:32] [PASSED] 6 VFs
[10:38:32] [PASSED] 7 VFs
[10:38:32] [PASSED] 8 VFs
[10:38:32] [PASSED] 9 VFs
[10:38:32] [PASSED] 10 VFs
[10:38:32] [PASSED] 11 VFs
[10:38:32] [PASSED] 12 VFs
[10:38:32] [PASSED] 13 VFs
[10:38:32] [PASSED] 14 VFs
[10:38:32] [PASSED] 15 VFs
[10:38:32] [PASSED] 16 VFs
[10:38:32] [PASSED] 17 VFs
[10:38:32] [PASSED] 18 VFs
[10:38:32] [PASSED] 19 VFs
[10:38:32] [PASSED] 20 VFs
[10:38:32] [PASSED] 21 VFs
[10:38:32] [PASSED] 22 VFs
[10:38:32] [PASSED] 23 VFs
[10:38:32] [PASSED] 24 VFs
[10:38:32] [PASSED] 25 VFs
[10:38:32] [PASSED] 26 VFs
[10:38:32] [PASSED] 27 VFs
[10:38:32] [PASSED] 28 VFs
[10:38:32] [PASSED] 29 VFs
[10:38:32] [PASSED] 30 VFs
[10:38:32] [PASSED] 31 VFs
[10:38:32] [PASSED] 32 VFs
[10:38:32] [PASSED] 33 VFs
[10:38:32] [PASSED] 34 VFs
[10:38:32] [PASSED] 35 VFs
[10:38:32] [PASSED] 36 VFs
[10:38:32] [PASSED] 37 VFs
[10:38:32] [PASSED] 38 VFs
[10:38:32] [PASSED] 39 VFs
[10:38:32] [PASSED] 40 VFs
[10:38:32] [PASSED] 41 VFs
[10:38:32] [PASSED] 42 VFs
[10:38:32] [PASSED] 43 VFs
[10:38:32] [PASSED] 44 VFs
[10:38:32] [PASSED] 45 VFs
[10:38:32] [PASSED] 46 VFs
[10:38:32] [PASSED] 47 VFs
[10:38:32] [PASSED] 48 VFs
[10:38:32] [PASSED] 49 VFs
[10:38:32] [PASSED] 50 VFs
[10:38:32] [PASSED] 51 VFs
[10:38:32] [PASSED] 52 VFs
[10:38:32] [PASSED] 53 VFs
[10:38:32] [PASSED] 54 VFs
[10:38:32] [PASSED] 55 VFs
[10:38:32] [PASSED] 56 VFs
[10:38:32] [PASSED] 57 VFs
[10:38:32] [PASSED] 58 VFs
[10:38:32] [PASSED] 59 VFs
[10:38:32] [PASSED] 60 VFs
[10:38:32] [PASSED] 61 VFs
[10:38:32] [PASSED] 62 VFs
[10:38:32] [PASSED] 63 VFs
[10:38:32] ==================== [PASSED] fair_ggtt ====================
[10:38:32] ======================== fair_vram  ========================
[10:38:32] [PASSED] 1 VF
[10:38:32] [PASSED] 2 VFs
[10:38:32] [PASSED] 3 VFs
[10:38:32] [PASSED] 4 VFs
[10:38:32] [PASSED] 5 VFs
[10:38:32] [PASSED] 6 VFs
[10:38:32] [PASSED] 7 VFs
[10:38:32] [PASSED] 8 VFs
[10:38:32] [PASSED] 9 VFs
[10:38:32] [PASSED] 10 VFs
[10:38:32] [PASSED] 11 VFs
[10:38:32] [PASSED] 12 VFs
[10:38:32] [PASSED] 13 VFs
[10:38:32] [PASSED] 14 VFs
[10:38:32] [PASSED] 15 VFs
[10:38:32] [PASSED] 16 VFs
[10:38:32] [PASSED] 17 VFs
[10:38:32] [PASSED] 18 VFs
[10:38:32] [PASSED] 19 VFs
[10:38:32] [PASSED] 20 VFs
[10:38:32] [PASSED] 21 VFs
[10:38:32] [PASSED] 22 VFs
[10:38:32] [PASSED] 23 VFs
[10:38:32] [PASSED] 24 VFs
[10:38:32] [PASSED] 25 VFs
[10:38:32] [PASSED] 26 VFs
[10:38:32] [PASSED] 27 VFs
[10:38:32] [PASSED] 28 VFs
[10:38:32] [PASSED] 29 VFs
[10:38:32] [PASSED] 30 VFs
[10:38:32] [PASSED] 31 VFs
[10:38:32] [PASSED] 32 VFs
[10:38:32] [PASSED] 33 VFs
[10:38:32] [PASSED] 34 VFs
[10:38:32] [PASSED] 35 VFs
[10:38:32] [PASSED] 36 VFs
[10:38:32] [PASSED] 37 VFs
[10:38:32] [PASSED] 38 VFs
[10:38:32] [PASSED] 39 VFs
[10:38:32] [PASSED] 40 VFs
[10:38:32] [PASSED] 41 VFs
[10:38:32] [PASSED] 42 VFs
[10:38:32] [PASSED] 43 VFs
[10:38:32] [PASSED] 44 VFs
[10:38:32] [PASSED] 45 VFs
[10:38:32] [PASSED] 46 VFs
[10:38:32] [PASSED] 47 VFs
[10:38:32] [PASSED] 48 VFs
[10:38:32] [PASSED] 49 VFs
[10:38:32] [PASSED] 50 VFs
[10:38:32] [PASSED] 51 VFs
[10:38:32] [PASSED] 52 VFs
[10:38:32] [PASSED] 53 VFs
[10:38:32] [PASSED] 54 VFs
[10:38:32] [PASSED] 55 VFs
[10:38:32] [PASSED] 56 VFs
[10:38:32] [PASSED] 57 VFs
[10:38:32] [PASSED] 58 VFs
[10:38:32] [PASSED] 59 VFs
[10:38:32] [PASSED] 60 VFs
[10:38:32] [PASSED] 61 VFs
[10:38:32] [PASSED] 62 VFs
[10:38:32] [PASSED] 63 VFs
[10:38:32] ==================== [PASSED] fair_vram ====================
[10:38:32] ================== [PASSED] pf_gt_config ===================
[10:38:32] ===================== lmtt (1 subtest) =====================
[10:38:32] ======================== test_ops  =========================
[10:38:32] [PASSED] 2-level
[10:38:32] [PASSED] multi-level
[10:38:32] ==================== [PASSED] test_ops =====================
[10:38:32] ====================== [PASSED] lmtt =======================
[10:38:32] ================= sriov_packet (1 subtest) =================
[10:38:32] [PASSED] test_descriptor_init
[10:38:32] ================== [PASSED] sriov_packet ===================
[10:38:32] ================= pf_service (11 subtests) =================
[10:38:32] [PASSED] pf_negotiate_any
[10:38:32] [PASSED] pf_negotiate_base_match
[10:38:32] [PASSED] pf_negotiate_base_newer
[10:38:32] [PASSED] pf_negotiate_base_next
[10:38:32] [SKIPPED] pf_negotiate_base_older (no older minor)
[10:38:32] [PASSED] pf_negotiate_base_prev
[10:38:32] [PASSED] pf_negotiate_latest_match
[10:38:32] [PASSED] pf_negotiate_latest_newer
[10:38:32] [PASSED] pf_negotiate_latest_next
[10:38:32] [SKIPPED] pf_negotiate_latest_older (no older minor)
[10:38:32] [SKIPPED] pf_negotiate_latest_prev (no prev major)
[10:38:32] =================== [PASSED] pf_service ====================
[10:38:32] ================= xe_guc_g2g (2 subtests) ==================
[10:38:32] ============== xe_live_guc_g2g_kunit_default  ==============
[10:38:32] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ==========
[10:38:32] ============== xe_live_guc_g2g_kunit_allmem  ===============
[10:38:32] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ==========
[10:38:32] =================== [SKIPPED] xe_guc_g2g ===================
[10:38:32] =================== xe_mocs (2 subtests) ===================
[10:38:32] ================ xe_live_mocs_kernel_kunit  ================
[10:38:32] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[10:38:32] ================ xe_live_mocs_reset_kunit  =================
[10:38:32] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[10:38:32] ==================== [SKIPPED] xe_mocs =====================
[10:38:32] ================= xe_migrate (3 subtests) ==================
[10:38:32] ================= xe_migrate_sanity_kunit  =================
[10:38:32] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[10:38:32] ================== xe_validate_ccs_kunit  ==================
[10:38:32] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[10:38:32] ============= xe_migrate_access_memory_kunit  ==============
[10:38:32] ========= [SKIPPED] xe_migrate_access_memory_kunit =========
[10:38:32] =================== [SKIPPED] xe_migrate ===================
[10:38:32] ================== xe_dma_buf (1 subtest) ==================
[10:38:32] ==================== xe_dma_buf_kunit  =====================
[10:38:32] ================ [SKIPPED] xe_dma_buf_kunit ================
[10:38:32] =================== [SKIPPED] xe_dma_buf ===================
[10:38:32] ================= xe_bo_shrink (1 subtest) =================
[10:38:32] =================== xe_bo_shrink_kunit  ====================
[10:38:32] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[10:38:32] ================== [SKIPPED] xe_bo_shrink ==================
[10:38:32] ==================== xe_bo (2 subtests) ====================
[10:38:32] ================== xe_ccs_migrate_kunit  ===================
[10:38:32] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[10:38:32] ==================== xe_bo_evict_kunit  ====================
[10:38:32] =============== [SKIPPED] xe_bo_evict_kunit ================
[10:38:32] ===================== [SKIPPED] xe_bo ======================
[10:38:32] =================== xe_any (9 subtests) ====================
[10:38:32] [PASSED] test_to_xe
[10:38:32] [PASSED] test_to_dev
[10:38:32] [PASSED] test_to_pdev
[10:38:32] [PASSED] test_to_drm
[10:38:32] [PASSED] test_if_pdev
[10:38:32] [PASSED] test_if_xe
[10:38:32] [PASSED] test_if_tile
[10:38:32] [PASSED] test_if_gt
[10:38:32] [PASSED] test_to_id
[10:38:32] ===================== [PASSED] xe_any ======================
[10:38:32] ==================== args (13 subtests) ====================
[10:38:32] [PASSED] count_args_test
[10:38:32] [PASSED] call_args_example
[10:38:32] [PASSED] call_args_test
[10:38:32] [PASSED] drop_first_arg_example
[10:38:32] [PASSED] drop_first_arg_test
[10:38:32] [PASSED] first_arg_example
[10:38:32] [PASSED] first_arg_test
[10:38:32] [PASSED] last_arg_example
[10:38:32] [PASSED] last_arg_test
[10:38:32] [PASSED] pick_arg_example
[10:38:32] [PASSED] if_args_example
[10:38:32] [PASSED] if_args_test
[10:38:32] [PASSED] sep_comma_example
[10:38:32] ====================== [PASSED] args =======================
[10:38:32] =================== xe_pci (3 subtests) ====================
[10:38:32] ==================== check_graphics_ip  ====================
[10:38:32] [PASSED] 12.00 Xe_LP
[10:38:32] [PASSED] 12.10 Xe_LP+
[10:38:32] [PASSED] 12.55 Xe_HPG
[10:38:32] [PASSED] 12.60 Xe_HPC
[10:38:32] [PASSED] 12.70 Xe_LPG
[10:38:32] [PASSED] 12.71 Xe_LPG
[10:38:32] [PASSED] 12.74 Xe_LPG+
[10:38:32] [PASSED] 20.01 Xe2_HPG
[10:38:32] [PASSED] 20.02 Xe2_HPG
[10:38:32] [PASSED] 20.04 Xe2_LPG
[10:38:32] [PASSED] 30.00 Xe3_LPG
[10:38:32] [PASSED] 30.01 Xe3_LPG
[10:38:32] [PASSED] 30.03 Xe3_LPG
[10:38:32] [PASSED] 30.04 Xe3_LPG
[10:38:32] [PASSED] 30.05 Xe3_LPG
[10:38:32] [PASSED] 35.10 Xe3p_LPG
[10:38:32] [PASSED] 35.11 Xe3p_XPC
[10:38:32] ================ [PASSED] check_graphics_ip ================
[10:38:32] ===================== check_media_ip  ======================
[10:38:32] [PASSED] 12.00 Xe_M
[10:38:32] [PASSED] 12.55 Xe_HPM
[10:38:32] [PASSED] 13.00 Xe_LPM+
[10:38:32] [PASSED] 13.01 Xe2_HPM
[10:38:32] [PASSED] 20.00 Xe2_LPM
[10:38:32] [PASSED] 30.00 Xe3_LPM
[10:38:32] [PASSED] 30.02 Xe3_LPM
[10:38:32] [PASSED] 35.00 Xe3p_LPM
[10:38:32] [PASSED] 35.03 Xe3p_HPM
[10:38:32] ================= [PASSED] check_media_ip ==================
[10:38:32] =================== check_platform_desc  ===================
[10:38:32] [PASSED] 0x9A60 (TIGERLAKE)
[10:38:32] [PASSED] 0x9A68 (TIGERLAKE)
[10:38:32] [PASSED] 0x9A70 (TIGERLAKE)
[10:38:32] [PASSED] 0x9A40 (TIGERLAKE)
[10:38:32] [PASSED] 0x9A49 (TIGERLAKE)
[10:38:32] [PASSED] 0x9A59 (TIGERLAKE)
[10:38:32] [PASSED] 0x9A78 (TIGERLAKE)
[10:38:32] [PASSED] 0x9AC0 (TIGERLAKE)
[10:38:32] [PASSED] 0x9AC9 (TIGERLAKE)
[10:38:32] [PASSED] 0x9AD9 (TIGERLAKE)
[10:38:32] [PASSED] 0x9AF8 (TIGERLAKE)
[10:38:32] [PASSED] 0x4C80 (ROCKETLAKE)
[10:38:32] [PASSED] 0x4C8A (ROCKETLAKE)
[10:38:32] [PASSED] 0x4C8B (ROCKETLAKE)
[10:38:32] [PASSED] 0x4C8C (ROCKETLAKE)
[10:38:32] [PASSED] 0x4C90 (ROCKETLAKE)
[10:38:32] [PASSED] 0x4C9A (ROCKETLAKE)
[10:38:32] [PASSED] 0x4680 (ALDERLAKE_S)
[10:38:32] [PASSED] 0x4682 (ALDERLAKE_S)
[10:38:32] [PASSED] 0x4688 (ALDERLAKE_S)
[10:38:32] [PASSED] 0x468A (ALDERLAKE_S)
[10:38:32] [PASSED] 0x468B (ALDERLAKE_S)
[10:38:32] [PASSED] 0x4690 (ALDERLAKE_S)
[10:38:32] [PASSED] 0x4692 (ALDERLAKE_S)
[10:38:32] [PASSED] 0x4693 (ALDERLAKE_S)
[10:38:32] [PASSED] 0x46A0 (ALDERLAKE_P)
[10:38:32] [PASSED] 0x46A1 (ALDERLAKE_P)
[10:38:32] [PASSED] 0x46A2 (ALDERLAKE_P)
[10:38:32] [PASSED] 0x46A3 (ALDERLAKE_P)
[10:38:32] [PASSED] 0x46A6 (ALDERLAKE_P)
[10:38:32] [PASSED] 0x46A8 (ALDERLAKE_P)
[10:38:32] [PASSED] 0x46AA (ALDERLAKE_P)
[10:38:32] [PASSED] 0x462A (ALDERLAKE_P)
[10:38:32] [PASSED] 0x4626 (ALDERLAKE_P)
[10:38:32] [PASSED] 0x4628 (ALDERLAKE_P)
[10:38:32] [PASSED] 0x46B0 (ALDERLAKE_P)
[10:38:32] [PASSED] 0x46B1 (ALDERLAKE_P)
[10:38:32] [PASSED] 0x46B2 (ALDERLAKE_P)
[10:38:32] [PASSED] 0x46B3 (ALDERLAKE_P)
[10:38:32] [PASSED] 0x46C0 (ALDERLAKE_P)
[10:38:32] [PASSED] 0x46C1 (ALDERLAKE_P)
[10:38:32] [PASSED] 0x46C2 (ALDERLAKE_P)
[10:38:32] [PASSED] 0x46C3 (ALDERLAKE_P)
[10:38:32] [PASSED] 0x46D0 (ALDERLAKE_N)
[10:38:32] [PASSED] 0x46D1 (ALDERLAKE_N)
[10:38:32] [PASSED] 0x46D2 (ALDERLAKE_N)
[10:38:32] [PASSED] 0x46D3 (ALDERLAKE_N)
[10:38:32] [PASSED] 0x46D4 (ALDERLAKE_N)
[10:38:32] [PASSED] 0xA721 (ALDERLAKE_P)
[10:38:32] [PASSED] 0xA7A1 (ALDERLAKE_P)
[10:38:32] [PASSED] 0xA7A9 (ALDERLAKE_P)
[10:38:32] [PASSED] 0xA7AC (ALDERLAKE_P)
[10:38:32] [PASSED] 0xA7AD (ALDERLAKE_P)
[10:38:32] [PASSED] 0xA720 (ALDERLAKE_P)
[10:38:32] [PASSED] 0xA7A0 (ALDERLAKE_P)
[10:38:32] [PASSED] 0xA7A8 (ALDERLAKE_P)
[10:38:32] [PASSED] 0xA7AA (ALDERLAKE_P)
[10:38:32] [PASSED] 0xA7AB (ALDERLAKE_P)
[10:38:32] [PASSED] 0xA780 (ALDERLAKE_S)
[10:38:32] [PASSED] 0xA781 (ALDERLAKE_S)
[10:38:32] [PASSED] 0xA782 (ALDERLAKE_S)
[10:38:32] [PASSED] 0xA783 (ALDERLAKE_S)
[10:38:32] [PASSED] 0xA788 (ALDERLAKE_S)
[10:38:32] [PASSED] 0xA789 (ALDERLAKE_S)
[10:38:32] [PASSED] 0xA78A (ALDERLAKE_S)
[10:38:32] [PASSED] 0xA78B (ALDERLAKE_S)
[10:38:32] [PASSED] 0x4905 (DG1)
[10:38:32] [PASSED] 0x4906 (DG1)
[10:38:32] [PASSED] 0x4907 (DG1)
[10:38:32] [PASSED] 0x4908 (DG1)
[10:38:32] [PASSED] 0x4909 (DG1)
[10:38:32] [PASSED] 0x56C0 (DG2)
[10:38:32] [PASSED] 0x56C2 (DG2)
[10:38:32] [PASSED] 0x56C1 (DG2)
[10:38:32] [PASSED] 0x7D51 (METEORLAKE)
[10:38:32] [PASSED] 0x7DD1 (METEORLAKE)
[10:38:32] [PASSED] 0x7D41 (METEORLAKE)
[10:38:32] [PASSED] 0x7D67 (METEORLAKE)
[10:38:32] [PASSED] 0xB640 (METEORLAKE)
[10:38:32] [PASSED] 0x56A0 (DG2)
[10:38:32] [PASSED] 0x56A1 (DG2)
[10:38:32] [PASSED] 0x56A2 (DG2)
[10:38:32] [PASSED] 0x56BE (DG2)
[10:38:32] [PASSED] 0x56BF (DG2)
[10:38:32] [PASSED] 0x5690 (DG2)
[10:38:32] [PASSED] 0x5691 (DG2)
[10:38:32] [PASSED] 0x5692 (DG2)
[10:38:32] [PASSED] 0x56A5 (DG2)
[10:38:32] [PASSED] 0x56A6 (DG2)
[10:38:32] [PASSED] 0x56B0 (DG2)
[10:38:32] [PASSED] 0x56B1 (DG2)
[10:38:32] [PASSED] 0x56BA (DG2)
[10:38:32] [PASSED] 0x56BB (DG2)
[10:38:32] [PASSED] 0x56BC (DG2)
[10:38:32] [PASSED] 0x56BD (DG2)
[10:38:32] [PASSED] 0x5693 (DG2)
[10:38:32] [PASSED] 0x5694 (DG2)
[10:38:32] [PASSED] 0x5695 (DG2)
[10:38:32] [PASSED] 0x56A3 (DG2)
[10:38:32] [PASSED] 0x56A4 (DG2)
[10:38:32] [PASSED] 0x56B2 (DG2)
[10:38:32] [PASSED] 0x56B3 (DG2)
[10:38:32] [PASSED] 0x5696 (DG2)
[10:38:32] [PASSED] 0x5697 (DG2)
[10:38:32] [PASSED] 0xB69 (PVC)
[10:38:32] [PASSED] 0xB6E (PVC)
[10:38:32] [PASSED] 0xBD4 (PVC)
[10:38:32] [PASSED] 0xBD5 (PVC)
[10:38:32] [PASSED] 0xBD6 (PVC)
[10:38:32] [PASSED] 0xBD7 (PVC)
[10:38:32] [PASSED] 0xBD8 (PVC)
[10:38:32] [PASSED] 0xBD9 (PVC)
[10:38:32] [PASSED] 0xBDA (PVC)
[10:38:32] [PASSED] 0xBDB (PVC)
[10:38:32] [PASSED] 0xBE0 (PVC)
[10:38:32] [PASSED] 0xBE1 (PVC)
[10:38:32] [PASSED] 0xBE5 (PVC)
[10:38:32] [PASSED] 0x7D40 (METEORLAKE)
[10:38:32] [PASSED] 0x7D45 (METEORLAKE)
[10:38:32] [PASSED] 0x7D55 (METEORLAKE)
[10:38:32] [PASSED] 0x7D60 (METEORLAKE)
[10:38:32] [PASSED] 0x7DD5 (METEORLAKE)
[10:38:32] [PASSED] 0x6420 (LUNARLAKE)
[10:38:32] [PASSED] 0x64A0 (LUNARLAKE)
[10:38:32] [PASSED] 0x64B0 (LUNARLAKE)
[10:38:32] [PASSED] 0xE202 (BATTLEMAGE)
[10:38:32] [PASSED] 0xE209 (BATTLEMAGE)
[10:38:32] [PASSED] 0xE20B (BATTLEMAGE)
[10:38:32] [PASSED] 0xE20C (BATTLEMAGE)
[10:38:32] [PASSED] 0xE20D (BATTLEMAGE)
[10:38:32] [PASSED] 0xE210 (BATTLEMAGE)
[10:38:32] [PASSED] 0xE211 (BATTLEMAGE)
[10:38:32] [PASSED] 0xE212 (BATTLEMAGE)
[10:38:32] [PASSED] 0xE216 (BATTLEMAGE)
[10:38:32] [PASSED] 0xE220 (BATTLEMAGE)
[10:38:32] [PASSED] 0xE221 (BATTLEMAGE)
[10:38:32] [PASSED] 0xE222 (BATTLEMAGE)
[10:38:32] [PASSED] 0xE223 (BATTLEMAGE)
[10:38:32] [PASSED] 0xB080 (PANTHERLAKE)
[10:38:32] [PASSED] 0xB081 (PANTHERLAKE)
[10:38:32] [PASSED] 0xB082 (PANTHERLAKE)
[10:38:32] [PASSED] 0xB083 (PANTHERLAKE)
[10:38:32] [PASSED] 0xB084 (PANTHERLAKE)
[10:38:32] [PASSED] 0xB085 (PANTHERLAKE)
[10:38:32] [PASSED] 0xB086 (PANTHERLAKE)
[10:38:32] [PASSED] 0xB087 (PANTHERLAKE)
[10:38:32] [PASSED] 0xB08F (PANTHERLAKE)
[10:38:32] [PASSED] 0xB090 (PANTHERLAKE)
[10:38:32] [PASSED] 0xB0A0 (PANTHERLAKE)
[10:38:32] [PASSED] 0xB0A1 (PANTHERLAKE)
[10:38:32] [PASSED] 0xB0B0 (PANTHERLAKE)
[10:38:32] [PASSED] 0xFD80 (PANTHERLAKE)
[10:38:32] [PASSED] 0xFD81 (PANTHERLAKE)
[10:38:32] [PASSED] 0xD740 (NOVALAKE_S)
[10:38:32] [PASSED] 0xD741 (NOVALAKE_S)
[10:38:32] [PASSED] 0xD742 (NOVALAKE_S)
[10:38:32] [PASSED] 0xD743 (NOVALAKE_S)
[10:38:32] [PASSED] 0xD745 (NOVALAKE_S)
[10:38:32] [PASSED] 0xD74A (NOVALAKE_S)
[10:38:32] [PASSED] 0xD74B (NOVALAKE_S)
[10:38:32] [PASSED] 0x674C (CRESCENTISLAND)
[10:38:32] [PASSED] 0x674D (CRESCENTISLAND)
[10:38:32] [PASSED] 0x674E (CRESCENTISLAND)
[10:38:32] [PASSED] 0x674F (CRESCENTISLAND)
[10:38:32] [PASSED] 0x6750 (CRESCENTISLAND)
[10:38:32] [PASSED] 0x6751 (CRESCENTISLAND)
[10:38:32] [PASSED] 0x6752 (CRESCENTISLAND)
[10:38:32] [PASSED] 0xD750 (NOVALAKE_P)
[10:38:32] [PASSED] 0xD751 (NOVALAKE_P)
[10:38:32] [PASSED] 0xD752 (NOVALAKE_P)
[10:38:32] [PASSED] 0xD753 (NOVALAKE_P)
[10:38:32] [PASSED] 0xD754 (NOVALAKE_P)
[10:38:32] [PASSED] 0xD755 (NOVALAKE_P)
[10:38:32] [PASSED] 0xD756 (NOVALAKE_P)
[10:38:32] [PASSED] 0xD757 (NOVALAKE_P)
[10:38:32] [PASSED] 0xD75F (NOVALAKE_P)
[10:38:32] =============== [PASSED] check_platform_desc ===============
[10:38:32] ===================== [PASSED] xe_pci ======================
[10:38:32] ============= xe_rtp_tables_test (5 subtests) ==============
[10:38:32] ================== xe_rtp_table_gt_test  ===================
[10:38:32] [PASSED] gt_was/14011060649
[10:38:32] [PASSED] gt_was/14011059788
[10:38:32] [PASSED] gt_was/14015795083
[10:38:32] [PASSED] gt_was/16021867713
[10:38:32] [PASSED] gt_was/14019449301
[10:38:32] [PASSED] gt_was/16028005424
[10:38:32] [PASSED] gt_was/14026578760
[10:38:32] [PASSED] gt_was/1409420604
[10:38:32] [PASSED] gt_was/1408615072
[10:38:32] [PASSED] gt_was/22010523718
[10:38:32] [PASSED] gt_was/14011006942
[10:38:32] [PASSED] gt_was/14014830051
[10:38:32] [PASSED] gt_was/18018781329
[10:38:32] [PASSED] gt_was/1509235366
[10:38:32] [PASSED] gt_was/18018781329
[10:38:32] [PASSED] gt_was/16016694945
[10:38:32] [PASSED] gt_was/14018575942
[10:38:32] [PASSED] gt_was/22016670082
[10:38:32] [PASSED] gt_was/22016670082
[10:38:32] [PASSED] gt_was/14017421178
[10:38:32] [PASSED] gt_was/16025250150
[10:38:32] [PASSED] gt_was/14021871409
[10:38:32] [PASSED] gt_was/16021865536
[10:38:32] [PASSED] gt_was/14021486841
[10:38:32] [PASSED] gt_was/14025160223
[10:38:32] [PASSED] gt_was/14026144927, 16029437861, 14026127056
[10:38:32] [PASSED] gt_was/14025635424
[10:38:32] [PASSED] gt_was/16028005424
[10:38:32] ============== [PASSED] xe_rtp_table_gt_test ===============
[10:38:32] ================== xe_rtp_table_gt_test  ===================
[10:38:32] [PASSED] gt_tunings/Tuning: Blend Fill Caching Optimization Disable
[10:38:32] [PASSED] gt_tunings/Tuning: 32B Access Enable
[10:38:32] [PASSED] gt_tunings/Tuning: L3 cache
[10:38:32] [PASSED] gt_tunings/Tuning: L3 cache - media
[10:38:32] [PASSED] gt_tunings/Tuning: Compression Overfetch
[10:38:32] [PASSED] gt_tunings/Tuning: Compression Overfetch - media
[10:38:32] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3
[10:38:32] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 - media
[10:38:32] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only
[10:38:32] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only - media
[10:38:32] [PASSED] gt_tunings/Tuning: Stateless compression control
[10:38:32] [PASSED] gt_tunings/Tuning: Stateless compression control - media
[10:38:32] [PASSED] gt_tunings/Tuning: L3 RW flush all Cache
[10:38:32] [PASSED] gt_tunings/Tuning: L3 RW flush all cache - media
[10:38:32] [PASSED] gt_tunings/Tuning: Set STLB Bank Hash Mode to 4KB
[10:38:32] [PASSED] gt_tunings/Tuning: Force All Non-Compressible Memory Reads to be 256B Overfetches
[10:38:32] ============== [PASSED] xe_rtp_table_gt_test ===============
[10:38:32] ================== xe_rtp_table_oob_test  ==================
[10:38:32] [PASSED] oob_was/1607983814
[10:38:32] [PASSED] oob_was/16010904313
[10:38:32] [PASSED] oob_was/18022495364
[10:38:32] [PASSED] oob_was/22012773006
[10:38:32] [PASSED] oob_was/14014475959
[10:38:32] [PASSED] oob_was/22011391025
[10:38:32] [PASSED] oob_was/22012727170
[10:38:32] [PASSED] oob_was/22012727685
[10:38:32] [PASSED] oob_was/22016596838
[10:38:32] [PASSED] oob_was/18020744125
[10:38:32] [PASSED] oob_was/1409600907
[10:38:32] [PASSED] oob_was/22014953428
[10:38:32] [PASSED] oob_was/16017236439
[10:38:32] [PASSED] oob_was/14019821291
[10:38:32] [PASSED] oob_was/14015076503
[10:38:32] [PASSED] oob_was/22016122933
[10:38:32] [PASSED] oob_was/14018913170
[10:38:32] [PASSED] oob_was/14018094691
[10:38:32] [PASSED] oob_was/18024947630
[10:38:32] [PASSED] oob_was/16022287689
[10:38:32] [PASSED] oob_was/13011645652
[10:38:32] [PASSED] oob_was/14022293748
[10:38:32] [PASSED] oob_was/22019794406
[10:38:32] [PASSED] oob_was/22019338487
[10:38:32] [PASSED] oob_was/16023588340
[10:38:32] [PASSED] oob_was/14019789679
[10:38:32] [PASSED] oob_was/14022866841
[10:38:32] [PASSED] oob_was/16021333562
[10:38:32] [PASSED] oob_was/14016712196
[10:38:32] [PASSED] oob_was/14015568240
[10:38:32] [PASSED] oob_was/18013179988
[10:38:32] [PASSED] oob_was/1508761755
[10:38:32] [PASSED] oob_was/16023105232
[10:38:32] [PASSED] oob_was/16026508708
[10:38:32] [PASSED] oob_was/14020001231
[10:38:32] [PASSED] oob_was/16023683509
[10:38:32] [PASSED] oob_was/14025515070
[10:38:32] [PASSED] oob_was/15015404425_disable
[10:38:32] [PASSED] oob_was/16026007364
[10:38:32] [PASSED] oob_was/14020316580
[10:38:32] [PASSED] oob_was/14025883347
[10:38:32] [PASSED] oob_was/16029380221
[10:38:32] [PASSED] oob_was/22022079272
[10:38:32] [PASSED] oob_was/16029897822
[10:38:32] [PASSED] oob_was/14026539277
[10:38:32] [PASSED] oob_was/14027054324
[10:38:32] [PASSED] oob_was/14025941587
[10:38:32] [PASSED] oob_was/16030224309
[10:38:32] [PASSED] oob_was/14028709524
[10:38:32] [PASSED] oob_was/14028250015
[10:38:32] [PASSED] oob_was/16031259911
[10:38:32] ============== [PASSED] xe_rtp_table_oob_test ==============
[10:38:32] ================ xe_rtp_table_dev_oob_test  ================
[10:38:32] [PASSED] device_oob_was/22010954014
[10:38:32] [PASSED] device_oob_was/15015404425
[10:38:32] [PASSED] device_oob_was/22019338487_display
[10:38:32] [PASSED] device_oob_was/14022085890
[10:38:32] [PASSED] device_oob_was/14026633728
[10:38:32] [PASSED] device_oob_was/14026746987
[10:38:32] [PASSED] device_oob_was/14026779378
[10:38:32] [PASSED] device_oob_was/14028586678
[10:38:32] [PASSED] device_oob_was/14028434957
[10:38:32] ============ [PASSED] xe_rtp_table_dev_oob_test ============
[10:38:32] ========== xe_rtp_table_missing_upper_bound_test  ==========
[10:38:32] [PASSED] register_whitelist/WaAllowPMDepthAndInvocationCountAccessFromUMD, 1408556865
[10:38:32] [PASSED] register_whitelist/1508744258, 14012131227, 1808121037
[10:38:32] [PASSED] register_whitelist/1806527549
[10:38:32] [PASSED] register_whitelist/allow_read_ctx_timestamp
[10:38:32] [PASSED] register_whitelist/allow_read_queue_timestamp
[10:38:32] [PASSED] register_whitelist/16014440446
[10:38:32] [PASSED] register_whitelist/16017236439
[10:38:32] [PASSED] register_whitelist/16020183090
[10:38:32] [PASSED] register_whitelist/14024997852
[10:38:32] [PASSED] register_whitelist/14024997852
[10:38:32] ====== [PASSED] xe_rtp_table_missing_upper_bound_test ======
[10:38:32] =============== [PASSED] xe_rtp_tables_test ================
[10:38:32] =================== xe_rtp (3 subtests) ====================
[10:38:32] =================== xe_rtp_rules_tests  ====================
[10:38:32] [PASSED] no
[10:38:32] [PASSED] yes
[10:38:32] [PASSED] no-and-no
[10:38:32] [PASSED] no-and-yes
[10:38:32] [PASSED] yes-and-no
[10:38:32] [PASSED] yes-and-yes
[10:38:32] [PASSED] no-or-no
[10:38:32] [PASSED] no-or-yes
[10:38:32] [PASSED] yes-or-no
[10:38:32] [PASSED] yes-or-yes
[10:38:32] [PASSED] no-yes-or-yes-no
[10:38:32] [PASSED] no-yes-or-yes-yes
[10:38:32] [PASSED] yes-yes-or-no-yes
[10:38:32] [PASSED] yes-yes-or-yes-yes
[10:38:32] [PASSED] no-no-or-yes-or-no
[10:38:32] [PASSED] or
[10:38:32] [PASSED] or-yes
[10:38:32] [PASSED] or-no
[10:38:32] [PASSED] yes-or
[10:38:32] [PASSED] no-or
[10:38:32] [PASSED] no-or-or-yes
[10:38:32] [PASSED] yes-or-or-no
[10:38:32] [PASSED] no-or-or-no
[10:38:32] [PASSED] missing-context-engine-class
[10:38:32] [PASSED] missing-context-engine-class-or-yes
[10:38:32] [PASSED] missing-context-engine-class-or-or-yes
[10:38:32] =============== [PASSED] xe_rtp_rules_tests ================
[10:38:32] =============== xe_rtp_process_to_sr_tests  ================
[10:38:32] [PASSED] coalesce-same-reg
[10:38:32] [PASSED] coalesce-same-reg-literal-and-func
[10:38:32] [PASSED] no-match-no-add
[10:38:32] [PASSED] two-regs-two-entries
[10:38:32] [PASSED] clr-one-set-other
[10:38:32] [PASSED] set-field
[10:38:32] [PASSED] conflict-duplicate
[10:38:32] [PASSED] conflict-not-disjoint
[10:38:32] [PASSED] conflict-not-disjoint-literal-and-func
[10:38:32] [PASSED] conflict-reg-type
[10:38:32] [PASSED] bad-mcr-reg-forced-to-regular
[10:38:32] [PASSED] bad-regular-reg-forced-to-mcr
[10:38:32] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[10:38:32] ================== xe_rtp_process_tests  ===================
[10:38:32] [PASSED] active1
[10:38:32] [PASSED] active2
[10:38:32] [PASSED] active-inactive
[10:38:32] [PASSED] inactive-active
[10:38:32] [PASSED] inactive-active-inactive
[10:38:32] [PASSED] inactive-inactive-inactive
[10:38:32] ============== [PASSED] xe_rtp_process_tests ===============
[10:38:32] ===================== [PASSED] xe_rtp ======================
[10:38:32] ==================== xe_wa (1 subtest) =====================
[10:38:32] ======================== xe_wa_gt  =========================
[10:38:32] [PASSED] TIGERLAKE B0
[10:38:32] [PASSED] DG1 A0
[10:38:32] [PASSED] DG1 B0
[10:38:32] [PASSED] ALDERLAKE_S A0
[10:38:32] [PASSED] ALDERLAKE_S B0
[10:38:32] [PASSED] ALDERLAKE_S C0
[10:38:32] [PASSED] ALDERLAKE_S D0
[10:38:32] [PASSED] ALDERLAKE_P A0
[10:38:32] [PASSED] ALDERLAKE_P B0
[10:38:32] [PASSED] ALDERLAKE_P C0
[10:38:32] [PASSED] ALDERLAKE_S RPLS D0
[10:38:32] [PASSED] ALDERLAKE_P RPLU E0
[10:38:32] [PASSED] DG2 G10 C0
[10:38:32] [PASSED] DG2 G11 B1
[10:38:32] [PASSED] DG2 G12 A1
[10:38:32] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0
[10:38:32] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0
[10:38:32] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0
[10:38:32] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0
[10:38:32] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0
[10:38:32] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1
[10:38:32] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0
[10:38:32] ==================== [PASSED] xe_wa_gt =====================
[10:38:32] ====================== [PASSED] xe_wa ======================
[10:38:32] ============================================================
[10:38:32] Testing complete. Ran 844 tests: passed: 815, skipped: 29
[10:38:32] Elapsed time: 41.162s total, 2.572s configuring, 37.875s building, 0.704s running

+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/drm/tests/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig
[10:38:33] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[10:38:35] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[10:39:00] Starting KUnit Kernel (1/1)...
[10:39:00] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[10:39:00] ============ drm_test_pick_cmdline (2 subtests) ============
[10:39:00] [PASSED] drm_test_pick_cmdline_res_1920_1080_60
[10:39:00] =============== drm_test_pick_cmdline_named  ===============
[10:39:00] [PASSED] NTSC
[10:39:00] [PASSED] NTSC-J
[10:39:00] [PASSED] PAL
[10:39:00] [PASSED] PAL-M
[10:39:00] =========== [PASSED] drm_test_pick_cmdline_named ===========
[10:39:00] ============== [PASSED] drm_test_pick_cmdline ==============
[10:39:00] == drm_test_atomic_get_connector_for_encoder (1 subtest) ===
[10:39:00] [PASSED] drm_test_drm_atomic_get_connector_for_encoder
[10:39:00] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ====
[10:39:00] =========== drm_validate_clone_mode (2 subtests) ===========
[10:39:00] ============== drm_test_check_in_clone_mode  ===============
[10:39:00] [PASSED] in_clone_mode
[10:39:00] [PASSED] not_in_clone_mode
[10:39:00] ========== [PASSED] drm_test_check_in_clone_mode ===========
[10:39:00] =============== drm_test_check_valid_clones  ===============
[10:39:00] [PASSED] not_in_clone_mode
[10:39:00] [PASSED] valid_clone
[10:39:00] [PASSED] invalid_clone
[10:39:00] =========== [PASSED] drm_test_check_valid_clones ===========
[10:39:00] ============= [PASSED] drm_validate_clone_mode =============
[10:39:00] ============= drm_validate_modeset (1 subtest) =============
[10:39:00] [PASSED] drm_test_check_connector_changed_modeset
[10:39:00] ============== [PASSED] drm_validate_modeset ===============
[10:39:00] ====== drm_test_bridge_get_current_state (1 subtest) =======
[10:39:00] [PASSED] drm_test_drm_bridge_get_current_state_atomic
[10:39:00] ======== [PASSED] drm_test_bridge_get_current_state ========
[10:39:00] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ======
[10:39:00] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic
[10:39:00] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled
[10:39:00] [PASSED] drm_test_drm_bridge_helper_hdmi_output_bus_fmts
[10:39:00] ======== [PASSED] drm_test_bridge_helper_reset_crtc ========
[10:39:00] ============== drm_bridge_alloc (2 subtests) ===============
[10:39:00] [PASSED] drm_test_drm_bridge_alloc_basic
[10:39:00] [PASSED] drm_test_drm_bridge_alloc_get_put
[10:39:00] ================ [PASSED] drm_bridge_alloc =================
[10:39:00] ============= drm_bridge_bus_fmt (5 subtests) ==============
[10:39:00] [PASSED] drm_test_bridge_rgb_yuv_rgb
[10:39:00] [PASSED] drm_test_bridge_must_convert_to_yuv444
[10:39:00] [PASSED] drm_test_bridge_hdmi_auto_rgb
[10:39:00] [PASSED] drm_test_bridge_auto_first
[10:39:00] [PASSED] drm_test_bridge_rgb_yuv_no_path
[10:39:00] =============== [PASSED] drm_bridge_bus_fmt ================
[10:39:00] ============= drm_cmdline_parser (40 subtests) =============
[10:39:00] [PASSED] drm_test_cmdline_force_d_only
[10:39:00] [PASSED] drm_test_cmdline_force_D_only_dvi
[10:39:00] [PASSED] drm_test_cmdline_force_D_only_hdmi
[10:39:00] [PASSED] drm_test_cmdline_force_D_only_not_digital
[10:39:00] [PASSED] drm_test_cmdline_force_e_only
[10:39:00] [PASSED] drm_test_cmdline_res
[10:39:00] [PASSED] drm_test_cmdline_res_vesa
[10:39:00] [PASSED] drm_test_cmdline_res_vesa_rblank
[10:39:00] [PASSED] drm_test_cmdline_res_rblank
[10:39:00] [PASSED] drm_test_cmdline_res_bpp
[10:39:00] [PASSED] drm_test_cmdline_res_refresh
[10:39:00] [PASSED] drm_test_cmdline_res_bpp_refresh
[10:39:00] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced
[10:39:00] [PASSED] drm_test_cmdline_res_bpp_refresh_margins
[10:39:00] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off
[10:39:00] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on
[10:39:00] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog
[10:39:00] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital
[10:39:00] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on
[10:39:00] [PASSED] drm_test_cmdline_res_margins_force_on
[10:39:00] [PASSED] drm_test_cmdline_res_vesa_margins
[10:39:00] [PASSED] drm_test_cmdline_name
[10:39:00] [PASSED] drm_test_cmdline_name_bpp
[10:39:00] [PASSED] drm_test_cmdline_name_option
[10:39:00] [PASSED] drm_test_cmdline_name_bpp_option
[10:39:00] [PASSED] drm_test_cmdline_rotate_0
[10:39:00] [PASSED] drm_test_cmdline_rotate_90
[10:39:00] [PASSED] drm_test_cmdline_rotate_180
[10:39:00] [PASSED] drm_test_cmdline_rotate_270
[10:39:00] [PASSED] drm_test_cmdline_hmirror
[10:39:00] [PASSED] drm_test_cmdline_vmirror
[10:39:00] [PASSED] drm_test_cmdline_margin_options
[10:39:00] [PASSED] drm_test_cmdline_multiple_options
[10:39:00] [PASSED] drm_test_cmdline_bpp_extra_and_option
[10:39:00] [PASSED] drm_test_cmdline_extra_and_option
[10:39:00] [PASSED] drm_test_cmdline_freestanding_options
[10:39:00] [PASSED] drm_test_cmdline_freestanding_force_e_and_options
[10:39:00] [PASSED] drm_test_cmdline_panel_orientation
[10:39:00] ================ drm_test_cmdline_invalid  =================
[10:39:00] [PASSED] margin_only
[10:39:00] [PASSED] interlace_only
[10:39:00] [PASSED] res_missing_x
[10:39:00] [PASSED] res_missing_y
[10:39:00] [PASSED] res_bad_y
[10:39:00] [PASSED] res_missing_y_bpp
[10:39:00] [PASSED] res_bad_bpp
[10:39:00] [PASSED] res_bad_refresh
[10:39:00] [PASSED] res_bpp_refresh_force_on_off
[10:39:00] [PASSED] res_invalid_mode
[10:39:00] [PASSED] res_bpp_wrong_place_mode
[10:39:00] [PASSED] name_bpp_refresh
[10:39:00] [PASSED] name_refresh
[10:39:00] [PASSED] name_refresh_wrong_mode
[10:39:00] [PASSED] name_refresh_invalid_mode
[10:39:00] [PASSED] rotate_multiple
[10:39:00] [PASSED] rotate_invalid_val
[10:39:00] [PASSED] rotate_truncated
[10:39:00] [PASSED] invalid_option
[10:39:00] [PASSED] invalid_tv_option
[10:39:00] [PASSED] truncated_tv_option
[10:39:00] ============ [PASSED] drm_test_cmdline_invalid =============
[10:39:00] =============== drm_test_cmdline_tv_options  ===============
[10:39:00] [PASSED] NTSC
[10:39:00] [PASSED] NTSC_443
[10:39:00] [PASSED] NTSC_J
[10:39:00] [PASSED] PAL
[10:39:00] [PASSED] PAL_M
[10:39:00] [PASSED] PAL_N
[10:39:00] [PASSED] SECAM
[10:39:00] [PASSED] MONO_525
[10:39:00] [PASSED] MONO_625
[10:39:00] =========== [PASSED] drm_test_cmdline_tv_options ===========
[10:39:00] =============== [PASSED] drm_cmdline_parser ================
[10:39:00] ========== drmm_connector_hdmi_init (20 subtests) ==========
[10:39:00] [PASSED] drm_test_connector_hdmi_init_valid
[10:39:00] [PASSED] drm_test_connector_hdmi_init_bpc_8
[10:39:00] [PASSED] drm_test_connector_hdmi_init_bpc_10
[10:39:00] [PASSED] drm_test_connector_hdmi_init_bpc_12
[10:39:00] [PASSED] drm_test_connector_hdmi_init_bpc_invalid
[10:39:00] [PASSED] drm_test_connector_hdmi_init_bpc_null
[10:39:00] [PASSED] drm_test_connector_hdmi_init_formats_empty
[10:39:00] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb
[10:39:00] === drm_test_connector_hdmi_init_formats_yuv420_allowed  ===
[10:39:00] [PASSED] supported_formats=0x9 yuv420_allowed=1
[10:39:00] [PASSED] supported_formats=0x9 yuv420_allowed=0
[10:39:00] [PASSED] supported_formats=0x5 yuv420_allowed=1
[10:39:00] [PASSED] supported_formats=0x5 yuv420_allowed=0
[10:39:00] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[10:39:00] [PASSED] drm_test_connector_hdmi_init_null_ddc
[10:39:00] [PASSED] drm_test_connector_hdmi_init_null_product
[10:39:00] [PASSED] drm_test_connector_hdmi_init_null_vendor
[10:39:00] [PASSED] drm_test_connector_hdmi_init_product_length_exact
[10:39:00] [PASSED] drm_test_connector_hdmi_init_product_length_too_long
[10:39:00] [PASSED] drm_test_connector_hdmi_init_product_valid
[10:39:00] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact
[10:39:00] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long
[10:39:00] [PASSED] drm_test_connector_hdmi_init_vendor_valid
[10:39:00] ========= drm_test_connector_hdmi_init_type_valid  =========
[10:39:00] [PASSED] HDMI-A
[10:39:00] [PASSED] HDMI-B
[10:39:00] ===== [PASSED] drm_test_connector_hdmi_init_type_valid =====
[10:39:00] ======== drm_test_connector_hdmi_init_type_invalid  ========
[10:39:00] [PASSED] Unknown
[10:39:00] [PASSED] VGA
[10:39:00] [PASSED] DVI-I
[10:39:00] [PASSED] DVI-D
[10:39:00] [PASSED] DVI-A
[10:39:00] [PASSED] Composite
[10:39:00] [PASSED] SVIDEO
[10:39:00] [PASSED] LVDS
[10:39:00] [PASSED] Component
[10:39:00] [PASSED] DIN
[10:39:00] [PASSED] DP
[10:39:00] [PASSED] TV
[10:39:00] [PASSED] eDP
[10:39:00] [PASSED] Virtual
[10:39:00] [PASSED] DSI
[10:39:00] [PASSED] DPI
[10:39:00] [PASSED] Writeback
[10:39:00] [PASSED] SPI
[10:39:00] [PASSED] USB
[10:39:00] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ====
[10:39:00] ============ [PASSED] drmm_connector_hdmi_init =============
[10:39:00] ============= drmm_connector_init (3 subtests) =============
[10:39:00] [PASSED] drm_test_drmm_connector_init
[10:39:00] [PASSED] drm_test_drmm_connector_init_null_ddc
[10:39:00] ========= drm_test_drmm_connector_init_type_valid  =========
[10:39:00] [PASSED] Unknown
[10:39:00] [PASSED] VGA
[10:39:00] [PASSED] DVI-I
[10:39:00] [PASSED] DVI-D
[10:39:00] [PASSED] DVI-A
[10:39:00] [PASSED] Composite
[10:39:00] [PASSED] SVIDEO
[10:39:00] [PASSED] LVDS
[10:39:00] [PASSED] Component
[10:39:00] [PASSED] DIN
[10:39:00] [PASSED] DP
[10:39:00] [PASSED] HDMI-A
[10:39:00] [PASSED] HDMI-B
[10:39:00] [PASSED] TV
[10:39:00] [PASSED] eDP
[10:39:00] [PASSED] Virtual
[10:39:00] [PASSED] DSI
[10:39:00] [PASSED] DPI
[10:39:00] [PASSED] Writeback
[10:39:00] [PASSED] SPI
[10:39:00] [PASSED] USB
[10:39:00] ===== [PASSED] drm_test_drmm_connector_init_type_valid =====
[10:39:00] =============== [PASSED] drmm_connector_init ===============
[10:39:00] ========= drm_connector_dynamic_init (6 subtests) ==========
[10:39:00] [PASSED] drm_test_drm_connector_dynamic_init
[10:39:00] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc
[10:39:00] [PASSED] drm_test_drm_connector_dynamic_init_not_added
[10:39:00] [PASSED] drm_test_drm_connector_dynamic_init_properties
[10:39:00] ===== drm_test_drm_connector_dynamic_init_type_valid  ======
[10:39:00] [PASSED] Unknown
[10:39:00] [PASSED] VGA
[10:39:00] [PASSED] DVI-I
[10:39:00] [PASSED] DVI-D
[10:39:00] [PASSED] DVI-A
[10:39:00] [PASSED] Composite
[10:39:00] [PASSED] SVIDEO
[10:39:00] [PASSED] LVDS
[10:39:00] [PASSED] Component
[10:39:00] [PASSED] DIN
[10:39:00] [PASSED] DP
[10:39:00] [PASSED] HDMI-A
[10:39:00] [PASSED] HDMI-B
[10:39:00] [PASSED] TV
[10:39:00] [PASSED] eDP
[10:39:00] [PASSED] Virtual
[10:39:00] [PASSED] DSI
[10:39:00] [PASSED] DPI
[10:39:00] [PASSED] Writeback
[10:39:00] [PASSED] SPI
[10:39:00] [PASSED] USB
[10:39:00] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid ==
[10:39:00] ======== drm_test_drm_connector_dynamic_init_name  =========
[10:39:00] [PASSED] Unknown
[10:39:00] [PASSED] VGA
[10:39:00] [PASSED] DVI-I
[10:39:00] [PASSED] DVI-D
[10:39:00] [PASSED] DVI-A
[10:39:00] [PASSED] Composite
[10:39:00] [PASSED] SVIDEO
[10:39:00] [PASSED] LVDS
[10:39:00] [PASSED] Component
[10:39:00] [PASSED] DIN
[10:39:00] [PASSED] DP
[10:39:00] [PASSED] HDMI-A
[10:39:00] [PASSED] HDMI-B
[10:39:00] [PASSED] TV
[10:39:00] [PASSED] eDP
[10:39:00] [PASSED] Virtual
[10:39:00] [PASSED] DSI
[10:39:00] [PASSED] DPI
[10:39:00] [PASSED] Writeback
[10:39:00] [PASSED] SPI
[10:39:00] [PASSED] USB
[10:39:00] ==== [PASSED] drm_test_drm_connector_dynamic_init_name =====
[10:39:00] =========== [PASSED] drm_connector_dynamic_init ============
[10:39:00] ==== drm_connector_dynamic_register_early (4 subtests) =====
[10:39:00] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list
[10:39:00] [PASSED] drm_test_drm_connector_dynamic_register_early_defer
[10:39:00] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init
[10:39:00] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object
[10:39:00] ====== [PASSED] drm_connector_dynamic_register_early =======
[10:39:00] ======= drm_connector_dynamic_register (7 subtests) ========
[10:39:00] [PASSED] drm_test_drm_connector_dynamic_register_on_list
[10:39:00] [PASSED] drm_test_drm_connector_dynamic_register_no_defer
[10:39:00] [PASSED] drm_test_drm_connector_dynamic_register_no_init
[10:39:00] [PASSED] drm_test_drm_connector_dynamic_register_mode_object
[10:39:00] [PASSED] drm_test_drm_connector_dynamic_register_sysfs
[10:39:00] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name
[10:39:00] [PASSED] drm_test_drm_connector_dynamic_register_debugfs
[10:39:00] ========= [PASSED] drm_connector_dynamic_register ==========
[10:39:00] = drm_connector_attach_broadcast_rgb_property (2 subtests) =
[10:39:00] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property
[10:39:00] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector
[10:39:00] === [PASSED] drm_connector_attach_broadcast_rgb_property ===
[10:39:00] ========== drm_get_tv_mode_from_name (2 subtests) ==========
[10:39:00] ========== drm_test_get_tv_mode_from_name_valid  ===========
[10:39:00] [PASSED] NTSC
[10:39:00] [PASSED] NTSC-443
[10:39:00] [PASSED] NTSC-J
[10:39:00] [PASSED] PAL
[10:39:00] [PASSED] PAL-M
[10:39:00] [PASSED] PAL-N
[10:39:00] [PASSED] SECAM
[10:39:00] [PASSED] Mono
[10:39:00] ====== [PASSED] drm_test_get_tv_mode_from_name_valid =======
[10:39:00] [PASSED] drm_test_get_tv_mode_from_name_truncated
[10:39:00] ============ [PASSED] drm_get_tv_mode_from_name ============
[10:39:00] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) =
[10:39:00] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb
[10:39:00] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc
[10:39:00] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1
[10:39:00] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc
[10:39:00] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1
[10:39:00] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double
[10:39:00] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid  =
[10:39:00] [PASSED] VIC 96
[10:39:00] [PASSED] VIC 97
[10:39:00] [PASSED] VIC 101
[10:39:00] [PASSED] VIC 102
[10:39:00] [PASSED] VIC 106
[10:39:00] [PASSED] VIC 107
[10:39:00] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid ===
[10:39:00] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc
[10:39:00] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc
[10:39:00] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc
[10:39:00] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc
[10:39:00] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc
[10:39:00] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ====
[10:39:00] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) ==
[10:39:00] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name  ====
[10:39:00] [PASSED] Automatic
[10:39:00] [PASSED] Full
[10:39:00] [PASSED] Limited 16:235
[10:39:00] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name ===
[10:39:00] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid
[10:39:00] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ====
[10:39:00] == drm_hdmi_connector_get_output_format_name (2 subtests) ==
[10:39:00] === drm_test_drm_hdmi_connector_get_output_format_name  ====
[10:39:00] [PASSED] RGB
[10:39:00] [PASSED] YUV 4:2:0
[10:39:00] [PASSED] YUV 4:2:2
[10:39:00] [PASSED] YUV 4:4:4
[10:39:00] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name ===
[10:39:00] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid
[10:39:00] ==== [PASSED] drm_hdmi_connector_get_output_format_name ====
[10:39:00] ============= drm_damage_helper (21 subtests) ==============
[10:39:00] [PASSED] drm_test_damage_iter_no_damage
[10:39:00] [PASSED] drm_test_damage_iter_no_damage_fractional_src
[10:39:00] [PASSED] drm_test_damage_iter_no_damage_src_moved
[10:39:00] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved
[10:39:00] [PASSED] drm_test_damage_iter_no_damage_not_visible
[10:39:00] [PASSED] drm_test_damage_iter_no_damage_no_crtc
[10:39:00] [PASSED] drm_test_damage_iter_no_damage_no_fb
[10:39:00] [PASSED] drm_test_damage_iter_simple_damage
[10:39:00] [PASSED] drm_test_damage_iter_single_damage
[10:39:00] [PASSED] drm_test_damage_iter_single_damage_intersect_src
[10:39:00] [PASSED] drm_test_damage_iter_single_damage_outside_src
[10:39:00] [PASSED] drm_test_damage_iter_single_damage_fractional_src
[10:39:00] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src
[10:39:00] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src
[10:39:00] [PASSED] drm_test_damage_iter_single_damage_src_moved
[10:39:00] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved
[10:39:00] [PASSED] drm_test_damage_iter_damage
[10:39:00] [PASSED] drm_test_damage_iter_damage_one_intersect
[10:39:00] [PASSED] drm_test_damage_iter_damage_one_outside
[10:39:00] [PASSED] drm_test_damage_iter_damage_src_moved
[10:39:00] [PASSED] drm_test_damage_iter_damage_not_visible
[10:39:00] ================ [PASSED] drm_damage_helper ================
[10:39:00] ============== drm_dp_mst_helper (3 subtests) ==============
[10:39:00] ============== drm_test_dp_mst_calc_pbn_mode  ==============
[10:39:00] [PASSED] Clock 154000 BPP 30 DSC disabled
[10:39:00] [PASSED] Clock 234000 BPP 30 DSC disabled
[10:39:00] [PASSED] Clock 297000 BPP 24 DSC disabled
[10:39:00] [PASSED] Clock 332880 BPP 24 DSC enabled
[10:39:00] [PASSED] Clock 324540 BPP 24 DSC enabled
[10:39:00] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ==========
[10:39:00] ============== drm_test_dp_mst_calc_pbn_div  ===============
[10:39:00] [PASSED] Link rate 2000000 lane count 4
[10:39:00] [PASSED] Link rate 2000000 lane count 2
[10:39:00] [PASSED] Link rate 2000000 lane count 1
[10:39:00] [PASSED] Link rate 1350000 lane count 4
[10:39:00] [PASSED] Link rate 1350000 lane count 2
[10:39:00] [PASSED] Link rate 1350000 lane count 1
[10:39:00] [PASSED] Link rate 1000000 lane count 4
[10:39:00] [PASSED] Link rate 1000000 lane count 2
[10:39:00] [PASSED] Link rate 1000000 lane count 1
[10:39:00] [PASSED] Link rate 810000 lane count 4
[10:39:00] [PASSED] Link rate 810000 lane count 2
[10:39:00] [PASSED] Link rate 810000 lane count 1
[10:39:00] [PASSED] Link rate 540000 lane count 4
[10:39:00] [PASSED] Link rate 540000 lane count 2
[10:39:00] [PASSED] Link rate 540000 lane count 1
[10:39:00] [PASSED] Link rate 270000 lane count 4
[10:39:00] [PASSED] Link rate 270000 lane count 2
[10:39:00] [PASSED] Link rate 270000 lane count 1
[10:39:00] [PASSED] Link rate 162000 lane count 4
[10:39:00] [PASSED] Link rate 162000 lane count 2
[10:39:00] [PASSED] Link rate 162000 lane count 1
[10:39:00] ========== [PASSED] drm_test_dp_mst_calc_pbn_div ===========
[10:39:00] ========= drm_test_dp_mst_sideband_msg_req_decode  =========
[10:39:00] [PASSED] DP_ENUM_PATH_RESOURCES with port number
[10:39:00] [PASSED] DP_POWER_UP_PHY with port number
[10:39:00] [PASSED] DP_POWER_DOWN_PHY with port number
[10:39:00] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks
[10:39:00] [PASSED] DP_ALLOCATE_PAYLOAD with port number
[10:39:00] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI
[10:39:00] [PASSED] DP_ALLOCATE_PAYLOAD with PBN
[10:39:00] [PASSED] DP_QUERY_PAYLOAD with port number
[10:39:00] [PASSED] DP_QUERY_PAYLOAD with VCPI
[10:39:00] [PASSED] DP_REMOTE_DPCD_READ with port number
[10:39:00] [PASSED] DP_REMOTE_DPCD_READ with DPCD address
[10:39:00] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes
[10:39:00] [PASSED] DP_REMOTE_DPCD_WRITE with port number
[10:39:00] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address
[10:39:00] [PASSED] DP_REMOTE_DPCD_WRITE with data array
[10:39:00] [PASSED] DP_REMOTE_I2C_READ with port number
[10:39:00] [PASSED] DP_REMOTE_I2C_READ with I2C device ID
[10:39:00] [PASSED] DP_REMOTE_I2C_READ with transactions array
[10:39:00] [PASSED] DP_REMOTE_I2C_WRITE with port number
[10:39:00] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID
[10:39:00] [PASSED] DP_REMOTE_I2C_WRITE with data array
[10:39:00] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID
[10:39:00] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID
[10:39:00] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event
[10:39:00] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event
[10:39:00] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior
[10:39:00] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior
[10:39:00] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode =====
[10:39:00] ================ [PASSED] drm_dp_mst_helper ================
[10:39:00] ================== drm_exec (7 subtests) ===================
[10:39:00] [PASSED] sanitycheck
[10:39:00] [PASSED] test_lock
[10:39:00] [PASSED] test_lock_unlock
[10:39:00] [PASSED] test_duplicates
[10:39:00] [PASSED] test_prepare
[10:39:00] [PASSED] test_prepare_array
[10:39:00] [PASSED] test_multiple_loops
[10:39:00] ==================== [PASSED] drm_exec =====================
[10:39:00] =========== drm_format_helper_test (17 subtests) ===========
[10:39:00] ============== drm_test_fb_xrgb8888_to_gray8  ==============
[10:39:00] [PASSED] single_pixel_source_buffer
[10:39:00] [PASSED] single_pixel_clip_rectangle
[10:39:00] [PASSED] well_known_colors
[10:39:00] [PASSED] destination_pitch
[10:39:00] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ==========
[10:39:00] ============= drm_test_fb_xrgb8888_to_rgb332  ==============
[10:39:00] [PASSED] single_pixel_source_buffer
[10:39:00] [PASSED] single_pixel_clip_rectangle
[10:39:00] [PASSED] well_known_colors
[10:39:00] [PASSED] destination_pitch
[10:39:00] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ==========
[10:39:00] ============= drm_test_fb_xrgb8888_to_rgb565  ==============
[10:39:00] [PASSED] single_pixel_source_buffer
[10:39:00] [PASSED] single_pixel_clip_rectangle
[10:39:00] [PASSED] well_known_colors
[10:39:00] [PASSED] destination_pitch
[10:39:00] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ==========
[10:39:00] ============ drm_test_fb_xrgb8888_to_xrgb1555  =============
[10:39:00] [PASSED] single_pixel_source_buffer
[10:39:00] [PASSED] single_pixel_clip_rectangle
[10:39:00] [PASSED] well_known_colors
[10:39:00] [PASSED] destination_pitch
[10:39:00] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 =========
[10:39:00] ============ drm_test_fb_xrgb8888_to_argb1555  =============
[10:39:00] [PASSED] single_pixel_source_buffer
[10:39:00] [PASSED] single_pixel_clip_rectangle
[10:39:00] [PASSED] well_known_colors
[10:39:00] [PASSED] destination_pitch
[10:39:00] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 =========
[10:39:00] ============ drm_test_fb_xrgb8888_to_rgba5551  =============
[10:39:00] [PASSED] single_pixel_source_buffer
[10:39:00] [PASSED] single_pixel_clip_rectangle
[10:39:00] [PASSED] well_known_colors
[10:39:00] [PASSED] destination_pitch
[10:39:00] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 =========
[10:39:00] ============= drm_test_fb_xrgb8888_to_rgb888  ==============
[10:39:00] [PASSED] single_pixel_source_buffer
[10:39:00] [PASSED] single_pixel_clip_rectangle
[10:39:00] [PASSED] well_known_colors
[10:39:00] [PASSED] destination_pitch
[10:39:00] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ==========
[10:39:00] ============= drm_test_fb_xrgb8888_to_bgr888  ==============
[10:39:00] [PASSED] single_pixel_source_buffer
[10:39:00] [PASSED] single_pixel_clip_rectangle
[10:39:00] [PASSED] well_known_colors
[10:39:00] [PASSED] destination_pitch
[10:39:00] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ==========
[10:39:00] ============ drm_test_fb_xrgb8888_to_argb8888  =============
[10:39:00] [PASSED] single_pixel_source_buffer
[10:39:00] [PASSED] single_pixel_clip_rectangle
[10:39:00] [PASSED] well_known_colors
[10:39:00] [PASSED] destination_pitch
[10:39:00] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 =========
[10:39:00] =========== drm_test_fb_xrgb8888_to_xrgb2101010  ===========
[10:39:00] [PASSED] single_pixel_source_buffer
[10:39:00] [PASSED] single_pixel_clip_rectangle
[10:39:00] [PASSED] well_known_colors
[10:39:00] [PASSED] destination_pitch
[10:39:00] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 =======
[10:39:00] =========== drm_test_fb_xrgb8888_to_argb2101010  ===========
[10:39:00] [PASSED] single_pixel_source_buffer
[10:39:00] [PASSED] single_pixel_clip_rectangle
[10:39:00] [PASSED] well_known_colors
[10:39:00] [PASSED] destination_pitch
[10:39:00] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 =======
[10:39:00] ============== drm_test_fb_xrgb8888_to_mono  ===============
[10:39:00] [PASSED] single_pixel_source_buffer
[10:39:00] [PASSED] single_pixel_clip_rectangle
[10:39:00] [PASSED] well_known_colors
[10:39:00] [PASSED] destination_pitch
[10:39:00] ========== [PASSED] drm_test_fb_xrgb8888_to_mono ===========
[10:39:00] ==================== drm_test_fb_swab  =====================
[10:39:00] [PASSED] single_pixel_source_buffer
[10:39:00] [PASSED] single_pixel_clip_rectangle
[10:39:00] [PASSED] well_known_colors
[10:39:00] [PASSED] destination_pitch
[10:39:00] ================ [PASSED] drm_test_fb_swab =================
[10:39:00] ============ drm_test_fb_xrgb8888_to_xbgr8888  =============
[10:39:00] [PASSED] single_pixel_source_buffer
[10:39:00] [PASSED] single_pixel_clip_rectangle
[10:39:00] [PASSED] well_known_colors
[10:39:00] [PASSED] destination_pitch
[10:39:00] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 =========
[10:39:00] ============ drm_test_fb_xrgb8888_to_abgr8888  =============
[10:39:00] [PASSED] single_pixel_source_buffer
[10:39:00] [PASSED] single_pixel_clip_rectangle
[10:39:00] [PASSED] well_known_colors
[10:39:00] [PASSED] destination_pitch
[10:39:00] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 =========
[10:39:00] ================= drm_test_fb_clip_offset  =================
[10:39:00] [PASSED] pass through
[10:39:00] [PASSED] horizontal offset
[10:39:00] [PASSED] vertical offset
[10:39:00] [PASSED] horizontal and vertical offset
[10:39:00] [PASSED] horizontal offset (custom pitch)
[10:39:00] [PASSED] vertical offset (custom pitch)
[10:39:00] [PASSED] horizontal and vertical offset (custom pitch)
[10:39:00] ============= [PASSED] drm_test_fb_clip_offset =============
[10:39:00] =================== drm_test_fb_memcpy  ====================
[10:39:00] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258)
[10:39:00] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258)
[10:39:00] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559)
[10:39:00] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258)
[10:39:00] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258)
[10:39:00] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559)
[10:39:00] [PASSED] well_known_colors: XB24 little-endian (0x34324258)
[10:39:00] [PASSED] well_known_colors: XRA8 little-endian (0x38415258)
[10:39:00] [PASSED] well_known_colors: YU24 little-endian (0x34325559)
[10:39:00] [PASSED] destination_pitch: XB24 little-endian (0x34324258)
[10:39:00] [PASSED] destination_pitch: XRA8 little-endian (0x38415258)
[10:39:00] [PASSED] destination_pitch: YU24 little-endian (0x34325559)
[10:39:00] =============== [PASSED] drm_test_fb_memcpy ================
[10:39:00] ============= [PASSED] drm_format_helper_test ==============
[10:39:00] ================= drm_format (18 subtests) =================
[10:39:00] [PASSED] drm_test_format_block_width_invalid
[10:39:00] [PASSED] drm_test_format_block_width_one_plane
[10:39:00] [PASSED] drm_test_format_block_width_two_plane
[10:39:00] [PASSED] drm_test_format_block_width_three_plane
[10:39:00] [PASSED] drm_test_format_block_width_tiled
[10:39:00] [PASSED] drm_test_format_block_height_invalid
[10:39:00] [PASSED] drm_test_format_block_height_one_plane
[10:39:00] [PASSED] drm_test_format_block_height_two_plane
[10:39:00] [PASSED] drm_test_format_block_height_three_plane
[10:39:00] [PASSED] drm_test_format_block_height_tiled
[10:39:00] [PASSED] drm_test_format_min_pitch_invalid
[10:39:00] [PASSED] drm_test_format_min_pitch_one_plane_8bpp
[10:39:00] [PASSED] drm_test_format_min_pitch_one_plane_16bpp
[10:39:00] [PASSED] drm_test_format_min_pitch_one_plane_24bpp
[10:39:00] [PASSED] drm_test_format_min_pitch_one_plane_32bpp
[10:39:00] [PASSED] drm_test_format_min_pitch_two_plane
[10:39:00] [PASSED] drm_test_format_min_pitch_three_plane_8bpp
[10:39:00] [PASSED] drm_test_format_min_pitch_tiled
[10:39:00] =================== [PASSED] drm_format ====================
[10:39:00] ============== drm_framebuffer (10 subtests) ===============
[10:39:00] ========== drm_test_framebuffer_check_src_coords  ==========
[10:39:00] [PASSED] Success: source fits into fb
[10:39:00] [PASSED] Fail: overflowing fb with x-axis coordinate
[10:39:00] [PASSED] Fail: overflowing fb with y-axis coordinate
[10:39:00] [PASSED] Fail: overflowing fb with source width
[10:39:00] [PASSED] Fail: overflowing fb with source height
[10:39:00] ====== [PASSED] drm_test_framebuffer_check_src_coords ======
[10:39:00] [PASSED] drm_test_framebuffer_cleanup
[10:39:00] =============== drm_test_framebuffer_create  ===============
[10:39:00] [PASSED] ABGR8888 normal sizes
[10:39:00] [PASSED] ABGR8888 max sizes
[10:39:00] [PASSED] ABGR8888 pitch greater than min required
[10:39:00] [PASSED] ABGR8888 pitch less than min required
[10:39:00] [PASSED] ABGR8888 Invalid width
[10:39:00] [PASSED] ABGR8888 Invalid buffer handle
[10:39:00] [PASSED] No pixel format
[10:39:00] [PASSED] ABGR8888 Width 0
[10:39:00] [PASSED] ABGR8888 Height 0
[10:39:00] [PASSED] ABGR8888 Out of bound height * pitch combination
[10:39:00] [PASSED] ABGR8888 Large buffer offset
[10:39:00] [PASSED] ABGR8888 Buffer offset for inexistent plane
[10:39:00] [PASSED] ABGR8888 Invalid flag
[10:39:00] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers
[10:39:00] [PASSED] ABGR8888 Valid buffer modifier
[10:39:00] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE)
[10:39:00] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS
[10:39:00] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS
[10:39:00] [PASSED] NV12 Normal sizes
[10:39:00] [PASSED] NV12 Max sizes
[10:39:00] [PASSED] NV12 Invalid pitch
[10:39:00] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag
[10:39:00] [PASSED] NV12 different  modifier per-plane
[10:39:00] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE
[10:39:00] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS
[10:39:00] [PASSED] NV12 Modifier for inexistent plane
[10:39:00] [PASSED] NV12 Handle for inexistent plane
[10:39:00] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS
[10:39:00] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier
[10:39:00] [PASSED] YVU420 Normal sizes
[10:39:00] [PASSED] YVU420 Max sizes
[10:39:00] [PASSED] YVU420 Invalid pitch
[10:39:00] [PASSED] YVU420 Different pitches
[10:39:00] [PASSED] YVU420 Different buffer offsets/pitches
[10:39:00] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS
[10:39:00] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS
[10:39:00] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS
[10:39:00] [PASSED] YVU420 Valid modifier
[10:39:00] [PASSED] YVU420 Different modifiers per plane
[10:39:00] [PASSED] YVU420 Modifier for inexistent plane
[10:39:00] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR)
[10:39:00] [PASSED] X0L2 Normal sizes
[10:39:00] [PASSED] X0L2 Max sizes
[10:39:00] [PASSED] X0L2 Invalid pitch
[10:39:00] [PASSED] X0L2 Pitch greater than minimum required
[10:39:00] [PASSED] X0L2 Handle for inexistent plane
[10:39:00] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set
[10:39:00] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set
[10:39:00] [PASSED] X0L2 Valid modifier
[10:39:00] [PASSED] X0L2 Modifier for inexistent plane
[10:39:00] =========== [PASSED] drm_test_framebuffer_create ===========
[10:39:00] [PASSED] drm_test_framebuffer_free
[10:39:00] [PASSED] drm_test_framebuffer_init
[10:39:00] [PASSED] drm_test_framebuffer_init_bad_format
[10:39:00] [PASSED] drm_test_framebuffer_init_dev_mismatch
[10:39:00] [PASSED] drm_test_framebuffer_lookup
[10:39:00] [PASSED] drm_test_framebuffer_lookup_inexistent
[10:39:00] [PASSED] drm_test_framebuffer_modifiers_not_supported
[10:39:00] ================= [PASSED] drm_framebuffer =================
[10:39:00] ================ drm_gem_shmem (8 subtests) ================
[10:39:00] [PASSED] drm_gem_shmem_test_obj_create
[10:39:00] [PASSED] drm_gem_shmem_test_obj_create_private
[10:39:00] [PASSED] drm_gem_shmem_test_pin_pages
[10:39:00] [PASSED] drm_gem_shmem_test_vmap
[10:39:00] [PASSED] drm_gem_shmem_test_get_sg_table
[10:39:00] [PASSED] drm_gem_shmem_test_get_pages_sgt
[10:39:00] [PASSED] drm_gem_shmem_test_madvise
[10:39:00] [PASSED] drm_gem_shmem_test_purge
[10:39:00] ================== [PASSED] drm_gem_shmem ==================
[10:39:00] === drm_atomic_helper_connector_hdmi_check (29 subtests) ===
[10:39:00] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode
[10:39:00] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1
[10:39:00] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode
[10:39:00] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1
[10:39:00] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode
[10:39:00] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1
[10:39:00] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420  =======
[10:39:00] [PASSED] Automatic
[10:39:00] [PASSED] Full
[10:39:00] [PASSED] Limited 16:235
[10:39:00] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 ===
[10:39:00] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed
[10:39:00] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed
[10:39:00] [PASSED] drm_test_check_disable_connector
[10:39:00] [PASSED] drm_test_check_hdmi_funcs_reject_rate
[10:39:00] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb
[10:39:00] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420
[10:39:00] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422
[10:39:00] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420
[10:39:00] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420
[10:39:00] [PASSED] drm_test_check_output_bpc_crtc_mode_changed
[10:39:00] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed
[10:39:00] [PASSED] drm_test_check_output_bpc_dvi
[10:39:00] [PASSED] drm_test_check_output_bpc_format_vic_1
[10:39:00] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only
[10:39:00] [PASSED] drm_test_check_output_bpc_format_display_rgb_only
[10:39:00] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only
[10:39:00] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only
[10:39:00] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc
[10:39:00] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc
[10:39:00] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc
[10:39:00] ============ drm_test_check_hdmi_color_format  =============
[10:39:00] [PASSED] AUTO -> RGB
[10:39:00] [PASSED] YCBCR422 -> YUV422
[10:39:00] [PASSED] YCBCR420 -> YUV420
[10:39:00] [PASSED] YCBCR444 -> YUV444
[10:39:00] [PASSED] RGB -> RGB
[10:39:00] ======== [PASSED] drm_test_check_hdmi_color_format =========
[10:39:00] ======== drm_test_check_hdmi_color_format_420_only  ========
[10:39:00] [PASSED] RGB should fail
[10:39:00] [PASSED] YUV444 should fail
[10:39:00] [PASSED] YUV422 should fail
[10:39:00] [PASSED] YUV420 should work
[10:39:00] ==== [PASSED] drm_test_check_hdmi_color_format_420_only ====
[10:39:00] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ======
[10:39:00] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ====
[10:39:00] [PASSED] drm_test_check_broadcast_rgb_value
[10:39:00] [PASSED] drm_test_check_bpc_8_value
[10:39:00] [PASSED] drm_test_check_bpc_10_value
[10:39:00] [PASSED] drm_test_check_bpc_12_value
[10:39:00] [PASSED] drm_test_check_format_value
[10:39:00] [PASSED] drm_test_check_tmds_char_value
[10:39:00] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ======
[10:39:00] = drm_atomic_helper_connector_hdmi_mode_valid (7 subtests) =
[10:39:00] [PASSED] drm_test_check_mode_valid
[10:39:00] [PASSED] drm_test_check_mode_valid_reject
[10:39:00] [PASSED] drm_test_check_mode_valid_reject_rate
[10:39:00] [PASSED] drm_test_check_mode_valid_reject_max_clock
[10:39:00] [PASSED] drm_test_check_mode_valid_yuv420_only_max_clock
[10:39:00] [PASSED] drm_test_check_mode_valid_reject_yuv420_only_connector
[10:39:00] [PASSED] drm_test_check_mode_valid_accept_yuv420_also_connector_rgb
[10:39:00] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid ===
[10:39:00] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) =
[10:39:00] [PASSED] drm_test_check_infoframes
[10:39:00] [PASSED] drm_test_check_reject_avi_infoframe
[10:39:00] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8
[10:39:00] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10
[10:39:00] [PASSED] drm_test_check_reject_audio_infoframe
[10:39:00] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes ===
[10:39:00] ================= drm_managed (2 subtests) =================
[10:39:00] [PASSED] drm_test_managed_release_action
[10:39:00] [PASSED] drm_test_managed_run_action
[10:39:00] =================== [PASSED] drm_managed ===================
[10:39:00] =================== drm_mm (6 subtests) ====================
[10:39:00] [PASSED] drm_test_mm_init
[10:39:00] [PASSED] drm_test_mm_debug
[10:39:00] [PASSED] drm_test_mm_align32
[10:39:00] [PASSED] drm_test_mm_align64
[10:39:00] [PASSED] drm_test_mm_lowest
[10:39:00] [PASSED] drm_test_mm_highest
[10:39:00] ===================== [PASSED] drm_mm ======================
[10:39:00] ============= drm_modes_analog_tv (5 subtests) =============
[10:39:00] [PASSED] drm_test_modes_analog_tv_mono_576i
[10:39:00] [PASSED] drm_test_modes_analog_tv_ntsc_480i
[10:39:00] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined
[10:39:00] [PASSED] drm_test_modes_analog_tv_pal_576i
[10:39:00] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined
[10:39:00] =============== [PASSED] drm_modes_analog_tv ===============
[10:39:00] ============== drm_panic_helper (3 subtests) ===============
[10:39:00] ============= drm_test_panic_screen_user_map  ==============
[10:39:00] [PASSED] Panic screen user, mode: 1024 x 768 	XR24 little-endian (0x34325258)
[10:39:00] [PASSED] Panic screen user, mode: 494 x 494 	XR24 little-endian (0x34325258)
[10:39:00] [PASSED] Panic screen user, mode: 1920 x 1080 	XR24 little-endian (0x34325258)
[10:39:00] [PASSED] Panic screen user, mode: 1024 x 768 	RG16 little-endian (0x36314752)
[10:39:00] [PASSED] Panic screen user, mode: 1024 x 768 	RG24 little-endian (0x34324752)
[10:39:00] [PASSED] Panic screen kmsg, mode: 1024 x 768 	XR24 little-endian (0x34325258)
[10:39:00] [PASSED] Panic screen kmsg, mode: 494 x 494 	XR24 little-endian (0x34325258)
[10:39:00] [PASSED] Panic screen kmsg, mode: 1920 x 1080 	XR24 little-endian (0x34325258)
[10:39:00] [PASSED] Panic screen kmsg, mode: 1024 x 768 	RG16 little-endian (0x36314752)
[10:39:00] [PASSED] Panic screen kmsg, mode: 1024 x 768 	RG24 little-endian (0x34324752)
[10:39:00] ========= [PASSED] drm_test_panic_screen_user_map ==========
[10:39:00] ============= drm_test_panic_screen_user_page  =============
[10:39:00] [PASSED] Panic screen user, mode: 1024 x 768 	XR24 little-endian (0x34325258)
[10:39:00] [PASSED] Panic screen user, mode: 494 x 494 	XR24 little-endian (0x34325258)
[10:39:00] [PASSED] Panic screen user, mode: 1920 x 1080 	XR24 little-endian (0x34325258)
[10:39:00] [PASSED] Panic screen user, mode: 1024 x 768 	RG16 little-endian (0x36314752)
[10:39:00] [PASSED] Panic screen user, mode: 1024 x 768 	RG24 little-endian (0x34324752)
[10:39:00] [PASSED] Panic screen kmsg, mode: 1024 x 768 	XR24 little-endian (0x34325258)
[10:39:00] [PASSED] Panic screen kmsg, mode: 494 x 494 	XR24 little-endian (0x34325258)
[10:39:00] [PASSED] Panic screen kmsg, mode: 1920 x 1080 	XR24 little-endian (0x34325258)
[10:39:00] [PASSED] Panic screen kmsg, mode: 1024 x 768 	RG16 little-endian (0x36314752)
[10:39:00] [PASSED] Panic screen kmsg, mode: 1024 x 768 	RG24 little-endian (0x34324752)
[10:39:00] ========= [PASSED] drm_test_panic_screen_user_page =========
[10:39:00] ========== drm_test_panic_screen_user_set_pixel  ===========
[10:39:00] [PASSED] Panic screen user, mode: 1024 x 768 	XR24 little-endian (0x34325258)
[10:39:00] [PASSED] Panic screen user, mode: 494 x 494 	XR24 little-endian (0x34325258)
[10:39:00] [PASSED] Panic screen user, mode: 1920 x 1080 	XR24 little-endian (0x34325258)
[10:39:00] [PASSED] Panic screen user, mode: 1024 x 768 	RG16 little-endian (0x36314752)
[10:39:00] [PASSED] Panic screen user, mode: 1024 x 768 	RG24 little-endian (0x34324752)
[10:39:00] [PASSED] Panic screen kmsg, mode: 1024 x 768 	XR24 little-endian (0x34325258)
[10:39:00] [PASSED] Panic screen kmsg, mode: 494 x 494 	XR24 little-endian (0x34325258)
[10:39:00] [PASSED] Panic screen kmsg, mode: 1920 x 1080 	XR24 little-endian (0x34325258)
[10:39:00] [PASSED] Panic screen kmsg, mode: 1024 x 768 	RG16 little-endian (0x36314752)
[10:39:00] [PASSED] Panic screen kmsg, mode: 1024 x 768 	RG24 little-endian (0x34324752)
[10:39:00] ====== [PASSED] drm_test_panic_screen_user_set_pixel =======
[10:39:00] ================ [PASSED] drm_panic_helper =================
[10:39:00] ============== drm_plane_helper (2 subtests) ===============
[10:39:00] =============== drm_test_check_plane_state  ================
[10:39:00] [PASSED] clipping_simple
[10:39:00] [PASSED] clipping_rotate_reflect
[10:39:00] [PASSED] positioning_simple
[10:39:00] [PASSED] upscaling
[10:39:00] [PASSED] downscaling
[10:39:00] [PASSED] rounding1
[10:39:00] [PASSED] rounding2
[10:39:00] [PASSED] rounding3
[10:39:00] [PASSED] rounding4
[10:39:00] =========== [PASSED] drm_test_check_plane_state ============
[10:39:00] =========== drm_test_check_invalid_plane_state  ============
[10:39:00] [PASSED] positioning_invalid
[10:39:00] [PASSED] upscaling_invalid
[10:39:00] [PASSED] downscaling_invalid
[10:39:00] ======= [PASSED] drm_test_check_invalid_plane_state ========
[10:39:00] ================ [PASSED] drm_plane_helper =================
[10:39:00] ====== drm_connector_helper_tv_get_modes (1 subtest) =======
[10:39:00] ====== drm_test_connector_helper_tv_get_modes_check  =======
[10:39:00] [PASSED] None
[10:39:00] [PASSED] PAL
[10:39:00] [PASSED] NTSC
[10:39:00] [PASSED] Both, NTSC Default
[10:39:00] [PASSED] Both, PAL Default
[10:39:00] [PASSED] Both, NTSC Default, with PAL on command-line
[10:39:00] [PASSED] Both, PAL Default, with NTSC on command-line
[10:39:00] == [PASSED] drm_test_connector_helper_tv_get_modes_check ===
[10:39:00] ======== [PASSED] drm_connector_helper_tv_get_modes ========
[10:39:00] ================== drm_rect (9 subtests) ===================
[10:39:00] [PASSED] drm_test_rect_clip_scaled_div_by_zero
[10:39:00] [PASSED] drm_test_rect_clip_scaled_not_clipped
[10:39:00] [PASSED] drm_test_rect_clip_scaled_clipped
[10:39:00] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned
[10:39:00] ================= drm_test_rect_intersect  =================
[10:39:00] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0
[10:39:00] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1
[10:39:00] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0
[10:39:00] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1
[10:39:00] [PASSED] right x left: 2x1+0+0 x 3x1+1+0
[10:39:00] [PASSED] left x right: 3x1+1+0 x 2x1+0+0
[10:39:00] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1
[10:39:00] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0
[10:39:00] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1
[10:39:00] [PASSED] touching side: 1x1+0+0 x 1x1+1+0
[10:39:00] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0
[10:39:00] [PASSED] inside another: 2x2+0+0 x 1x1+1+1
[10:39:00] [PASSED] far away: 1x1+0+0 x 1x1+3+6
[10:39:00] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10
[10:39:00] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10
[10:39:00] ============= [PASSED] drm_test_rect_intersect =============
[10:39:00] ================ drm_test_rect_calc_hscale  ================
[10:39:00] [PASSED] normal use
[10:39:00] [PASSED] out of max range
[10:39:00] [PASSED] out of min range
[10:39:00] [PASSED] zero dst
[10:39:00] [PASSED] negative src
[10:39:00] [PASSED] negative dst
[10:39:00] ============ [PASSED] drm_test_rect_calc_hscale ============
[10:39:00] ================ drm_test_rect_calc_vscale  ================
[10:39:00] [PASSED] normal use
[10:39:00] [PASSED] out of max range
[10:39:00] [PASSED] out of min range
[10:39:00] [PASSED] zero dst
[10:39:00] [PASSED] negative src
[10:39:00] [PASSED] negative dst
[10:39:00] ============ [PASSED] drm_test_rect_calc_vscale ============
[10:39:00] ================== drm_test_rect_rotate  ===================
[10:39:00] [PASSED] reflect-x
[10:39:00] [PASSED] reflect-y
[10:39:00] [PASSED] rotate-0
[10:39:00] [PASSED] rotate-90
[10:39:00] [PASSED] rotate-180
[10:39:00] [PASSED] rotate-270
[10:39:00] ============== [PASSED] drm_test_rect_rotate ===============
[10:39:00] ================ drm_test_rect_rotate_inv  =================
[10:39:00] [PASSED] reflect-x
[10:39:00] [PASSED] reflect-y
[10:39:00] [PASSED] rotate-0
[10:39:00] [PASSED] rotate-90
[10:39:00] [PASSED] rotate-180
[10:39:00] [PASSED] rotate-270
[10:39:00] ============ [PASSED] drm_test_rect_rotate_inv =============
[10:39:00] ==================== [PASSED] drm_rect =====================
[10:39:00] ============ drm_sysfb_modeset_test (1 subtest) ============
[10:39:00] ============ drm_test_sysfb_build_fourcc_list  =============
[10:39:00] [PASSED] no native formats
[10:39:00] [PASSED] XRGB8888 as native format
[10:39:00] [PASSED] remove duplicates
[10:39:00] [PASSED] convert alpha formats
[10:39:00] [PASSED] random formats
[10:39:00] ======== [PASSED] drm_test_sysfb_build_fourcc_list =========
[10:39:00] ============= [PASSED] drm_sysfb_modeset_test ==============
[10:39:00] ================== drm_fixp (2 subtests) ===================
[10:39:00] [PASSED] drm_test_int2fixp
[10:39:00] [PASSED] drm_test_sm2fixp
[10:39:00] ==================== [PASSED] drm_fixp =====================
[10:39:00] ============================================================
[10:39:00] Testing complete. Ran 667 tests: passed: 667
[10:39:00] Elapsed time: 27.856s total, 2.510s configuring, 24.929s building, 0.409s running

+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig
[10:39:01] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[10:39:03] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[10:39:13] Starting KUnit Kernel (1/1)...
[10:39:13] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[10:39:13] ================= ttm_device (5 subtests) ==================
[10:39:13] [PASSED] ttm_device_init_basic
[10:39:13] [PASSED] ttm_device_init_multiple
[10:39:13] [PASSED] ttm_device_fini_basic
[10:39:13] [PASSED] ttm_device_init_no_vma_man
[10:39:13] ================== ttm_device_init_pools  ==================
[10:39:13] [PASSED] No DMA allocations, no DMA32 required
[10:39:13] [PASSED] DMA allocations, DMA32 required
[10:39:13] [PASSED] No DMA allocations, DMA32 required
[10:39:13] [PASSED] DMA allocations, no DMA32 required
[10:39:13] ============== [PASSED] ttm_device_init_pools ==============
[10:39:13] =================== [PASSED] ttm_device ====================
[10:39:13] ================== ttm_pool (8 subtests) ===================
[10:39:13] ================== ttm_pool_alloc_basic  ===================
[10:39:13] [PASSED] One page
[10:39:13] [PASSED] More than one page
[10:39:13] [PASSED] Above the allocation limit
[10:39:13] [PASSED] One page, with coherent DMA mappings enabled
[10:39:13] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[10:39:13] ============== [PASSED] ttm_pool_alloc_basic ===============
[10:39:13] ============== ttm_pool_alloc_basic_dma_addr  ==============
[10:39:13] [PASSED] One page
[10:39:13] [PASSED] More than one page
[10:39:13] [PASSED] Above the allocation limit
[10:39:13] [PASSED] One page, with coherent DMA mappings enabled
[10:39:13] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[10:39:13] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ==========
[10:39:13] [PASSED] ttm_pool_alloc_order_caching_match
[10:39:13] [PASSED] ttm_pool_alloc_caching_mismatch
[10:39:13] [PASSED] ttm_pool_alloc_order_mismatch
[10:39:13] [PASSED] ttm_pool_free_dma_alloc
[10:39:13] [PASSED] ttm_pool_free_no_dma_alloc
[10:39:13] [PASSED] ttm_pool_fini_basic
[10:39:13] ==================== [PASSED] ttm_pool =====================
[10:39:13] ================ ttm_resource (8 subtests) =================
[10:39:13] ================= ttm_resource_init_basic  =================
[10:39:13] [PASSED] Init resource in TTM_PL_SYSTEM
[10:39:13] [PASSED] Init resource in TTM_PL_VRAM
[10:39:13] [PASSED] Init resource in a private placement
[10:39:13] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags
[10:39:13] ============= [PASSED] ttm_resource_init_basic =============
[10:39:13] [PASSED] ttm_resource_init_pinned
[10:39:13] [PASSED] ttm_resource_fini_basic
[10:39:13] [PASSED] ttm_resource_manager_init_basic
[10:39:13] [PASSED] ttm_resource_manager_usage_basic
[10:39:13] [PASSED] ttm_resource_manager_set_used_basic
[10:39:13] [PASSED] ttm_sys_man_alloc_basic
[10:39:13] [PASSED] ttm_sys_man_free_basic
[10:39:13] ================== [PASSED] ttm_resource ===================
[10:39:13] =================== ttm_tt (15 subtests) ===================
[10:39:13] ==================== ttm_tt_init_basic  ====================
[10:39:13] [PASSED] Page-aligned size
[10:39:13] [PASSED] Extra pages requested
[10:39:13] ================ [PASSED] ttm_tt_init_basic ================
[10:39:13] [PASSED] ttm_tt_init_misaligned
[10:39:13] [PASSED] ttm_tt_fini_basic
[10:39:13] [PASSED] ttm_tt_fini_sg
[10:39:13] [PASSED] ttm_tt_fini_shmem
[10:39:13] [PASSED] ttm_tt_create_basic
[10:39:13] [PASSED] ttm_tt_create_invalid_bo_type
[10:39:13] [PASSED] ttm_tt_create_ttm_exists
[10:39:13] [PASSED] ttm_tt_create_failed
[10:39:13] [PASSED] ttm_tt_destroy_basic
[10:39:13] [PASSED] ttm_tt_populate_null_ttm
[10:39:13] [PASSED] ttm_tt_populate_populated_ttm
[10:39:13] [PASSED] ttm_tt_unpopulate_basic
[10:39:13] [PASSED] ttm_tt_unpopulate_empty_ttm
[10:39:13] [PASSED] ttm_tt_swapin_basic
[10:39:13] ===================== [PASSED] ttm_tt ======================
[10:39:13] =================== ttm_bo (14 subtests) ===================
[10:39:13] =========== ttm_bo_reserve_optimistic_no_ticket  ===========
[10:39:13] [PASSED] Cannot be interrupted and sleeps
[10:39:13] [PASSED] Cannot be interrupted, locks straight away
[10:39:13] [PASSED] Can be interrupted, sleeps
[10:39:13] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket =======
[10:39:13] [PASSED] ttm_bo_reserve_locked_no_sleep
[10:39:13] [PASSED] ttm_bo_reserve_no_wait_ticket
[10:39:13] [PASSED] ttm_bo_reserve_double_resv
[10:39:13] [PASSED] ttm_bo_reserve_interrupted
[10:39:13] [PASSED] ttm_bo_reserve_deadlock
[10:39:13] [PASSED] ttm_bo_unreserve_basic
[10:39:13] [PASSED] ttm_bo_unreserve_pinned
[10:39:13] [PASSED] ttm_bo_unreserve_bulk
[10:39:13] [PASSED] ttm_bo_fini_basic
[10:39:13] [PASSED] ttm_bo_fini_shared_resv
[10:39:13] [PASSED] ttm_bo_pin_basic
[10:39:13] [PASSED] ttm_bo_pin_unpin_resource
[10:39:13] [PASSED] ttm_bo_multiple_pin_one_unpin
[10:39:13] ===================== [PASSED] ttm_bo ======================
[10:39:13] ============== ttm_bo_validate (22 subtests) ===============
[10:39:13] ============== ttm_bo_init_reserved_sys_man  ===============
[10:39:13] [PASSED] Buffer object for userspace
[10:39:13] [PASSED] Kernel buffer object
[10:39:13] [PASSED] Shared buffer object
[10:39:13] ========== [PASSED] ttm_bo_init_reserved_sys_man ===========
[10:39:13] ============== ttm_bo_init_reserved_mock_man  ==============
[10:39:13] [PASSED] Buffer object for userspace
[10:39:13] [PASSED] Kernel buffer object
[10:39:13] [PASSED] Shared buffer object
[10:39:13] ========== [PASSED] ttm_bo_init_reserved_mock_man ==========
[10:39:13] [PASSED] ttm_bo_init_reserved_resv
[10:39:13] ================== ttm_bo_validate_basic  ==================
[10:39:13] [PASSED] Buffer object for userspace
[10:39:13] [PASSED] Kernel buffer object
[10:39:13] [PASSED] Shared buffer object
[10:39:13] ============== [PASSED] ttm_bo_validate_basic ==============
[10:39:13] [PASSED] ttm_bo_validate_invalid_placement
[10:39:13] ============= ttm_bo_validate_same_placement  ==============
[10:39:13] [PASSED] System manager
[10:39:13] [PASSED] VRAM manager
[10:39:13] ========= [PASSED] ttm_bo_validate_same_placement ==========
[10:39:13] [PASSED] ttm_bo_validate_failed_alloc
[10:39:13] [PASSED] ttm_bo_validate_pinned
[10:39:13] [PASSED] ttm_bo_validate_busy_placement
[10:39:13] ================ ttm_bo_validate_multihop  =================
[10:39:13] [PASSED] Buffer object for userspace
[10:39:13] [PASSED] Kernel buffer object
[10:39:13] [PASSED] Shared buffer object
[10:39:13] ============ [PASSED] ttm_bo_validate_multihop =============
[10:39:13] ========== ttm_bo_validate_no_placement_signaled  ==========
[10:39:13] [PASSED] Buffer object in system domain, no page vector
[10:39:13] [PASSED] Buffer object in system domain with an existing page vector
[10:39:13] ====== [PASSED] ttm_bo_validate_no_placement_signaled ======
[10:39:13] ======== ttm_bo_validate_no_placement_not_signaled  ========
[10:39:13] [PASSED] Buffer object for userspace
[10:39:13] [PASSED] Kernel buffer object
[10:39:13] [PASSED] Shared buffer object
[10:39:13] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ====
[10:39:13] [PASSED] ttm_bo_validate_move_fence_signaled
[10:39:13] ========= ttm_bo_validate_move_fence_not_signaled  =========
[10:39:13] [PASSED] Waits for GPU
[10:39:13] [PASSED] Tries to lock straight away
[10:39:13] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled =====
[10:39:13] [PASSED] ttm_bo_validate_swapout
[10:39:13] [PASSED] ttm_bo_validate_happy_evict
[10:39:13] [PASSED] ttm_bo_validate_all_pinned_evict
[10:39:13] [PASSED] ttm_bo_validate_allowed_only_evict
[10:39:13] [PASSED] ttm_bo_validate_deleted_evict
[10:39:13] [PASSED] ttm_bo_validate_busy_domain_evict
[10:39:13] [PASSED] ttm_bo_validate_evict_gutting
[10:39:13] [PASSED] ttm_bo_validate_recrusive_evict
[10:39:13] ================= [PASSED] ttm_bo_validate =================
[10:39:13] ============================================================
[10:39:13] Testing complete. Ran 102 tests: passed: 102
[10:39:13] Elapsed time: 12.805s total, 2.513s configuring, 10.027s building, 0.235s running

+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/dma-buf/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/dma-buf/.kunitconfig
[10:39:14] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[10:39:16] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[10:39:25] Starting KUnit Kernel (1/1)...
[10:39:25] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[10:39:25] =============== dma-buf-fence (12 subtests) ================
[10:39:25] [PASSED] test_sanitycheck
[10:39:25] [PASSED] test_signaling
[10:39:25] [PASSED] test_add_callback
[10:39:25] [PASSED] test_late_add_callback
[10:39:25] [PASSED] test_rm_callback
[10:39:25] [PASSED] test_late_rm_callback
[10:39:25] [PASSED] test_status
[10:39:25] [PASSED] test_error
[10:39:25] [PASSED] test_wait
[10:39:25] [PASSED] test_wait_timeout
[10:39:25] [PASSED] test_stub
[10:39:25] [SKIPPED] test_race_signal_callback (requires at least 2 CPUs)
[10:39:25] ================== [PASSED] dma-buf-fence ==================
[10:39:25] ============ dma-buf-fence-chain (11 subtests) =============
[10:39:25] [PASSED] test_sanitycheck
[10:39:25] [PASSED] test_find_seqno
[10:39:25] [PASSED] test_find_signaled
[10:39:25] [PASSED] test_find_out_of_order
[10:39:30] [PASSED] test_find_gap
[10:39:30] [PASSED] test_find_race
[10:39:30] [PASSED] test_signal_forward
[10:39:30] [PASSED] test_signal_backward
[10:39:30] [PASSED] test_wait_forward
[10:39:30] [PASSED] test_wait_backward
[10:39:30] [PASSED] test_wait_random
[10:39:30] =============== [PASSED] dma-buf-fence-chain ===============
[10:39:30] ============ dma-buf-fence-unwrap (11 subtests) ============
[10:39:30] [PASSED] test_sanitycheck
[10:39:30] [PASSED] test_unwrap_array
[10:39:30] [PASSED] test_unwrap_chain
[10:39:30] [PASSED] test_unwrap_chain_array
[10:39:30] [PASSED] test_unwrap_merge
[10:39:30] [PASSED] test_unwrap_merge_duplicate
[10:39:30] [PASSED] test_unwrap_merge_seqno
[10:39:30] [PASSED] test_unwrap_merge_order
[10:39:30] [PASSED] test_unwrap_merge_complex
[10:39:30] [PASSED] test_unwrap_merge_complex_seqno
[10:39:30] [PASSED] test_dedup_empty
[10:39:30] ============== [PASSED] dma-buf-fence-unwrap ===============
[10:39:30] ================ dma-buf-resv (5 subtests) =================
[10:39:30] [PASSED] test_sanitycheck
[10:39:30] ===================== test_signaling  ======================
[10:39:30] [PASSED] kernel
[10:39:30] [PASSED] write
[10:39:30] [PASSED] read
[10:39:30] [PASSED] bookkeep
[10:39:30] ================= [PASSED] test_signaling ==================
[10:39:30] ====================== test_for_each  ======================
[10:39:30] [PASSED] kernel
[10:39:30] [PASSED] write
[10:39:30] [PASSED] read
[10:39:30] [PASSED] bookkeep
[10:39:30] ================== [PASSED] test_for_each ==================
[10:39:30] ================= test_for_each_unlocked  ==================
[10:39:30] [PASSED] kernel
[10:39:30] [PASSED] write
[10:39:30] [PASSED] read
[10:39:30] [PASSED] bookkeep
[10:39:30] ============= [PASSED] test_for_each_unlocked ==============
[10:39:30] ===================== test_get_fences  =====================
[10:39:30] [PASSED] kernel
[10:39:30] [PASSED] write
[10:39:30] [PASSED] read
[10:39:30] [PASSED] bookkeep
[10:39:30] ================= [PASSED] test_get_fences =================
[10:39:30] ================== [PASSED] dma-buf-resv ===================
[10:39:30] ============================================================
[10:39:30] Testing complete. Ran 51 tests: passed: 50, skipped: 1
[10:39:30] Elapsed time: 16.729s total, 2.499s configuring, 8.908s building, 5.277s running

+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel



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

* Re: [PATCH 11/12] drm/atomic/uapi: Make async flips a bit more palatable through atomic
  2026-11-16  9:44   ` sashiko-bot
@ 2026-11-16 11:06     ` Ville Syrjälä
  0 siblings, 0 replies; 22+ messages in thread
From: Ville Syrjälä @ 2026-11-16 11:06 UTC (permalink / raw)
  To: sashiko-reviews; +Cc: dri-devel, intel-gfx, intel-xe, amd-gfx

On Mon, Nov 16, 2026 at 09:44:58AM +0000, sashiko-bot@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 2 potential
> issues to consider:
> - [High] drm/atomic: skipping all no-op planes breaks CRTC-only async
>   flips
> - [Medium] drm/atomic: stale FB_DAMAGE_CLIPS read in
>   drm_atomic_set_property()
> --
> 
> commit 64d10f48b65296ed20fc62e81d5d8b357f0e8b51
> Author: Ville Syrjälä <ville.syrjala@linux.intel.com>
> 
> drm/atomic/uapi: Make async flips a bit more palatable through atomic
> 
> This commit filters out no-op property changes during atomic async flips
> in drm_atomic_set_property() before duplicating plane and connector states,
> while still adding the associated CRTCs to the commit.
> 
> > diff --git a/drivers/gpu/drm/drm_atomic_uapi.c b/drivers/gpu/drm/drm_atomic_uapi.c
> > index 7517950d2e515..87181aba14514 100644
> > --- a/drivers/gpu/drm/drm_atomic_uapi.c
> > +++ b/drivers/gpu/drm/drm_atomic_uapi.c
> 
> [ ... ]
> 
> > @@ -1285,16 +1326,19 @@ int drm_atomic_set_property(struct drm_atomic_commit *state,
> >  		struct drm_plane_state *plane_state;
> >  		struct drm_mode_config *config = &plane->dev->mode_config;
> >  		const struct drm_plane_helper_funcs *plane_funcs = plane->helper_private;
> > -
> > -		plane_state = drm_atomic_get_plane_state(state, plane);
> > -		if (IS_ERR(plane_state)) {
> > -			ret = PTR_ERR(plane_state);
> > -			break;
> > -		}
> > +		bool is_noop = false;
> >  
> >  		if (async_flip) {
> > -			/* no-op changes are always allowed */
> > -			ret = drm_atomic_plane_get_property(plane, plane_state,
> > +			const struct drm_plane_state *current_plane_state;
> > +
> > +			current_plane_state =
> > +				__drm_atomic_get_current_plane_state(state, plane);
> > +			if (IS_ERR(current_plane_state)) {
> > +				ret = PTR_ERR(current_plane_state);
> > +				break;
> > +			}
> > +
> > +			ret = drm_atomic_plane_get_property(plane, current_plane_state,
> >  							    prop, &old_val);
> 
> [Severity: Medium]
> Does reading prop_fb_damage_clips from current_plane_state return the
> previous commit's damage blob ID instead of 0?
> 
> Unlike IN_FENCE_FD (which always reports -1), drm_atomic_plane_get_property()
> returns state->fb_damage_clips->base.id, and state->fb_damage_clips is only
> cleared to NULL when __drm_atomic_helper_plane_duplicate_state() duplicates
> the state for a new commit.  Before this change, drm_atomic_get_plane_state()
> ran first, so old_val was always 0 on a fresh plane state.
> 
> When current_plane_state is the un-duplicated plane->state from a previous
> commit that attached damage clips, passing FB_DAMAGE_CLIPS = 0 on a
> non-primary plane (such as a cursor plane) looks like a property change
> (old_val != 0) and fails the async flip with -EINVAL.  Conversely, if
> userspace passes the same blob ID as the previous commit before FB_ID in the
> property list, FB_DAMAGE_CLIPS is skipped as a no-op and then wiped to NULL
> when FB_ID duplicates the plane state.

Good catch. Damage clips should also be an ephemeral property so the old
value should be special.

> 
> >  			if (ret)
> >  				break;
> > @@ -1318,25 +1362,40 @@ int drm_atomic_set_property(struct drm_atomic_commit *state,
> >  				break;
> >  			}
> >  
> > -			/*
> > -			 * FIXME this is in the wrong place. Whether to do a
> > -			 * bypass commit for async flips would is a driver
> > -			 * decision. Drivers that want this need to just do
> > -			 * these checks themselves somewhere.
> > -			 */
> > -			if (old_val != prop_value && plane->type != DRM_PLANE_TYPE_PRIMARY) {
> > -				/* ask the driver if this non-primary plane is supported */
> > -				if (plane_funcs && plane_funcs->atomic_bypass_check)
> > -					ret = plane_funcs->atomic_bypass_check(plane, state, true);
> > -				else
> > -					ret = -EINVAL;
> > -
> > -				if (ret) {
> > -					drm_dbg_atomic(prop->dev,
> > -						       "[PLANE:%d:%s] does not support async flips\n",
> > -						       obj->id, plane->name);
> > -					break;
> > -				}
> > +			if (old_val == prop_value)
> > +				is_noop = true;
> > +		}
> > +
> > +		/* No-op plane property changes can be fully skipped */
> > +		if (is_noop) {
> > +			ret = 0;
> > +			break;
> > +		}
> 
> [Severity: High]
> What happens when all plane property updates in an async flip commit are
> no-ops (for example, primary plane FB_ID set to the current FB_ID)?
> 
> __drm_atomic_get_current_plane_state() adds the CRTC to the commit and
> set_async_flip() sets crtc_state->async_flip = true, but skipping all planes
> leaves the commit with zero planes in state.
> 
> On i915/xe, crtc_state->do_async_flip is only set in
> intel_plane_atomic_calc_changes(), which only runs for planes in state.
> With no planes in state, do_async_flip stays false:
> 
> 1. If the first async flip on a pipe is a no-op, uapi.async_flip becomes
>    true in crtc->state without switching the primary plane to minimal
>    wm0/DDB.  On the next async flip where FB_ID actually changes,
>    intel_plane_do_async_flip() sees old_crtc_state->uapi.async_flip == true
>    and sets do_async_flip = true, while skl_compute_wm() tries to switch to
>    minimal wm0/DDB for the first time; skl_ddb_add_affected_planes() and
>    skl_wm_add_affected_planes() then reject that and all subsequent async
>    flips with -EINVAL because watermarks/DDB cannot change during an async
>    flip.
> 
> 2. intel_crtc_complete_noop_async_flip() from commit "drm/i915: Complete
>    no-op async flips by hand" returns early on !crtc_state->do_async_flip,
>    so a no-op async flip falls through to a vblank-waited sync commit.

Right on both accounts. I'll probably need to make sure we really 
switch into async flip mode even when there are no planes in the
commit.

If/when we add async flip for multiple planes this might become an
even trickier proposition. We'll probably need to force the "first
async flip is actually sync" every time a new plane starts to perform
async flips, even if there are planes already in async flip mode in 
the same commit. I suppose we should be able to keep those planes
in async flip mode though, so as to not involve the "async flip
bit is double buffered on vblank" workaround that would cost
another extra frame to get those planes back out of async mode.

Keeping the previous async flip planes in async flip mode 
through that transition would mean that those planes' DDB
allocations must stay put (can't change those in an async flip)
which means we have to always reserve DDB space based on the
sync flip use case, and only use a subset of the allocated
space for planes doing async flips. Currently I think we let
other planes consume the DDB that the async flip plane won't
actually use, except on new hw with the automagic async flip
WM/DDB feature.

In the meantime I guess I could just add the primary plane into
the commit in the driver every time uapi asks for async flips.
Hmm, but the plane may be completely off, which would need special
consideration for setting do_async_flip. And IIRC the hardware
still won't signal flip done for a disabled->disabled transition
on the plane, so we'll still need the no-op completion path.

> 
> 3. On amdgpu_dm, a commit with no planes skips pageflip event arming in
>    amdgpu_dm_commit_planes() and falls back to drm_send_event_locked() in
>    amdgpu_dm_atomic_commit_tail(), sending DRM_EVENT_FLIP_COMPLETE with a
>    zeroed sequence and timestamp.
> 
> -- 
> Sashiko AI review · https://sashiko.dev/#/patchset/20261116091130.13950-1-ville.syrjala@linux.intel.com?part=11

-- 
Ville Syrjälä
Intel

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

* Re: [PATCH 10/12] drm/i915: Complete no-op "async flips" by hand
  2026-11-16  9:28   ` sashiko-bot
@ 2026-11-16 11:10     ` Ville Syrjälä
  0 siblings, 0 replies; 22+ messages in thread
From: Ville Syrjälä @ 2026-11-16 11:10 UTC (permalink / raw)
  To: sashiko-reviews; +Cc: dri-devel, intel-gfx, intel-xe, amd-gfx

On Mon, Nov 16, 2026 at 09:28:56AM +0000, sashiko-bot@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 2 potential
> issues to consider:
> - [Medium] drm/i915: unreachable noop check in
>   intel_crtc_complete_noop_async_flip()
> - [Medium] drm/i915: intel_crtc_complete_noop_async_flip() checks
>   cleared uapi.event
> --
> 
> commit 828bac38a449130d5473b2a45f7f646152241cec
> Author: Ville Syrjälä <ville.syrjala@linux.intel.com>
> 
> drm/i915: Complete no-op "async flips" by hand
> 
> This commit adds helpers to manually send the vblank event for atomic
> async flip commits when no planes are updated.
> 
> > diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c
> > index f79caeb5a82ec..dd12929284bb8 100644
> > --- a/drivers/gpu/drm/i915/display/intel_display.c
> > +++ b/drivers/gpu/drm/i915/display/intel_display.c
> > @@ -1190,6 +1190,42 @@ static void intel_crtc_disable_flip_done(struct intel_atomic_state *state,
> >  	}
> >  }
> >  
> > +static void intel_crtc_complete_noop_async_flip(struct intel_crtc_state *crtc_state)
> > +{
> > +	struct intel_display *display = to_intel_display(crtc_state);
> > +	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
> > +
> > +	if (!crtc_state->do_async_flip)
> > +		return;
> > +
> > +	/*
> > +	 * If there are planes actually performing the async flip then
> > +	 * the commit will be completed via the flip done interrupt
> > +	 * handler. For a fully no-op "async flip" the commit must
> > +	 * be completed by hand as no interrupt will be raised.
> > +	 */
> > +	if (crtc_state->update_planes)
> > +		return;
> 
> [Severity: Medium]
> Can crtc_state->do_async_flip ever be true when crtc_state->update_planes
> is zero?
> 
> intel_crtc_duplicate_state() initializes both fields to zero/false, and the
> only place that sets new_crtc_state->do_async_flip = true is
> intel_plane_atomic_check_with_state() -> intel_plane_atomic_calc_changes()
> for a visible plane, after intel_plane_atomic_check_with_state() has
> already set BIT(plane->id) in new_crtc_state->update_planes:
> 
> drivers/gpu/drm/i915/display/intel_plane.c:intel_plane_atomic_check_with_state() {
> 	...
> 	if (new_plane_state->uapi.visible || old_plane_state->uapi.visible)
> 		new_crtc_state->update_planes |= BIT(plane->id);
> 	...
> 	return intel_plane_atomic_calc_changes(old_crtc_state, new_crtc_state,
> 					       old_plane_state, new_plane_state);
> }
> 
> When no visible planes are in the atomic state, crtc_state->do_async_flip
> remains false (unlike crtc_state->uapi.async_flip), so this function always
> returns early on the first check and never completes a no-op async flip.
> 
> > +
> > +	if (crtc_state->uapi.event) {
> > +		spin_lock_irq(&display->drm->event_lock);
> > +		drm_crtc_send_vblank_event(&crtc->base,
> > +					   crtc_state->uapi.event);
> > +		spin_unlock_irq(&display->drm->event_lock);
> > +
> > +		crtc_state->uapi.event = NULL;
> > +	}
> > +}
> 
> [Severity: Medium]
> Will crtc_state->uapi.event always be NULL by the time
> intel_crtc_complete_noop_async_flip() runs?
> 
> In intel_atomic_commit_tail(), commit_modeset_enables() runs before
> intel_atomic_complete_noop_async_flips().  When new_crtc_state->do_async_flip
> is true, intel_update_crtc() -> intel_pipe_update_start() calls
> intel_crtc_prepare_vblank_event(new_crtc_state, &crtc->flip_done_event),
> which moves new_crtc_state->uapi.event into crtc->flip_done_event and sets
> new_crtc_state->uapi.event = NULL.  With update_planes == 0, no flip-done
> interrupt will fire to consume crtc->flip_done_event, leaving the event
> unsent and causing drm_atomic_helper_wait_for_flip_done() to time out.

Ack. Need to deal with that and not prepare the flip done
event without a plane to send it.

-- 
Ville Syrjälä
Intel

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

* ✓ Xe.CI.BAT: success for drm/atomic: Try to make atomic+async usable, and clear up the "async update" helper confusion
  2026-11-16  9:11 [PATCH 00/12] drm/atomic: Try to make atomic+async usable, and clear up the "async update" helper confusion Ville Syrjala
                   ` (13 preceding siblings ...)
  2026-11-16 10:39 ` ✓ CI.KUnit: success " Patchwork
@ 2026-11-16 11:14 ` Patchwork
  2026-11-16 15:21 ` ✗ Xe.CI.FULL: failure " Patchwork
  15 siblings, 0 replies; 22+ messages in thread
From: Patchwork @ 2026-11-16 11:14 UTC (permalink / raw)
  To: Ville Syrjälä; +Cc: intel-xe

[-- Attachment #1: Type: text/plain, Size: 1469 bytes --]

== Series Details ==

Series: drm/atomic: Try to make atomic+async usable, and clear up the "async update" helper confusion
URL   : https://patchwork.freedesktop.org/series/178652/
State : success

== Summary ==

CI Bug Log - changes from xe-6148-7bc1ac64a8303bd83e0394f306c4137a5a2febf3_BAT -> xe-pw-178652v1_BAT
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

  

Participating hosts (13 -> 12)
------------------------------

  Missing    (1): bat-ptl-1 

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

  Here are the changes found in xe-pw-178652v1_BAT that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@core_hotunplug@unbind-rebind:
    - bat-bmg-2:          [PASS][1] -> [ABORT][2] ([Intel XE#9463])
   [1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6148-7bc1ac64a8303bd83e0394f306c4137a5a2febf3/bat-bmg-2/igt@core_hotunplug@unbind-rebind.html
   [2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/bat-bmg-2/igt@core_hotunplug@unbind-rebind.html

  
  [Intel XE#9463]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9463


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

  * Linux: xe-6148-7bc1ac64a8303bd83e0394f306c4137a5a2febf3 -> xe-pw-178652v1

  IGT_9192: 9192
  xe-6148-7bc1ac64a8303bd83e0394f306c4137a5a2febf3: 7bc1ac64a8303bd83e0394f306c4137a5a2febf3
  xe-pw-178652v1: 178652v1

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/index.html

[-- Attachment #2: Type: text/html, Size: 2044 bytes --]

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

* ✗ Xe.CI.FULL: failure for drm/atomic: Try to make atomic+async usable, and clear up the "async update" helper confusion
  2026-11-16  9:11 [PATCH 00/12] drm/atomic: Try to make atomic+async usable, and clear up the "async update" helper confusion Ville Syrjala
                   ` (14 preceding siblings ...)
  2026-11-16 11:14 ` ✓ Xe.CI.BAT: " Patchwork
@ 2026-11-16 15:21 ` Patchwork
  15 siblings, 0 replies; 22+ messages in thread
From: Patchwork @ 2026-11-16 15:21 UTC (permalink / raw)
  To: Ville Syrjala; +Cc: intel-xe

[-- Attachment #1: Type: text/plain, Size: 36777 bytes --]

== Series Details ==

Series: drm/atomic: Try to make atomic+async usable, and clear up the "async update" helper confusion
URL   : https://patchwork.freedesktop.org/series/178652/
State : failure

== Summary ==

CI Bug Log - changes from xe-6148-7bc1ac64a8303bd83e0394f306c4137a5a2febf3_FULL -> xe-pw-178652v1_FULL
====================================================

Summary
-------

  **FAILURE**

  Serious unknown changes coming with xe-pw-178652v1_FULL absolutely need to be
  verified manually.
  
  If you think the reported changes have nothing to do with the changes
  introduced in xe-pw-178652v1_FULL, please notify your bug team (I915-ci-infra@lists.freedesktop.org) to allow them
  to document this new failure mode, which will reduce false positives in CI.

  

Participating hosts (3 -> 3)
------------------------------

  No changes in participating hosts

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

  Here are the unknown changes that may have been introduced in xe-pw-178652v1_FULL:

### IGT changes ###

#### Possible regressions ####

  * igt@kms_async_flips@crc-atomic@pipe-a-edp-1:
    - shard-lnl:          [PASS][1] -> [FAIL][2] +4 other tests fail
   [1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6148-7bc1ac64a8303bd83e0394f306c4137a5a2febf3/shard-lnl-7/igt@kms_async_flips@crc-atomic@pipe-a-edp-1.html
   [2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-lnl-6/igt@kms_async_flips@crc-atomic@pipe-a-edp-1.html

  * igt@kms_async_flips@crc-atomic@pipe-c-dp-2:
    - shard-bmg:          [PASS][3] -> [DMESG-FAIL][4] +4 other tests dmesg-fail
   [3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6148-7bc1ac64a8303bd83e0394f306c4137a5a2febf3/shard-bmg-6/igt@kms_async_flips@crc-atomic@pipe-c-dp-2.html
   [4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-9/igt@kms_async_flips@crc-atomic@pipe-c-dp-2.html

  * igt@kms_async_flips@crc-atomic@pipe-c-hdmi-a-3:
    - shard-bmg:          [PASS][5] -> [FAIL][6] +3 other tests fail
   [5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6148-7bc1ac64a8303bd83e0394f306c4137a5a2febf3/shard-bmg-6/igt@kms_async_flips@crc-atomic@pipe-c-hdmi-a-3.html
   [6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-9/igt@kms_async_flips@crc-atomic@pipe-c-hdmi-a-3.html

  
#### Warnings ####

  * igt@kms_sharpness_filter@filter-scaler-downscale:
    - shard-bmg:          [SKIP][7] ([Intel XE#6503]) -> [INCOMPLETE][8]
   [7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6148-7bc1ac64a8303bd83e0394f306c4137a5a2febf3/shard-bmg-5/igt@kms_sharpness_filter@filter-scaler-downscale.html
   [8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-8/igt@kms_sharpness_filter@filter-scaler-downscale.html

  
New tests
---------

  New tests have been introduced between xe-6148-7bc1ac64a8303bd83e0394f306c4137a5a2febf3_FULL and xe-pw-178652v1_FULL:

### New IGT tests (11) ###

  * igt@kms_concurrent@multi-plane-atomic-lowres:
    - Statuses : 3 pass(s)
    - Exec time: [3.20, 4.40] s

  * igt@xe_evict_ccs@evict-overcommit-parallel-instantfree-reopen:
    - Statuses : 1 pass(s) 2 skip(s)
    - Exec time: [0.0, 2.88] s

  * igt@xe_evict_ccs@evict-overcommit-parallel-instantfree-samefd:
    - Statuses : 1 pass(s) 2 skip(s)
    - Exec time: [0.0, 3.09] s

  * igt@xe_evict_ccs@evict-overcommit-parallel-nofree-reopen:
    - Statuses : 2 skip(s)
    - Exec time: [0.0] s

  * igt@xe_evict_ccs@evict-overcommit-standalone-instantfree-reopen:
    - Statuses : 1 pass(s) 2 skip(s)
    - Exec time: [0.0, 9.94] s

  * igt@xe_evict_ccs@evict-overcommit-standalone-instantfree-samefd:
    - Statuses : 1 pass(s) 2 skip(s)
    - Exec time: [0.0, 10.22] s

  * igt@xe_evict_ccs@evict-overcommit-standalone-nofree-reopen:
    - Statuses : 1 pass(s) 2 skip(s)
    - Exec time: [0.0, 10.14] s

  * igt@xe_evict_ccs@evict-overcommit-standalone-nofree-samefd:
    - Statuses : 1 pass(s) 2 skip(s)
    - Exec time: [0.0, 10.30] s

  * igt@xe_exec_queue_property@basic-get-property:
    - Statuses : 1 pass(s)
    - Exec time: [0.02] s

  * igt@xe_exec_queue_property@invalid-exec-queue:
    - Statuses : 3 pass(s)
    - Exec time: [0.01, 0.04] s

  * igt@xe_exec_queue_property@non-zero-reserved:
    - Statuses : 3 pass(s)
    - Exec time: [0.02, 0.03] s

  

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

  Here are the changes found in xe-pw-178652v1_FULL that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@kms_async_flips@alternate-sync-async-flip-atomic:
    - shard-bmg:          [PASS][9] -> [FAIL][10] ([Intel XE#3718] / [Intel XE#6078])
   [9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6148-7bc1ac64a8303bd83e0394f306c4137a5a2febf3/shard-bmg-7/igt@kms_async_flips@alternate-sync-async-flip-atomic.html
   [10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-6/igt@kms_async_flips@alternate-sync-async-flip-atomic.html
    - shard-lnl:          [PASS][11] -> [FAIL][12] ([Intel XE#3718] / [Intel XE#7265])
   [11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6148-7bc1ac64a8303bd83e0394f306c4137a5a2febf3/shard-lnl-2/igt@kms_async_flips@alternate-sync-async-flip-atomic.html
   [12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-lnl-7/igt@kms_async_flips@alternate-sync-async-flip-atomic.html

  * igt@kms_async_flips@alternate-sync-async-flip-atomic@pipe-a-dp-2:
    - shard-bmg:          NOTRUN -> [FAIL][13] ([Intel XE#3718] / [Intel XE#6078])
   [13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-6/igt@kms_async_flips@alternate-sync-async-flip-atomic@pipe-a-dp-2.html

  * igt@kms_async_flips@alternate-sync-async-flip-atomic@pipe-b-hdmi-a-3:
    - shard-bmg:          [PASS][14] -> [FAIL][15] ([Intel XE#6078]) +3 other tests fail
   [14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6148-7bc1ac64a8303bd83e0394f306c4137a5a2febf3/shard-bmg-7/igt@kms_async_flips@alternate-sync-async-flip-atomic@pipe-b-hdmi-a-3.html
   [15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-6/igt@kms_async_flips@alternate-sync-async-flip-atomic@pipe-b-hdmi-a-3.html

  * igt@kms_async_flips@alternate-sync-async-flip-atomic@pipe-c-edp-1:
    - shard-lnl:          [PASS][16] -> [FAIL][17] ([Intel XE#7265])
   [16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6148-7bc1ac64a8303bd83e0394f306c4137a5a2febf3/shard-lnl-2/igt@kms_async_flips@alternate-sync-async-flip-atomic@pipe-c-edp-1.html
   [17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-lnl-7/igt@kms_async_flips@alternate-sync-async-flip-atomic@pipe-c-edp-1.html

  * igt@kms_async_flips@alternate-sync-async-flip-atomic@pipe-d-dp-2:
    - shard-bmg:          NOTRUN -> [FAIL][18] ([Intel XE#6078]) +2 other tests fail
   [18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-6/igt@kms_async_flips@alternate-sync-async-flip-atomic@pipe-d-dp-2.html

  * igt@kms_async_flips@alternate-sync-async-flip-atomic@pipe-d-edp-1:
    - shard-ptl:          [PASS][19] -> [FAIL][20] ([Intel XE#6078]) +2 other tests fail
   [19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6148-7bc1ac64a8303bd83e0394f306c4137a5a2febf3/shard-ptl-4/igt@kms_async_flips@alternate-sync-async-flip-atomic@pipe-d-edp-1.html
   [20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-ptl-4/igt@kms_async_flips@alternate-sync-async-flip-atomic@pipe-d-edp-1.html

  * igt@kms_big_fb@x-tiled-64bpp-rotate-270:
    - shard-bmg:          NOTRUN -> [SKIP][21] ([Intel XE#2327])
   [21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-5/igt@kms_big_fb@x-tiled-64bpp-rotate-270.html

  * igt@kms_big_fb@y-tiled-16bpp-rotate-0:
    - shard-bmg:          NOTRUN -> [SKIP][22] ([Intel XE#1124]) +3 other tests skip
   [22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-5/igt@kms_big_fb@y-tiled-16bpp-rotate-0.html

  * igt@kms_bw@linear-tiling-1-displays-target-1920x1080p:
    - shard-bmg:          NOTRUN -> [SKIP][23] ([Intel XE#367])
   [23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-4/igt@kms_bw@linear-tiling-1-displays-target-1920x1080p.html

  * igt@kms_ccs@crc-primary-rotation-180-y-tiled-gen12-rc-ccs-cc:
    - shard-bmg:          NOTRUN -> [SKIP][24] ([Intel XE#2887]) +6 other tests skip
   [24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-5/igt@kms_ccs@crc-primary-rotation-180-y-tiled-gen12-rc-ccs-cc.html

  * igt@kms_ccs@crc-sprite-planes-basic-4-tiled-lnl-ccs@pipe-b-dp-2:
    - shard-bmg:          NOTRUN -> [SKIP][25] ([Intel XE#2652]) +3 other tests skip
   [25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-6/igt@kms_ccs@crc-sprite-planes-basic-4-tiled-lnl-ccs@pipe-b-dp-2.html

  * igt@kms_ccs@random-ccs-data-4-tiled-mtl-rc-ccs-cc:
    - shard-lnl:          NOTRUN -> [SKIP][26] ([Intel XE#2887]) +1 other test skip
   [26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-lnl-3/igt@kms_ccs@random-ccs-data-4-tiled-mtl-rc-ccs-cc.html

  * igt@kms_chamelium_color@ctm-red-to-blue:
    - shard-bmg:          NOTRUN -> [SKIP][27] ([Intel XE#2325] / [Intel XE#7358])
   [27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-5/igt@kms_chamelium_color@ctm-red-to-blue.html

  * igt@kms_chamelium_color_pipeline@plane-fixed-matrix-yuv-rgb-bt2020-lim:
    - shard-bmg:          NOTRUN -> [SKIP][28] ([Intel XE#7358])
   [28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-4/igt@kms_chamelium_color_pipeline@plane-fixed-matrix-yuv-rgb-bt2020-lim.html

  * igt@kms_chamelium_edid@hdmi-edid-change-during-suspend:
    - shard-bmg:          NOTRUN -> [SKIP][29] ([Intel XE#2252]) +2 other tests skip
   [29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-5/igt@kms_chamelium_edid@hdmi-edid-change-during-suspend.html

  * igt@kms_content_protection@atomic:
    - shard-bmg:          NOTRUN -> [FAIL][30] ([Intel XE#1178] / [Intel XE#3304] / [Intel XE#7374]) +2 other tests fail
   [30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-5/igt@kms_content_protection@atomic.html

  * igt@kms_content_protection@type1:
    - shard-lnl:          NOTRUN -> [SKIP][31] ([Intel XE#7642])
   [31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-lnl-3/igt@kms_content_protection@type1.html

  * igt@kms_content_protection@uevent@pipe-a-dp-1:
    - shard-bmg:          NOTRUN -> [FAIL][32] ([Intel XE#6707] / [Intel XE#7439])
   [32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-7/igt@kms_content_protection@uevent@pipe-a-dp-1.html

  * igt@kms_cursor_crc@cursor-offscreen-128x42:
    - shard-bmg:          NOTRUN -> [SKIP][33] ([Intel XE#2320]) +1 other test skip
   [33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-5/igt@kms_cursor_crc@cursor-offscreen-128x42.html

  * igt@kms_cursor_crc@cursor-random-512x170:
    - shard-bmg:          NOTRUN -> [SKIP][34] ([Intel XE#2321] / [Intel XE#7355])
   [34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-5/igt@kms_cursor_crc@cursor-random-512x170.html

  * igt@kms_cursor_crc@cursor-rapid-movement-64x21:
    - shard-lnl:          NOTRUN -> [SKIP][35] ([Intel XE#1424])
   [35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-lnl-3/igt@kms_cursor_crc@cursor-rapid-movement-64x21.html

  * igt@kms_cursor_legacy@cursorb-vs-flipa-atomic-transitions-varying-size:
    - shard-bmg:          [PASS][36] -> [DMESG-WARN][37] ([Intel XE#9522])
   [36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6148-7bc1ac64a8303bd83e0394f306c4137a5a2febf3/shard-bmg-4/igt@kms_cursor_legacy@cursorb-vs-flipa-atomic-transitions-varying-size.html
   [37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-4/igt@kms_cursor_legacy@cursorb-vs-flipa-atomic-transitions-varying-size.html

  * igt@kms_dither@fb-8bpc-vs-panel-6bpc@pipe-a-hdmi-a-3:
    - shard-bmg:          NOTRUN -> [SKIP][38] ([Intel XE#1340] / [Intel XE#7435])
   [38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-5/igt@kms_dither@fb-8bpc-vs-panel-6bpc@pipe-a-hdmi-a-3.html

  * igt@kms_dsc@dsc-with-bpc-formats:
    - shard-bmg:          NOTRUN -> [SKIP][39] ([Intel XE#8265]) +1 other test skip
   [39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-5/igt@kms_dsc@dsc-with-bpc-formats.html

  * igt@kms_flip@2x-flip-vs-dpms-on-nop:
    - shard-lnl:          NOTRUN -> [SKIP][40] ([Intel XE#1421]) +1 other test skip
   [40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-lnl-3/igt@kms_flip@2x-flip-vs-dpms-on-nop.html

  * igt@kms_flip_scaled_crc@flip-32bpp-yftileccs-to-64bpp-yftile-upscaling:
    - shard-bmg:          NOTRUN -> [SKIP][41] ([Intel XE#7178] / [Intel XE#7351]) +1 other test skip
   [41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-5/igt@kms_flip_scaled_crc@flip-32bpp-yftileccs-to-64bpp-yftile-upscaling.html

  * igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilercccs-downscaling:
    - shard-lnl:          NOTRUN -> [SKIP][42] ([Intel XE#7178] / [Intel XE#7351])
   [42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-lnl-3/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilercccs-downscaling.html

  * igt@kms_flip_scaled_crc@flip-nv12-linear-to-nv12-linear-reflect-x:
    - shard-bmg:          NOTRUN -> [SKIP][43] ([Intel XE#7179])
   [43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-5/igt@kms_flip_scaled_crc@flip-nv12-linear-to-nv12-linear-reflect-x.html

  * igt@kms_force_connector_basic@force-connector-state:
    - shard-lnl:          NOTRUN -> [SKIP][44] ([Intel XE#352])
   [44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-lnl-3/igt@kms_force_connector_basic@force-connector-state.html

  * igt@kms_frontbuffer_tracking@drrs-2p-pri-indfb-multidraw:
    - shard-bmg:          NOTRUN -> [SKIP][45] ([Intel XE#2311]) +18 other tests skip
   [45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-5/igt@kms_frontbuffer_tracking@drrs-2p-pri-indfb-multidraw.html

  * igt@kms_frontbuffer_tracking@drrs-abgr161616f-draw-mmap-wc:
    - shard-bmg:          NOTRUN -> [SKIP][46] ([Intel XE#7061] / [Intel XE#7356]) +2 other tests skip
   [46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-5/igt@kms_frontbuffer_tracking@drrs-abgr161616f-draw-mmap-wc.html

  * igt@kms_frontbuffer_tracking@drrshdr-argb161616f-draw-mmap-wc:
    - shard-bmg:          NOTRUN -> [SKIP][47] ([Intel XE#7061])
   [47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-5/igt@kms_frontbuffer_tracking@drrshdr-argb161616f-draw-mmap-wc.html

  * igt@kms_frontbuffer_tracking@fbc-2p-primscrn-indfb-msflip-blt:
    - shard-bmg:          NOTRUN -> [SKIP][48] ([Intel XE#4141]) +4 other tests skip
   [48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-5/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-indfb-msflip-blt.html

  * igt@kms_frontbuffer_tracking@fbcdrrs-1p-primscrn-pri-shrfb-draw-blt:
    - shard-lnl:          NOTRUN -> [SKIP][49] ([Intel XE#6312] / [Intel XE#651])
   [49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-lnl-3/igt@kms_frontbuffer_tracking@fbcdrrs-1p-primscrn-pri-shrfb-draw-blt.html

  * igt@kms_frontbuffer_tracking@fbcdrrs-2p-primscrn-pri-indfb-draw-mmap-wc:
    - shard-lnl:          NOTRUN -> [SKIP][50] ([Intel XE#656] / [Intel XE#7905])
   [50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-lnl-3/igt@kms_frontbuffer_tracking@fbcdrrs-2p-primscrn-pri-indfb-draw-mmap-wc.html

  * igt@kms_frontbuffer_tracking@fbcdrrshdr-shrfb-scaledprimary:
    - shard-lnl:          NOTRUN -> [SKIP][51] ([Intel XE#6312])
   [51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-lnl-3/igt@kms_frontbuffer_tracking@fbcdrrshdr-shrfb-scaledprimary.html

  * igt@kms_frontbuffer_tracking@fbchdr-1p-primscrn-cur-indfb-draw-blt:
    - shard-lnl:          NOTRUN -> [SKIP][52] ([Intel XE#7865])
   [52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-lnl-3/igt@kms_frontbuffer_tracking@fbchdr-1p-primscrn-cur-indfb-draw-blt.html

  * igt@kms_frontbuffer_tracking@fbchdr-tiling-y:
    - shard-bmg:          NOTRUN -> [SKIP][53] ([Intel XE#7399])
   [53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-5/igt@kms_frontbuffer_tracking@fbchdr-tiling-y.html

  * igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-indfb-plflip-blt:
    - shard-bmg:          NOTRUN -> [SKIP][54] ([Intel XE#2313]) +20 other tests skip
   [54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-5/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-indfb-plflip-blt.html

  * igt@kms_frontbuffer_tracking@psrhdr-2p-scndscrn-indfb-plflip-blt:
    - shard-lnl:          NOTRUN -> [SKIP][55] ([Intel XE#7905]) +2 other tests skip
   [55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-lnl-3/igt@kms_frontbuffer_tracking@psrhdr-2p-scndscrn-indfb-plflip-blt.html

  * igt@kms_plane@pixel-format-4-tiled-dg2-rc-ccs-cc-modifier:
    - shard-bmg:          NOTRUN -> [SKIP][56] ([Intel XE#7283])
   [56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-5/igt@kms_plane@pixel-format-4-tiled-dg2-rc-ccs-cc-modifier.html

  * igt@kms_plane_multiple@2x-tiling-yf:
    - shard-bmg:          NOTRUN -> [SKIP][57] ([Intel XE#5021] / [Intel XE#7377])
   [57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-8/igt@kms_plane_multiple@2x-tiling-yf.html

  * igt@kms_plane_scaling@plane-upscale-max-crc-linear@pipe-d-dp-1-p010:
    - shard-bmg:          NOTRUN -> [FAIL][58] ([Intel XE#9780]) +3 other tests fail
   [58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-7/igt@kms_plane_scaling@plane-upscale-max-crc-linear@pipe-d-dp-1-p010.html

  * igt@kms_pm_rpm@modeset-lpsp:
    - shard-bmg:          NOTRUN -> [SKIP][59] ([Intel XE#1439] / [Intel XE#3141] / [Intel XE#7383] / [Intel XE#836])
   [59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-5/igt@kms_pm_rpm@modeset-lpsp.html

  * igt@kms_psr2_sf@psr2-overlay-plane-move-continuous-sf:
    - shard-bmg:          NOTRUN -> [SKIP][60] ([Intel XE#1489])
   [60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-5/igt@kms_psr2_sf@psr2-overlay-plane-move-continuous-sf.html

  * igt@kms_psr@pr-suspend:
    - shard-lnl:          NOTRUN -> [SKIP][61] ([Intel XE#1406])
   [61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-lnl-3/igt@kms_psr@pr-suspend.html

  * igt@kms_psr@psr-primary-page-flip:
    - shard-bmg:          NOTRUN -> [SKIP][62] ([Intel XE#2234] / [Intel XE#2850]) +4 other tests skip
   [62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-5/igt@kms_psr@psr-primary-page-flip.html

  * igt@kms_psr@psr2-primary-render:
    - shard-bmg:          NOTRUN -> [SKIP][63] ([Intel XE#2234])
   [63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-5/igt@kms_psr@psr2-primary-render.html

  * igt@kms_rotation_crc@sprite-rotation-270:
    - shard-lnl:          NOTRUN -> [SKIP][64] ([Intel XE#3904] / [Intel XE#7342])
   [64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-lnl-3/igt@kms_rotation_crc@sprite-rotation-270.html

  * igt@kms_tiled_display@basic-test-pattern-with-chamelium:
    - shard-bmg:          NOTRUN -> [SKIP][65] ([Intel XE#2509] / [Intel XE#7437])
   [65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-5/igt@kms_tiled_display@basic-test-pattern-with-chamelium.html

  * igt@kms_vrr@max-min:
    - shard-bmg:          NOTRUN -> [SKIP][66] ([Intel XE#1499] / [Intel XE#9271])
   [66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-5/igt@kms_vrr@max-min.html

  * igt@xe_evict@evict-beng-cm-threads-large-multi-vm:
    - shard-lnl:          NOTRUN -> [SKIP][67] ([Intel XE#6540] / [Intel XE#688])
   [67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-lnl-3/igt@xe_evict@evict-beng-cm-threads-large-multi-vm.html

  * igt@xe_exec_balancer@many-execqueues-parallel-userptr-invalidate:
    - shard-lnl:          NOTRUN -> [SKIP][68] ([Intel XE#7482]) +1 other test skip
   [68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-lnl-3/igt@xe_exec_balancer@many-execqueues-parallel-userptr-invalidate.html

  * igt@xe_exec_basic@multigpu-many-execqueues-many-vm-bindexecqueue-userptr-invalidate-race:
    - shard-bmg:          NOTRUN -> [SKIP][69] ([Intel XE#2322] / [Intel XE#7372]) +2 other tests skip
   [69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-5/igt@xe_exec_basic@multigpu-many-execqueues-many-vm-bindexecqueue-userptr-invalidate-race.html

  * igt@xe_exec_fault_mode@many-multi-queue-rebind:
    - shard-bmg:          NOTRUN -> [SKIP][70] ([Intel XE#8374]) +2 other tests skip
   [70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-5/igt@xe_exec_fault_mode@many-multi-queue-rebind.html

  * igt@xe_exec_multi_queue@few-execs-preempt-mode-fault-basic:
    - shard-bmg:          NOTRUN -> [SKIP][71] ([Intel XE#8364]) +10 other tests skip
   [71]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-5/igt@xe_exec_multi_queue@few-execs-preempt-mode-fault-basic.html

  * igt@xe_exec_multi_queue@many-execs-preempt-mode-fault-userptr-invalidate:
    - shard-ptl:          NOTRUN -> [SKIP][72] ([Intel XE#8364])
   [72]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-ptl-6/igt@xe_exec_multi_queue@many-execs-preempt-mode-fault-userptr-invalidate.html

  * igt@xe_exec_multi_queue@one-queue-preempt-mode-priority-smem:
    - shard-lnl:          NOTRUN -> [SKIP][73] ([Intel XE#8364]) +2 other tests skip
   [73]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-lnl-3/igt@xe_exec_multi_queue@one-queue-preempt-mode-priority-smem.html

  * igt@xe_exec_threads@threads-multi-queue-mixed-fd-userptr:
    - shard-bmg:          NOTRUN -> [SKIP][74] ([Intel XE#8378]) +1 other test skip
   [74]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-5/igt@xe_exec_threads@threads-multi-queue-mixed-fd-userptr.html

  * igt@xe_multigpu_svm@mgpu-migration-prefetch:
    - shard-bmg:          NOTRUN -> [SKIP][75] ([Intel XE#6964]) +1 other test skip
   [75]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-4/igt@xe_multigpu_svm@mgpu-migration-prefetch.html

  * igt@xe_page_reclaim@binds-large-split:
    - shard-lnl:          NOTRUN -> [SKIP][76] ([Intel XE#7793])
   [76]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-lnl-3/igt@xe_page_reclaim@binds-large-split.html

  * igt@xe_pat@pat-index-xelp:
    - shard-bmg:          NOTRUN -> [SKIP][77] ([Intel XE#2245] / [Intel XE#7590])
   [77]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-5/igt@xe_pat@pat-index-xelp.html

  * igt@xe_pm@s2idle-d3cold-basic-exec:
    - shard-bmg:          NOTRUN -> [SKIP][78] ([Intel XE#2284] / [Intel XE#7370])
   [78]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-4/igt@xe_pm@s2idle-d3cold-basic-exec.html

  * igt@xe_pm@s4-basic-exec:
    - shard-lnl:          [PASS][79] -> [DMESG-WARN][80] ([Intel XE#7727])
   [79]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6148-7bc1ac64a8303bd83e0394f306c4137a5a2febf3/shard-lnl-4/igt@xe_pm@s4-basic-exec.html
   [80]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-lnl-6/igt@xe_pm@s4-basic-exec.html

  * igt@xe_pm@s4-exec-after:
    - shard-ptl:          [PASS][81] -> [ABORT][82] ([Intel XE#9362])
   [81]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6148-7bc1ac64a8303bd83e0394f306c4137a5a2febf3/shard-ptl-8/igt@xe_pm@s4-exec-after.html
   [82]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-ptl-6/igt@xe_pm@s4-exec-after.html

  * igt@xe_pm@s4-vm-bind-prefetch:
    - shard-lnl:          [PASS][83] -> [ABORT][84] ([Intel XE#9362])
   [83]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6148-7bc1ac64a8303bd83e0394f306c4137a5a2febf3/shard-lnl-7/igt@xe_pm@s4-vm-bind-prefetch.html
   [84]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-lnl-5/igt@xe_pm@s4-vm-bind-prefetch.html

  * igt@xe_pm_residency@aspm_link_residency:
    - shard-lnl:          NOTRUN -> [SKIP][85] ([Intel XE#7271])
   [85]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-lnl-3/igt@xe_pm_residency@aspm_link_residency.html

  * igt@xe_pm_residency@gt-c6-freeze@gt1:
    - shard-bmg:          [PASS][86] -> [FAIL][87] ([Intel XE#9254]) +1 other test fail
   [86]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6148-7bc1ac64a8303bd83e0394f306c4137a5a2febf3/shard-bmg-6/igt@xe_pm_residency@gt-c6-freeze@gt1.html
   [87]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-9/igt@xe_pm_residency@gt-c6-freeze@gt1.html

  * igt@xe_pmu@engine-activity-accuracy-90:
    - shard-lnl:          [PASS][88] -> [FAIL][89] ([Intel XE#9461]) +2 other tests fail
   [88]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6148-7bc1ac64a8303bd83e0394f306c4137a5a2febf3/shard-lnl-3/igt@xe_pmu@engine-activity-accuracy-90.html
   [89]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-lnl-8/igt@xe_pmu@engine-activity-accuracy-90.html

  * igt@xe_pxp@pxp-stale-queue-post-termination-irq:
    - shard-bmg:          NOTRUN -> [SKIP][90] ([Intel XE#4733] / [Intel XE#7417])
   [90]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-5/igt@xe_pxp@pxp-stale-queue-post-termination-irq.html

  * igt@xe_query@multigpu-query-engines:
    - shard-lnl:          NOTRUN -> [SKIP][91] ([Intel XE#944])
   [91]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-lnl-3/igt@xe_query@multigpu-query-engines.html

  * igt@xe_query@multigpu-query-invalid-extension:
    - shard-bmg:          NOTRUN -> [SKIP][92] ([Intel XE#944]) +1 other test skip
   [92]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-4/igt@xe_query@multigpu-query-invalid-extension.html

  * igt@xe_ras@gpu-health:
    - shard-bmg:          NOTRUN -> [SKIP][93] ([Intel XE#9588])
   [93]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-5/igt@xe_ras@gpu-health.html

  
#### Possible fixes ####

  * igt@kms_vrr@flip-suspend@pipe-a-edp-1:
    - shard-ptl:          [FAIL][94] ([Intel XE#4227] / [Intel XE#7397]) -> [PASS][95] +1 other test pass
   [94]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6148-7bc1ac64a8303bd83e0394f306c4137a5a2febf3/shard-ptl-8/igt@kms_vrr@flip-suspend@pipe-a-edp-1.html
   [95]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-ptl-6/igt@kms_vrr@flip-suspend@pipe-a-edp-1.html

  * igt@xe_fault_injection@probe-fail-guc-xe_guc_ct_send_recv:
    - shard-lnl:          [ABORT][96] ([Intel XE#6652]) -> [PASS][97]
   [96]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6148-7bc1ac64a8303bd83e0394f306c4137a5a2febf3/shard-lnl-1/igt@xe_fault_injection@probe-fail-guc-xe_guc_ct_send_recv.html
   [97]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-lnl-3/igt@xe_fault_injection@probe-fail-guc-xe_guc_ct_send_recv.html

  * igt@xe_pm@s4-mocs:
    - shard-ptl:          [ABORT][98] ([Intel XE#9362]) -> [PASS][99]
   [98]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6148-7bc1ac64a8303bd83e0394f306c4137a5a2febf3/shard-ptl-8/igt@xe_pm@s4-mocs.html
   [99]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-ptl-6/igt@xe_pm@s4-mocs.html

  
#### Warnings ####

  * igt@kms_hdr@brightness-with-hdr:
    - shard-bmg:          [SKIP][100] ([Intel XE#3544]) -> [SKIP][101] ([Intel XE#3374] / [Intel XE#3544])
   [100]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6148-7bc1ac64a8303bd83e0394f306c4137a5a2febf3/shard-bmg-10/igt@kms_hdr@brightness-with-hdr.html
   [101]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-2/igt@kms_hdr@brightness-with-hdr.html

  * igt@kms_tiled_display@basic-test-pattern:
    - shard-bmg:          [FAIL][102] ([Intel XE#1729] / [Intel XE#7424]) -> [SKIP][103] ([Intel XE#2426] / [Intel XE#5848])
   [102]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6148-7bc1ac64a8303bd83e0394f306c4137a5a2febf3/shard-bmg-3/igt@kms_tiled_display@basic-test-pattern.html
   [103]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-7/igt@kms_tiled_display@basic-test-pattern.html

  * igt@xe_fault_injection@exec-queue-create-fail-xe_pxp_exec_queue_add:
    - shard-bmg:          [SKIP][104] ([Intel XE#6281] / [Intel XE#7426]) -> [ABORT][105] ([Intel XE#9463])
   [104]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6148-7bc1ac64a8303bd83e0394f306c4137a5a2febf3/shard-bmg-2/igt@xe_fault_injection@exec-queue-create-fail-xe_pxp_exec_queue_add.html
   [105]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-bmg-1/igt@xe_fault_injection@exec-queue-create-fail-xe_pxp_exec_queue_add.html

  * igt@xe_pm@s4-vm-bind-prefetch:
    - shard-ptl:          [DMESG-WARN][106] ([Intel XE#7727]) -> [ABORT][107] ([Intel XE#9362])
   [106]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6148-7bc1ac64a8303bd83e0394f306c4137a5a2febf3/shard-ptl-6/igt@xe_pm@s4-vm-bind-prefetch.html
   [107]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/shard-ptl-1/igt@xe_pm@s4-vm-bind-prefetch.html

  
  [Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
  [Intel XE#1178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1178
  [Intel XE#1340]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1340
  [Intel XE#1406]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1406
  [Intel XE#1421]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1421
  [Intel XE#1424]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1424
  [Intel XE#1439]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1439
  [Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
  [Intel XE#1499]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1499
  [Intel XE#1729]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1729
  [Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
  [Intel XE#2245]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2245
  [Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
  [Intel XE#2284]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2284
  [Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311
  [Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313
  [Intel XE#2320]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2320
  [Intel XE#2321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2321
  [Intel XE#2322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2322
  [Intel XE#2325]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2325
  [Intel XE#2327]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2327
  [Intel XE#2426]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2426
  [Intel XE#2509]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2509
  [Intel XE#2652]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2652
  [Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
  [Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
  [Intel XE#3141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3141
  [Intel XE#3304]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3304
  [Intel XE#3374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3374
  [Intel XE#352]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/352
  [Intel XE#3544]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3544
  [Intel XE#367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/367
  [Intel XE#3718]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3718
  [Intel XE#3904]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3904
  [Intel XE#4141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4141
  [Intel XE#4227]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4227
  [Intel XE#4733]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4733
  [Intel XE#5021]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5021
  [Intel XE#5848]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5848
  [Intel XE#6078]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6078
  [Intel XE#6281]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6281
  [Intel XE#6312]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6312
  [Intel XE#6503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6503
  [Intel XE#651]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/651
  [Intel XE#6540]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6540
  [Intel XE#656]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/656
  [Intel XE#6652]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6652
  [Intel XE#6707]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6707
  [Intel XE#688]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/688
  [Intel XE#6964]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6964
  [Intel XE#7061]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7061
  [Intel XE#7178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7178
  [Intel XE#7179]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7179
  [Intel XE#7265]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7265
  [Intel XE#7271]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7271
  [Intel XE#7283]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7283
  [Intel XE#7342]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7342
  [Intel XE#7351]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7351
  [Intel XE#7355]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7355
  [Intel XE#7356]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7356
  [Intel XE#7358]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7358
  [Intel XE#7370]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7370
  [Intel XE#7372]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7372
  [Intel XE#7374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7374
  [Intel XE#7377]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7377
  [Intel XE#7383]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7383
  [Intel XE#7397]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7397
  [Intel XE#7399]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7399
  [Intel XE#7417]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7417
  [Intel XE#7424]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7424
  [Intel XE#7426]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7426
  [Intel XE#7435]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7435
  [Intel XE#7437]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7437
  [Intel XE#7439]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7439
  [Intel XE#7482]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7482
  [Intel XE#7590]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7590
  [Intel XE#7642]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7642
  [Intel XE#7727]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7727
  [Intel XE#7793]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7793
  [Intel XE#7865]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7865
  [Intel XE#7905]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7905
  [Intel XE#8265]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8265
  [Intel XE#836]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/836
  [Intel XE#8364]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8364
  [Intel XE#8374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8374
  [Intel XE#8378]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8378
  [Intel XE#9254]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9254
  [Intel XE#9271]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9271
  [Intel XE#9362]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9362
  [Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944
  [Intel XE#9461]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9461
  [Intel XE#9463]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9463
  [Intel XE#9522]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9522
  [Intel XE#9588]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9588
  [Intel XE#9780]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9780


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

  * Linux: xe-6148-7bc1ac64a8303bd83e0394f306c4137a5a2febf3 -> xe-pw-178652v1

  IGT_9192: 9192
  xe-6148-7bc1ac64a8303bd83e0394f306c4137a5a2febf3: 7bc1ac64a8303bd83e0394f306c4137a5a2febf3
  xe-pw-178652v1: 178652v1

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-178652v1/index.html

[-- Attachment #2: Type: text/html, Size: 41051 bytes --]

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

end of thread, other threads:[~2026-11-16 15:21 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-16  9:11 [PATCH 00/12] drm/atomic: Try to make atomic+async usable, and clear up the "async update" helper confusion Ville Syrjala
2026-11-16  9:11 ` [PATCH 01/12] drm/atomic: Remove tall tales about tearing vs. "async updates" Ville Syrjala
2026-11-16  9:11 ` [PATCH 02/12] drm/atomic: s/async/bypass/ Ville Syrjala
2026-11-16  9:23   ` sashiko-bot
2026-11-16  9:11 ` [PATCH 03/12] drm/atomic: Add FIXMEs around the incorrect use of the .atomic_bypass_check() for async flips Ville Syrjala
2026-11-16  9:11 ` [PATCH 04/12] drm/atomic: Highlight that bypass commits need care Ville Syrjala
2026-11-16  9:11 ` [PATCH 05/12] drm/atomic/uapi: Eliminate the confusing drm_atomic_check_prop_changes() Ville Syrjala
2026-11-16  9:11 ` [PATCH 06/12] drm/atomic/uapi: Improve the async flip property rejection debugs Ville Syrjala
2026-11-16  9:11 ` [PATCH 07/12] drm/atomic/uapi: Document the non-obvious fence/fb_id prop behaviour Ville Syrjala
2026-11-16  9:11 ` [PATCH 08/12] drm/atomic/uapi: Add a FIXME about colorop vs. async flips Ville Syrjala
2026-11-16  9:11 ` [PATCH 09/12] drm/atomic-helper: Mark drm_atomic_crtc_state_for_each_plane_state() unsafe Ville Syrjala
2026-11-16  9:11 ` [PATCH 10/12] drm/i915: Complete no-op "async flips" by hand Ville Syrjala
2026-11-16  9:28   ` sashiko-bot
2026-11-16 11:10     ` Ville Syrjälä
2026-11-16  9:11 ` [PATCH 11/12] drm/atomic/uapi: Make async flips a bit more palatable through atomic Ville Syrjala
2026-11-16  9:44   ` sashiko-bot
2026-11-16 11:06     ` Ville Syrjälä
2026-11-16  9:11 ` [PATCH 12/12] drm/atomic/uapi: Extract {connector, crtc, plane}_async_flip_check() Ville Syrjala
2026-11-16 10:37 ` ✗ CI.checkpatch: warning for drm/atomic: Try to make atomic+async usable, and clear up the "async update" helper confusion Patchwork
2026-11-16 10:39 ` ✓ CI.KUnit: success " Patchwork
2026-11-16 11:14 ` ✓ Xe.CI.BAT: " Patchwork
2026-11-16 15:21 ` ✗ Xe.CI.FULL: failure " Patchwork

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