Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] drm/{i915, xe}: migrate stolen interface to parent interface, cleanups
@ 2025-12-04 17:24 Jani Nikula
  2025-12-04 17:24 ` [PATCH 1/4] drm/i915/fbc: let to_intel_display() do its generic magic Jani Nikula
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Jani Nikula @ 2025-12-04 17:24 UTC (permalink / raw)
  To: intel-xe, intel-gfx; +Cc: jani.nikula

Migrate the stolen memory interface to the parent interface.

Jani Nikula (4):
  drm/i915/fbc: let to_intel_display() do its generic magic
  drm/xe/stolen: unify interface with i915
  drm/{i915,xe}/stolen: move stolen memory handling to display parent
    interface
  drm/{i915,xe}/stolen: make insert_node, area_address, area_size
    optional

 drivers/gpu/drm/i915/display/intel_fbc.c      | 103 +++++++++---------
 drivers/gpu/drm/i915/display/intel_parent.c   |  76 +++++++++++++
 drivers/gpu/drm/i915/display/intel_parent.h   |  19 ++++
 drivers/gpu/drm/i915/gem/i915_gem_stolen.c    |  52 ++++++---
 drivers/gpu/drm/i915/gem/i915_gem_stolen.h    |  23 +---
 drivers/gpu/drm/i915/i915_driver.c            |   1 +
 .../compat-i915-headers/gem/i915_gem_stolen.h |  40 -------
 drivers/gpu/drm/xe/display/xe_display.c       |   4 +-
 drivers/gpu/drm/xe/display/xe_stolen.c        |  62 +++++------
 drivers/gpu/drm/xe/display/xe_stolen.h        |   9 ++
 include/drm/intel/display_parent_interface.h  |  20 ++++
 11 files changed, 242 insertions(+), 167 deletions(-)
 delete mode 100644 drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_stolen.h
 create mode 100644 drivers/gpu/drm/xe/display/xe_stolen.h

-- 
2.47.3


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

* [PATCH 1/4] drm/i915/fbc: let to_intel_display() do its generic magic
  2025-12-04 17:24 [PATCH 0/4] drm/{i915, xe}: migrate stolen interface to parent interface, cleanups Jani Nikula
@ 2025-12-04 17:24 ` Jani Nikula
  2025-12-04 17:24 ` [PATCH 2/4] drm/xe/stolen: unify interface with i915 Jani Nikula
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 9+ messages in thread
From: Jani Nikula @ 2025-12-04 17:24 UTC (permalink / raw)
  To: intel-xe, intel-gfx; +Cc: jani.nikula

to_intel_display() generics can handle struct intel_plane_state, struct
intel_atomic_state, and struct intel_crtc just fine. Pass them directly.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/i915/display/intel_fbc.c | 34 ++++++++++++------------
 1 file changed, 17 insertions(+), 17 deletions(-)

diff --git a/drivers/gpu/drm/i915/display/intel_fbc.c b/drivers/gpu/drm/i915/display/intel_fbc.c
index dd306e30d620..66d9674b4e47 100644
--- a/drivers/gpu/drm/i915/display/intel_fbc.c
+++ b/drivers/gpu/drm/i915/display/intel_fbc.c
@@ -215,7 +215,7 @@ static unsigned int _intel_fbc_cfb_stride(struct intel_display *display,
 
 static unsigned int intel_fbc_cfb_stride(const struct intel_plane_state *plane_state)
 {
-	struct intel_display *display = to_intel_display(plane_state->uapi.plane->dev);
+	struct intel_display *display = to_intel_display(plane_state);
 	unsigned int stride = intel_fbc_plane_cfb_stride(plane_state);
 	unsigned int width = drm_rect_width(&plane_state->uapi.src) >> 16;
 	unsigned int cpp = intel_fbc_cfb_cpp(plane_state);
@@ -246,7 +246,7 @@ static unsigned int _intel_fbc_cfb_size(struct intel_display *display,
 
 static unsigned int intel_fbc_cfb_size(const struct intel_plane_state *plane_state)
 {
-	struct intel_display *display = to_intel_display(plane_state->uapi.plane->dev);
+	struct intel_display *display = to_intel_display(plane_state);
 	unsigned int height = drm_rect_height(&plane_state->uapi.src) >> 16;
 
 	return _intel_fbc_cfb_size(display, height, intel_fbc_cfb_stride(plane_state));
@@ -254,7 +254,7 @@ static unsigned int intel_fbc_cfb_size(const struct intel_plane_state *plane_sta
 
 static u16 intel_fbc_override_cfb_stride(const struct intel_plane_state *plane_state)
 {
-	struct intel_display *display = to_intel_display(plane_state->uapi.plane->dev);
+	struct intel_display *display = to_intel_display(plane_state);
 	unsigned int stride_aligned = intel_fbc_cfb_stride(plane_state);
 	unsigned int stride = intel_fbc_plane_cfb_stride(plane_state);
 	const struct drm_framebuffer *fb = plane_state->hw.fb;
@@ -1025,7 +1025,7 @@ static bool icl_fbc_stride_is_valid(const struct intel_plane_state *plane_state)
 
 static bool stride_is_valid(const struct intel_plane_state *plane_state)
 {
-	struct intel_display *display = to_intel_display(plane_state->uapi.plane->dev);
+	struct intel_display *display = to_intel_display(plane_state);
 
 	if (DISPLAY_VER(display) >= 11)
 		return icl_fbc_stride_is_valid(plane_state);
@@ -1041,7 +1041,7 @@ static bool stride_is_valid(const struct intel_plane_state *plane_state)
 
 static bool i8xx_fbc_pixel_format_is_valid(const struct intel_plane_state *plane_state)
 {
-	struct intel_display *display = to_intel_display(plane_state->uapi.plane->dev);
+	struct intel_display *display = to_intel_display(plane_state);
 	const struct drm_framebuffer *fb = plane_state->hw.fb;
 
 	switch (fb->format->format) {
@@ -1061,7 +1061,7 @@ static bool i8xx_fbc_pixel_format_is_valid(const struct intel_plane_state *plane
 
 static bool g4x_fbc_pixel_format_is_valid(const struct intel_plane_state *plane_state)
 {
-	struct intel_display *display = to_intel_display(plane_state->uapi.plane->dev);
+	struct intel_display *display = to_intel_display(plane_state);
 	const struct drm_framebuffer *fb = plane_state->hw.fb;
 
 	switch (fb->format->format) {
@@ -1140,7 +1140,7 @@ intel_fbc_is_enable_pixel_normalizer(const struct intel_plane_state *plane_state
 
 static bool pixel_format_is_valid(const struct intel_plane_state *plane_state)
 {
-	struct intel_display *display = to_intel_display(plane_state->uapi.plane->dev);
+	struct intel_display *display = to_intel_display(plane_state);
 
 	if (DISPLAY_VER(display) >= 35)
 		return xe3p_lpd_fbc_pixel_format_is_valid(plane_state);
@@ -1176,7 +1176,7 @@ static bool skl_fbc_rotation_is_valid(const struct intel_plane_state *plane_stat
 
 static bool rotation_is_valid(const struct intel_plane_state *plane_state)
 {
-	struct intel_display *display = to_intel_display(plane_state->uapi.plane->dev);
+	struct intel_display *display = to_intel_display(plane_state);
 
 	if (DISPLAY_VER(display) >= 9)
 		return skl_fbc_rotation_is_valid(plane_state);
@@ -1215,7 +1215,7 @@ static void intel_fbc_max_surface_size(struct intel_display *display,
  */
 static bool intel_fbc_surface_size_ok(const struct intel_plane_state *plane_state)
 {
-	struct intel_display *display = to_intel_display(plane_state->uapi.plane->dev);
+	struct intel_display *display = to_intel_display(plane_state);
 	unsigned int effective_w, effective_h, max_w, max_h;
 
 	intel_fbc_max_surface_size(display, &max_w, &max_h);
@@ -1248,7 +1248,7 @@ static void intel_fbc_max_plane_size(struct intel_display *display,
 
 static bool intel_fbc_plane_size_valid(const struct intel_plane_state *plane_state)
 {
-	struct intel_display *display = to_intel_display(plane_state->uapi.plane->dev);
+	struct intel_display *display = to_intel_display(plane_state);
 	unsigned int w, h, max_w, max_h;
 
 	intel_fbc_max_plane_size(display, &max_w, &max_h);
@@ -1273,7 +1273,7 @@ static bool skl_fbc_tiling_valid(const struct intel_plane_state *plane_state)
 
 static bool tiling_is_valid(const struct intel_plane_state *plane_state)
 {
-	struct intel_display *display = to_intel_display(plane_state->uapi.plane->dev);
+	struct intel_display *display = to_intel_display(plane_state);
 
 	if (DISPLAY_VER(display) >= 9)
 		return skl_fbc_tiling_valid(plane_state);
@@ -1353,7 +1353,7 @@ static void intel_fbc_update_state(struct intel_atomic_state *state,
 				   struct intel_crtc *crtc,
 				   struct intel_plane *plane)
 {
-	struct intel_display *display = to_intel_display(state->base.dev);
+	struct intel_display *display = to_intel_display(state);
 	const struct intel_crtc_state *crtc_state =
 		intel_atomic_get_new_crtc_state(state, crtc);
 	const struct intel_plane_state *plane_state =
@@ -1386,7 +1386,7 @@ static void intel_fbc_update_state(struct intel_atomic_state *state,
 
 static bool intel_fbc_is_fence_ok(const struct intel_plane_state *plane_state)
 {
-	struct intel_display *display = to_intel_display(plane_state->uapi.plane->dev);
+	struct intel_display *display = to_intel_display(plane_state);
 
 	/*
 	 * The use of a CPU fence is one of two ways to detect writes by the
@@ -1493,7 +1493,7 @@ static int _intel_fbc_min_cdclk(const struct intel_crtc_state *crtc_state)
 static int intel_fbc_check_plane(struct intel_atomic_state *state,
 				 struct intel_plane *plane)
 {
-	struct intel_display *display = to_intel_display(state->base.dev);
+	struct intel_display *display = to_intel_display(state);
 	struct intel_plane_state *plane_state =
 		intel_atomic_get_new_plane_state(state, plane);
 	const struct drm_framebuffer *fb = plane_state->hw.fb;
@@ -1720,7 +1720,7 @@ static bool __intel_fbc_pre_update(struct intel_atomic_state *state,
 				   struct intel_crtc *crtc,
 				   struct intel_plane *plane)
 {
-	struct intel_display *display = to_intel_display(state->base.dev);
+	struct intel_display *display = to_intel_display(state);
 	struct intel_fbc *fbc = plane->fbc;
 	bool need_vblank_wait = false;
 
@@ -1933,7 +1933,7 @@ static void __intel_fbc_enable(struct intel_atomic_state *state,
 			       struct intel_crtc *crtc,
 			       struct intel_plane *plane)
 {
-	struct intel_display *display = to_intel_display(state->base.dev);
+	struct intel_display *display = to_intel_display(state);
 	const struct intel_plane_state *plane_state =
 		intel_atomic_get_new_plane_state(state, plane);
 	struct intel_fbc *fbc = plane->fbc;
@@ -1995,7 +1995,7 @@ static void __intel_fbc_enable(struct intel_atomic_state *state,
  */
 void intel_fbc_disable(struct intel_crtc *crtc)
 {
-	struct intel_display *display = to_intel_display(crtc->base.dev);
+	struct intel_display *display = to_intel_display(crtc);
 	struct intel_plane *plane;
 
 	for_each_intel_plane(display->drm, plane) {
-- 
2.47.3


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

* [PATCH 2/4] drm/xe/stolen: unify interface with i915
  2025-12-04 17:24 [PATCH 0/4] drm/{i915, xe}: migrate stolen interface to parent interface, cleanups Jani Nikula
  2025-12-04 17:24 ` [PATCH 1/4] drm/i915/fbc: let to_intel_display() do its generic magic Jani Nikula
@ 2025-12-04 17:24 ` Jani Nikula
  2025-12-04 17:24 ` [PATCH 3/4] drm/{i915, xe}/stolen: move stolen memory handling to display parent interface Jani Nikula
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 9+ messages in thread
From: Jani Nikula @ 2025-12-04 17:24 UTC (permalink / raw)
  To: intel-xe, intel-gfx; +Cc: jani.nikula

Have i915_gem_stolen_node_offset() return u64, and pass const pointer to
them.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_stolen.h | 4 ++--
 drivers/gpu/drm/xe/display/xe_stolen.c                       | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_stolen.h b/drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_stolen.h
index 48e3256ba37e..368045a470d1 100644
--- a/drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_stolen.h
+++ b/drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_stolen.h
@@ -23,13 +23,13 @@ bool i915_gem_stolen_initialized(struct drm_device *drm);
 
 bool i915_gem_stolen_node_allocated(const struct intel_stolen_node *node);
 
-u32 i915_gem_stolen_node_offset(struct intel_stolen_node *node);
+u64 i915_gem_stolen_node_offset(const struct intel_stolen_node *node);
 
 u64 i915_gem_stolen_area_address(struct drm_device *drm);
 
 u64 i915_gem_stolen_area_size(struct drm_device *drm);
 
-u64 i915_gem_stolen_node_address(struct intel_stolen_node *node);
+u64 i915_gem_stolen_node_address(const struct intel_stolen_node *node);
 
 u64 i915_gem_stolen_node_size(const struct intel_stolen_node *node);
 
diff --git a/drivers/gpu/drm/xe/display/xe_stolen.c b/drivers/gpu/drm/xe/display/xe_stolen.c
index 9f04ba36e930..387506586288 100644
--- a/drivers/gpu/drm/xe/display/xe_stolen.c
+++ b/drivers/gpu/drm/xe/display/xe_stolen.c
@@ -67,7 +67,7 @@ bool i915_gem_stolen_node_allocated(const struct intel_stolen_node *node)
 	return node->bo;
 }
 
-u32 i915_gem_stolen_node_offset(struct intel_stolen_node *node)
+u64 i915_gem_stolen_node_offset(const struct intel_stolen_node *node)
 {
 	struct xe_res_cursor res;
 
@@ -91,7 +91,7 @@ u64 i915_gem_stolen_area_size(struct drm_device *drm)
 	return 0;
 }
 
-u64 i915_gem_stolen_node_address(struct intel_stolen_node *node)
+u64 i915_gem_stolen_node_address(const struct intel_stolen_node *node)
 {
 	struct xe_device *xe = node->xe;
 
-- 
2.47.3


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

* [PATCH 3/4] drm/{i915, xe}/stolen: move stolen memory handling to display parent interface
  2025-12-04 17:24 [PATCH 0/4] drm/{i915, xe}: migrate stolen interface to parent interface, cleanups Jani Nikula
  2025-12-04 17:24 ` [PATCH 1/4] drm/i915/fbc: let to_intel_display() do its generic magic Jani Nikula
  2025-12-04 17:24 ` [PATCH 2/4] drm/xe/stolen: unify interface with i915 Jani Nikula
@ 2025-12-04 17:24 ` Jani Nikula
  2025-12-05  4:44   ` kernel test robot
  2025-12-05  5:28   ` kernel test robot
  2025-12-04 17:24 ` [PATCH 4/4] drm/{i915, xe}/stolen: make insert_node, area_address, area_size optional Jani Nikula
                   ` (2 subsequent siblings)
  5 siblings, 2 replies; 9+ messages in thread
From: Jani Nikula @ 2025-12-04 17:24 UTC (permalink / raw)
  To: intel-xe, intel-gfx; +Cc: jani.nikula

Call the stolen memory interface through the display parent interface.

This makes xe compat gem/i915_gem_stolen.h redundant, and it can be
removed.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/i915/display/intel_fbc.c      | 69 ++++++++++---------
 drivers/gpu/drm/i915/display/intel_parent.c   | 66 ++++++++++++++++++
 drivers/gpu/drm/i915/display/intel_parent.h   | 19 +++++
 drivers/gpu/drm/i915/gem/i915_gem_stolen.c    | 52 +++++++++-----
 drivers/gpu/drm/i915/gem/i915_gem_stolen.h    | 23 +------
 drivers/gpu/drm/i915/i915_driver.c            |  1 +
 .../compat-i915-headers/gem/i915_gem_stolen.h | 40 -----------
 drivers/gpu/drm/xe/display/xe_display.c       |  4 +-
 drivers/gpu/drm/xe/display/xe_stolen.c        | 47 +++++++++----
 drivers/gpu/drm/xe/display/xe_stolen.h        |  9 +++
 include/drm/intel/display_parent_interface.h  | 20 ++++++
 11 files changed, 221 insertions(+), 129 deletions(-)
 delete mode 100644 drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_stolen.h
 create mode 100644 drivers/gpu/drm/xe/display/xe_stolen.h

diff --git a/drivers/gpu/drm/i915/display/intel_fbc.c b/drivers/gpu/drm/i915/display/intel_fbc.c
index 66d9674b4e47..3a85cf88b8d5 100644
--- a/drivers/gpu/drm/i915/display/intel_fbc.c
+++ b/drivers/gpu/drm/i915/display/intel_fbc.c
@@ -45,8 +45,6 @@
 #include <drm/drm_fourcc.h>
 #include <drm/drm_print.h>
 
-#include "gem/i915_gem_stolen.h"
-
 #include "i915_vma.h"
 #include "i9xx_plane_regs.h"
 #include "intel_de.h"
@@ -391,17 +389,17 @@ static void i8xx_fbc_program_cfb(struct intel_fbc *fbc)
 	struct intel_display *display = fbc->display;
 
 	drm_WARN_ON(display->drm,
-		    range_end_overflows_t(u64, i915_gem_stolen_area_address(display->drm),
-					  i915_gem_stolen_node_offset(fbc->compressed_fb),
+		    range_end_overflows_t(u64, intel_parent_stolen_area_address(display),
+					  intel_parent_stolen_node_offset(display, fbc->compressed_fb),
 					  U32_MAX));
 	drm_WARN_ON(display->drm,
-		    range_end_overflows_t(u64, i915_gem_stolen_area_address(display->drm),
-					  i915_gem_stolen_node_offset(fbc->compressed_llb),
+		    range_end_overflows_t(u64, intel_parent_stolen_area_address(display),
+					  intel_parent_stolen_node_offset(display, fbc->compressed_llb),
 					  U32_MAX));
 	intel_de_write(display, FBC_CFB_BASE,
-		       i915_gem_stolen_node_address(fbc->compressed_fb));
+		       intel_parent_stolen_node_address(display, fbc->compressed_fb));
 	intel_de_write(display, FBC_LL_BASE,
-		       i915_gem_stolen_node_address(fbc->compressed_llb));
+		       intel_parent_stolen_node_address(display, fbc->compressed_llb));
 }
 
 static const struct intel_fbc_funcs i8xx_fbc_funcs = {
@@ -509,7 +507,7 @@ static void g4x_fbc_program_cfb(struct intel_fbc *fbc)
 	struct intel_display *display = fbc->display;
 
 	intel_de_write(display, DPFC_CB_BASE,
-		       i915_gem_stolen_node_offset(fbc->compressed_fb));
+		       intel_parent_stolen_node_offset(display, fbc->compressed_fb));
 }
 
 static const struct intel_fbc_funcs g4x_fbc_funcs = {
@@ -578,7 +576,7 @@ static void ilk_fbc_program_cfb(struct intel_fbc *fbc)
 	struct intel_display *display = fbc->display;
 
 	intel_de_write(display, ILK_DPFC_CB_BASE(fbc->id),
-		       i915_gem_stolen_node_offset(fbc->compressed_fb));
+		       intel_parent_stolen_node_offset(display, fbc->compressed_fb));
 }
 
 static const struct intel_fbc_funcs ilk_fbc_funcs = {
@@ -817,7 +815,7 @@ static u64 intel_fbc_stolen_end(struct intel_display *display)
 	 * underruns, even if that range is not reserved by the BIOS. */
 	if (display->platform.broadwell ||
 	    (DISPLAY_VER(display) == 9 && !display->platform.broxton))
-		end = i915_gem_stolen_area_size(display->drm) - 8 * 1024 * 1024;
+		end = intel_parent_stolen_area_size(display) - 8 * 1024 * 1024;
 	else
 		end = U64_MAX;
 
@@ -852,14 +850,14 @@ static int find_compression_limit(struct intel_fbc *fbc,
 	size /= limit;
 
 	/* Try to over-allocate to reduce reallocations and fragmentation. */
-	ret = i915_gem_stolen_insert_node_in_range(fbc->compressed_fb,
-						   size <<= 1, 4096, 0, end);
+	ret = intel_parent_stolen_insert_node_in_range(display, fbc->compressed_fb,
+						       size <<= 1, 4096, 0, end);
 	if (ret == 0)
 		return limit;
 
 	for (; limit <= intel_fbc_max_limit(display); limit <<= 1) {
-		ret = i915_gem_stolen_insert_node_in_range(fbc->compressed_fb,
-							   size >>= 1, 4096, 0, end);
+		ret = intel_parent_stolen_insert_node_in_range(display, fbc->compressed_fb,
+							       size >>= 1, 4096, 0, end);
 		if (ret == 0)
 			return limit;
 	}
@@ -874,12 +872,12 @@ static int intel_fbc_alloc_cfb(struct intel_fbc *fbc,
 	int ret;
 
 	drm_WARN_ON(display->drm,
-		    i915_gem_stolen_node_allocated(fbc->compressed_fb));
+		    intel_parent_stolen_node_allocated(display, fbc->compressed_fb));
 	drm_WARN_ON(display->drm,
-		    i915_gem_stolen_node_allocated(fbc->compressed_llb));
+		    intel_parent_stolen_node_allocated(display, fbc->compressed_llb));
 
 	if (DISPLAY_VER(display) < 5 && !display->platform.g4x) {
-		ret = i915_gem_stolen_insert_node(fbc->compressed_llb, 4096, 4096);
+		ret = intel_parent_stolen_insert_node(display, fbc->compressed_llb, 4096, 4096);
 		if (ret)
 			goto err;
 	}
@@ -895,14 +893,14 @@ static int intel_fbc_alloc_cfb(struct intel_fbc *fbc,
 
 	drm_dbg_kms(display->drm,
 		    "reserved %llu bytes of contiguous stolen space for FBC, limit: %d\n",
-		    i915_gem_stolen_node_size(fbc->compressed_fb), fbc->limit);
+		    intel_parent_stolen_node_size(display, fbc->compressed_fb), fbc->limit);
 	return 0;
 
 err_llb:
-	if (i915_gem_stolen_node_allocated(fbc->compressed_llb))
-		i915_gem_stolen_remove_node(fbc->compressed_llb);
+	if (intel_parent_stolen_node_allocated(display, fbc->compressed_llb))
+		intel_parent_stolen_remove_node(display, fbc->compressed_llb);
 err:
-	if (i915_gem_stolen_initialized(display->drm))
+	if (intel_parent_stolen_initialized(display))
 		drm_info_once(display->drm,
 			      "not enough stolen space for compressed buffer (need %d more bytes), disabling. Hint: you may be able to increase stolen memory size in the BIOS to avoid this.\n", size);
 	return -ENOSPC;
@@ -956,13 +954,15 @@ static void intel_fbc_program_workarounds(struct intel_fbc *fbc)
 
 static void __intel_fbc_cleanup_cfb(struct intel_fbc *fbc)
 {
+	struct intel_display *display = fbc->display;
+
 	if (WARN_ON(intel_fbc_hw_is_active(fbc)))
 		return;
 
-	if (i915_gem_stolen_node_allocated(fbc->compressed_llb))
-		i915_gem_stolen_remove_node(fbc->compressed_llb);
-	if (i915_gem_stolen_node_allocated(fbc->compressed_fb))
-		i915_gem_stolen_remove_node(fbc->compressed_fb);
+	if (intel_parent_stolen_node_allocated(display, fbc->compressed_llb))
+		intel_parent_stolen_remove_node(display, fbc->compressed_llb);
+	if (intel_parent_stolen_node_allocated(display, fbc->compressed_fb))
+		intel_parent_stolen_remove_node(display, fbc->compressed_fb);
 }
 
 void intel_fbc_cleanup(struct intel_display *display)
@@ -975,8 +975,8 @@ void intel_fbc_cleanup(struct intel_display *display)
 		__intel_fbc_cleanup_cfb(fbc);
 		mutex_unlock(&fbc->lock);
 
-		i915_gem_stolen_node_free(fbc->compressed_fb);
-		i915_gem_stolen_node_free(fbc->compressed_llb);
+		intel_parent_stolen_node_free(display, fbc->compressed_fb);
+		intel_parent_stolen_node_free(display, fbc->compressed_llb);
 
 		kfree(fbc);
 	}
@@ -1407,12 +1407,13 @@ static bool intel_fbc_is_fence_ok(const struct intel_plane_state *plane_state)
 
 static bool intel_fbc_is_cfb_ok(const struct intel_plane_state *plane_state)
 {
+	struct intel_display *display = to_intel_display(plane_state);
 	struct intel_plane *plane = to_intel_plane(plane_state->uapi.plane);
 	struct intel_fbc *fbc = plane->fbc;
 
 	return intel_fbc_min_limit(plane_state) <= fbc->limit &&
 		intel_fbc_cfb_size(plane_state) <= fbc->limit *
-			i915_gem_stolen_node_size(fbc->compressed_fb);
+			intel_parent_stolen_node_size(display, fbc->compressed_fb);
 }
 
 static bool intel_fbc_is_ok(const struct intel_plane_state *plane_state)
@@ -1504,7 +1505,7 @@ static int intel_fbc_check_plane(struct intel_atomic_state *state,
 	if (!fbc)
 		return 0;
 
-	if (!i915_gem_stolen_initialized(display->drm)) {
+	if (!intel_parent_stolen_initialized(display)) {
 		plane_state->no_fbc_reason = "stolen memory not initialised";
 		return 0;
 	}
@@ -2205,10 +2206,10 @@ static struct intel_fbc *intel_fbc_create(struct intel_display *display,
 	if (!fbc)
 		return NULL;
 
-	fbc->compressed_fb = i915_gem_stolen_node_alloc(display->drm);
+	fbc->compressed_fb = intel_parent_stolen_node_alloc(display);
 	if (!fbc->compressed_fb)
 		goto err;
-	fbc->compressed_llb = i915_gem_stolen_node_alloc(display->drm);
+	fbc->compressed_llb = intel_parent_stolen_node_alloc(display);
 	if (!fbc->compressed_llb)
 		goto err;
 
@@ -2233,8 +2234,8 @@ static struct intel_fbc *intel_fbc_create(struct intel_display *display,
 	return fbc;
 
 err:
-	i915_gem_stolen_node_free(fbc->compressed_llb);
-	i915_gem_stolen_node_free(fbc->compressed_fb);
+	intel_parent_stolen_node_free(display, fbc->compressed_llb);
+	intel_parent_stolen_node_free(display, fbc->compressed_fb);
 	kfree(fbc);
 
 	return NULL;
diff --git a/drivers/gpu/drm/i915/display/intel_parent.c b/drivers/gpu/drm/i915/display/intel_parent.c
index 2ea310cc3509..49cb64ca8c4c 100644
--- a/drivers/gpu/drm/i915/display/intel_parent.c
+++ b/drivers/gpu/drm/i915/display/intel_parent.c
@@ -79,6 +79,72 @@ void intel_parent_rps_ilk_irq_handler(struct intel_display *display)
 		display->parent->rps->ilk_irq_handler(display->drm);
 }
 
+int intel_parent_stolen_insert_node_in_range(struct intel_display *display,
+					     struct intel_stolen_node *node, u64 size,
+					     unsigned int align, u64 start, u64 end)
+{
+	return display->parent->stolen->insert_node_in_range(node, size, align, start, end);
+}
+
+int intel_parent_stolen_insert_node(struct intel_display *display, struct intel_stolen_node *node, u64 size,
+				    unsigned int align)
+{
+	return display->parent->stolen->insert_node(node, size, align);
+}
+
+void intel_parent_stolen_remove_node(struct intel_display *display,
+				     struct intel_stolen_node *node)
+{
+	display->parent->stolen->remove_node(node);
+}
+
+bool intel_parent_stolen_initialized(struct intel_display *display)
+{
+	return display->parent->stolen->initialized(display->drm);
+}
+
+bool intel_parent_stolen_node_allocated(struct intel_display *display,
+					const struct intel_stolen_node *node)
+{
+	return display->parent->stolen->node_allocated(node);
+}
+
+u32 intel_parent_stolen_node_offset(struct intel_display *display, struct intel_stolen_node *node)
+{
+	return display->parent->stolen->node_offset(node);
+}
+
+u64 intel_parent_stolen_area_address(struct intel_display *display)
+{
+	return display->parent->stolen->area_address(display->drm);
+}
+
+u64 intel_parent_stolen_area_size(struct intel_display *display)
+{
+	return display->parent->stolen->area_size(display->drm);
+}
+
+u64 intel_parent_stolen_node_address(struct intel_display *display, struct intel_stolen_node *node)
+{
+	return display->parent->stolen->node_address(node);
+}
+
+u64 intel_parent_stolen_node_size(struct intel_display *display, const struct intel_stolen_node *node)
+{
+	return display->parent->stolen->node_size(node);
+}
+
+struct intel_stolen_node *intel_parent_stolen_node_alloc(struct intel_display *display)
+{
+	return display->parent->stolen->node_alloc(display->drm);
+}
+
+void intel_parent_stolen_node_free(struct intel_display *display, const struct intel_stolen_node *node)
+{
+	display->parent->stolen->node_free(node);
+}
+
+
 bool intel_parent_vgpu_active(struct intel_display *display)
 {
 	return display->parent->vgpu_active && display->parent->vgpu_active(display->drm);
diff --git a/drivers/gpu/drm/i915/display/intel_parent.h b/drivers/gpu/drm/i915/display/intel_parent.h
index 8f91a6f75c53..bc740dfad985 100644
--- a/drivers/gpu/drm/i915/display/intel_parent.h
+++ b/drivers/gpu/drm/i915/display/intel_parent.h
@@ -9,6 +9,7 @@
 struct dma_fence;
 struct intel_display;
 struct intel_hdcp_gsc_context;
+struct intel_stolen_node;
 
 ssize_t intel_parent_hdcp_gsc_msg_send(struct intel_display *display,
 				       struct intel_hdcp_gsc_context *gsc_context,
@@ -27,6 +28,24 @@ void intel_parent_rps_boost_if_not_started(struct intel_display *display, struct
 void intel_parent_rps_mark_interactive(struct intel_display *display, bool interactive);
 void intel_parent_rps_ilk_irq_handler(struct intel_display *display);
 
+int intel_parent_stolen_insert_node_in_range(struct intel_display *display,
+					     struct intel_stolen_node *node, u64 size,
+					     unsigned int align, u64 start, u64 end);
+int intel_parent_stolen_insert_node(struct intel_display *display, struct intel_stolen_node *node, u64 size,
+				    unsigned int align);
+void intel_parent_stolen_remove_node(struct intel_display *display,
+				     struct intel_stolen_node *node);
+bool intel_parent_stolen_initialized(struct intel_display *display);
+bool intel_parent_stolen_node_allocated(struct intel_display *display,
+					const struct intel_stolen_node *node);
+u32 intel_parent_stolen_node_offset(struct intel_display *display, struct intel_stolen_node *node);
+u64 intel_parent_stolen_area_address(struct intel_display *display);
+u64 intel_parent_stolen_area_size(struct intel_display *display);
+u64 intel_parent_stolen_node_address(struct intel_display *display, struct intel_stolen_node *node);
+u64 intel_parent_stolen_node_size(struct intel_display *display, const struct intel_stolen_node *node);
+struct intel_stolen_node *intel_parent_stolen_node_alloc(struct intel_display *display);
+void intel_parent_stolen_node_free(struct intel_display *display, const struct intel_stolen_node *node);
+
 bool intel_parent_vgpu_active(struct intel_display *display);
 
 bool intel_parent_has_fenced_regions(struct intel_display *display);
diff --git a/drivers/gpu/drm/i915/gem/i915_gem_stolen.c b/drivers/gpu/drm/i915/gem/i915_gem_stolen.c
index f859c99f969b..c3e0b8da485c 100644
--- a/drivers/gpu/drm/i915/gem/i915_gem_stolen.c
+++ b/drivers/gpu/drm/i915/gem/i915_gem_stolen.c
@@ -8,6 +8,7 @@
 
 #include <drm/drm_mm.h>
 #include <drm/drm_print.h>
+#include <drm/intel/display_parent_interface.h>
 #include <drm/intel/i915_drm.h>
 
 #include "gem/i915_gem_lmem.h"
@@ -64,8 +65,8 @@ static int __i915_gem_stolen_insert_node_in_range(struct drm_i915_private *i915,
 	return ret;
 }
 
-int i915_gem_stolen_insert_node_in_range(struct intel_stolen_node *node, u64 size,
-					 unsigned int alignment, u64 start, u64 end)
+static int i915_gem_stolen_insert_node_in_range(struct intel_stolen_node *node, u64 size,
+						unsigned int alignment, u64 start, u64 end)
 {
 	return __i915_gem_stolen_insert_node_in_range(node->i915, &node->node,
 						      size, alignment,
@@ -82,8 +83,8 @@ static int __i915_gem_stolen_insert_node(struct drm_i915_private *i915,
 						      U64_MAX);
 }
 
-int i915_gem_stolen_insert_node(struct intel_stolen_node *node, u64 size,
-				unsigned int alignment)
+static int i915_gem_stolen_insert_node(struct intel_stolen_node *node, u64 size,
+				       unsigned int alignment)
 {
 	return __i915_gem_stolen_insert_node(node->i915, &node->node, size, alignment);
 }
@@ -96,7 +97,7 @@ static void __i915_gem_stolen_remove_node(struct drm_i915_private *i915,
 	mutex_unlock(&i915->mm.stolen_lock);
 }
 
-void i915_gem_stolen_remove_node(struct intel_stolen_node *node)
+static void i915_gem_stolen_remove_node(struct intel_stolen_node *node)
 {
 	__i915_gem_stolen_remove_node(node->i915, &node->node);
 }
@@ -1025,50 +1026,50 @@ bool i915_gem_object_is_stolen(const struct drm_i915_gem_object *obj)
 	return obj->ops == &i915_gem_object_stolen_ops;
 }
 
-bool i915_gem_stolen_initialized(struct drm_device *drm)
+static bool i915_gem_stolen_initialized(struct drm_device *drm)
 {
 	struct drm_i915_private *i915 = to_i915(drm);
 
 	return drm_mm_initialized(&i915->mm.stolen);
 }
 
-u64 i915_gem_stolen_area_address(struct drm_device *drm)
+static u64 i915_gem_stolen_area_address(struct drm_device *drm)
 {
 	struct drm_i915_private *i915 = to_i915(drm);
 
 	return i915->dsm.stolen.start;
 }
 
-u64 i915_gem_stolen_area_size(struct drm_device *drm)
+static u64 i915_gem_stolen_area_size(struct drm_device *drm)
 {
 	struct drm_i915_private *i915 = to_i915(drm);
 
 	return resource_size(&i915->dsm.stolen);
 }
 
-u64 i915_gem_stolen_node_address(const struct intel_stolen_node *node)
+static u64 i915_gem_stolen_node_offset(const struct intel_stolen_node *node)
+{
+	return node->node.start;
+}
+
+static u64 i915_gem_stolen_node_address(const struct intel_stolen_node *node)
 {
 	struct drm_i915_private *i915 = node->i915;
 
 	return i915->dsm.stolen.start + i915_gem_stolen_node_offset(node);
 }
 
-bool i915_gem_stolen_node_allocated(const struct intel_stolen_node *node)
+static bool i915_gem_stolen_node_allocated(const struct intel_stolen_node *node)
 {
 	return drm_mm_node_allocated(&node->node);
 }
 
-u64 i915_gem_stolen_node_offset(const struct intel_stolen_node *node)
-{
-	return node->node.start;
-}
-
-u64 i915_gem_stolen_node_size(const struct intel_stolen_node *node)
+static u64 i915_gem_stolen_node_size(const struct intel_stolen_node *node)
 {
 	return node->node.size;
 }
 
-struct intel_stolen_node *i915_gem_stolen_node_alloc(struct drm_device *drm)
+static struct intel_stolen_node *i915_gem_stolen_node_alloc(struct drm_device *drm)
 {
 	struct drm_i915_private *i915 = to_i915(drm);
 	struct intel_stolen_node *node;
@@ -1082,7 +1083,22 @@ struct intel_stolen_node *i915_gem_stolen_node_alloc(struct drm_device *drm)
 	return node;
 }
 
-void i915_gem_stolen_node_free(const struct intel_stolen_node *node)
+static void i915_gem_stolen_node_free(const struct intel_stolen_node *node)
 {
 	kfree(node);
 }
+
+const struct intel_display_stolen_interface i915_display_stolen_interface = {
+	.insert_node_in_range = i915_gem_stolen_insert_node_in_range,
+	.insert_node = i915_gem_stolen_insert_node,
+	.remove_node = i915_gem_stolen_remove_node,
+	.initialized = i915_gem_stolen_initialized,
+	.node_allocated = i915_gem_stolen_node_allocated,
+	.node_offset = i915_gem_stolen_node_offset,
+	.area_address = i915_gem_stolen_area_address,
+	.area_size = i915_gem_stolen_area_size,
+	.node_address = i915_gem_stolen_node_address,
+	.node_size = i915_gem_stolen_node_size,
+	.node_alloc = i915_gem_stolen_node_alloc,
+	.node_free = i915_gem_stolen_node_free,
+};
diff --git a/drivers/gpu/drm/i915/gem/i915_gem_stolen.h b/drivers/gpu/drm/i915/gem/i915_gem_stolen.h
index 7b0386002ed4..6db5262046a2 100644
--- a/drivers/gpu/drm/i915/gem/i915_gem_stolen.h
+++ b/drivers/gpu/drm/i915/gem/i915_gem_stolen.h
@@ -8,17 +8,9 @@
 
 #include <linux/types.h>
 
-struct drm_device;
 struct drm_i915_gem_object;
 struct drm_i915_private;
-struct intel_stolen_node;
-
-int i915_gem_stolen_insert_node(struct intel_stolen_node *node, u64 size,
-				unsigned alignment);
-int i915_gem_stolen_insert_node_in_range(struct intel_stolen_node *node, u64 size,
-					 unsigned alignment, u64 start,
-					 u64 end);
-void i915_gem_stolen_remove_node(struct intel_stolen_node *node);
+
 struct intel_memory_region *
 i915_gem_stolen_smem_setup(struct drm_i915_private *i915, u16 type,
 			   u16 instance);
@@ -34,17 +26,6 @@ bool i915_gem_object_is_stolen(const struct drm_i915_gem_object *obj);
 
 #define I915_GEM_STOLEN_BIAS SZ_128K
 
-bool i915_gem_stolen_initialized(struct drm_device *drm);
-u64 i915_gem_stolen_area_address(struct drm_device *drm);
-u64 i915_gem_stolen_area_size(struct drm_device *drm);
-
-u64 i915_gem_stolen_node_address(const struct intel_stolen_node *node);
-
-bool i915_gem_stolen_node_allocated(const struct intel_stolen_node *node);
-u64 i915_gem_stolen_node_offset(const struct intel_stolen_node *node);
-u64 i915_gem_stolen_node_size(const struct intel_stolen_node *node);
-
-struct intel_stolen_node *i915_gem_stolen_node_alloc(struct drm_device *drm);
-void i915_gem_stolen_node_free(const struct intel_stolen_node *node);
+extern const struct intel_display_stolen_interface i915_display_stolen_interface;
 
 #endif /* __I915_GEM_STOLEN_H__ */
diff --git a/drivers/gpu/drm/i915/i915_driver.c b/drivers/gpu/drm/i915/i915_driver.c
index d98839427ef9..fe84df4eae8f 100644
--- a/drivers/gpu/drm/i915/i915_driver.c
+++ b/drivers/gpu/drm/i915/i915_driver.c
@@ -762,6 +762,7 @@ static const struct intel_display_parent_interface parent = {
 	.rpm = &i915_display_rpm_interface,
 	.irq = &i915_display_irq_interface,
 	.rps = &i915_display_rps_interface,
+	.stolen = &i915_display_stolen_interface,
 	.vgpu_active = vgpu_active,
 	.has_fenced_regions = has_fenced_regions,
 	.fence_priority_display = fence_priority_display,
diff --git a/drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_stolen.h b/drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_stolen.h
deleted file mode 100644
index 368045a470d1..000000000000
--- a/drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_stolen.h
+++ /dev/null
@@ -1,40 +0,0 @@
-/* SPDX-License-Identifier: MIT */
-/*
- * Copyright © 2024 Intel Corporation
- */
-
-#ifndef _I915_GEM_STOLEN_H_
-#define _I915_GEM_STOLEN_H_
-
-#include <linux/types.h>
-
-struct drm_device;
-struct intel_stolen_node;
-
-int i915_gem_stolen_insert_node_in_range(struct intel_stolen_node *node, u64 size,
-					 unsigned int align, u64 start, u64 end);
-
-int i915_gem_stolen_insert_node(struct intel_stolen_node *node, u64 size,
-				unsigned int align);
-
-void i915_gem_stolen_remove_node(struct intel_stolen_node *node);
-
-bool i915_gem_stolen_initialized(struct drm_device *drm);
-
-bool i915_gem_stolen_node_allocated(const struct intel_stolen_node *node);
-
-u64 i915_gem_stolen_node_offset(const struct intel_stolen_node *node);
-
-u64 i915_gem_stolen_area_address(struct drm_device *drm);
-
-u64 i915_gem_stolen_area_size(struct drm_device *drm);
-
-u64 i915_gem_stolen_node_address(const struct intel_stolen_node *node);
-
-u64 i915_gem_stolen_node_size(const struct intel_stolen_node *node);
-
-struct intel_stolen_node *i915_gem_stolen_node_alloc(struct drm_device *drm);
-
-void i915_gem_stolen_node_free(const struct intel_stolen_node *node);
-
-#endif
diff --git a/drivers/gpu/drm/xe/display/xe_display.c b/drivers/gpu/drm/xe/display/xe_display.c
index 9d2aa69ea428..9fb5c2f3ddd8 100644
--- a/drivers/gpu/drm/xe/display/xe_display.c
+++ b/drivers/gpu/drm/xe/display/xe_display.c
@@ -36,8 +36,9 @@
 #include "intel_opregion.h"
 #include "skl_watermark.h"
 #include "xe_display_rpm.h"
-#include "xe_module.h"
 #include "xe_hdcp_gsc.h"
+#include "xe_module.h"
+#include "xe_stolen.h"
 
 /* Ensure drm and display members are placed properly. */
 INTEL_DISPLAY_MEMBER_STATIC_ASSERT(struct xe_device, drm, display);
@@ -538,6 +539,7 @@ static const struct intel_display_parent_interface parent = {
 	.hdcp = &xe_display_hdcp_interface,
 	.rpm = &xe_display_rpm_interface,
 	.irq = &xe_display_irq_interface,
+	.stolen = &xe_display_stolen_interface,
 };
 
 /**
diff --git a/drivers/gpu/drm/xe/display/xe_stolen.c b/drivers/gpu/drm/xe/display/xe_stolen.c
index 387506586288..cc7aec7db76c 100644
--- a/drivers/gpu/drm/xe/display/xe_stolen.c
+++ b/drivers/gpu/drm/xe/display/xe_stolen.c
@@ -1,8 +1,10 @@
 // SPDX-License-Identifier: MIT
 /* Copyright © 2025 Intel Corporation */
 
-#include "gem/i915_gem_stolen.h"
+#include <drm/intel/display_parent_interface.h>
+
 #include "xe_res_cursor.h"
+#include "xe_stolen.h"
 #include "xe_ttm_stolen_mgr.h"
 #include "xe_validation.h"
 
@@ -11,8 +13,8 @@ struct intel_stolen_node {
 	struct xe_bo *bo;
 };
 
-int i915_gem_stolen_insert_node_in_range(struct intel_stolen_node *node, u64 size,
-					 unsigned int align, u64 start, u64 end)
+static int xe_stolen_insert_node_in_range(struct intel_stolen_node *node, u64 size,
+					  unsigned int align, u64 start, u64 end)
 {
 	struct xe_device *xe = node->xe;
 
@@ -41,7 +43,7 @@ int i915_gem_stolen_insert_node_in_range(struct intel_stolen_node *node, u64 siz
 	return err;
 }
 
-int i915_gem_stolen_insert_node(struct intel_stolen_node *node, u64 size, unsigned int align)
+static int xe_stolen_insert_node(struct intel_stolen_node *node, u64 size, unsigned int align)
 {
 	/* Not used on xe */
 	WARN_ON(1);
@@ -49,25 +51,25 @@ int i915_gem_stolen_insert_node(struct intel_stolen_node *node, u64 size, unsign
 	return -ENODEV;
 }
 
-void i915_gem_stolen_remove_node(struct intel_stolen_node *node)
+static void xe_stolen_remove_node(struct intel_stolen_node *node)
 {
 	xe_bo_unpin_map_no_vm(node->bo);
 	node->bo = NULL;
 }
 
-bool i915_gem_stolen_initialized(struct drm_device *drm)
+static bool xe_stolen_initialized(struct drm_device *drm)
 {
 	struct xe_device *xe = to_xe_device(drm);
 
 	return ttm_manager_type(&xe->ttm, XE_PL_STOLEN);
 }
 
-bool i915_gem_stolen_node_allocated(const struct intel_stolen_node *node)
+static bool xe_stolen_node_allocated(const struct intel_stolen_node *node)
 {
 	return node->bo;
 }
 
-u64 i915_gem_stolen_node_offset(const struct intel_stolen_node *node)
+static u64 xe_stolen_node_offset(const struct intel_stolen_node *node)
 {
 	struct xe_res_cursor res;
 
@@ -76,7 +78,7 @@ u64 i915_gem_stolen_node_offset(const struct intel_stolen_node *node)
 }
 
 /* Used for < gen4. These are not supported by Xe */
-u64 i915_gem_stolen_area_address(struct drm_device *drm)
+static u64 xe_stolen_area_address(struct drm_device *drm)
 {
 	WARN_ON(1);
 
@@ -84,26 +86,26 @@ u64 i915_gem_stolen_area_address(struct drm_device *drm)
 }
 
 /* Used for gen9 specific WA. Gen9 is not supported by Xe */
-u64 i915_gem_stolen_area_size(struct drm_device *drm)
+static u64 xe_stolen_area_size(struct drm_device *drm)
 {
 	WARN_ON(1);
 
 	return 0;
 }
 
-u64 i915_gem_stolen_node_address(const struct intel_stolen_node *node)
+static u64 xe_stolen_node_address(const struct intel_stolen_node *node)
 {
 	struct xe_device *xe = node->xe;
 
-	return xe_ttm_stolen_gpu_offset(xe) + i915_gem_stolen_node_offset(node);
+	return xe_ttm_stolen_gpu_offset(xe) + xe_stolen_node_offset(node);
 }
 
-u64 i915_gem_stolen_node_size(const struct intel_stolen_node *node)
+static u64 xe_stolen_node_size(const struct intel_stolen_node *node)
 {
 	return node->bo->ttm.base.size;
 }
 
-struct intel_stolen_node *i915_gem_stolen_node_alloc(struct drm_device *drm)
+static struct intel_stolen_node *xe_stolen_node_alloc(struct drm_device *drm)
 {
 	struct xe_device *xe = to_xe_device(drm);
 	struct intel_stolen_node *node;
@@ -117,7 +119,22 @@ struct intel_stolen_node *i915_gem_stolen_node_alloc(struct drm_device *drm)
 	return node;
 }
 
-void i915_gem_stolen_node_free(const struct intel_stolen_node *node)
+static void xe_stolen_node_free(const struct intel_stolen_node *node)
 {
 	kfree(node);
 }
+
+const struct intel_display_stolen_interface xe_display_stolen_interface = {
+	.insert_node_in_range = xe_stolen_insert_node_in_range,
+	.insert_node = xe_stolen_insert_node,
+	.remove_node = xe_stolen_remove_node,
+	.initialized = xe_stolen_initialized,
+	.node_allocated = xe_stolen_node_allocated,
+	.node_offset = xe_stolen_node_offset,
+	.area_address = xe_stolen_area_address,
+	.area_size = xe_stolen_area_size,
+	.node_address = xe_stolen_node_address,
+	.node_size = xe_stolen_node_size,
+	.node_alloc = xe_stolen_node_alloc,
+	.node_free = xe_stolen_node_free,
+};
diff --git a/drivers/gpu/drm/xe/display/xe_stolen.h b/drivers/gpu/drm/xe/display/xe_stolen.h
new file mode 100644
index 000000000000..db86b9e01242
--- /dev/null
+++ b/drivers/gpu/drm/xe/display/xe_stolen.h
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: MIT */
+/* Copyright © 2025 Intel Corporation */
+
+#ifndef __XE_STOLEN_H__
+#define __XE_STOLEN_H__
+
+extern const struct intel_display_stolen_interface xe_display_stolen_interface;
+
+#endif
diff --git a/include/drm/intel/display_parent_interface.h b/include/drm/intel/display_parent_interface.h
index 61d1b22adc83..f590e846464d 100644
--- a/include/drm/intel/display_parent_interface.h
+++ b/include/drm/intel/display_parent_interface.h
@@ -9,6 +9,7 @@
 struct dma_fence;
 struct drm_device;
 struct intel_hdcp_gsc_context;
+struct intel_stolen_node;
 struct ref_tracker;
 
 struct intel_display_rpm_interface {
@@ -47,6 +48,22 @@ struct intel_display_rps_interface {
 	void (*ilk_irq_handler)(struct drm_device *drm);
 };
 
+struct intel_display_stolen_interface {
+	int (*insert_node_in_range)(struct intel_stolen_node *node, u64 size,
+				    unsigned int align, u64 start, u64 end);
+	int (*insert_node)(struct intel_stolen_node *node, u64 size, unsigned int align);
+	void (*remove_node)(struct intel_stolen_node *node);
+	bool (*initialized)(struct drm_device *drm);
+	bool (*node_allocated)(const struct intel_stolen_node *node);
+	u64 (*node_offset)(const struct intel_stolen_node *node);
+	u64 (*area_address)(struct drm_device *drm);
+	u64 (*area_size)(struct drm_device *drm);
+	u64 (*node_address)(const struct intel_stolen_node *node);
+	u64 (*node_size)(const struct intel_stolen_node *node);
+	struct intel_stolen_node *(*node_alloc)(struct drm_device *drm);
+	void (*node_free)(const struct intel_stolen_node *node);
+};
+
 /**
  * struct intel_display_parent_interface - services parent driver provides to display
  *
@@ -72,6 +89,9 @@ struct intel_display_parent_interface {
 	/** @rpm: RPS interface. Optional. */
 	const struct intel_display_rps_interface *rps;
 
+	/** @stolen: Stolen memory. */
+	const struct intel_display_stolen_interface *stolen;
+
 	/** @vgpu_active: Is vGPU active? Optional. */
 	bool (*vgpu_active)(struct drm_device *drm);
 
-- 
2.47.3


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

* [PATCH 4/4] drm/{i915, xe}/stolen: make insert_node, area_address, area_size optional
  2025-12-04 17:24 [PATCH 0/4] drm/{i915, xe}: migrate stolen interface to parent interface, cleanups Jani Nikula
                   ` (2 preceding siblings ...)
  2025-12-04 17:24 ` [PATCH 3/4] drm/{i915, xe}/stolen: move stolen memory handling to display parent interface Jani Nikula
@ 2025-12-04 17:24 ` Jani Nikula
  2025-12-04 17:30 ` ✗ CI.checkpatch: warning for drm/{i915, xe}: migrate stolen interface to parent interface, cleanups Patchwork
  2025-12-04 17:32 ` ✓ CI.KUnit: success " Patchwork
  5 siblings, 0 replies; 9+ messages in thread
From: Jani Nikula @ 2025-12-04 17:24 UTC (permalink / raw)
  To: intel-xe, intel-gfx; +Cc: jani.nikula

Since the stolen memory hooks are function pointers, make some of them
optional instead of having to define them for xe.

insert_node, area_address, and area_size are only needed on platforms
not supported by xe.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/i915/display/intel_parent.c  | 10 ++++++++
 drivers/gpu/drm/xe/display/xe_stolen.c       | 27 --------------------
 include/drm/intel/display_parent_interface.h |  6 ++---
 3 files changed, 13 insertions(+), 30 deletions(-)

diff --git a/drivers/gpu/drm/i915/display/intel_parent.c b/drivers/gpu/drm/i915/display/intel_parent.c
index 49cb64ca8c4c..d16163007545 100644
--- a/drivers/gpu/drm/i915/display/intel_parent.c
+++ b/drivers/gpu/drm/i915/display/intel_parent.c
@@ -17,6 +17,7 @@
  * function pointer interface.
  */
 
+#include <drm/drm_print.h>
 #include <drm/intel/display_parent_interface.h>
 
 #include "intel_display_core.h"
@@ -89,6 +90,9 @@ int intel_parent_stolen_insert_node_in_range(struct intel_display *display,
 int intel_parent_stolen_insert_node(struct intel_display *display, struct intel_stolen_node *node, u64 size,
 				    unsigned int align)
 {
+	if (drm_WARN_ON_ONCE(display->drm, !display->parent->stolen->insert_node))
+		return -ENODEV;
+
 	return display->parent->stolen->insert_node(node, size, align);
 }
 
@@ -116,11 +120,17 @@ u32 intel_parent_stolen_node_offset(struct intel_display *display, struct intel_
 
 u64 intel_parent_stolen_area_address(struct intel_display *display)
 {
+	if (drm_WARN_ON_ONCE(display->drm, !display->parent->stolen->area_address))
+		return 0;
+
 	return display->parent->stolen->area_address(display->drm);
 }
 
 u64 intel_parent_stolen_area_size(struct intel_display *display)
 {
+	if (drm_WARN_ON_ONCE(display->drm, !display->parent->stolen->area_size))
+		return 0;
+
 	return display->parent->stolen->area_size(display->drm);
 }
 
diff --git a/drivers/gpu/drm/xe/display/xe_stolen.c b/drivers/gpu/drm/xe/display/xe_stolen.c
index cc7aec7db76c..12771709183a 100644
--- a/drivers/gpu/drm/xe/display/xe_stolen.c
+++ b/drivers/gpu/drm/xe/display/xe_stolen.c
@@ -43,14 +43,6 @@ static int xe_stolen_insert_node_in_range(struct intel_stolen_node *node, u64 si
 	return err;
 }
 
-static int xe_stolen_insert_node(struct intel_stolen_node *node, u64 size, unsigned int align)
-{
-	/* Not used on xe */
-	WARN_ON(1);
-
-	return -ENODEV;
-}
-
 static void xe_stolen_remove_node(struct intel_stolen_node *node)
 {
 	xe_bo_unpin_map_no_vm(node->bo);
@@ -77,22 +69,6 @@ static u64 xe_stolen_node_offset(const struct intel_stolen_node *node)
 	return res.start;
 }
 
-/* Used for < gen4. These are not supported by Xe */
-static u64 xe_stolen_area_address(struct drm_device *drm)
-{
-	WARN_ON(1);
-
-	return 0;
-}
-
-/* Used for gen9 specific WA. Gen9 is not supported by Xe */
-static u64 xe_stolen_area_size(struct drm_device *drm)
-{
-	WARN_ON(1);
-
-	return 0;
-}
-
 static u64 xe_stolen_node_address(const struct intel_stolen_node *node)
 {
 	struct xe_device *xe = node->xe;
@@ -126,13 +102,10 @@ static void xe_stolen_node_free(const struct intel_stolen_node *node)
 
 const struct intel_display_stolen_interface xe_display_stolen_interface = {
 	.insert_node_in_range = xe_stolen_insert_node_in_range,
-	.insert_node = xe_stolen_insert_node,
 	.remove_node = xe_stolen_remove_node,
 	.initialized = xe_stolen_initialized,
 	.node_allocated = xe_stolen_node_allocated,
 	.node_offset = xe_stolen_node_offset,
-	.area_address = xe_stolen_area_address,
-	.area_size = xe_stolen_area_size,
 	.node_address = xe_stolen_node_address,
 	.node_size = xe_stolen_node_size,
 	.node_alloc = xe_stolen_node_alloc,
diff --git a/include/drm/intel/display_parent_interface.h b/include/drm/intel/display_parent_interface.h
index f590e846464d..cc13b2ce1324 100644
--- a/include/drm/intel/display_parent_interface.h
+++ b/include/drm/intel/display_parent_interface.h
@@ -51,13 +51,13 @@ struct intel_display_rps_interface {
 struct intel_display_stolen_interface {
 	int (*insert_node_in_range)(struct intel_stolen_node *node, u64 size,
 				    unsigned int align, u64 start, u64 end);
-	int (*insert_node)(struct intel_stolen_node *node, u64 size, unsigned int align);
+	int (*insert_node)(struct intel_stolen_node *node, u64 size, unsigned int align); /* Optional */
 	void (*remove_node)(struct intel_stolen_node *node);
 	bool (*initialized)(struct drm_device *drm);
 	bool (*node_allocated)(const struct intel_stolen_node *node);
 	u64 (*node_offset)(const struct intel_stolen_node *node);
-	u64 (*area_address)(struct drm_device *drm);
-	u64 (*area_size)(struct drm_device *drm);
+	u64 (*area_address)(struct drm_device *drm); /* Optional */
+	u64 (*area_size)(struct drm_device *drm); /* Optional */
 	u64 (*node_address)(const struct intel_stolen_node *node);
 	u64 (*node_size)(const struct intel_stolen_node *node);
 	struct intel_stolen_node *(*node_alloc)(struct drm_device *drm);
-- 
2.47.3


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

* ✗ CI.checkpatch: warning for drm/{i915, xe}: migrate stolen interface to parent interface, cleanups
  2025-12-04 17:24 [PATCH 0/4] drm/{i915, xe}: migrate stolen interface to parent interface, cleanups Jani Nikula
                   ` (3 preceding siblings ...)
  2025-12-04 17:24 ` [PATCH 4/4] drm/{i915, xe}/stolen: make insert_node, area_address, area_size optional Jani Nikula
@ 2025-12-04 17:30 ` Patchwork
  2025-12-04 17:32 ` ✓ CI.KUnit: success " Patchwork
  5 siblings, 0 replies; 9+ messages in thread
From: Patchwork @ 2025-12-04 17:30 UTC (permalink / raw)
  To: Jani Nikula; +Cc: intel-xe

== Series Details ==

Series: drm/{i915, xe}: migrate stolen interface to parent interface, cleanups
URL   : https://patchwork.freedesktop.org/series/158508/
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
2de9a3901bc28757c7906b454717b64e2a214021
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 654687fc3e45dbc56c991fcf3cf9c7e269be5231
Author: Jani Nikula <jani.nikula@intel.com>
Date:   Thu Dec 4 19:24:07 2025 +0200

    drm/{i915, xe}/stolen: make insert_node, area_address, area_size optional
    
    Since the stolen memory hooks are function pointers, make some of them
    optional instead of having to define them for xe.
    
    insert_node, area_address, and area_size are only needed on platforms
    not supported by xe.
    
    Signed-off-by: Jani Nikula <jani.nikula@intel.com>
+ /mt/dim checkpatch b91a982bdeb8b2c13917d3726c86cfa57ff3202d drm-intel
cdcfe1eae0a9 drm/i915/fbc: let to_intel_display() do its generic magic
440eda47cab7 drm/xe/stolen: unify interface with i915
a65832710136 drm/{i915, xe}/stolen: move stolen memory handling to display parent interface
-:34: WARNING:LONG_LINE: line length of 103 exceeds 100 columns
#34: FILE: drivers/gpu/drm/i915/display/intel_fbc.c:395:
+					  intel_parent_stolen_node_offset(display, fbc->compressed_fb),

-:40: WARNING:LONG_LINE: line length of 104 exceeds 100 columns
#40: FILE: drivers/gpu/drm/i915/display/intel_fbc.c:399:
+					  intel_parent_stolen_node_offset(display, fbc->compressed_llb),

-:226: WARNING:LONG_LINE: line length of 108 exceeds 100 columns
#226: FILE: drivers/gpu/drm/i915/display/intel_parent.c:89:
+int intel_parent_stolen_insert_node(struct intel_display *display, struct intel_stolen_node *node, u64 size,

-:269: WARNING:LONG_LINE: line length of 102 exceeds 100 columns
#269: FILE: drivers/gpu/drm/i915/display/intel_parent.c:132:
+u64 intel_parent_stolen_node_size(struct intel_display *display, const struct intel_stolen_node *node)

-:279: WARNING:LONG_LINE: line length of 103 exceeds 100 columns
#279: FILE: drivers/gpu/drm/i915/display/intel_parent.c:142:
+void intel_parent_stolen_node_free(struct intel_display *display, const struct intel_stolen_node *node)

-:284: CHECK:LINE_SPACING: Please don't use multiple blank lines
#284: FILE: drivers/gpu/drm/i915/display/intel_parent.c:147:
+
+

-:307: WARNING:LONG_LINE: line length of 108 exceeds 100 columns
#307: FILE: drivers/gpu/drm/i915/display/intel_parent.h:34:
+int intel_parent_stolen_insert_node(struct intel_display *display, struct intel_stolen_node *node, u64 size,

-:318: WARNING:LONG_LINE: line length of 103 exceeds 100 columns
#318: FILE: drivers/gpu/drm/i915/display/intel_parent.h:45:
+u64 intel_parent_stolen_node_size(struct intel_display *display, const struct intel_stolen_node *node);

-:320: WARNING:LONG_LINE: line length of 104 exceeds 100 columns
#320: FILE: drivers/gpu/drm/i915/display/intel_parent.h:47:
+void intel_parent_stolen_node_free(struct intel_display *display, const struct intel_stolen_node *node);

-:510: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#510: 
deleted file mode 100644

total: 0 errors, 9 warnings, 1 checks, 629 lines checked
654687fc3e45 drm/{i915, xe}/stolen: make insert_node, area_address, area_size optional
-:120: WARNING:LONG_LINE_COMMENT: line length of 104 exceeds 100 columns
#120: FILE: include/drm/intel/display_parent_interface.h:54:
+	int (*insert_node)(struct intel_stolen_node *node, u64 size, unsigned int align); /* Optional */

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



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

* ✓ CI.KUnit: success for drm/{i915, xe}: migrate stolen interface to parent interface, cleanups
  2025-12-04 17:24 [PATCH 0/4] drm/{i915, xe}: migrate stolen interface to parent interface, cleanups Jani Nikula
                   ` (4 preceding siblings ...)
  2025-12-04 17:30 ` ✗ CI.checkpatch: warning for drm/{i915, xe}: migrate stolen interface to parent interface, cleanups Patchwork
@ 2025-12-04 17:32 ` Patchwork
  5 siblings, 0 replies; 9+ messages in thread
From: Patchwork @ 2025-12-04 17:32 UTC (permalink / raw)
  To: Jani Nikula; +Cc: intel-xe

== Series Details ==

Series: drm/{i915, xe}: migrate stolen interface to parent interface, cleanups
URL   : https://patchwork.freedesktop.org/series/158508/
State : success

== Summary ==

+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig
[17:30:52] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[17:30:57] 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
[17:31:27] Starting KUnit Kernel (1/1)...
[17:31:27] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[17:31:27] ================== guc_buf (11 subtests) ===================
[17:31:27] [PASSED] test_smallest
[17:31:27] [PASSED] test_largest
[17:31:27] [PASSED] test_granular
[17:31:27] [PASSED] test_unique
[17:31:27] [PASSED] test_overlap
[17:31:27] [PASSED] test_reusable
[17:31:27] [PASSED] test_too_big
[17:31:27] [PASSED] test_flush
[17:31:27] [PASSED] test_lookup
[17:31:27] [PASSED] test_data
[17:31:27] [PASSED] test_class
[17:31:27] ===================== [PASSED] guc_buf =====================
[17:31:27] =================== guc_dbm (7 subtests) ===================
[17:31:27] [PASSED] test_empty
[17:31:27] [PASSED] test_default
[17:31:27] ======================== test_size  ========================
[17:31:27] [PASSED] 4
[17:31:27] [PASSED] 8
[17:31:27] [PASSED] 32
[17:31:27] [PASSED] 256
[17:31:27] ==================== [PASSED] test_size ====================
[17:31:27] ======================= test_reuse  ========================
[17:31:27] [PASSED] 4
[17:31:27] [PASSED] 8
[17:31:27] [PASSED] 32
[17:31:27] [PASSED] 256
[17:31:27] =================== [PASSED] test_reuse ====================
[17:31:27] =================== test_range_overlap  ====================
[17:31:27] [PASSED] 4
[17:31:27] [PASSED] 8
[17:31:27] [PASSED] 32
[17:31:27] [PASSED] 256
[17:31:27] =============== [PASSED] test_range_overlap ================
[17:31:27] =================== test_range_compact  ====================
[17:31:27] [PASSED] 4
[17:31:27] [PASSED] 8
[17:31:27] [PASSED] 32
[17:31:27] [PASSED] 256
[17:31:27] =============== [PASSED] test_range_compact ================
[17:31:27] ==================== test_range_spare  =====================
[17:31:27] [PASSED] 4
[17:31:27] [PASSED] 8
[17:31:27] [PASSED] 32
[17:31:27] [PASSED] 256
[17:31:27] ================ [PASSED] test_range_spare =================
[17:31:27] ===================== [PASSED] guc_dbm =====================
[17:31:27] =================== guc_idm (6 subtests) ===================
[17:31:27] [PASSED] bad_init
[17:31:27] [PASSED] no_init
[17:31:27] [PASSED] init_fini
[17:31:27] [PASSED] check_used
[17:31:27] [PASSED] check_quota
[17:31:27] [PASSED] check_all
[17:31:27] ===================== [PASSED] guc_idm =====================
[17:31:27] ================== no_relay (3 subtests) ===================
[17:31:27] [PASSED] xe_drops_guc2pf_if_not_ready
[17:31:27] [PASSED] xe_drops_guc2vf_if_not_ready
[17:31:27] [PASSED] xe_rejects_send_if_not_ready
[17:31:27] ==================== [PASSED] no_relay =====================
[17:31:27] ================== pf_relay (14 subtests) ==================
[17:31:27] [PASSED] pf_rejects_guc2pf_too_short
[17:31:27] [PASSED] pf_rejects_guc2pf_too_long
[17:31:27] [PASSED] pf_rejects_guc2pf_no_payload
[17:31:27] [PASSED] pf_fails_no_payload
[17:31:27] [PASSED] pf_fails_bad_origin
[17:31:27] [PASSED] pf_fails_bad_type
[17:31:27] [PASSED] pf_txn_reports_error
[17:31:27] [PASSED] pf_txn_sends_pf2guc
[17:31:27] [PASSED] pf_sends_pf2guc
[17:31:27] [SKIPPED] pf_loopback_nop
[17:31:27] [SKIPPED] pf_loopback_echo
[17:31:27] [SKIPPED] pf_loopback_fail
[17:31:27] [SKIPPED] pf_loopback_busy
[17:31:27] [SKIPPED] pf_loopback_retry
[17:31:27] ==================== [PASSED] pf_relay =====================
[17:31:27] ================== vf_relay (3 subtests) ===================
[17:31:27] [PASSED] vf_rejects_guc2vf_too_short
[17:31:27] [PASSED] vf_rejects_guc2vf_too_long
[17:31:27] [PASSED] vf_rejects_guc2vf_no_payload
[17:31:27] ==================== [PASSED] vf_relay =====================
[17:31:27] ================ pf_gt_config (6 subtests) =================
[17:31:27] [PASSED] fair_contexts_1vf
[17:31:27] [PASSED] fair_doorbells_1vf
[17:31:27] [PASSED] fair_ggtt_1vf
[17:31:27] ====================== fair_contexts  ======================
[17:31:27] [PASSED] 1 VF
[17:31:27] [PASSED] 2 VFs
[17:31:27] [PASSED] 3 VFs
[17:31:27] [PASSED] 4 VFs
[17:31:27] [PASSED] 5 VFs
[17:31:27] [PASSED] 6 VFs
[17:31:27] [PASSED] 7 VFs
[17:31:27] [PASSED] 8 VFs
[17:31:27] [PASSED] 9 VFs
[17:31:27] [PASSED] 10 VFs
[17:31:27] [PASSED] 11 VFs
[17:31:27] [PASSED] 12 VFs
[17:31:27] [PASSED] 13 VFs
[17:31:27] [PASSED] 14 VFs
[17:31:27] [PASSED] 15 VFs
[17:31:27] [PASSED] 16 VFs
[17:31:27] [PASSED] 17 VFs
[17:31:27] [PASSED] 18 VFs
[17:31:27] [PASSED] 19 VFs
[17:31:27] [PASSED] 20 VFs
[17:31:27] [PASSED] 21 VFs
[17:31:27] [PASSED] 22 VFs
[17:31:27] [PASSED] 23 VFs
[17:31:27] [PASSED] 24 VFs
[17:31:27] [PASSED] 25 VFs
[17:31:27] [PASSED] 26 VFs
[17:31:27] [PASSED] 27 VFs
[17:31:27] [PASSED] 28 VFs
[17:31:27] [PASSED] 29 VFs
[17:31:27] [PASSED] 30 VFs
[17:31:27] [PASSED] 31 VFs
[17:31:27] [PASSED] 32 VFs
[17:31:27] [PASSED] 33 VFs
[17:31:27] [PASSED] 34 VFs
[17:31:27] [PASSED] 35 VFs
[17:31:27] [PASSED] 36 VFs
[17:31:27] [PASSED] 37 VFs
[17:31:27] [PASSED] 38 VFs
[17:31:27] [PASSED] 39 VFs
[17:31:27] [PASSED] 40 VFs
[17:31:27] [PASSED] 41 VFs
[17:31:27] [PASSED] 42 VFs
[17:31:27] [PASSED] 43 VFs
[17:31:27] [PASSED] 44 VFs
[17:31:27] [PASSED] 45 VFs
[17:31:27] [PASSED] 46 VFs
[17:31:27] [PASSED] 47 VFs
[17:31:27] [PASSED] 48 VFs
[17:31:27] [PASSED] 49 VFs
[17:31:27] [PASSED] 50 VFs
[17:31:27] [PASSED] 51 VFs
[17:31:27] [PASSED] 52 VFs
[17:31:27] [PASSED] 53 VFs
[17:31:27] [PASSED] 54 VFs
[17:31:27] [PASSED] 55 VFs
[17:31:27] [PASSED] 56 VFs
[17:31:27] [PASSED] 57 VFs
[17:31:27] [PASSED] 58 VFs
[17:31:27] [PASSED] 59 VFs
[17:31:27] [PASSED] 60 VFs
[17:31:27] [PASSED] 61 VFs
[17:31:27] [PASSED] 62 VFs
[17:31:27] [PASSED] 63 VFs
[17:31:27] ================== [PASSED] fair_contexts ==================
[17:31:27] ===================== fair_doorbells  ======================
[17:31:27] [PASSED] 1 VF
[17:31:27] [PASSED] 2 VFs
[17:31:27] [PASSED] 3 VFs
[17:31:27] [PASSED] 4 VFs
[17:31:27] [PASSED] 5 VFs
[17:31:27] [PASSED] 6 VFs
[17:31:27] [PASSED] 7 VFs
[17:31:27] [PASSED] 8 VFs
[17:31:27] [PASSED] 9 VFs
[17:31:27] [PASSED] 10 VFs
[17:31:27] [PASSED] 11 VFs
[17:31:27] [PASSED] 12 VFs
[17:31:27] [PASSED] 13 VFs
[17:31:27] [PASSED] 14 VFs
[17:31:27] [PASSED] 15 VFs
[17:31:27] [PASSED] 16 VFs
[17:31:27] [PASSED] 17 VFs
[17:31:27] [PASSED] 18 VFs
[17:31:27] [PASSED] 19 VFs
[17:31:27] [PASSED] 20 VFs
[17:31:27] [PASSED] 21 VFs
[17:31:27] [PASSED] 22 VFs
[17:31:27] [PASSED] 23 VFs
[17:31:27] [PASSED] 24 VFs
[17:31:27] [PASSED] 25 VFs
[17:31:27] [PASSED] 26 VFs
[17:31:27] [PASSED] 27 VFs
[17:31:27] [PASSED] 28 VFs
[17:31:27] [PASSED] 29 VFs
[17:31:27] [PASSED] 30 VFs
[17:31:27] [PASSED] 31 VFs
[17:31:27] [PASSED] 32 VFs
[17:31:27] [PASSED] 33 VFs
[17:31:27] [PASSED] 34 VFs
[17:31:27] [PASSED] 35 VFs
[17:31:27] [PASSED] 36 VFs
[17:31:27] [PASSED] 37 VFs
[17:31:27] [PASSED] 38 VFs
[17:31:27] [PASSED] 39 VFs
[17:31:27] [PASSED] 40 VFs
[17:31:27] [PASSED] 41 VFs
[17:31:27] [PASSED] 42 VFs
[17:31:27] [PASSED] 43 VFs
[17:31:27] [PASSED] 44 VFs
[17:31:27] [PASSED] 45 VFs
[17:31:27] [PASSED] 46 VFs
[17:31:27] [PASSED] 47 VFs
[17:31:27] [PASSED] 48 VFs
[17:31:27] [PASSED] 49 VFs
[17:31:27] [PASSED] 50 VFs
[17:31:27] [PASSED] 51 VFs
[17:31:27] [PASSED] 52 VFs
[17:31:27] [PASSED] 53 VFs
[17:31:27] [PASSED] 54 VFs
[17:31:27] [PASSED] 55 VFs
[17:31:27] [PASSED] 56 VFs
[17:31:27] [PASSED] 57 VFs
[17:31:27] [PASSED] 58 VFs
[17:31:27] [PASSED] 59 VFs
[17:31:27] [PASSED] 60 VFs
[17:31:27] [PASSED] 61 VFs
[17:31:27] [PASSED] 62 VFs
[17:31:27] [PASSED] 63 VFs
[17:31:27] ================= [PASSED] fair_doorbells ==================
[17:31:28] ======================== fair_ggtt  ========================
[17:31:28] [PASSED] 1 VF
[17:31:28] [PASSED] 2 VFs
[17:31:28] [PASSED] 3 VFs
[17:31:28] [PASSED] 4 VFs
[17:31:28] [PASSED] 5 VFs
[17:31:28] [PASSED] 6 VFs
[17:31:28] [PASSED] 7 VFs
[17:31:28] [PASSED] 8 VFs
[17:31:28] [PASSED] 9 VFs
[17:31:28] [PASSED] 10 VFs
[17:31:28] [PASSED] 11 VFs
[17:31:28] [PASSED] 12 VFs
[17:31:28] [PASSED] 13 VFs
[17:31:28] [PASSED] 14 VFs
[17:31:28] [PASSED] 15 VFs
[17:31:28] [PASSED] 16 VFs
[17:31:28] [PASSED] 17 VFs
[17:31:28] [PASSED] 18 VFs
[17:31:28] [PASSED] 19 VFs
[17:31:28] [PASSED] 20 VFs
[17:31:28] [PASSED] 21 VFs
[17:31:28] [PASSED] 22 VFs
[17:31:28] [PASSED] 23 VFs
[17:31:28] [PASSED] 24 VFs
[17:31:28] [PASSED] 25 VFs
[17:31:28] [PASSED] 26 VFs
[17:31:28] [PASSED] 27 VFs
[17:31:28] [PASSED] 28 VFs
[17:31:28] [PASSED] 29 VFs
[17:31:28] [PASSED] 30 VFs
[17:31:28] [PASSED] 31 VFs
[17:31:28] [PASSED] 32 VFs
[17:31:28] [PASSED] 33 VFs
[17:31:28] [PASSED] 34 VFs
[17:31:28] [PASSED] 35 VFs
[17:31:28] [PASSED] 36 VFs
[17:31:28] [PASSED] 37 VFs
[17:31:28] [PASSED] 38 VFs
[17:31:28] [PASSED] 39 VFs
[17:31:28] [PASSED] 40 VFs
[17:31:28] [PASSED] 41 VFs
[17:31:28] [PASSED] 42 VFs
[17:31:28] [PASSED] 43 VFs
[17:31:28] [PASSED] 44 VFs
[17:31:28] [PASSED] 45 VFs
[17:31:28] [PASSED] 46 VFs
[17:31:28] [PASSED] 47 VFs
[17:31:28] [PASSED] 48 VFs
[17:31:28] [PASSED] 49 VFs
[17:31:28] [PASSED] 50 VFs
[17:31:28] [PASSED] 51 VFs
[17:31:28] [PASSED] 52 VFs
[17:31:28] [PASSED] 53 VFs
[17:31:28] [PASSED] 54 VFs
[17:31:28] [PASSED] 55 VFs
[17:31:28] [PASSED] 56 VFs
[17:31:28] [PASSED] 57 VFs
[17:31:28] [PASSED] 58 VFs
[17:31:28] [PASSED] 59 VFs
[17:31:28] [PASSED] 60 VFs
[17:31:28] [PASSED] 61 VFs
[17:31:28] [PASSED] 62 VFs
[17:31:28] [PASSED] 63 VFs
[17:31:28] ==================== [PASSED] fair_ggtt ====================
[17:31:28] ================== [PASSED] pf_gt_config ===================
[17:31:28] ===================== lmtt (1 subtest) =====================
[17:31:28] ======================== test_ops  =========================
[17:31:28] [PASSED] 2-level
[17:31:28] [PASSED] multi-level
[17:31:28] ==================== [PASSED] test_ops =====================
[17:31:28] ====================== [PASSED] lmtt =======================
[17:31:28] ================= pf_service (11 subtests) =================
[17:31:28] [PASSED] pf_negotiate_any
[17:31:28] [PASSED] pf_negotiate_base_match
[17:31:28] [PASSED] pf_negotiate_base_newer
[17:31:28] [PASSED] pf_negotiate_base_next
[17:31:28] [SKIPPED] pf_negotiate_base_older
[17:31:28] [PASSED] pf_negotiate_base_prev
[17:31:28] [PASSED] pf_negotiate_latest_match
[17:31:28] [PASSED] pf_negotiate_latest_newer
[17:31:28] [PASSED] pf_negotiate_latest_next
[17:31:28] [SKIPPED] pf_negotiate_latest_older
[17:31:28] [SKIPPED] pf_negotiate_latest_prev
[17:31:28] =================== [PASSED] pf_service ====================
[17:31:28] ================= xe_guc_g2g (2 subtests) ==================
[17:31:28] ============== xe_live_guc_g2g_kunit_default  ==============
[17:31:28] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ==========
[17:31:28] ============== xe_live_guc_g2g_kunit_allmem  ===============
[17:31:28] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ==========
[17:31:28] =================== [SKIPPED] xe_guc_g2g ===================
[17:31:28] =================== xe_mocs (2 subtests) ===================
[17:31:28] ================ xe_live_mocs_kernel_kunit  ================
[17:31:28] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[17:31:28] ================ xe_live_mocs_reset_kunit  =================
[17:31:28] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[17:31:28] ==================== [SKIPPED] xe_mocs =====================
[17:31:28] ================= xe_migrate (2 subtests) ==================
[17:31:28] ================= xe_migrate_sanity_kunit  =================
[17:31:28] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[17:31:28] ================== xe_validate_ccs_kunit  ==================
[17:31:28] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[17:31:28] =================== [SKIPPED] xe_migrate ===================
[17:31:28] ================== xe_dma_buf (1 subtest) ==================
[17:31:28] ==================== xe_dma_buf_kunit  =====================
[17:31:28] ================ [SKIPPED] xe_dma_buf_kunit ================
[17:31:28] =================== [SKIPPED] xe_dma_buf ===================
[17:31:28] ================= xe_bo_shrink (1 subtest) =================
[17:31:28] =================== xe_bo_shrink_kunit  ====================
[17:31:28] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[17:31:28] ================== [SKIPPED] xe_bo_shrink ==================
[17:31:28] ==================== xe_bo (2 subtests) ====================
[17:31:28] ================== xe_ccs_migrate_kunit  ===================
[17:31:28] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[17:31:28] ==================== xe_bo_evict_kunit  ====================
[17:31:28] =============== [SKIPPED] xe_bo_evict_kunit ================
[17:31:28] ===================== [SKIPPED] xe_bo ======================
[17:31:28] ==================== args (11 subtests) ====================
[17:31:28] [PASSED] count_args_test
[17:31:28] [PASSED] call_args_example
[17:31:28] [PASSED] call_args_test
[17:31:28] [PASSED] drop_first_arg_example
[17:31:28] [PASSED] drop_first_arg_test
[17:31:28] [PASSED] first_arg_example
[17:31:28] [PASSED] first_arg_test
[17:31:28] [PASSED] last_arg_example
[17:31:28] [PASSED] last_arg_test
[17:31:28] [PASSED] pick_arg_example
[17:31:28] [PASSED] sep_comma_example
[17:31:28] ====================== [PASSED] args =======================
[17:31:28] =================== xe_pci (3 subtests) ====================
[17:31:28] ==================== check_graphics_ip  ====================
[17:31:28] [PASSED] 12.00 Xe_LP
[17:31:28] [PASSED] 12.10 Xe_LP+
[17:31:28] [PASSED] 12.55 Xe_HPG
[17:31:28] [PASSED] 12.60 Xe_HPC
[17:31:28] [PASSED] 12.70 Xe_LPG
[17:31:28] [PASSED] 12.71 Xe_LPG
[17:31:28] [PASSED] 12.74 Xe_LPG+
[17:31:28] [PASSED] 20.01 Xe2_HPG
[17:31:28] [PASSED] 20.02 Xe2_HPG
[17:31:28] [PASSED] 20.04 Xe2_LPG
[17:31:28] [PASSED] 30.00 Xe3_LPG
[17:31:28] [PASSED] 30.01 Xe3_LPG
[17:31:28] [PASSED] 30.03 Xe3_LPG
[17:31:28] [PASSED] 30.04 Xe3_LPG
[17:31:28] [PASSED] 30.05 Xe3_LPG
[17:31:28] [PASSED] 35.11 Xe3p_XPC
[17:31:28] ================ [PASSED] check_graphics_ip ================
[17:31:28] ===================== check_media_ip  ======================
[17:31:28] [PASSED] 12.00 Xe_M
[17:31:28] [PASSED] 12.55 Xe_HPM
[17:31:28] [PASSED] 13.00 Xe_LPM+
[17:31:28] [PASSED] 13.01 Xe2_HPM
[17:31:28] [PASSED] 20.00 Xe2_LPM
[17:31:28] [PASSED] 30.00 Xe3_LPM
[17:31:28] [PASSED] 30.02 Xe3_LPM
[17:31:28] [PASSED] 35.00 Xe3p_LPM
[17:31:28] [PASSED] 35.03 Xe3p_HPM
[17:31:28] ================= [PASSED] check_media_ip ==================
[17:31:28] =================== check_platform_desc  ===================
[17:31:28] [PASSED] 0x9A60 (TIGERLAKE)
[17:31:28] [PASSED] 0x9A68 (TIGERLAKE)
[17:31:28] [PASSED] 0x9A70 (TIGERLAKE)
[17:31:28] [PASSED] 0x9A40 (TIGERLAKE)
[17:31:28] [PASSED] 0x9A49 (TIGERLAKE)
[17:31:28] [PASSED] 0x9A59 (TIGERLAKE)
[17:31:28] [PASSED] 0x9A78 (TIGERLAKE)
[17:31:28] [PASSED] 0x9AC0 (TIGERLAKE)
[17:31:28] [PASSED] 0x9AC9 (TIGERLAKE)
[17:31:28] [PASSED] 0x9AD9 (TIGERLAKE)
[17:31:28] [PASSED] 0x9AF8 (TIGERLAKE)
[17:31:28] [PASSED] 0x4C80 (ROCKETLAKE)
[17:31:28] [PASSED] 0x4C8A (ROCKETLAKE)
[17:31:28] [PASSED] 0x4C8B (ROCKETLAKE)
[17:31:28] [PASSED] 0x4C8C (ROCKETLAKE)
[17:31:28] [PASSED] 0x4C90 (ROCKETLAKE)
[17:31:28] [PASSED] 0x4C9A (ROCKETLAKE)
[17:31:28] [PASSED] 0x4680 (ALDERLAKE_S)
[17:31:28] [PASSED] 0x4682 (ALDERLAKE_S)
[17:31:28] [PASSED] 0x4688 (ALDERLAKE_S)
[17:31:28] [PASSED] 0x468A (ALDERLAKE_S)
[17:31:28] [PASSED] 0x468B (ALDERLAKE_S)
[17:31:28] [PASSED] 0x4690 (ALDERLAKE_S)
[17:31:28] [PASSED] 0x4692 (ALDERLAKE_S)
[17:31:28] [PASSED] 0x4693 (ALDERLAKE_S)
[17:31:28] [PASSED] 0x46A0 (ALDERLAKE_P)
[17:31:28] [PASSED] 0x46A1 (ALDERLAKE_P)
[17:31:28] [PASSED] 0x46A2 (ALDERLAKE_P)
[17:31:28] [PASSED] 0x46A3 (ALDERLAKE_P)
[17:31:28] [PASSED] 0x46A6 (ALDERLAKE_P)
[17:31:28] [PASSED] 0x46A8 (ALDERLAKE_P)
[17:31:28] [PASSED] 0x46AA (ALDERLAKE_P)
[17:31:28] [PASSED] 0x462A (ALDERLAKE_P)
[17:31:28] [PASSED] 0x4626 (ALDERLAKE_P)
[17:31:28] [PASSED] 0x4628 (ALDERLAKE_P)
[17:31:28] [PASSED] 0x46B0 (ALDERLAKE_P)
stty: 'standard input': Inappropriate ioctl for device
[17:31:28] [PASSED] 0x46B1 (ALDERLAKE_P)
[17:31:28] [PASSED] 0x46B2 (ALDERLAKE_P)
[17:31:28] [PASSED] 0x46B3 (ALDERLAKE_P)
[17:31:28] [PASSED] 0x46C0 (ALDERLAKE_P)
[17:31:28] [PASSED] 0x46C1 (ALDERLAKE_P)
[17:31:28] [PASSED] 0x46C2 (ALDERLAKE_P)
[17:31:28] [PASSED] 0x46C3 (ALDERLAKE_P)
[17:31:28] [PASSED] 0x46D0 (ALDERLAKE_N)
[17:31:28] [PASSED] 0x46D1 (ALDERLAKE_N)
[17:31:28] [PASSED] 0x46D2 (ALDERLAKE_N)
[17:31:28] [PASSED] 0x46D3 (ALDERLAKE_N)
[17:31:28] [PASSED] 0x46D4 (ALDERLAKE_N)
[17:31:28] [PASSED] 0xA721 (ALDERLAKE_P)
[17:31:28] [PASSED] 0xA7A1 (ALDERLAKE_P)
[17:31:28] [PASSED] 0xA7A9 (ALDERLAKE_P)
[17:31:28] [PASSED] 0xA7AC (ALDERLAKE_P)
[17:31:28] [PASSED] 0xA7AD (ALDERLAKE_P)
[17:31:28] [PASSED] 0xA720 (ALDERLAKE_P)
[17:31:28] [PASSED] 0xA7A0 (ALDERLAKE_P)
[17:31:28] [PASSED] 0xA7A8 (ALDERLAKE_P)
[17:31:28] [PASSED] 0xA7AA (ALDERLAKE_P)
[17:31:28] [PASSED] 0xA7AB (ALDERLAKE_P)
[17:31:28] [PASSED] 0xA780 (ALDERLAKE_S)
[17:31:28] [PASSED] 0xA781 (ALDERLAKE_S)
[17:31:28] [PASSED] 0xA782 (ALDERLAKE_S)
[17:31:28] [PASSED] 0xA783 (ALDERLAKE_S)
[17:31:28] [PASSED] 0xA788 (ALDERLAKE_S)
[17:31:28] [PASSED] 0xA789 (ALDERLAKE_S)
[17:31:28] [PASSED] 0xA78A (ALDERLAKE_S)
[17:31:28] [PASSED] 0xA78B (ALDERLAKE_S)
[17:31:28] [PASSED] 0x4905 (DG1)
[17:31:28] [PASSED] 0x4906 (DG1)
[17:31:28] [PASSED] 0x4907 (DG1)
[17:31:28] [PASSED] 0x4908 (DG1)
[17:31:28] [PASSED] 0x4909 (DG1)
[17:31:28] [PASSED] 0x56C0 (DG2)
[17:31:28] [PASSED] 0x56C2 (DG2)
[17:31:28] [PASSED] 0x56C1 (DG2)
[17:31:28] [PASSED] 0x7D51 (METEORLAKE)
[17:31:28] [PASSED] 0x7DD1 (METEORLAKE)
[17:31:28] [PASSED] 0x7D41 (METEORLAKE)
[17:31:28] [PASSED] 0x7D67 (METEORLAKE)
[17:31:28] [PASSED] 0xB640 (METEORLAKE)
[17:31:28] [PASSED] 0x56A0 (DG2)
[17:31:28] [PASSED] 0x56A1 (DG2)
[17:31:28] [PASSED] 0x56A2 (DG2)
[17:31:28] [PASSED] 0x56BE (DG2)
[17:31:28] [PASSED] 0x56BF (DG2)
[17:31:28] [PASSED] 0x5690 (DG2)
[17:31:28] [PASSED] 0x5691 (DG2)
[17:31:28] [PASSED] 0x5692 (DG2)
[17:31:28] [PASSED] 0x56A5 (DG2)
[17:31:28] [PASSED] 0x56A6 (DG2)
[17:31:28] [PASSED] 0x56B0 (DG2)
[17:31:28] [PASSED] 0x56B1 (DG2)
[17:31:28] [PASSED] 0x56BA (DG2)
[17:31:28] [PASSED] 0x56BB (DG2)
[17:31:28] [PASSED] 0x56BC (DG2)
[17:31:28] [PASSED] 0x56BD (DG2)
[17:31:28] [PASSED] 0x5693 (DG2)
[17:31:28] [PASSED] 0x5694 (DG2)
[17:31:28] [PASSED] 0x5695 (DG2)
[17:31:28] [PASSED] 0x56A3 (DG2)
[17:31:28] [PASSED] 0x56A4 (DG2)
[17:31:28] [PASSED] 0x56B2 (DG2)
[17:31:28] [PASSED] 0x56B3 (DG2)
[17:31:28] [PASSED] 0x5696 (DG2)
[17:31:28] [PASSED] 0x5697 (DG2)
[17:31:28] [PASSED] 0xB69 (PVC)
[17:31:28] [PASSED] 0xB6E (PVC)
[17:31:28] [PASSED] 0xBD4 (PVC)
[17:31:28] [PASSED] 0xBD5 (PVC)
[17:31:28] [PASSED] 0xBD6 (PVC)
[17:31:28] [PASSED] 0xBD7 (PVC)
[17:31:28] [PASSED] 0xBD8 (PVC)
[17:31:28] [PASSED] 0xBD9 (PVC)
[17:31:28] [PASSED] 0xBDA (PVC)
[17:31:28] [PASSED] 0xBDB (PVC)
[17:31:28] [PASSED] 0xBE0 (PVC)
[17:31:28] [PASSED] 0xBE1 (PVC)
[17:31:28] [PASSED] 0xBE5 (PVC)
[17:31:28] [PASSED] 0x7D40 (METEORLAKE)
[17:31:28] [PASSED] 0x7D45 (METEORLAKE)
[17:31:28] [PASSED] 0x7D55 (METEORLAKE)
[17:31:28] [PASSED] 0x7D60 (METEORLAKE)
[17:31:28] [PASSED] 0x7DD5 (METEORLAKE)
[17:31:28] [PASSED] 0x6420 (LUNARLAKE)
[17:31:28] [PASSED] 0x64A0 (LUNARLAKE)
[17:31:28] [PASSED] 0x64B0 (LUNARLAKE)
[17:31:28] [PASSED] 0xE202 (BATTLEMAGE)
[17:31:28] [PASSED] 0xE209 (BATTLEMAGE)
[17:31:28] [PASSED] 0xE20B (BATTLEMAGE)
[17:31:28] [PASSED] 0xE20C (BATTLEMAGE)
[17:31:28] [PASSED] 0xE20D (BATTLEMAGE)
[17:31:28] [PASSED] 0xE210 (BATTLEMAGE)
[17:31:28] [PASSED] 0xE211 (BATTLEMAGE)
[17:31:28] [PASSED] 0xE212 (BATTLEMAGE)
[17:31:28] [PASSED] 0xE216 (BATTLEMAGE)
[17:31:28] [PASSED] 0xE220 (BATTLEMAGE)
[17:31:28] [PASSED] 0xE221 (BATTLEMAGE)
[17:31:28] [PASSED] 0xE222 (BATTLEMAGE)
[17:31:28] [PASSED] 0xE223 (BATTLEMAGE)
[17:31:28] [PASSED] 0xB080 (PANTHERLAKE)
[17:31:28] [PASSED] 0xB081 (PANTHERLAKE)
[17:31:28] [PASSED] 0xB082 (PANTHERLAKE)
[17:31:28] [PASSED] 0xB083 (PANTHERLAKE)
[17:31:28] [PASSED] 0xB084 (PANTHERLAKE)
[17:31:28] [PASSED] 0xB085 (PANTHERLAKE)
[17:31:28] [PASSED] 0xB086 (PANTHERLAKE)
[17:31:28] [PASSED] 0xB087 (PANTHERLAKE)
[17:31:28] [PASSED] 0xB08F (PANTHERLAKE)
[17:31:28] [PASSED] 0xB090 (PANTHERLAKE)
[17:31:28] [PASSED] 0xB0A0 (PANTHERLAKE)
[17:31:28] [PASSED] 0xB0B0 (PANTHERLAKE)
[17:31:28] [PASSED] 0xD740 (NOVALAKE_S)
[17:31:28] [PASSED] 0xD741 (NOVALAKE_S)
[17:31:28] [PASSED] 0xD742 (NOVALAKE_S)
[17:31:28] [PASSED] 0xD743 (NOVALAKE_S)
[17:31:28] [PASSED] 0xD744 (NOVALAKE_S)
[17:31:28] [PASSED] 0xD745 (NOVALAKE_S)
[17:31:28] [PASSED] 0x674C (CRESCENTISLAND)
[17:31:28] [PASSED] 0xFD80 (PANTHERLAKE)
[17:31:28] [PASSED] 0xFD81 (PANTHERLAKE)
[17:31:28] =============== [PASSED] check_platform_desc ===============
[17:31:28] ===================== [PASSED] xe_pci ======================
[17:31:28] =================== xe_rtp (2 subtests) ====================
[17:31:28] =============== xe_rtp_process_to_sr_tests  ================
[17:31:28] [PASSED] coalesce-same-reg
[17:31:28] [PASSED] no-match-no-add
[17:31:28] [PASSED] match-or
[17:31:28] [PASSED] match-or-xfail
[17:31:28] [PASSED] no-match-no-add-multiple-rules
[17:31:28] [PASSED] two-regs-two-entries
[17:31:28] [PASSED] clr-one-set-other
[17:31:28] [PASSED] set-field
[17:31:28] [PASSED] conflict-duplicate
[17:31:28] [PASSED] conflict-not-disjoint
[17:31:28] [PASSED] conflict-reg-type
[17:31:28] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[17:31:28] ================== xe_rtp_process_tests  ===================
[17:31:28] [PASSED] active1
[17:31:28] [PASSED] active2
[17:31:28] [PASSED] active-inactive
[17:31:28] [PASSED] inactive-active
[17:31:28] [PASSED] inactive-1st_or_active-inactive
[17:31:28] [PASSED] inactive-2nd_or_active-inactive
[17:31:28] [PASSED] inactive-last_or_active-inactive
[17:31:28] [PASSED] inactive-no_or_active-inactive
[17:31:28] ============== [PASSED] xe_rtp_process_tests ===============
[17:31:28] ===================== [PASSED] xe_rtp ======================
[17:31:28] ==================== xe_wa (1 subtest) =====================
[17:31:28] ======================== xe_wa_gt  =========================
[17:31:28] [PASSED] TIGERLAKE B0
[17:31:28] [PASSED] DG1 A0
[17:31:28] [PASSED] DG1 B0
[17:31:28] [PASSED] ALDERLAKE_S A0
[17:31:28] [PASSED] ALDERLAKE_S B0
[17:31:28] [PASSED] ALDERLAKE_S C0
[17:31:28] [PASSED] ALDERLAKE_S D0
[17:31:28] [PASSED] ALDERLAKE_P A0
[17:31:28] [PASSED] ALDERLAKE_P B0
[17:31:28] [PASSED] ALDERLAKE_P C0
[17:31:28] [PASSED] ALDERLAKE_S RPLS D0
[17:31:28] [PASSED] ALDERLAKE_P RPLU E0
[17:31:28] [PASSED] DG2 G10 C0
[17:31:28] [PASSED] DG2 G11 B1
[17:31:28] [PASSED] DG2 G12 A1
[17:31:28] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0
[17:31:28] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0
[17:31:28] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0
[17:31:28] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0
[17:31:28] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0
[17:31:28] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1
[17:31:28] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0
[17:31:28] ==================== [PASSED] xe_wa_gt =====================
[17:31:28] ====================== [PASSED] xe_wa ======================
[17:31:28] ============================================================
[17:31:28] Testing complete. Ran 510 tests: passed: 492, skipped: 18
[17:31:28] Elapsed time: 35.231s total, 4.213s configuring, 30.546s building, 0.458s running

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

+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig
[17:31:55] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[17:31:56] 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
[17:32:06] Starting KUnit Kernel (1/1)...
[17:32:06] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[17:32:06] ================= ttm_device (5 subtests) ==================
[17:32:06] [PASSED] ttm_device_init_basic
[17:32:06] [PASSED] ttm_device_init_multiple
[17:32:06] [PASSED] ttm_device_fini_basic
[17:32:06] [PASSED] ttm_device_init_no_vma_man
[17:32:06] ================== ttm_device_init_pools  ==================
[17:32:06] [PASSED] No DMA allocations, no DMA32 required
[17:32:06] [PASSED] DMA allocations, DMA32 required
[17:32:06] [PASSED] No DMA allocations, DMA32 required
[17:32:06] [PASSED] DMA allocations, no DMA32 required
[17:32:06] ============== [PASSED] ttm_device_init_pools ==============
[17:32:06] =================== [PASSED] ttm_device ====================
[17:32:06] ================== ttm_pool (8 subtests) ===================
[17:32:06] ================== ttm_pool_alloc_basic  ===================
[17:32:06] [PASSED] One page
[17:32:06] [PASSED] More than one page
[17:32:06] [PASSED] Above the allocation limit
[17:32:06] [PASSED] One page, with coherent DMA mappings enabled
[17:32:06] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[17:32:06] ============== [PASSED] ttm_pool_alloc_basic ===============
[17:32:06] ============== ttm_pool_alloc_basic_dma_addr  ==============
[17:32:06] [PASSED] One page
[17:32:06] [PASSED] More than one page
[17:32:06] [PASSED] Above the allocation limit
[17:32:06] [PASSED] One page, with coherent DMA mappings enabled
[17:32:06] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[17:32:06] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ==========
[17:32:06] [PASSED] ttm_pool_alloc_order_caching_match
[17:32:06] [PASSED] ttm_pool_alloc_caching_mismatch
[17:32:06] [PASSED] ttm_pool_alloc_order_mismatch
[17:32:06] [PASSED] ttm_pool_free_dma_alloc
[17:32:06] [PASSED] ttm_pool_free_no_dma_alloc
[17:32:06] [PASSED] ttm_pool_fini_basic
[17:32:06] ==================== [PASSED] ttm_pool =====================
[17:32:06] ================ ttm_resource (8 subtests) =================
[17:32:06] ================= ttm_resource_init_basic  =================
[17:32:06] [PASSED] Init resource in TTM_PL_SYSTEM
[17:32:06] [PASSED] Init resource in TTM_PL_VRAM
[17:32:06] [PASSED] Init resource in a private placement
[17:32:06] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags
[17:32:06] ============= [PASSED] ttm_resource_init_basic =============
[17:32:06] [PASSED] ttm_resource_init_pinned
[17:32:06] [PASSED] ttm_resource_fini_basic
[17:32:06] [PASSED] ttm_resource_manager_init_basic
[17:32:06] [PASSED] ttm_resource_manager_usage_basic
[17:32:06] [PASSED] ttm_resource_manager_set_used_basic
[17:32:06] [PASSED] ttm_sys_man_alloc_basic
[17:32:06] [PASSED] ttm_sys_man_free_basic
[17:32:06] ================== [PASSED] ttm_resource ===================
[17:32:06] =================== ttm_tt (15 subtests) ===================
[17:32:06] ==================== ttm_tt_init_basic  ====================
[17:32:06] [PASSED] Page-aligned size
[17:32:06] [PASSED] Extra pages requested
[17:32:06] ================ [PASSED] ttm_tt_init_basic ================
[17:32:06] [PASSED] ttm_tt_init_misaligned
[17:32:06] [PASSED] ttm_tt_fini_basic
[17:32:06] [PASSED] ttm_tt_fini_sg
[17:32:06] [PASSED] ttm_tt_fini_shmem
[17:32:06] [PASSED] ttm_tt_create_basic
[17:32:06] [PASSED] ttm_tt_create_invalid_bo_type
[17:32:06] [PASSED] ttm_tt_create_ttm_exists
[17:32:06] [PASSED] ttm_tt_create_failed
[17:32:06] [PASSED] ttm_tt_destroy_basic
[17:32:06] [PASSED] ttm_tt_populate_null_ttm
[17:32:06] [PASSED] ttm_tt_populate_populated_ttm
[17:32:06] [PASSED] ttm_tt_unpopulate_basic
[17:32:06] [PASSED] ttm_tt_unpopulate_empty_ttm
[17:32:06] [PASSED] ttm_tt_swapin_basic
[17:32:06] ===================== [PASSED] ttm_tt ======================
[17:32:06] =================== ttm_bo (14 subtests) ===================
[17:32:06] =========== ttm_bo_reserve_optimistic_no_ticket  ===========
[17:32:06] [PASSED] Cannot be interrupted and sleeps
[17:32:06] [PASSED] Cannot be interrupted, locks straight away
[17:32:06] [PASSED] Can be interrupted, sleeps
[17:32:06] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket =======
[17:32:06] [PASSED] ttm_bo_reserve_locked_no_sleep
[17:32:06] [PASSED] ttm_bo_reserve_no_wait_ticket
[17:32:06] [PASSED] ttm_bo_reserve_double_resv
[17:32:06] [PASSED] ttm_bo_reserve_interrupted
[17:32:06] [PASSED] ttm_bo_reserve_deadlock
[17:32:06] [PASSED] ttm_bo_unreserve_basic
[17:32:06] [PASSED] ttm_bo_unreserve_pinned
[17:32:06] [PASSED] ttm_bo_unreserve_bulk
[17:32:06] [PASSED] ttm_bo_fini_basic
[17:32:06] [PASSED] ttm_bo_fini_shared_resv
[17:32:06] [PASSED] ttm_bo_pin_basic
[17:32:06] [PASSED] ttm_bo_pin_unpin_resource
[17:32:06] [PASSED] ttm_bo_multiple_pin_one_unpin
[17:32:06] ===================== [PASSED] ttm_bo ======================
[17:32:06] ============== ttm_bo_validate (21 subtests) ===============
[17:32:06] ============== ttm_bo_init_reserved_sys_man  ===============
[17:32:06] [PASSED] Buffer object for userspace
[17:32:06] [PASSED] Kernel buffer object
[17:32:06] [PASSED] Shared buffer object
[17:32:06] ========== [PASSED] ttm_bo_init_reserved_sys_man ===========
[17:32:06] ============== ttm_bo_init_reserved_mock_man  ==============
[17:32:06] [PASSED] Buffer object for userspace
[17:32:06] [PASSED] Kernel buffer object
[17:32:06] [PASSED] Shared buffer object
[17:32:06] ========== [PASSED] ttm_bo_init_reserved_mock_man ==========
[17:32:06] [PASSED] ttm_bo_init_reserved_resv
[17:32:06] ================== ttm_bo_validate_basic  ==================
[17:32:06] [PASSED] Buffer object for userspace
[17:32:06] [PASSED] Kernel buffer object
[17:32:06] [PASSED] Shared buffer object
[17:32:06] ============== [PASSED] ttm_bo_validate_basic ==============
[17:32:06] [PASSED] ttm_bo_validate_invalid_placement
[17:32:06] ============= ttm_bo_validate_same_placement  ==============
[17:32:06] [PASSED] System manager
[17:32:06] [PASSED] VRAM manager
[17:32:06] ========= [PASSED] ttm_bo_validate_same_placement ==========
[17:32:06] [PASSED] ttm_bo_validate_failed_alloc
[17:32:06] [PASSED] ttm_bo_validate_pinned
[17:32:06] [PASSED] ttm_bo_validate_busy_placement
[17:32:06] ================ ttm_bo_validate_multihop  =================
[17:32:06] [PASSED] Buffer object for userspace
[17:32:06] [PASSED] Kernel buffer object
[17:32:06] [PASSED] Shared buffer object
[17:32:06] ============ [PASSED] ttm_bo_validate_multihop =============
[17:32:06] ========== ttm_bo_validate_no_placement_signaled  ==========
[17:32:06] [PASSED] Buffer object in system domain, no page vector
[17:32:06] [PASSED] Buffer object in system domain with an existing page vector
[17:32:06] ====== [PASSED] ttm_bo_validate_no_placement_signaled ======
[17:32:06] ======== ttm_bo_validate_no_placement_not_signaled  ========
[17:32:06] [PASSED] Buffer object for userspace
[17:32:06] [PASSED] Kernel buffer object
[17:32:06] [PASSED] Shared buffer object
[17:32:06] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ====
[17:32:06] [PASSED] ttm_bo_validate_move_fence_signaled
[17:32:06] ========= ttm_bo_validate_move_fence_not_signaled  =========
[17:32:06] [PASSED] Waits for GPU
[17:32:06] [PASSED] Tries to lock straight away
[17:32:06] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled =====
[17:32:06] [PASSED] ttm_bo_validate_happy_evict
[17:32:06] [PASSED] ttm_bo_validate_all_pinned_evict
[17:32:06] [PASSED] ttm_bo_validate_allowed_only_evict
[17:32:06] [PASSED] ttm_bo_validate_deleted_evict
[17:32:06] [PASSED] ttm_bo_validate_busy_domain_evict
[17:32:06] [PASSED] ttm_bo_validate_evict_gutting
[17:32:06] [PASSED] ttm_bo_validate_recrusive_evict
stty: 'standard input': Inappropriate ioctl for device
[17:32:06] ================= [PASSED] ttm_bo_validate =================
[17:32:06] ============================================================
[17:32:06] Testing complete. Ran 101 tests: passed: 101
[17:32:06] Elapsed time: 11.131s total, 1.689s configuring, 9.226s building, 0.184s running

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



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

* Re: [PATCH 3/4] drm/{i915, xe}/stolen: move stolen memory handling to display parent interface
  2025-12-04 17:24 ` [PATCH 3/4] drm/{i915, xe}/stolen: move stolen memory handling to display parent interface Jani Nikula
@ 2025-12-05  4:44   ` kernel test robot
  2025-12-05  5:28   ` kernel test robot
  1 sibling, 0 replies; 9+ messages in thread
From: kernel test robot @ 2025-12-05  4:44 UTC (permalink / raw)
  To: Jani Nikula, intel-xe, intel-gfx; +Cc: llvm, oe-kbuild-all, jani.nikula

Hi Jani,

kernel test robot noticed the following build errors:

[auto build test ERROR on drm-tip/drm-tip]
[cannot apply to drm-i915/for-linux-next drm-i915/for-linux-next-fixes drm-xe/drm-xe-next linus/master v6.18 next-20251204]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Jani-Nikula/drm-i915-fbc-let-to_intel_display-do-its-generic-magic/20251205-012659
base:   https://gitlab.freedesktop.org/drm/tip.git drm-tip
patch link:    https://lore.kernel.org/r/cc2125f57b98401ea47746ad4784bb4bc6b198c2.1764868989.git.jani.nikula%40intel.com
patch subject: [PATCH 3/4] drm/{i915, xe}/stolen: move stolen memory handling to display parent interface
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20251205/202512051220.m3NhvHcT-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
rustc: rustc 1.88.0 (6b00bc388 2025-06-23)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251205/202512051220.m3NhvHcT-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202512051220.m3NhvHcT-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/i915/display/intel_fbc.c:1011:11: error: call to undeclared function 'i915_gem_stolen_node_offset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1011 |         offset = i915_gem_stolen_node_offset(fbc->compressed_fb) / (4 * 1024);
         |                  ^
   drivers/gpu/drm/i915/display/intel_fbc.c:1011:11: note: did you mean 'intel_parent_stolen_node_offset'?
   drivers/gpu/drm/i915/display/intel_parent.h:41:5: note: 'intel_parent_stolen_node_offset' declared here
      41 | u32 intel_parent_stolen_node_offset(struct intel_display *display, struct intel_stolen_node *node);
         |     ^
   1 error generated.


vim +/i915_gem_stolen_node_offset +1011 drivers/gpu/drm/i915/display/intel_fbc.c

0b806d62fd5f59 Vinod Govindapillai 2025-11-28   998  
0b806d62fd5f59 Vinod Govindapillai 2025-11-28   999  static void fbc_sys_cache_enable(const struct intel_fbc *fbc)
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1000  {
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1001  	struct intel_display *display = fbc->display;
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1002  	struct sys_cache_cfg *sys_cache = &display->fbc.sys_cache;
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1003  	int range, offset;
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1004  	u32 cfg;
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1005  
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1006  	if (!HAS_FBC_SYS_CACHE(display))
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1007  		return;
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1008  
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1009  	range = fbc_sys_cache_limit(display) / (64 * 1024);
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1010  
0b806d62fd5f59 Vinod Govindapillai 2025-11-28 @1011  	offset = i915_gem_stolen_node_offset(fbc->compressed_fb) / (4 * 1024);
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1012  
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1013  	cfg = FBC_SYS_CACHE_TAG_USE_RES_SPACE | FBC_SYS_CACHEABLE_RANGE(range) |
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1014  	      FBC_SYS_CACHE_START_BASE(offset);
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1015  
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1016  	mutex_lock(&sys_cache->lock);
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1017  	/* update sys cache config only if sys cache is unassigned */
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1018  	if (sys_cache->id == FBC_SYS_CACHE_ID_NONE)
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1019  		fbc_sys_cache_update_config(display, cfg, fbc->id);
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1020  	mutex_unlock(&sys_cache->lock);
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1021  }
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1022  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

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

* Re: [PATCH 3/4] drm/{i915, xe}/stolen: move stolen memory handling to display parent interface
  2025-12-04 17:24 ` [PATCH 3/4] drm/{i915, xe}/stolen: move stolen memory handling to display parent interface Jani Nikula
  2025-12-05  4:44   ` kernel test robot
@ 2025-12-05  5:28   ` kernel test robot
  1 sibling, 0 replies; 9+ messages in thread
From: kernel test robot @ 2025-12-05  5:28 UTC (permalink / raw)
  To: Jani Nikula, intel-xe, intel-gfx; +Cc: oe-kbuild-all, jani.nikula

Hi Jani,

kernel test robot noticed the following build errors:

[auto build test ERROR on drm-tip/drm-tip]
[cannot apply to drm-i915/for-linux-next drm-i915/for-linux-next-fixes drm-xe/drm-xe-next linus/master v6.18 next-20251204]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Jani-Nikula/drm-i915-fbc-let-to_intel_display-do-its-generic-magic/20251205-012659
base:   https://gitlab.freedesktop.org/drm/tip.git drm-tip
patch link:    https://lore.kernel.org/r/cc2125f57b98401ea47746ad4784bb4bc6b198c2.1764868989.git.jani.nikula%40intel.com
patch subject: [PATCH 3/4] drm/{i915, xe}/stolen: move stolen memory handling to display parent interface
config: i386-buildonly-randconfig-005-20251205 (https://download.01.org/0day-ci/archive/20251205/202512051314.oZYc0VKc-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251205/202512051314.oZYc0VKc-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202512051314.oZYc0VKc-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/gpu/drm/i915/display/intel_fbc.c: In function 'fbc_sys_cache_enable':
>> drivers/gpu/drm/i915/display/intel_fbc.c:1011:18: error: implicit declaration of function 'i915_gem_stolen_node_offset'; did you mean 'intel_parent_stolen_node_offset'? [-Wimplicit-function-declaration]
    1011 |         offset = i915_gem_stolen_node_offset(fbc->compressed_fb) / (4 * 1024);
         |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
         |                  intel_parent_stolen_node_offset


vim +1011 drivers/gpu/drm/i915/display/intel_fbc.c

0b806d62fd5f59 Vinod Govindapillai 2025-11-28   998  
0b806d62fd5f59 Vinod Govindapillai 2025-11-28   999  static void fbc_sys_cache_enable(const struct intel_fbc *fbc)
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1000  {
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1001  	struct intel_display *display = fbc->display;
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1002  	struct sys_cache_cfg *sys_cache = &display->fbc.sys_cache;
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1003  	int range, offset;
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1004  	u32 cfg;
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1005  
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1006  	if (!HAS_FBC_SYS_CACHE(display))
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1007  		return;
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1008  
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1009  	range = fbc_sys_cache_limit(display) / (64 * 1024);
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1010  
0b806d62fd5f59 Vinod Govindapillai 2025-11-28 @1011  	offset = i915_gem_stolen_node_offset(fbc->compressed_fb) / (4 * 1024);
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1012  
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1013  	cfg = FBC_SYS_CACHE_TAG_USE_RES_SPACE | FBC_SYS_CACHEABLE_RANGE(range) |
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1014  	      FBC_SYS_CACHE_START_BASE(offset);
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1015  
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1016  	mutex_lock(&sys_cache->lock);
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1017  	/* update sys cache config only if sys cache is unassigned */
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1018  	if (sys_cache->id == FBC_SYS_CACHE_ID_NONE)
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1019  		fbc_sys_cache_update_config(display, cfg, fbc->id);
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1020  	mutex_unlock(&sys_cache->lock);
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1021  }
0b806d62fd5f59 Vinod Govindapillai 2025-11-28  1022  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

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

end of thread, other threads:[~2025-12-05  5:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-04 17:24 [PATCH 0/4] drm/{i915, xe}: migrate stolen interface to parent interface, cleanups Jani Nikula
2025-12-04 17:24 ` [PATCH 1/4] drm/i915/fbc: let to_intel_display() do its generic magic Jani Nikula
2025-12-04 17:24 ` [PATCH 2/4] drm/xe/stolen: unify interface with i915 Jani Nikula
2025-12-04 17:24 ` [PATCH 3/4] drm/{i915, xe}/stolen: move stolen memory handling to display parent interface Jani Nikula
2025-12-05  4:44   ` kernel test robot
2025-12-05  5:28   ` kernel test robot
2025-12-04 17:24 ` [PATCH 4/4] drm/{i915, xe}/stolen: make insert_node, area_address, area_size optional Jani Nikula
2025-12-04 17:30 ` ✗ CI.checkpatch: warning for drm/{i915, xe}: migrate stolen interface to parent interface, cleanups Patchwork
2025-12-04 17:32 ` ✓ CI.KUnit: success " Patchwork

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