Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] drm/xe/tests: Fix g2g_test_array indexing
@ 2026-01-16  0:25 Pallavi Mishra
  2026-01-16  0:32 ` ✓ CI.KUnit: success for drm/xe/tests: Fix g2g_test_array indexing (rev2) Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Pallavi Mishra @ 2026-01-16  0:25 UTC (permalink / raw)
  To: intel-xe
  Cc: daniele.ceraolospurio, niranjana.vishwanathapura, stuart.summers,
	Pallavi Mishra

The G2G KUnit test allocates a compact N×N
matrix sized by gt_count and verifies entries
using dense indices: idx = (j * gt_count) + i

The producer path currently computes idx using
gt->info.id. However, gt->info.id values
are not guaranteed to be contiguous.
For example, with gt_count=2 and IDs {0,3},
this formula produces indices beyond the
allocated range, causing mismatches and
potential out-of-bounds access.

Update the producer to map each GT to a dense
index in [0..gt_count-1] and compute:
    idx = (tx_dense * gt_count) + rx_dense

Additionally, introduce an event-based delay
in g2g_test_in_order() to ensure ordering
between sends.

v2: Add single helper function (Daniele)

Signed-off-by: Pallavi Mishra <pallavi.mishra@intel.com>
---
 drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c | 56 +++++++++++++++++++++-
 1 file changed, 54 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c b/drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c
index 3b213fcae916..ec18086b98d8 100644
--- a/drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c
+++ b/drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c
@@ -48,6 +48,38 @@ struct g2g_test_payload  {
 	u32 seqno;
 };
 
+static int slot_index_from_gts(struct xe_gt *tx_gt, struct xe_gt *rx_gt)
+{
+	struct xe_device *xe = gt_to_xe(tx_gt);
+	int idx = 0, found = 0, id, tx_idx, rx_idx;
+	struct xe_gt *gt;
+	struct kunit *test = kunit_get_current_test();
+
+	for (id = 0; id < xe->info.tile_count * xe->info.max_gt_per_tile; id++) {
+		gt = xe_device_get_gt(xe, id);
+		if (!gt)
+			continue;
+		if (gt == tx_gt) {
+			tx_idx = idx;
+			found++;
+		}
+		if (gt == rx_gt) {
+			rx_idx = idx;
+			found++;
+		}
+
+		if (found == 2)
+			break;
+
+		idx++;
+	}
+
+	if (found != 2)
+		KUNIT_FAIL(test, "GT index not found");
+
+	return (tx_idx * xe->info.gt_count) + rx_idx;
+}
+
 static void g2g_test_send(struct kunit *test, struct xe_guc *guc,
 			  u32 far_tile, u32 far_dev,
 			  struct g2g_test_payload *payload)
@@ -163,7 +195,7 @@ int xe_guc_g2g_test_notification(struct xe_guc *guc, u32 *msg, u32 len)
 		goto done;
 	}
 
-	idx = (tx_gt->info.id * xe->info.gt_count) + rx_gt->info.id;
+	idx = slot_index_from_gts(tx_gt, rx_gt);
 
 	if (xe->g2g_test_array[idx] != payload->seqno - 1) {
 		xe_gt_err(rx_gt, "G2G: Seqno mismatch %d vs %d for %d:%d -> %d:%d!\n",
@@ -180,13 +212,17 @@ int xe_guc_g2g_test_notification(struct xe_guc *guc, u32 *msg, u32 len)
 	return ret;
 }
 
+#define G2G_WAIT_TIMEOUT_MS 100
+#define G2G_WAIT_POLL_MS 1
+
 /*
  * Send the given seqno from all GuCs to all other GuCs in tile/GT order
  */
 static void g2g_test_in_order(struct kunit *test, struct xe_device *xe, u32 seqno)
 {
 	struct xe_gt *near_gt, *far_gt;
-	int i, j;
+	int i, j, waited;
+	u32 idx;
 
 	for_each_gt(near_gt, xe, i) {
 		u32 near_tile = gt_to_tile(near_gt)->id;
@@ -205,6 +241,22 @@ static void g2g_test_in_order(struct kunit *test, struct xe_device *xe, u32 seqn
 			payload.rx_dev = far_dev;
 			payload.rx_tile = far_tile;
 			payload.seqno = seqno;
+
+			/* Calculate idx for event-based wait */
+			idx = slot_index_from_gts(near_gt, far_gt);
+			waited = 0;
+
+			/* Wait for previous seqno to be acknowledged before sending */
+			while (xe->g2g_test_array[idx] != (seqno - 1)) {
+				msleep(G2G_WAIT_POLL_MS);
+				waited += G2G_WAIT_POLL_MS;
+				if (waited >= G2G_WAIT_TIMEOUT_MS) {
+					kunit_info(test, "Timeout waiting! tx gt: %d, rx gt: %d\n",
+						   near_gt->info.id, far_gt->info.id);
+					break;
+				}
+			}
+
 			g2g_test_send(test, &near_gt->uc.guc, far_tile, far_dev, &payload);
 		}
 	}
-- 
2.34.1


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

* ✓ CI.KUnit: success for drm/xe/tests: Fix g2g_test_array indexing (rev2)
  2026-01-16  0:25 [PATCH v2] drm/xe/tests: Fix g2g_test_array indexing Pallavi Mishra
@ 2026-01-16  0:32 ` Patchwork
  2026-01-16  1:13 ` ✓ Xe.CI.BAT: " Patchwork
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 10+ messages in thread
From: Patchwork @ 2026-01-16  0:32 UTC (permalink / raw)
  To: Pallavi Mishra; +Cc: intel-xe

== Series Details ==

Series: drm/xe/tests: Fix g2g_test_array indexing (rev2)
URL   : https://patchwork.freedesktop.org/series/159577/
State : success

== Summary ==

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

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

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

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



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

* ✓ Xe.CI.BAT: success for drm/xe/tests: Fix g2g_test_array indexing (rev2)
  2026-01-16  0:25 [PATCH v2] drm/xe/tests: Fix g2g_test_array indexing Pallavi Mishra
  2026-01-16  0:32 ` ✓ CI.KUnit: success for drm/xe/tests: Fix g2g_test_array indexing (rev2) Patchwork
@ 2026-01-16  1:13 ` Patchwork
  2026-01-16  5:39 ` ✗ Xe.CI.Full: failure " Patchwork
  2026-01-22  0:20 ` [PATCH v2] drm/xe/tests: Fix g2g_test_array indexing Daniele Ceraolo Spurio
  3 siblings, 0 replies; 10+ messages in thread
From: Patchwork @ 2026-01-16  1:13 UTC (permalink / raw)
  To: Pallavi Mishra; +Cc: intel-xe

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

== Series Details ==

Series: drm/xe/tests: Fix g2g_test_array indexing (rev2)
URL   : https://patchwork.freedesktop.org/series/159577/
State : success

== Summary ==

CI Bug Log - changes from xe-4388-7488f4d19288e0919c24ffc8b2c375e8b7c8a823_BAT -> xe-pw-159577v2_BAT
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

  

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

  No changes in participating hosts


Changes
-------

  No changes found


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

  * Linux: xe-4388-7488f4d19288e0919c24ffc8b2c375e8b7c8a823 -> xe-pw-159577v2

  IGT_8704: 8704
  xe-4388-7488f4d19288e0919c24ffc8b2c375e8b7c8a823: 7488f4d19288e0919c24ffc8b2c375e8b7c8a823
  xe-pw-159577v2: 159577v2

== Logs ==

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

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

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

* ✗ Xe.CI.Full: failure for drm/xe/tests: Fix g2g_test_array indexing (rev2)
  2026-01-16  0:25 [PATCH v2] drm/xe/tests: Fix g2g_test_array indexing Pallavi Mishra
  2026-01-16  0:32 ` ✓ CI.KUnit: success for drm/xe/tests: Fix g2g_test_array indexing (rev2) Patchwork
  2026-01-16  1:13 ` ✓ Xe.CI.BAT: " Patchwork
@ 2026-01-16  5:39 ` Patchwork
  2026-01-22  0:20 ` [PATCH v2] drm/xe/tests: Fix g2g_test_array indexing Daniele Ceraolo Spurio
  3 siblings, 0 replies; 10+ messages in thread
From: Patchwork @ 2026-01-16  5:39 UTC (permalink / raw)
  To: Pallavi Mishra; +Cc: intel-xe

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

== Series Details ==

Series: drm/xe/tests: Fix g2g_test_array indexing (rev2)
URL   : https://patchwork.freedesktop.org/series/159577/
State : failure

== Summary ==

CI Bug Log - changes from xe-4388-7488f4d19288e0919c24ffc8b2c375e8b7c8a823_FULL -> xe-pw-159577v2_FULL
====================================================

Summary
-------

  **FAILURE**

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

  

Participating hosts (2 -> 2)
------------------------------

  No changes in participating hosts

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

  Here are the unknown changes that may have been introduced in xe-pw-159577v2_FULL:

### IGT changes ###

#### Possible regressions ####

  * igt@kms_atomic_transition@plane-all-transition-nonblocking-fencing@pipe-b-dp-2:
    - shard-bmg:          [PASS][1] -> [INCOMPLETE][2]
   [1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4388-7488f4d19288e0919c24ffc8b2c375e8b7c8a823/shard-bmg-9/igt@kms_atomic_transition@plane-all-transition-nonblocking-fencing@pipe-b-dp-2.html
   [2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-3/igt@kms_atomic_transition@plane-all-transition-nonblocking-fencing@pipe-b-dp-2.html

  * igt@kms_ccs@crc-sprite-planes-basic-4-tiled-bmg-ccs@pipe-a-dp-2:
    - shard-bmg:          [PASS][3] -> [FAIL][4] +4 other tests fail
   [3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4388-7488f4d19288e0919c24ffc8b2c375e8b7c8a823/shard-bmg-3/igt@kms_ccs@crc-sprite-planes-basic-4-tiled-bmg-ccs@pipe-a-dp-2.html
   [4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-2/igt@kms_ccs@crc-sprite-planes-basic-4-tiled-bmg-ccs@pipe-a-dp-2.html

  
#### Suppressed ####

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

  * {igt@xe_exec_basic@no-exec-bindexecqueue-userptr-invalidate@ccs0}:
    - shard-lnl:          [PASS][5] -> [DMESG-WARN][6]
   [5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4388-7488f4d19288e0919c24ffc8b2c375e8b7c8a823/shard-lnl-5/igt@xe_exec_basic@no-exec-bindexecqueue-userptr-invalidate@ccs0.html
   [6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-lnl-4/igt@xe_exec_basic@no-exec-bindexecqueue-userptr-invalidate@ccs0.html

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

  Here are the changes found in xe-pw-159577v2_FULL that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@kms_atomic_transition@plane-all-transition-nonblocking-fencing:
    - shard-bmg:          [PASS][7] -> [INCOMPLETE][8] ([Intel XE#6904])
   [7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4388-7488f4d19288e0919c24ffc8b2c375e8b7c8a823/shard-bmg-9/igt@kms_atomic_transition@plane-all-transition-nonblocking-fencing.html
   [8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-3/igt@kms_atomic_transition@plane-all-transition-nonblocking-fencing.html

  * igt@kms_big_fb@linear-32bpp-rotate-90:
    - shard-bmg:          NOTRUN -> [SKIP][9] ([Intel XE#2327])
   [9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-7/igt@kms_big_fb@linear-32bpp-rotate-90.html

  * igt@kms_big_fb@y-tiled-16bpp-rotate-180:
    - shard-bmg:          NOTRUN -> [SKIP][10] ([Intel XE#1124]) +4 other tests skip
   [10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-10/igt@kms_big_fb@y-tiled-16bpp-rotate-180.html

  * igt@kms_big_fb@y-tiled-addfb-size-overflow:
    - shard-bmg:          NOTRUN -> [SKIP][11] ([Intel XE#610])
   [11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-10/igt@kms_big_fb@y-tiled-addfb-size-overflow.html

  * igt@kms_bw@linear-tiling-2-displays-2560x1440p:
    - shard-bmg:          NOTRUN -> [SKIP][12] ([Intel XE#367])
   [12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-10/igt@kms_bw@linear-tiling-2-displays-2560x1440p.html

  * igt@kms_ccs@missing-ccs-buffer-yf-tiled-ccs:
    - shard-bmg:          NOTRUN -> [SKIP][13] ([Intel XE#2887]) +7 other tests skip
   [13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-10/igt@kms_ccs@missing-ccs-buffer-yf-tiled-ccs.html

  * igt@kms_chamelium_edid@dp-edid-change-during-hibernate:
    - shard-bmg:          NOTRUN -> [SKIP][14] ([Intel XE#2252]) +3 other tests skip
   [14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-7/igt@kms_chamelium_edid@dp-edid-change-during-hibernate.html

  * igt@kms_content_protection@dp-mst-type-0-hdcp14:
    - shard-bmg:          NOTRUN -> [SKIP][15] ([Intel XE#6974])
   [15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-7/igt@kms_content_protection@dp-mst-type-0-hdcp14.html

  * igt@kms_content_protection@mei-interface:
    - shard-bmg:          NOTRUN -> [SKIP][16] ([Intel XE#2341])
   [16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-10/igt@kms_content_protection@mei-interface.html

  * igt@kms_cursor_crc@cursor-offscreen-256x85:
    - shard-bmg:          NOTRUN -> [SKIP][17] ([Intel XE#2320]) +1 other test skip
   [17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-10/igt@kms_cursor_crc@cursor-offscreen-256x85.html

  * igt@kms_cursor_crc@cursor-onscreen-512x512:
    - shard-bmg:          NOTRUN -> [SKIP][18] ([Intel XE#2321]) +2 other tests skip
   [18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-10/igt@kms_cursor_crc@cursor-onscreen-512x512.html

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

  * igt@kms_dsc@dsc-with-formats:
    - shard-bmg:          NOTRUN -> [SKIP][20] ([Intel XE#2244])
   [20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-10/igt@kms_dsc@dsc-with-formats.html

  * igt@kms_fbc_dirty_rect@fbc-dirty-rectangle-dirtyfb-tests:
    - shard-bmg:          NOTRUN -> [SKIP][21] ([Intel XE#4422])
   [21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-10/igt@kms_fbc_dirty_rect@fbc-dirty-rectangle-dirtyfb-tests.html

  * igt@kms_flip@flip-vs-expired-vblank-interruptible:
    - shard-lnl:          [PASS][22] -> [FAIL][23] ([Intel XE#301] / [Intel XE#3149]) +1 other test fail
   [22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4388-7488f4d19288e0919c24ffc8b2c375e8b7c8a823/shard-lnl-8/igt@kms_flip@flip-vs-expired-vblank-interruptible.html
   [23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-lnl-5/igt@kms_flip@flip-vs-expired-vblank-interruptible.html

  * igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling:
    - shard-bmg:          NOTRUN -> [SKIP][24] ([Intel XE#2293] / [Intel XE#2380])
   [24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-10/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling.html

  * igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling@pipe-a-valid-mode:
    - shard-bmg:          NOTRUN -> [SKIP][25] ([Intel XE#2293])
   [25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-10/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling@pipe-a-valid-mode.html

  * igt@kms_frontbuffer_tracking@fbc-1p-offscreen-pri-shrfb-draw-blt:
    - shard-bmg:          NOTRUN -> [SKIP][26] ([Intel XE#4141]) +8 other tests skip
   [26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-10/igt@kms_frontbuffer_tracking@fbc-1p-offscreen-pri-shrfb-draw-blt.html

  * igt@kms_frontbuffer_tracking@fbc-argb161616f-draw-render:
    - shard-bmg:          NOTRUN -> [SKIP][27] ([Intel XE#7061]) +3 other tests skip
   [27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-10/igt@kms_frontbuffer_tracking@fbc-argb161616f-draw-render.html

  * igt@kms_frontbuffer_tracking@fbcdrrs-2p-scndscrn-pri-shrfb-draw-render:
    - shard-bmg:          NOTRUN -> [SKIP][28] ([Intel XE#2311]) +14 other tests skip
   [28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-10/igt@kms_frontbuffer_tracking@fbcdrrs-2p-scndscrn-pri-shrfb-draw-render.html

  * igt@kms_frontbuffer_tracking@psr-1p-offscreen-pri-shrfb-draw-mmap-wc:
    - shard-bmg:          NOTRUN -> [SKIP][29] ([Intel XE#2313]) +15 other tests skip
   [29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-10/igt@kms_frontbuffer_tracking@psr-1p-offscreen-pri-shrfb-draw-mmap-wc.html

  * igt@kms_hdr@static-toggle-suspend:
    - shard-bmg:          [PASS][30] -> [ABORT][31] ([Intel XE#6740]) +3 other tests abort
   [30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4388-7488f4d19288e0919c24ffc8b2c375e8b7c8a823/shard-bmg-3/igt@kms_hdr@static-toggle-suspend.html
   [31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-9/igt@kms_hdr@static-toggle-suspend.html

  * igt@kms_joiner@basic-ultra-joiner:
    - shard-bmg:          NOTRUN -> [SKIP][32] ([Intel XE#6911])
   [32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-7/igt@kms_joiner@basic-ultra-joiner.html

  * igt@kms_joiner@invalid-modeset-big-joiner:
    - shard-bmg:          NOTRUN -> [SKIP][33] ([Intel XE#6901])
   [33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-10/igt@kms_joiner@invalid-modeset-big-joiner.html

  * igt@kms_plane_scaling@planes-upscale-20x20-downscale-factor-0-5@pipe-b:
    - shard-bmg:          NOTRUN -> [SKIP][34] ([Intel XE#6886]) +4 other tests skip
   [34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-10/igt@kms_plane_scaling@planes-upscale-20x20-downscale-factor-0-5@pipe-b.html

  * igt@kms_pm_rpm@modeset-lpsp:
    - shard-bmg:          NOTRUN -> [SKIP][35] ([Intel XE#1439] / [Intel XE#3141] / [Intel XE#836])
   [35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-10/igt@kms_pm_rpm@modeset-lpsp.html

  * igt@kms_psr2_sf@pr-primary-plane-update-sf-dmg-area:
    - shard-bmg:          NOTRUN -> [SKIP][36] ([Intel XE#1406] / [Intel XE#1489]) +4 other tests skip
   [36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-7/igt@kms_psr2_sf@pr-primary-plane-update-sf-dmg-area.html

  * igt@kms_psr@psr2-primary-page-flip:
    - shard-bmg:          NOTRUN -> [SKIP][37] ([Intel XE#1406] / [Intel XE#2234] / [Intel XE#2850]) +7 other tests skip
   [37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-7/igt@kms_psr@psr2-primary-page-flip.html

  * igt@kms_scaling_modes@scaling-mode-full:
    - shard-bmg:          NOTRUN -> [SKIP][38] ([Intel XE#2413])
   [38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-7/igt@kms_scaling_modes@scaling-mode-full.html

  * igt@kms_sharpness_filter@filter-strength:
    - shard-bmg:          NOTRUN -> [SKIP][39] ([Intel XE#6503])
   [39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-10/igt@kms_sharpness_filter@filter-strength.html

  * igt@xe_eudebug@discovery-race-vmbind:
    - shard-bmg:          NOTRUN -> [SKIP][40] ([Intel XE#4837]) +3 other tests skip
   [40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-7/igt@xe_eudebug@discovery-race-vmbind.html

  * igt@xe_eudebug_online@pagefault-write:
    - shard-bmg:          NOTRUN -> [SKIP][41] ([Intel XE#4837] / [Intel XE#6665]) +2 other tests skip
   [41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-10/igt@xe_eudebug_online@pagefault-write.html

  * igt@xe_exec_basic@multigpu-once-null-rebind:
    - shard-bmg:          NOTRUN -> [SKIP][42] ([Intel XE#2322]) +4 other tests skip
   [42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-10/igt@xe_exec_basic@multigpu-once-null-rebind.html

  * igt@xe_exec_multi_queue@max-queues-basic:
    - shard-bmg:          NOTRUN -> [SKIP][43] ([Intel XE#6874]) +15 other tests skip
   [43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-10/igt@xe_exec_multi_queue@max-queues-basic.html

  * igt@xe_exec_reset@gt-reset-stress:
    - shard-lnl:          [PASS][44] -> [DMESG-WARN][45] ([Intel XE#7023])
   [44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4388-7488f4d19288e0919c24ffc8b2c375e8b7c8a823/shard-lnl-8/igt@xe_exec_reset@gt-reset-stress.html
   [45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-lnl-5/igt@xe_exec_reset@gt-reset-stress.html

  * igt@xe_exec_system_allocator@process-many-execqueues-mmap-free-huge:
    - shard-bmg:          NOTRUN -> [SKIP][46] ([Intel XE#4943]) +8 other tests skip
   [46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-10/igt@xe_exec_system_allocator@process-many-execqueues-mmap-free-huge.html

  * igt@xe_mmap@small-bar:
    - shard-bmg:          NOTRUN -> [SKIP][47] ([Intel XE#586])
   [47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-7/igt@xe_mmap@small-bar.html

  * igt@xe_multigpu_svm@mgpu-migration-basic:
    - shard-bmg:          NOTRUN -> [SKIP][48] ([Intel XE#6964])
   [48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-10/igt@xe_multigpu_svm@mgpu-migration-basic.html

  * igt@xe_pm@d3cold-basic:
    - shard-bmg:          NOTRUN -> [SKIP][49] ([Intel XE#2284]) +1 other test skip
   [49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-7/igt@xe_pm@d3cold-basic.html

  * igt@xe_pxp@pxp-stale-bo-bind-post-termination-irq:
    - shard-bmg:          NOTRUN -> [SKIP][50] ([Intel XE#4733]) +1 other test skip
   [50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-10/igt@xe_pxp@pxp-stale-bo-bind-post-termination-irq.html

  * igt@xe_query@multigpu-query-pxp-status:
    - shard-bmg:          NOTRUN -> [SKIP][51] ([Intel XE#944]) +1 other test skip
   [51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-7/igt@xe_query@multigpu-query-pxp-status.html

  
#### Possible fixes ####

  * igt@kms_cursor_crc@cursor-sliding-256x256:
    - shard-bmg:          [FAIL][52] ([Intel XE#6747]) -> [PASS][53] +1 other test pass
   [52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4388-7488f4d19288e0919c24ffc8b2c375e8b7c8a823/shard-bmg-2/igt@kms_cursor_crc@cursor-sliding-256x256.html
   [53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-7/igt@kms_cursor_crc@cursor-sliding-256x256.html

  * igt@kms_flip@flip-vs-expired-vblank-interruptible@c-dp2:
    - shard-bmg:          [FAIL][54] ([Intel XE#7030]) -> [PASS][55] +1 other test pass
   [54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4388-7488f4d19288e0919c24ffc8b2c375e8b7c8a823/shard-bmg-1/igt@kms_flip@flip-vs-expired-vblank-interruptible@c-dp2.html
   [55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-8/igt@kms_flip@flip-vs-expired-vblank-interruptible@c-dp2.html

  * igt@kms_flip@flip-vs-expired-vblank@b-edp1:
    - shard-lnl:          [FAIL][56] ([Intel XE#301]) -> [PASS][57] +1 other test pass
   [56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4388-7488f4d19288e0919c24ffc8b2c375e8b7c8a823/shard-lnl-5/igt@kms_flip@flip-vs-expired-vblank@b-edp1.html
   [57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-lnl-4/igt@kms_flip@flip-vs-expired-vblank@b-edp1.html

  * igt@kms_hdr@static-toggle@pipe-a-dp-2:
    - shard-bmg:          [ABORT][58] ([Intel XE#6740]) -> [PASS][59] +1 other test pass
   [58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4388-7488f4d19288e0919c24ffc8b2c375e8b7c8a823/shard-bmg-9/igt@kms_hdr@static-toggle@pipe-a-dp-2.html
   [59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-10/igt@kms_hdr@static-toggle@pipe-a-dp-2.html

  * {igt@xe_exec_basic@no-exec-bindexecqueue-userptr-invalidate@vcs0}:
    - shard-lnl:          [DMESG-WARN][60] -> [PASS][61]
   [60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4388-7488f4d19288e0919c24ffc8b2c375e8b7c8a823/shard-lnl-5/igt@xe_exec_basic@no-exec-bindexecqueue-userptr-invalidate@vcs0.html
   [61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-lnl-4/igt@xe_exec_basic@no-exec-bindexecqueue-userptr-invalidate@vcs0.html

  * igt@xe_exec_system_allocator@partial-remap-no-cpu-fault:
    - shard-bmg:          [ABORT][62] -> [PASS][63]
   [62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4388-7488f4d19288e0919c24ffc8b2c375e8b7c8a823/shard-bmg-2/igt@xe_exec_system_allocator@partial-remap-no-cpu-fault.html
   [63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-7/igt@xe_exec_system_allocator@partial-remap-no-cpu-fault.html

  
#### Warnings ####

  * igt@kms_hdr@brightness-with-hdr:
    - shard-bmg:          [SKIP][64] ([Intel XE#3374] / [Intel XE#3544]) -> [SKIP][65] ([Intel XE#3544])
   [64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4388-7488f4d19288e0919c24ffc8b2c375e8b7c8a823/shard-bmg-7/igt@kms_hdr@brightness-with-hdr.html
   [65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-10/igt@kms_hdr@brightness-with-hdr.html

  * igt@kms_hdr@invalid-hdr:
    - shard-bmg:          [ABORT][66] ([Intel XE#6740]) -> [SKIP][67] ([Intel XE#1503])
   [66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4388-7488f4d19288e0919c24ffc8b2c375e8b7c8a823/shard-bmg-7/igt@kms_hdr@invalid-hdr.html
   [67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-bmg-10/igt@kms_hdr@invalid-hdr.html

  * igt@xe_exec_system_allocator@twice-large-mmap-free-nomemset:
    - shard-lnl:          [DMESG-WARN][68] -> [DMESG-WARN][69] ([Intel XE#4537])
   [68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4388-7488f4d19288e0919c24ffc8b2c375e8b7c8a823/shard-lnl-5/igt@xe_exec_system_allocator@twice-large-mmap-free-nomemset.html
   [69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159577v2/shard-lnl-4/igt@xe_exec_system_allocator@twice-large-mmap-free-nomemset.html

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

  [Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
  [Intel XE#1340]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1340
  [Intel XE#1406]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1406
  [Intel XE#1439]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1439
  [Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
  [Intel XE#1503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1503
  [Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
  [Intel XE#2244]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2244
  [Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
  [Intel XE#2284]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2284
  [Intel XE#2293]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2293
  [Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311
  [Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313
  [Intel XE#2320]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2320
  [Intel XE#2321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2321
  [Intel XE#2322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2322
  [Intel XE#2327]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2327
  [Intel XE#2341]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2341
  [Intel XE#2380]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2380
  [Intel XE#2413]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2413
  [Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
  [Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
  [Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
  [Intel XE#3141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3141
  [Intel XE#3149]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3149
  [Intel XE#3374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3374
  [Intel XE#3544]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3544
  [Intel XE#367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/367
  [Intel XE#4141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4141
  [Intel XE#4422]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4422
  [Intel XE#4537]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4537
  [Intel XE#4733]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4733
  [Intel XE#4837]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4837
  [Intel XE#4943]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4943
  [Intel XE#586]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/586
  [Intel XE#610]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/610
  [Intel XE#6503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6503
  [Intel XE#6665]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6665
  [Intel XE#6740]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6740
  [Intel XE#6747]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6747
  [Intel XE#6874]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6874
  [Intel XE#6886]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6886
  [Intel XE#6901]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6901
  [Intel XE#6904]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6904
  [Intel XE#6911]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6911
  [Intel XE#6964]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6964
  [Intel XE#6974]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6974
  [Intel XE#7023]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7023
  [Intel XE#7030]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7030
  [Intel XE#7061]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7061
  [Intel XE#836]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/836
  [Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944


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

  * Linux: xe-4388-7488f4d19288e0919c24ffc8b2c375e8b7c8a823 -> xe-pw-159577v2

  IGT_8704: 8704
  xe-4388-7488f4d19288e0919c24ffc8b2c375e8b7c8a823: 7488f4d19288e0919c24ffc8b2c375e8b7c8a823
  xe-pw-159577v2: 159577v2

== Logs ==

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

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

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

* Re: [PATCH v2] drm/xe/tests: Fix g2g_test_array indexing
  2026-01-16  0:25 [PATCH v2] drm/xe/tests: Fix g2g_test_array indexing Pallavi Mishra
                   ` (2 preceding siblings ...)
  2026-01-16  5:39 ` ✗ Xe.CI.Full: failure " Patchwork
@ 2026-01-22  0:20 ` Daniele Ceraolo Spurio
  2026-01-22 19:33   ` Mishra, Pallavi
  3 siblings, 1 reply; 10+ messages in thread
From: Daniele Ceraolo Spurio @ 2026-01-22  0:20 UTC (permalink / raw)
  To: Pallavi Mishra, intel-xe; +Cc: niranjana.vishwanathapura, stuart.summers



On 1/15/2026 4:25 PM, Pallavi Mishra wrote:
> The G2G KUnit test allocates a compact N×N
> matrix sized by gt_count and verifies entries
> using dense indices: idx = (j * gt_count) + i
>
> The producer path currently computes idx using
> gt->info.id. However, gt->info.id values
> are not guaranteed to be contiguous.
> For example, with gt_count=2 and IDs {0,3},
> this formula produces indices beyond the
> allocated range, causing mismatches and
> potential out-of-bounds access.
>
> Update the producer to map each GT to a dense
> index in [0..gt_count-1] and compute:
>      idx = (tx_dense * gt_count) + rx_dense
>
> Additionally, introduce an event-based delay
> in g2g_test_in_order() to ensure ordering
> between sends.
>
> v2: Add single helper function (Daniele)
>
> Signed-off-by: Pallavi Mishra <pallavi.mishra@intel.com>
> ---
>   drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c | 56 +++++++++++++++++++++-
>   1 file changed, 54 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c b/drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c
> index 3b213fcae916..ec18086b98d8 100644
> --- a/drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c
> +++ b/drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c
> @@ -48,6 +48,38 @@ struct g2g_test_payload  {
>   	u32 seqno;
>   };
>   
> +static int slot_index_from_gts(struct xe_gt *tx_gt, struct xe_gt *rx_gt)
> +{
> +	struct xe_device *xe = gt_to_xe(tx_gt);
> +	int idx = 0, found = 0, id, tx_idx, rx_idx;
> +	struct xe_gt *gt;
> +	struct kunit *test = kunit_get_current_test();
> +
> +	for (id = 0; id < xe->info.tile_count * xe->info.max_gt_per_tile; id++) {
> +		gt = xe_device_get_gt(xe, id);
> +		if (!gt)
> +			continue;
> +		if (gt == tx_gt) {
> +			tx_idx = idx;
> +			found++;
> +		}
> +		if (gt == rx_gt) {
> +			rx_idx = idx;
> +			found++;
> +		}
> +
> +		if (found == 2)
> +			break;
> +
> +		idx++;
> +	}
> +
> +	if (found != 2)
> +		KUNIT_FAIL(test, "GT index not found");
> +
> +	return (tx_idx * xe->info.gt_count) + rx_idx;
> +}
> +
>   static void g2g_test_send(struct kunit *test, struct xe_guc *guc,
>   			  u32 far_tile, u32 far_dev,
>   			  struct g2g_test_payload *payload)
> @@ -163,7 +195,7 @@ int xe_guc_g2g_test_notification(struct xe_guc *guc, u32 *msg, u32 len)
>   		goto done;
>   	}
>   
> -	idx = (tx_gt->info.id * xe->info.gt_count) + rx_gt->info.id;
> +	idx = slot_index_from_gts(tx_gt, rx_gt);
>   
>   	if (xe->g2g_test_array[idx] != payload->seqno - 1) {
>   		xe_gt_err(rx_gt, "G2G: Seqno mismatch %d vs %d for %d:%d -> %d:%d!\n",
> @@ -180,13 +212,17 @@ int xe_guc_g2g_test_notification(struct xe_guc *guc, u32 *msg, u32 len)
>   	return ret;
>   }
>   
> +#define G2G_WAIT_TIMEOUT_MS 100
> +#define G2G_WAIT_POLL_MS 1
> +
>   /*
>    * Send the given seqno from all GuCs to all other GuCs in tile/GT order
>    */
>   static void g2g_test_in_order(struct kunit *test, struct xe_device *xe, u32 seqno)
>   {
>   	struct xe_gt *near_gt, *far_gt;
> -	int i, j;
> +	int i, j, waited;
> +	u32 idx;
>   
>   	for_each_gt(near_gt, xe, i) {
>   		u32 near_tile = gt_to_tile(near_gt)->id;
> @@ -205,6 +241,22 @@ static void g2g_test_in_order(struct kunit *test, struct xe_device *xe, u32 seqn
>   			payload.rx_dev = far_dev;
>   			payload.rx_tile = far_tile;
>   			payload.seqno = seqno;
> +
> +			/* Calculate idx for event-based wait */
> +			idx = slot_index_from_gts(near_gt, far_gt);
> +			waited = 0;
> +
> +			/* Wait for previous seqno to be acknowledged before sending */
> +			while (xe->g2g_test_array[idx] != (seqno - 1)) {
> +				msleep(G2G_WAIT_POLL_MS);
> +				waited += G2G_WAIT_POLL_MS;
> +				if (waited >= G2G_WAIT_TIMEOUT_MS) {
> +					kunit_info(test, "Timeout waiting! tx gt: %d, rx gt: %d\n",
> +						   near_gt->info.id, far_gt->info.id);

Sorry I missed this on the previous rev, but shouldn't this be a 
failure? If we don't get one of the previous messages then something has 
gone wrong.
The patch looks good to me apart from this.

Daniele

> +					break;
> +				}
> +			}
> +
>   			g2g_test_send(test, &near_gt->uc.guc, far_tile, far_dev, &payload);
>   		}
>   	}


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

* RE: [PATCH v2] drm/xe/tests: Fix g2g_test_array indexing
  2026-01-22  0:20 ` [PATCH v2] drm/xe/tests: Fix g2g_test_array indexing Daniele Ceraolo Spurio
@ 2026-01-22 19:33   ` Mishra, Pallavi
  2026-01-22 23:01     ` Daniele Ceraolo Spurio
  0 siblings, 1 reply; 10+ messages in thread
From: Mishra, Pallavi @ 2026-01-22 19:33 UTC (permalink / raw)
  To: Ceraolo Spurio, Daniele, intel-xe@lists.freedesktop.org
  Cc: Vishwanathapura, Niranjana, Summers, Stuart



> -----Original Message-----
> From: Ceraolo Spurio, Daniele <daniele.ceraolospurio@intel.com>
> Sent: Wednesday, January 21, 2026 4:20 PM
> To: Mishra, Pallavi <pallavi.mishra@intel.com>; intel-xe@lists.freedesktop.org
> Cc: Vishwanathapura, Niranjana <niranjana.vishwanathapura@intel.com>;
> Summers, Stuart <stuart.summers@intel.com>
> Subject: Re: [PATCH v2] drm/xe/tests: Fix g2g_test_array indexing
> 
> 
> 
> On 1/15/2026 4:25 PM, Pallavi Mishra wrote:
> > The G2G KUnit test allocates a compact N×N matrix sized by gt_count
> > and verifies entries using dense indices: idx = (j * gt_count) + i
> >
> > The producer path currently computes idx using
> > gt->info.id. However, gt->info.id values
> > are not guaranteed to be contiguous.
> > For example, with gt_count=2 and IDs {0,3}, this formula produces
> > indices beyond the allocated range, causing mismatches and potential
> > out-of-bounds access.
> >
> > Update the producer to map each GT to a dense index in [0..gt_count-1]
> > and compute:
> >      idx = (tx_dense * gt_count) + rx_dense
> >
> > Additionally, introduce an event-based delay in g2g_test_in_order() to
> > ensure ordering between sends.
> >
> > v2: Add single helper function (Daniele)
> >
> > Signed-off-by: Pallavi Mishra <pallavi.mishra@intel.com>
> > ---
> >   drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c | 56
> +++++++++++++++++++++-
> >   1 file changed, 54 insertions(+), 2 deletions(-)
> >
> > diff --git a/drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c
> > b/drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c
> > index 3b213fcae916..ec18086b98d8 100644
> > --- a/drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c
> > +++ b/drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c
> > @@ -48,6 +48,38 @@ struct g2g_test_payload  {
> >   	u32 seqno;
> >   };
> >
> > +static int slot_index_from_gts(struct xe_gt *tx_gt, struct xe_gt
> > +*rx_gt) {
> > +	struct xe_device *xe = gt_to_xe(tx_gt);
> > +	int idx = 0, found = 0, id, tx_idx, rx_idx;
> > +	struct xe_gt *gt;
> > +	struct kunit *test = kunit_get_current_test();
> > +
> > +	for (id = 0; id < xe->info.tile_count * xe->info.max_gt_per_tile; id++) {
> > +		gt = xe_device_get_gt(xe, id);
> > +		if (!gt)
> > +			continue;
> > +		if (gt == tx_gt) {
> > +			tx_idx = idx;
> > +			found++;
> > +		}
> > +		if (gt == rx_gt) {
> > +			rx_idx = idx;
> > +			found++;
> > +		}
> > +
> > +		if (found == 2)
> > +			break;
> > +
> > +		idx++;
> > +	}
> > +
> > +	if (found != 2)
> > +		KUNIT_FAIL(test, "GT index not found");
> > +
> > +	return (tx_idx * xe->info.gt_count) + rx_idx; }
> > +
> >   static void g2g_test_send(struct kunit *test, struct xe_guc *guc,
> >   			  u32 far_tile, u32 far_dev,
> >   			  struct g2g_test_payload *payload) @@ -163,7
> +195,7 @@ int
> > xe_guc_g2g_test_notification(struct xe_guc *guc, u32 *msg, u32 len)
> >   		goto done;
> >   	}
> >
> > -	idx = (tx_gt->info.id * xe->info.gt_count) + rx_gt->info.id;
> > +	idx = slot_index_from_gts(tx_gt, rx_gt);
> >
> >   	if (xe->g2g_test_array[idx] != payload->seqno - 1) {
> >   		xe_gt_err(rx_gt, "G2G: Seqno mismatch %d vs %d for %d:%d -
> >
> > %d:%d!\n", @@ -180,13 +212,17 @@ int
> xe_guc_g2g_test_notification(struct xe_guc *guc, u32 *msg, u32 len)
> >   	return ret;
> >   }
> >
> > +#define G2G_WAIT_TIMEOUT_MS 100
> > +#define G2G_WAIT_POLL_MS 1
> > +
> >   /*
> >    * Send the given seqno from all GuCs to all other GuCs in tile/GT order
> >    */
> >   static void g2g_test_in_order(struct kunit *test, struct xe_device *xe, u32
> seqno)
> >   {
> >   	struct xe_gt *near_gt, *far_gt;
> > -	int i, j;
> > +	int i, j, waited;
> > +	u32 idx;
> >
> >   	for_each_gt(near_gt, xe, i) {
> >   		u32 near_tile = gt_to_tile(near_gt)->id; @@ -205,6 +241,22
> @@
> > static void g2g_test_in_order(struct kunit *test, struct xe_device *xe, u32
> seqn
> >   			payload.rx_dev = far_dev;
> >   			payload.rx_tile = far_tile;
> >   			payload.seqno = seqno;
> > +
> > +			/* Calculate idx for event-based wait */
> > +			idx = slot_index_from_gts(near_gt, far_gt);
> > +			waited = 0;
> > +
> > +			/* Wait for previous seqno to be acknowledged
> before sending */
> > +			while (xe->g2g_test_array[idx] != (seqno - 1)) {
> > +				msleep(G2G_WAIT_POLL_MS);
> > +				waited += G2G_WAIT_POLL_MS;
> > +				if (waited >= G2G_WAIT_TIMEOUT_MS) {
> > +					kunit_info(test, "Timeout waiting! tx
> gt: %d, rx gt: %d\n",
> > +						   near_gt->info.id, far_gt-
> >info.id);
> 
> Sorry I missed this on the previous rev, but shouldn't this be a failure? If we
> don't get one of the previous messages then something has gone wrong.
> The patch looks good to me apart from this.
> 
> Daniele

I think marking a failure at this point may be too early. Seqno check validation happens later on
in g2g_run_test() and also in xe_guc_g2g_test_notification(). If any notification is missed or out of order, 
the test will fail at that stage.

Pallavi
> 
> > +					break;
> > +				}
> > +			}
> > +
> >   			g2g_test_send(test, &near_gt->uc.guc, far_tile,
> far_dev, &payload);
> >   		}
> >   	}


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

* Re: [PATCH v2] drm/xe/tests: Fix g2g_test_array indexing
  2026-01-22 19:33   ` Mishra, Pallavi
@ 2026-01-22 23:01     ` Daniele Ceraolo Spurio
  2026-01-23  2:41       ` Mishra, Pallavi
  0 siblings, 1 reply; 10+ messages in thread
From: Daniele Ceraolo Spurio @ 2026-01-22 23:01 UTC (permalink / raw)
  To: Mishra, Pallavi, intel-xe@lists.freedesktop.org
  Cc: Vishwanathapura, Niranjana, Summers, Stuart



On 1/22/2026 11:33 AM, Mishra, Pallavi wrote:
>
>> -----Original Message-----
>> From: Ceraolo Spurio, Daniele <daniele.ceraolospurio@intel.com>
>> Sent: Wednesday, January 21, 2026 4:20 PM
>> To: Mishra, Pallavi <pallavi.mishra@intel.com>; intel-xe@lists.freedesktop.org
>> Cc: Vishwanathapura, Niranjana <niranjana.vishwanathapura@intel.com>;
>> Summers, Stuart <stuart.summers@intel.com>
>> Subject: Re: [PATCH v2] drm/xe/tests: Fix g2g_test_array indexing
>>
>>
>>
>> On 1/15/2026 4:25 PM, Pallavi Mishra wrote:
>>> The G2G KUnit test allocates a compact N×N matrix sized by gt_count
>>> and verifies entries using dense indices: idx = (j * gt_count) + i
>>>
>>> The producer path currently computes idx using
>>> gt->info.id. However, gt->info.id values
>>> are not guaranteed to be contiguous.
>>> For example, with gt_count=2 and IDs {0,3}, this formula produces
>>> indices beyond the allocated range, causing mismatches and potential
>>> out-of-bounds access.
>>>
>>> Update the producer to map each GT to a dense index in [0..gt_count-1]
>>> and compute:
>>>       idx = (tx_dense * gt_count) + rx_dense
>>>
>>> Additionally, introduce an event-based delay in g2g_test_in_order() to
>>> ensure ordering between sends.
>>>
>>> v2: Add single helper function (Daniele)
>>>
>>> Signed-off-by: Pallavi Mishra <pallavi.mishra@intel.com>
>>> ---
>>>    drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c | 56
>> +++++++++++++++++++++-
>>>    1 file changed, 54 insertions(+), 2 deletions(-)
>>>
>>> diff --git a/drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c
>>> b/drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c
>>> index 3b213fcae916..ec18086b98d8 100644
>>> --- a/drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c
>>> +++ b/drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c
>>> @@ -48,6 +48,38 @@ struct g2g_test_payload  {
>>>    	u32 seqno;
>>>    };
>>>
>>> +static int slot_index_from_gts(struct xe_gt *tx_gt, struct xe_gt
>>> +*rx_gt) {
>>> +	struct xe_device *xe = gt_to_xe(tx_gt);
>>> +	int idx = 0, found = 0, id, tx_idx, rx_idx;
>>> +	struct xe_gt *gt;
>>> +	struct kunit *test = kunit_get_current_test();
>>> +
>>> +	for (id = 0; id < xe->info.tile_count * xe->info.max_gt_per_tile; id++) {
>>> +		gt = xe_device_get_gt(xe, id);
>>> +		if (!gt)
>>> +			continue;
>>> +		if (gt == tx_gt) {
>>> +			tx_idx = idx;
>>> +			found++;
>>> +		}
>>> +		if (gt == rx_gt) {
>>> +			rx_idx = idx;
>>> +			found++;
>>> +		}
>>> +
>>> +		if (found == 2)
>>> +			break;
>>> +
>>> +		idx++;
>>> +	}
>>> +
>>> +	if (found != 2)
>>> +		KUNIT_FAIL(test, "GT index not found");
>>> +
>>> +	return (tx_idx * xe->info.gt_count) + rx_idx; }
>>> +
>>>    static void g2g_test_send(struct kunit *test, struct xe_guc *guc,
>>>    			  u32 far_tile, u32 far_dev,
>>>    			  struct g2g_test_payload *payload) @@ -163,7
>> +195,7 @@ int
>>> xe_guc_g2g_test_notification(struct xe_guc *guc, u32 *msg, u32 len)
>>>    		goto done;
>>>    	}
>>>
>>> -	idx = (tx_gt->info.id * xe->info.gt_count) + rx_gt->info.id;
>>> +	idx = slot_index_from_gts(tx_gt, rx_gt);
>>>
>>>    	if (xe->g2g_test_array[idx] != payload->seqno - 1) {
>>>    		xe_gt_err(rx_gt, "G2G: Seqno mismatch %d vs %d for %d:%d -
>>>
>>> %d:%d!\n", @@ -180,13 +212,17 @@ int
>> xe_guc_g2g_test_notification(struct xe_guc *guc, u32 *msg, u32 len)
>>>    	return ret;
>>>    }
>>>
>>> +#define G2G_WAIT_TIMEOUT_MS 100
>>> +#define G2G_WAIT_POLL_MS 1
>>> +
>>>    /*
>>>     * Send the given seqno from all GuCs to all other GuCs in tile/GT order
>>>     */
>>>    static void g2g_test_in_order(struct kunit *test, struct xe_device *xe, u32
>> seqno)
>>>    {
>>>    	struct xe_gt *near_gt, *far_gt;
>>> -	int i, j;
>>> +	int i, j, waited;
>>> +	u32 idx;
>>>
>>>    	for_each_gt(near_gt, xe, i) {
>>>    		u32 near_tile = gt_to_tile(near_gt)->id; @@ -205,6 +241,22
>> @@
>>> static void g2g_test_in_order(struct kunit *test, struct xe_device *xe, u32
>> seqn
>>>    			payload.rx_dev = far_dev;
>>>    			payload.rx_tile = far_tile;
>>>    			payload.seqno = seqno;
>>> +
>>> +			/* Calculate idx for event-based wait */
>>> +			idx = slot_index_from_gts(near_gt, far_gt);
>>> +			waited = 0;
>>> +
>>> +			/* Wait for previous seqno to be acknowledged
>> before sending */
>>> +			while (xe->g2g_test_array[idx] != (seqno - 1)) {
>>> +				msleep(G2G_WAIT_POLL_MS);
>>> +				waited += G2G_WAIT_POLL_MS;
>>> +				if (waited >= G2G_WAIT_TIMEOUT_MS) {
>>> +					kunit_info(test, "Timeout waiting! tx
>> gt: %d, rx gt: %d\n",
>>> +						   near_gt->info.id, far_gt-
>>> info.id);
>> Sorry I missed this on the previous rev, but shouldn't this be a failure? If we
>> don't get one of the previous messages then something has gone wrong.
>> The patch looks good to me apart from this.
>>
>> Daniele
> I think marking a failure at this point may be too early. Seqno check validation happens later on
> in g2g_run_test() and also in xe_guc_g2g_test_notification(). If any notification is missed or out of order,
> the test will fail at that stage.

Then why wait for it at all? either waiting for it is significant (and 
therefore we fail the test if the wait times out) or it doesn't matter 
because we have other checks later (in which case we can just avoid 
waiting).

Daniele

>
> Pallavi
>>> +					break;
>>> +				}
>>> +			}
>>> +
>>>    			g2g_test_send(test, &near_gt->uc.guc, far_tile,
>> far_dev, &payload);
>>>    		}
>>>    	}


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

* RE: [PATCH v2] drm/xe/tests: Fix g2g_test_array indexing
  2026-01-22 23:01     ` Daniele Ceraolo Spurio
@ 2026-01-23  2:41       ` Mishra, Pallavi
  2026-01-29  0:27         ` Daniele Ceraolo Spurio
  0 siblings, 1 reply; 10+ messages in thread
From: Mishra, Pallavi @ 2026-01-23  2:41 UTC (permalink / raw)
  To: Ceraolo Spurio, Daniele, intel-xe@lists.freedesktop.org
  Cc: Vishwanathapura, Niranjana, Summers, Stuart



> -----Original Message-----
> From: Ceraolo Spurio, Daniele <daniele.ceraolospurio@intel.com>
> Sent: Thursday, January 22, 2026 3:01 PM
> To: Mishra, Pallavi <pallavi.mishra@intel.com>; intel-xe@lists.freedesktop.org
> Cc: Vishwanathapura, Niranjana <niranjana.vishwanathapura@intel.com>;
> Summers, Stuart <stuart.summers@intel.com>
> Subject: Re: [PATCH v2] drm/xe/tests: Fix g2g_test_array indexing
> 
> 
> 
> On 1/22/2026 11:33 AM, Mishra, Pallavi wrote:
> >
> >> -----Original Message-----
> >> From: Ceraolo Spurio, Daniele <daniele.ceraolospurio@intel.com>
> >> Sent: Wednesday, January 21, 2026 4:20 PM
> >> To: Mishra, Pallavi <pallavi.mishra@intel.com>;
> >> intel-xe@lists.freedesktop.org
> >> Cc: Vishwanathapura, Niranjana <niranjana.vishwanathapura@intel.com>;
> >> Summers, Stuart <stuart.summers@intel.com>
> >> Subject: Re: [PATCH v2] drm/xe/tests: Fix g2g_test_array indexing
> >>
> >>
> >>
> >> On 1/15/2026 4:25 PM, Pallavi Mishra wrote:
> >>> The G2G KUnit test allocates a compact N×N matrix sized by gt_count
> >>> and verifies entries using dense indices: idx = (j * gt_count) + i
> >>>
> >>> The producer path currently computes idx using
> >>> gt->info.id. However, gt->info.id values
> >>> are not guaranteed to be contiguous.
> >>> For example, with gt_count=2 and IDs {0,3}, this formula produces
> >>> indices beyond the allocated range, causing mismatches and potential
> >>> out-of-bounds access.
> >>>
> >>> Update the producer to map each GT to a dense index in
> >>> [0..gt_count-1] and compute:
> >>>       idx = (tx_dense * gt_count) + rx_dense
> >>>
> >>> Additionally, introduce an event-based delay in g2g_test_in_order()
> >>> to ensure ordering between sends.
> >>>
> >>> v2: Add single helper function (Daniele)
> >>>
> >>> Signed-off-by: Pallavi Mishra <pallavi.mishra@intel.com>
> >>> ---
> >>>    drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c | 56
> >> +++++++++++++++++++++-
> >>>    1 file changed, 54 insertions(+), 2 deletions(-)
> >>>
> >>> diff --git a/drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c
> >>> b/drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c
> >>> index 3b213fcae916..ec18086b98d8 100644
> >>> --- a/drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c
> >>> +++ b/drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c
> >>> @@ -48,6 +48,38 @@ struct g2g_test_payload  {
> >>>    	u32 seqno;
> >>>    };
> >>>
> >>> +static int slot_index_from_gts(struct xe_gt *tx_gt, struct xe_gt
> >>> +*rx_gt) {
> >>> +	struct xe_device *xe = gt_to_xe(tx_gt);
> >>> +	int idx = 0, found = 0, id, tx_idx, rx_idx;
> >>> +	struct xe_gt *gt;
> >>> +	struct kunit *test = kunit_get_current_test();
> >>> +
> >>> +	for (id = 0; id < xe->info.tile_count * xe->info.max_gt_per_tile; id++) {
> >>> +		gt = xe_device_get_gt(xe, id);
> >>> +		if (!gt)
> >>> +			continue;
> >>> +		if (gt == tx_gt) {
> >>> +			tx_idx = idx;
> >>> +			found++;
> >>> +		}
> >>> +		if (gt == rx_gt) {
> >>> +			rx_idx = idx;
> >>> +			found++;
> >>> +		}
> >>> +
> >>> +		if (found == 2)
> >>> +			break;
> >>> +
> >>> +		idx++;
> >>> +	}
> >>> +
> >>> +	if (found != 2)
> >>> +		KUNIT_FAIL(test, "GT index not found");
> >>> +
> >>> +	return (tx_idx * xe->info.gt_count) + rx_idx; }
> >>> +
> >>>    static void g2g_test_send(struct kunit *test, struct xe_guc *guc,
> >>>    			  u32 far_tile, u32 far_dev,
> >>>    			  struct g2g_test_payload *payload) @@ -163,7
> >> +195,7 @@ int
> >>> xe_guc_g2g_test_notification(struct xe_guc *guc, u32 *msg, u32 len)
> >>>    		goto done;
> >>>    	}
> >>>
> >>> -	idx = (tx_gt->info.id * xe->info.gt_count) + rx_gt->info.id;
> >>> +	idx = slot_index_from_gts(tx_gt, rx_gt);
> >>>
> >>>    	if (xe->g2g_test_array[idx] != payload->seqno - 1) {
> >>>    		xe_gt_err(rx_gt, "G2G: Seqno mismatch %d vs %d for %d:%d -
> >>>
> >>> %d:%d!\n", @@ -180,13 +212,17 @@ int
> >> xe_guc_g2g_test_notification(struct xe_guc *guc, u32 *msg, u32 len)
> >>>    	return ret;
> >>>    }
> >>>
> >>> +#define G2G_WAIT_TIMEOUT_MS 100
> >>> +#define G2G_WAIT_POLL_MS 1
> >>> +
> >>>    /*
> >>>     * Send the given seqno from all GuCs to all other GuCs in tile/GT order
> >>>     */
> >>>    static void g2g_test_in_order(struct kunit *test, struct
> >>> xe_device *xe, u32
> >> seqno)
> >>>    {
> >>>    	struct xe_gt *near_gt, *far_gt;
> >>> -	int i, j;
> >>> +	int i, j, waited;
> >>> +	u32 idx;
> >>>
> >>>    	for_each_gt(near_gt, xe, i) {
> >>>    		u32 near_tile = gt_to_tile(near_gt)->id; @@ -205,6 +241,22
> >> @@
> >>> static void g2g_test_in_order(struct kunit *test, struct xe_device
> >>> *xe, u32
> >> seqn
> >>>    			payload.rx_dev = far_dev;
> >>>    			payload.rx_tile = far_tile;
> >>>    			payload.seqno = seqno;
> >>> +
> >>> +			/* Calculate idx for event-based wait */
> >>> +			idx = slot_index_from_gts(near_gt, far_gt);
> >>> +			waited = 0;
> >>> +
> >>> +			/* Wait for previous seqno to be acknowledged
> >> before sending */
> >>> +			while (xe->g2g_test_array[idx] != (seqno - 1)) {
> >>> +				msleep(G2G_WAIT_POLL_MS);
> >>> +				waited += G2G_WAIT_POLL_MS;
> >>> +				if (waited >= G2G_WAIT_TIMEOUT_MS) {
> >>> +					kunit_info(test, "Timeout waiting! tx
> >> gt: %d, rx gt: %d\n",
> >>> +						   near_gt->info.id, far_gt-
> >>> info.id);
> >> Sorry I missed this on the previous rev, but shouldn't this be a
> >> failure? If we don't get one of the previous messages then something has
> gone wrong.
> >> The patch looks good to me apart from this.
> >>
> >> Daniele
> > I think marking a failure at this point may be too early. Seqno check
> > validation happens later on in g2g_run_test() and also in
> > xe_guc_g2g_test_notification(). If any notification is missed or out of order,
> the test will fail at that stage.
> 
> Then why wait for it at all? either waiting for it is significant (and therefore we
> fail the test if the wait times out) or it doesn't matter because we have other
> checks later (in which case we can just avoid waiting).
> 
> Daniele

To provide some background here, the while loop and wait are primarily added to pace the test and avoid sending back-to-back messages, which previously caused the test to always time out waiting for notifications. Introducing a delay/sleep before the g2g_test_send() resolved this. During internal review it was suggested that a fixed delay here may not work across platforms, so I modified the same to an event based delay. So the wait here isn't meant to validate correctness at this stage, but simply pace the test. The timeout message here might be confusing, so I can remove it if preferred. Please let me know your thoughts.

> 
> >
> > Pallavi
> >>> +					break;
> >>> +				}
> >>> +			}
> >>> +
> >>>    			g2g_test_send(test, &near_gt->uc.guc, far_tile,
> >> far_dev, &payload);
> >>>    		}
> >>>    	}


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

* Re: [PATCH v2] drm/xe/tests: Fix g2g_test_array indexing
  2026-01-23  2:41       ` Mishra, Pallavi
@ 2026-01-29  0:27         ` Daniele Ceraolo Spurio
  2026-01-29  0:40           ` Mishra, Pallavi
  0 siblings, 1 reply; 10+ messages in thread
From: Daniele Ceraolo Spurio @ 2026-01-29  0:27 UTC (permalink / raw)
  To: Mishra, Pallavi, intel-xe@lists.freedesktop.org
  Cc: Vishwanathapura, Niranjana, Summers, Stuart



On 1/22/2026 6:41 PM, Mishra, Pallavi wrote:
>
>> -----Original Message-----
>> From: Ceraolo Spurio, Daniele <daniele.ceraolospurio@intel.com>
>> Sent: Thursday, January 22, 2026 3:01 PM
>> To: Mishra, Pallavi <pallavi.mishra@intel.com>; intel-xe@lists.freedesktop.org
>> Cc: Vishwanathapura, Niranjana <niranjana.vishwanathapura@intel.com>;
>> Summers, Stuart <stuart.summers@intel.com>
>> Subject: Re: [PATCH v2] drm/xe/tests: Fix g2g_test_array indexing
>>
>>
>>
>> On 1/22/2026 11:33 AM, Mishra, Pallavi wrote:
>>>> -----Original Message-----
>>>> From: Ceraolo Spurio, Daniele <daniele.ceraolospurio@intel.com>
>>>> Sent: Wednesday, January 21, 2026 4:20 PM
>>>> To: Mishra, Pallavi <pallavi.mishra@intel.com>;
>>>> intel-xe@lists.freedesktop.org
>>>> Cc: Vishwanathapura, Niranjana <niranjana.vishwanathapura@intel.com>;
>>>> Summers, Stuart <stuart.summers@intel.com>
>>>> Subject: Re: [PATCH v2] drm/xe/tests: Fix g2g_test_array indexing
>>>>
>>>>
>>>>
>>>> On 1/15/2026 4:25 PM, Pallavi Mishra wrote:
>>>>> The G2G KUnit test allocates a compact N×N matrix sized by gt_count
>>>>> and verifies entries using dense indices: idx = (j * gt_count) + i
>>>>>
>>>>> The producer path currently computes idx using
>>>>> gt->info.id. However, gt->info.id values
>>>>> are not guaranteed to be contiguous.
>>>>> For example, with gt_count=2 and IDs {0,3}, this formula produces
>>>>> indices beyond the allocated range, causing mismatches and potential
>>>>> out-of-bounds access.
>>>>>
>>>>> Update the producer to map each GT to a dense index in
>>>>> [0..gt_count-1] and compute:
>>>>>        idx = (tx_dense * gt_count) + rx_dense
>>>>>
>>>>> Additionally, introduce an event-based delay in g2g_test_in_order()
>>>>> to ensure ordering between sends.
>>>>>
>>>>> v2: Add single helper function (Daniele)
>>>>>
>>>>> Signed-off-by: Pallavi Mishra <pallavi.mishra@intel.com>
>>>>> ---
>>>>>     drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c | 56
>>>> +++++++++++++++++++++-
>>>>>     1 file changed, 54 insertions(+), 2 deletions(-)
>>>>>
>>>>> diff --git a/drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c
>>>>> b/drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c
>>>>> index 3b213fcae916..ec18086b98d8 100644
>>>>> --- a/drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c
>>>>> +++ b/drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c
>>>>> @@ -48,6 +48,38 @@ struct g2g_test_payload  {
>>>>>     	u32 seqno;
>>>>>     };
>>>>>
>>>>> +static int slot_index_from_gts(struct xe_gt *tx_gt, struct xe_gt
>>>>> +*rx_gt) {
>>>>> +	struct xe_device *xe = gt_to_xe(tx_gt);
>>>>> +	int idx = 0, found = 0, id, tx_idx, rx_idx;
>>>>> +	struct xe_gt *gt;
>>>>> +	struct kunit *test = kunit_get_current_test();
>>>>> +
>>>>> +	for (id = 0; id < xe->info.tile_count * xe->info.max_gt_per_tile; id++) {
>>>>> +		gt = xe_device_get_gt(xe, id);
>>>>> +		if (!gt)
>>>>> +			continue;
>>>>> +		if (gt == tx_gt) {
>>>>> +			tx_idx = idx;
>>>>> +			found++;
>>>>> +		}
>>>>> +		if (gt == rx_gt) {
>>>>> +			rx_idx = idx;
>>>>> +			found++;
>>>>> +		}
>>>>> +
>>>>> +		if (found == 2)
>>>>> +			break;
>>>>> +
>>>>> +		idx++;
>>>>> +	}
>>>>> +
>>>>> +	if (found != 2)
>>>>> +		KUNIT_FAIL(test, "GT index not found");
>>>>> +
>>>>> +	return (tx_idx * xe->info.gt_count) + rx_idx; }
>>>>> +
>>>>>     static void g2g_test_send(struct kunit *test, struct xe_guc *guc,
>>>>>     			  u32 far_tile, u32 far_dev,
>>>>>     			  struct g2g_test_payload *payload) @@ -163,7
>>>> +195,7 @@ int
>>>>> xe_guc_g2g_test_notification(struct xe_guc *guc, u32 *msg, u32 len)
>>>>>     		goto done;
>>>>>     	}
>>>>>
>>>>> -	idx = (tx_gt->info.id * xe->info.gt_count) + rx_gt->info.id;
>>>>> +	idx = slot_index_from_gts(tx_gt, rx_gt);
>>>>>
>>>>>     	if (xe->g2g_test_array[idx] != payload->seqno - 1) {
>>>>>     		xe_gt_err(rx_gt, "G2G: Seqno mismatch %d vs %d for %d:%d -
>>>>>
>>>>> %d:%d!\n", @@ -180,13 +212,17 @@ int
>>>> xe_guc_g2g_test_notification(struct xe_guc *guc, u32 *msg, u32 len)
>>>>>     	return ret;
>>>>>     }
>>>>>
>>>>> +#define G2G_WAIT_TIMEOUT_MS 100
>>>>> +#define G2G_WAIT_POLL_MS 1
>>>>> +
>>>>>     /*
>>>>>      * Send the given seqno from all GuCs to all other GuCs in tile/GT order
>>>>>      */
>>>>>     static void g2g_test_in_order(struct kunit *test, struct
>>>>> xe_device *xe, u32
>>>> seqno)
>>>>>     {
>>>>>     	struct xe_gt *near_gt, *far_gt;
>>>>> -	int i, j;
>>>>> +	int i, j, waited;
>>>>> +	u32 idx;
>>>>>
>>>>>     	for_each_gt(near_gt, xe, i) {
>>>>>     		u32 near_tile = gt_to_tile(near_gt)->id; @@ -205,6 +241,22
>>>> @@
>>>>> static void g2g_test_in_order(struct kunit *test, struct xe_device
>>>>> *xe, u32
>>>> seqn
>>>>>     			payload.rx_dev = far_dev;
>>>>>     			payload.rx_tile = far_tile;
>>>>>     			payload.seqno = seqno;
>>>>> +
>>>>> +			/* Calculate idx for event-based wait */
>>>>> +			idx = slot_index_from_gts(near_gt, far_gt);
>>>>> +			waited = 0;
>>>>> +
>>>>> +			/* Wait for previous seqno to be acknowledged
>>>> before sending */
>>>>> +			while (xe->g2g_test_array[idx] != (seqno - 1)) {
>>>>> +				msleep(G2G_WAIT_POLL_MS);
>>>>> +				waited += G2G_WAIT_POLL_MS;
>>>>> +				if (waited >= G2G_WAIT_TIMEOUT_MS) {
>>>>> +					kunit_info(test, "Timeout waiting! tx
>>>> gt: %d, rx gt: %d\n",
>>>>> +						   near_gt->info.id, far_gt-
>>>>> info.id);
>>>> Sorry I missed this on the previous rev, but shouldn't this be a
>>>> failure? If we don't get one of the previous messages then something has
>> gone wrong.
>>>> The patch looks good to me apart from this.
>>>>
>>>> Daniele
>>> I think marking a failure at this point may be too early. Seqno check
>>> validation happens later on in g2g_run_test() and also in
>>> xe_guc_g2g_test_notification(). If any notification is missed or out of order,
>> the test will fail at that stage.
>>
>> Then why wait for it at all? either waiting for it is significant (and therefore we
>> fail the test if the wait times out) or it doesn't matter because we have other
>> checks later (in which case we can just avoid waiting).
>>
>> Daniele
> To provide some background here, the while loop and wait are primarily added to pace the test and avoid sending back-to-back messages, which previously caused the test to always time out waiting for notifications. Introducing a delay/sleep before the g2g_test_send() resolved this. During internal review it was suggested that a fixed delay here may not work across platforms, so I modified the same to an event based delay. So the wait here isn't meant to validate correctness at this stage, but simply pace the test. The timeout message here might be confusing, so I can remove it if preferred. Please let me know your thoughts.

Ok, then please expand the comment to reflect this. Maybe something like 
"Wait for previous seqno to be acknowledged before sending, to avoid 
queuing too many messages back-to-back and causing a test timeout. 
Actual message correctness will be checked in 
xe_guc_g2g_test_notification()".

Daniele

>
>>> Pallavi
>>>>> +					break;
>>>>> +				}
>>>>> +			}
>>>>> +
>>>>>     			g2g_test_send(test, &near_gt->uc.guc, far_tile,
>>>> far_dev, &payload);
>>>>>     		}
>>>>>     	}


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

* RE: [PATCH v2] drm/xe/tests: Fix g2g_test_array indexing
  2026-01-29  0:27         ` Daniele Ceraolo Spurio
@ 2026-01-29  0:40           ` Mishra, Pallavi
  0 siblings, 0 replies; 10+ messages in thread
From: Mishra, Pallavi @ 2026-01-29  0:40 UTC (permalink / raw)
  To: Ceraolo Spurio, Daniele, intel-xe@lists.freedesktop.org
  Cc: Vishwanathapura, Niranjana, Summers, Stuart



> -----Original Message-----
> From: Ceraolo Spurio, Daniele <daniele.ceraolospurio@intel.com>
> Sent: Wednesday, January 28, 2026 4:27 PM
> To: Mishra, Pallavi <pallavi.mishra@intel.com>; intel-xe@lists.freedesktop.org
> Cc: Vishwanathapura, Niranjana <niranjana.vishwanathapura@intel.com>;
> Summers, Stuart <stuart.summers@intel.com>
> Subject: Re: [PATCH v2] drm/xe/tests: Fix g2g_test_array indexing
> 
> 
> 
> On 1/22/2026 6:41 PM, Mishra, Pallavi wrote:
> >
> >> -----Original Message-----
> >> From: Ceraolo Spurio, Daniele <daniele.ceraolospurio@intel.com>
> >> Sent: Thursday, January 22, 2026 3:01 PM
> >> To: Mishra, Pallavi <pallavi.mishra@intel.com>;
> >> intel-xe@lists.freedesktop.org
> >> Cc: Vishwanathapura, Niranjana <niranjana.vishwanathapura@intel.com>;
> >> Summers, Stuart <stuart.summers@intel.com>
> >> Subject: Re: [PATCH v2] drm/xe/tests: Fix g2g_test_array indexing
> >>
> >>
> >>
> >> On 1/22/2026 11:33 AM, Mishra, Pallavi wrote:
> >>>> -----Original Message-----
> >>>> From: Ceraolo Spurio, Daniele <daniele.ceraolospurio@intel.com>
> >>>> Sent: Wednesday, January 21, 2026 4:20 PM
> >>>> To: Mishra, Pallavi <pallavi.mishra@intel.com>;
> >>>> intel-xe@lists.freedesktop.org
> >>>> Cc: Vishwanathapura, Niranjana
> >>>> <niranjana.vishwanathapura@intel.com>;
> >>>> Summers, Stuart <stuart.summers@intel.com>
> >>>> Subject: Re: [PATCH v2] drm/xe/tests: Fix g2g_test_array indexing
> >>>>
> >>>>
> >>>>
> >>>> On 1/15/2026 4:25 PM, Pallavi Mishra wrote:
> >>>>> The G2G KUnit test allocates a compact N×N matrix sized by
> >>>>> gt_count and verifies entries using dense indices: idx = (j *
> >>>>> gt_count) + i
> >>>>>
> >>>>> The producer path currently computes idx using
> >>>>> gt->info.id. However, gt->info.id values
> >>>>> are not guaranteed to be contiguous.
> >>>>> For example, with gt_count=2 and IDs {0,3}, this formula produces
> >>>>> indices beyond the allocated range, causing mismatches and
> >>>>> potential out-of-bounds access.
> >>>>>
> >>>>> Update the producer to map each GT to a dense index in
> >>>>> [0..gt_count-1] and compute:
> >>>>>        idx = (tx_dense * gt_count) + rx_dense
> >>>>>
> >>>>> Additionally, introduce an event-based delay in
> >>>>> g2g_test_in_order() to ensure ordering between sends.
> >>>>>
> >>>>> v2: Add single helper function (Daniele)
> >>>>>
> >>>>> Signed-off-by: Pallavi Mishra <pallavi.mishra@intel.com>
> >>>>> ---
> >>>>>     drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c | 56
> >>>> +++++++++++++++++++++-
> >>>>>     1 file changed, 54 insertions(+), 2 deletions(-)
> >>>>>
> >>>>> diff --git a/drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c
> >>>>> b/drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c
> >>>>> index 3b213fcae916..ec18086b98d8 100644
> >>>>> --- a/drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c
> >>>>> +++ b/drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c
> >>>>> @@ -48,6 +48,38 @@ struct g2g_test_payload  {
> >>>>>     	u32 seqno;
> >>>>>     };
> >>>>>
> >>>>> +static int slot_index_from_gts(struct xe_gt *tx_gt, struct xe_gt
> >>>>> +*rx_gt) {
> >>>>> +	struct xe_device *xe = gt_to_xe(tx_gt);
> >>>>> +	int idx = 0, found = 0, id, tx_idx, rx_idx;
> >>>>> +	struct xe_gt *gt;
> >>>>> +	struct kunit *test = kunit_get_current_test();
> >>>>> +
> >>>>> +	for (id = 0; id < xe->info.tile_count * xe->info.max_gt_per_tile;
> id++) {
> >>>>> +		gt = xe_device_get_gt(xe, id);
> >>>>> +		if (!gt)
> >>>>> +			continue;
> >>>>> +		if (gt == tx_gt) {
> >>>>> +			tx_idx = idx;
> >>>>> +			found++;
> >>>>> +		}
> >>>>> +		if (gt == rx_gt) {
> >>>>> +			rx_idx = idx;
> >>>>> +			found++;
> >>>>> +		}
> >>>>> +
> >>>>> +		if (found == 2)
> >>>>> +			break;
> >>>>> +
> >>>>> +		idx++;
> >>>>> +	}
> >>>>> +
> >>>>> +	if (found != 2)
> >>>>> +		KUNIT_FAIL(test, "GT index not found");
> >>>>> +
> >>>>> +	return (tx_idx * xe->info.gt_count) + rx_idx; }
> >>>>> +
> >>>>>     static void g2g_test_send(struct kunit *test, struct xe_guc *guc,
> >>>>>     			  u32 far_tile, u32 far_dev,
> >>>>>     			  struct g2g_test_payload *payload) @@ -
> 163,7
> >>>> +195,7 @@ int
> >>>>> xe_guc_g2g_test_notification(struct xe_guc *guc, u32 *msg, u32 len)
> >>>>>     		goto done;
> >>>>>     	}
> >>>>>
> >>>>> -	idx = (tx_gt->info.id * xe->info.gt_count) + rx_gt->info.id;
> >>>>> +	idx = slot_index_from_gts(tx_gt, rx_gt);
> >>>>>
> >>>>>     	if (xe->g2g_test_array[idx] != payload->seqno - 1) {
> >>>>>     		xe_gt_err(rx_gt, "G2G: Seqno mismatch %d vs %d for
> %d:%d -
> >>>>>
> >>>>> %d:%d!\n", @@ -180,13 +212,17 @@ int
> >>>> xe_guc_g2g_test_notification(struct xe_guc *guc, u32 *msg, u32 len)
> >>>>>     	return ret;
> >>>>>     }
> >>>>>
> >>>>> +#define G2G_WAIT_TIMEOUT_MS 100
> >>>>> +#define G2G_WAIT_POLL_MS 1
> >>>>> +
> >>>>>     /*
> >>>>>      * Send the given seqno from all GuCs to all other GuCs in tile/GT
> order
> >>>>>      */
> >>>>>     static void g2g_test_in_order(struct kunit *test, struct
> >>>>> xe_device *xe, u32
> >>>> seqno)
> >>>>>     {
> >>>>>     	struct xe_gt *near_gt, *far_gt;
> >>>>> -	int i, j;
> >>>>> +	int i, j, waited;
> >>>>> +	u32 idx;
> >>>>>
> >>>>>     	for_each_gt(near_gt, xe, i) {
> >>>>>     		u32 near_tile = gt_to_tile(near_gt)->id; @@ -205,6
> +241,22
> >>>> @@
> >>>>> static void g2g_test_in_order(struct kunit *test, struct xe_device
> >>>>> *xe, u32
> >>>> seqn
> >>>>>     			payload.rx_dev = far_dev;
> >>>>>     			payload.rx_tile = far_tile;
> >>>>>     			payload.seqno = seqno;
> >>>>> +
> >>>>> +			/* Calculate idx for event-based wait */
> >>>>> +			idx = slot_index_from_gts(near_gt, far_gt);
> >>>>> +			waited = 0;
> >>>>> +
> >>>>> +			/* Wait for previous seqno to be
> acknowledged
> >>>> before sending */
> >>>>> +			while (xe->g2g_test_array[idx] != (seqno - 1)) {
> >>>>> +				msleep(G2G_WAIT_POLL_MS);
> >>>>> +				waited += G2G_WAIT_POLL_MS;
> >>>>> +				if (waited >=
> G2G_WAIT_TIMEOUT_MS) {
> >>>>> +					kunit_info(test, "Timeout
> waiting! tx
> >>>> gt: %d, rx gt: %d\n",
> >>>>> +						   near_gt->info.id,
> far_gt-
> >>>>> info.id);
> >>>> Sorry I missed this on the previous rev, but shouldn't this be a
> >>>> failure? If we don't get one of the previous messages then
> >>>> something has
> >> gone wrong.
> >>>> The patch looks good to me apart from this.
> >>>>
> >>>> Daniele
> >>> I think marking a failure at this point may be too early. Seqno
> >>> check validation happens later on in g2g_run_test() and also in
> >>> xe_guc_g2g_test_notification(). If any notification is missed or out
> >>> of order,
> >> the test will fail at that stage.
> >>
> >> Then why wait for it at all? either waiting for it is significant
> >> (and therefore we fail the test if the wait times out) or it doesn't
> >> matter because we have other checks later (in which case we can just
> avoid waiting).
> >>
> >> Daniele
> > To provide some background here, the while loop and wait are primarily
> added to pace the test and avoid sending back-to-back messages, which
> previously caused the test to always time out waiting for notifications.
> Introducing a delay/sleep before the g2g_test_send() resolved this. During
> internal review it was suggested that a fixed delay here may not work across
> platforms, so I modified the same to an event based delay. So the wait here
> isn't meant to validate correctness at this stage, but simply pace the test. The
> timeout message here might be confusing, so I can remove it if preferred.
> Please let me know your thoughts.
> 
> Ok, then please expand the comment to reflect this. Maybe something like
> "Wait for previous seqno to be acknowledged before sending, to avoid
> queuing too many messages back-to-back and causing a test timeout.
> Actual message correctness will be checked in
> xe_guc_g2g_test_notification()".
> 
> Daniele

Sure. I will modify the comment.

Pallavi
> 
> >
> >>> Pallavi
> >>>>> +					break;
> >>>>> +				}
> >>>>> +			}
> >>>>> +
> >>>>>     			g2g_test_send(test, &near_gt->uc.guc,
> far_tile,
> >>>> far_dev, &payload);
> >>>>>     		}
> >>>>>     	}


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

end of thread, other threads:[~2026-01-29  0:40 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-16  0:25 [PATCH v2] drm/xe/tests: Fix g2g_test_array indexing Pallavi Mishra
2026-01-16  0:32 ` ✓ CI.KUnit: success for drm/xe/tests: Fix g2g_test_array indexing (rev2) Patchwork
2026-01-16  1:13 ` ✓ Xe.CI.BAT: " Patchwork
2026-01-16  5:39 ` ✗ Xe.CI.Full: failure " Patchwork
2026-01-22  0:20 ` [PATCH v2] drm/xe/tests: Fix g2g_test_array indexing Daniele Ceraolo Spurio
2026-01-22 19:33   ` Mishra, Pallavi
2026-01-22 23:01     ` Daniele Ceraolo Spurio
2026-01-23  2:41       ` Mishra, Pallavi
2026-01-29  0:27         ` Daniele Ceraolo Spurio
2026-01-29  0:40           ` Mishra, Pallavi

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