* [PATCH v5 00/25] CPU binds and ULLS on migration queue
@ 2026-09-04 2:21 Matthew Brost
2026-09-04 2:21 ` [PATCH v5 01/25] drm/xe: Drop struct xe_migrate_pt_update argument from populate/clear vfuns Matthew Brost
` (28 more replies)
0 siblings, 29 replies; 41+ messages in thread
From: Matthew Brost @ 2026-09-04 2:21 UTC (permalink / raw)
To: intel-xe
We now have data demonstrating the need for CPU binds and ULLS on the
migration queue, based on results generated from [1].
On BMG, measurements show that when the GPU is continuously processing
faults, copy jobs run approximately 30–40µs faster (depending on the
test case) with ULLS compared to traditional GuC submission with SLPC
enabled on the migration queue. Startup from a cold GPU shows an even
larger speedup. Given the critical nature of fault performance, ULLS
appears to be a worthwhile feature.
In addition to driver telemetry, UMD compute benchmarks consistently
show multiple GB/s improvement in pagefault benchmarks with ULLS enabled.
ULLS will consume more power (not yet measured) due to a continuously
running batch on the paging engine. However, compute UMDs already do
this on engines exposed to users, so this seems like a worthwhile
tradeoff. To mitigate power concerns, ULLS will exit after a period of
time in which no faults have been processed.
CPU binds are required for ULLS to function, as the migration queue
needs exclusive access to the paging hardware engine. Thus, CPU binds
are included here.
Beyond being a requirement for ULLS, CPU binds should also reduce
VM-bind latency, provide clearer multi-tile and TLB-invalidation
layering, reduce pressure on GuC during fault storms as it is bypassed,
and decouple kernel binds from unrelated copy/clear jobs—especially
beneficial when faults are serviced in parallel. In a parallel-faulting
test case, average bind time was reduced by approximately 15µs. In the
worst case, 2MB copy time (~60–140µs) × (number of pagefault threads −
1) of latency would otherwise be added to a single fault. Reducing this
latency increases overall throughput of the fault handler.
This series can be merged in phases:
Phase 1: CPU binds (patches 1–13)
Phase 2: CPU-bind components and multi-tile relayers (patches 14–17)
Phase 3: ULLS on the migration execution queue (patches 18–25)
v2:
- Use delayed worker to exit ULLS mode in an effort to save on power
- Various other cleanups
v3:
- CPU bind component, multi-tile relayer
- Split CPU bind patches in many small patches
v4:
- Rebase, address feedback, add ULLS doc patch
v5:
- Address Sashiko feedback, fix checkpatch issues
Matt
[1] https://patchwork.freedesktop.org/series/149811/
Matthew Brost (25):
drm/xe: Drop struct xe_migrate_pt_update argument from populate/clear
vfuns
drm/xe: Add xe_migrate_update_pgtables_cpu_execute helper
drm/xe: Decouple exec queue idle check from LRC
drm/xe: Add job count to GuC exec queue snapshot
drm/xe: Update xe_bo_put_deferred arguments to include writeback flag
drm/xe: Add XE_BO_FLAG_PUT_VM_ASYNC
drm/xe: Update scheduler job layer to support PT jobs
drm/xe: Add helpers to access PT ops
drm/xe: Add struct xe_pt_job_ops
drm/xe: Update GuC submission backend to run PT jobs
drm/xe: Store level in struct xe_vm_pgtable_update
drm/xe: Don't use migrate exec queue for page fault binds
drm/xe: Enable CPU binds for jobs
drm/xe: Remove unused arguments from xe_migrate_pt_update_ops
drm/xe: Make bind queues operate cross-tile
drm/xe: Add CPU bind layer
drm/xe: Add device flag to enable PT mirroring across tiles
drm/xe: Add xe_hw_engine_write_ring_tail
drm/xe: Add ULLS support to LRC
drm/xe: Add ULLS migration job support to migration layer
drm/xe: Add ULLS migration job support to ring ops
drm/xe: Add ULLS migration job support to GuC submission
drm/xe: Enter ULLS for migration jobs upon page fault or SVM prefetch
drm/xe: Add modparam to enable / disable ULLS on migrate queue
drm/xe: Document ULLS for migration jobs
Documentation/gpu/xe/xe_migrate.rst | 3 +
drivers/gpu/drm/xe/Makefile | 1 +
drivers/gpu/drm/xe/xe_bo.c | 8 +-
drivers/gpu/drm/xe/xe_bo.h | 11 +-
drivers/gpu/drm/xe/xe_bo_types.h | 2 -
drivers/gpu/drm/xe/xe_cpu_bind.c | 298 +++++++++
drivers/gpu/drm/xe/xe_cpu_bind.h | 118 ++++
drivers/gpu/drm/xe/xe_debugfs.c | 1 +
drivers/gpu/drm/xe/xe_defaults.h | 1 +
drivers/gpu/drm/xe/xe_device.c | 6 +
drivers/gpu/drm/xe/xe_device_types.h | 11 +
drivers/gpu/drm/xe/xe_drm_client.c | 2 +-
drivers/gpu/drm/xe/xe_exec_queue.c | 163 ++---
drivers/gpu/drm/xe/xe_exec_queue.h | 16 +-
drivers/gpu/drm/xe/xe_exec_queue_types.h | 20 +-
drivers/gpu/drm/xe/xe_guc_submit.c | 78 ++-
drivers/gpu/drm/xe/xe_guc_submit_types.h | 2 +
drivers/gpu/drm/xe/xe_hw_engine.c | 20 +
drivers/gpu/drm/xe/xe_hw_engine.h | 1 +
drivers/gpu/drm/xe/xe_lrc.c | 51 ++
drivers/gpu/drm/xe/xe_lrc.h | 3 +
drivers/gpu/drm/xe/xe_lrc_types.h | 4 +
drivers/gpu/drm/xe/xe_migrate.c | 704 +++++++++-----------
drivers/gpu/drm/xe/xe_migrate.h | 95 +--
drivers/gpu/drm/xe/xe_module.c | 4 +
drivers/gpu/drm/xe/xe_module.h | 1 +
drivers/gpu/drm/xe/xe_pagefault.c | 3 +
drivers/gpu/drm/xe/xe_pci.c | 2 +
drivers/gpu/drm/xe/xe_pci_types.h | 3 +-
drivers/gpu/drm/xe/xe_pt.c | 786 ++++++++++++++---------
drivers/gpu/drm/xe/xe_pt.h | 12 +-
drivers/gpu/drm/xe/xe_pt_types.h | 49 +-
drivers/gpu/drm/xe/xe_ring_ops.c | 32 +
drivers/gpu/drm/xe/xe_sched_job.c | 103 ++-
drivers/gpu/drm/xe/xe_sched_job_types.h | 36 +-
drivers/gpu/drm/xe/xe_sync.c | 20 +-
drivers/gpu/drm/xe/xe_tlb_inval_job.c | 28 +-
drivers/gpu/drm/xe/xe_tlb_inval_job.h | 4 +-
drivers/gpu/drm/xe/xe_trace.h | 2 +-
drivers/gpu/drm/xe/xe_vm.c | 240 +++----
drivers/gpu/drm/xe/xe_vm.h | 3 +
drivers/gpu/drm/xe/xe_vm_types.h | 12 +-
42 files changed, 1770 insertions(+), 1189 deletions(-)
create mode 100644 drivers/gpu/drm/xe/xe_cpu_bind.c
create mode 100644 drivers/gpu/drm/xe/xe_cpu_bind.h
--
2.34.1
^ permalink raw reply [flat|nested] 41+ messages in thread
* [PATCH v5 01/25] drm/xe: Drop struct xe_migrate_pt_update argument from populate/clear vfuns
2026-09-04 2:21 [PATCH v5 00/25] CPU binds and ULLS on migration queue Matthew Brost
@ 2026-09-04 2:21 ` Matthew Brost
2026-09-04 2:21 ` [PATCH v5 02/25] drm/xe: Add xe_migrate_update_pgtables_cpu_execute helper Matthew Brost
` (27 subsequent siblings)
28 siblings, 0 replies; 41+ messages in thread
From: Matthew Brost @ 2026-09-04 2:21 UTC (permalink / raw)
To: intel-xe; +Cc: Francois Dugast
Remove the xe_migrate_pt_update argument from the populate and clear
vfuns. This structure will not be available in run_job, where CPU binds
will be implemented. The populate path no longer needs it, and the clear
path already uses the VM field instead.
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Francois Dugast <francois.dugast@intel.com>
Link: https://patch.msgid.link/20260228013501.106680-2-matthew.brost@intel.com
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
---
drivers/gpu/drm/xe/xe_migrate.c | 9 +++++----
drivers/gpu/drm/xe/xe_migrate.h | 12 +++++-------
drivers/gpu/drm/xe/xe_pt.c | 12 +++++-------
3 files changed, 15 insertions(+), 18 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_migrate.c b/drivers/gpu/drm/xe/xe_migrate.c
index ff45c24d8889..149c5fa654e6 100644
--- a/drivers/gpu/drm/xe/xe_migrate.c
+++ b/drivers/gpu/drm/xe/xe_migrate.c
@@ -1760,6 +1760,7 @@ static void write_pgtable(struct xe_tile *tile, struct xe_bb *bb, u64 ppgtt_ofs,
struct xe_migrate_pt_update *pt_update)
{
const struct xe_migrate_pt_update_ops *ops = pt_update->ops;
+ struct xe_vm *vm = pt_update->vops->vm;
u32 chunk;
u32 ofs = update->ofs, size = update->qwords;
@@ -1791,10 +1792,10 @@ static void write_pgtable(struct xe_tile *tile, struct xe_bb *bb, u64 ppgtt_ofs,
bb->cs[bb->len++] = lower_32_bits(addr);
bb->cs[bb->len++] = upper_32_bits(addr);
if (pt_op->bind)
- ops->populate(pt_update, tile, NULL, bb->cs + bb->len,
+ ops->populate(tile, NULL, bb->cs + bb->len,
ofs, chunk, update);
else
- ops->clear(pt_update, tile, NULL, bb->cs + bb->len,
+ ops->clear(vm, tile, NULL, bb->cs + bb->len,
ofs, chunk, update);
bb->len += chunk * 2;
@@ -1851,12 +1852,12 @@ xe_migrate_update_pgtables_cpu(struct xe_migrate *m,
&pt_op->entries[j];
if (pt_op->bind)
- ops->populate(pt_update, m->tile,
+ ops->populate(m->tile,
&update->pt_bo->vmap, NULL,
update->ofs, update->qwords,
update);
else
- ops->clear(pt_update, m->tile,
+ ops->clear(vm, m->tile,
&update->pt_bo->vmap, NULL,
update->ofs, update->qwords, update);
}
diff --git a/drivers/gpu/drm/xe/xe_migrate.h b/drivers/gpu/drm/xe/xe_migrate.h
index a9acc62f78f0..2ec9de896dfe 100644
--- a/drivers/gpu/drm/xe/xe_migrate.h
+++ b/drivers/gpu/drm/xe/xe_migrate.h
@@ -40,7 +40,6 @@ enum xe_migrate_copy_dir {
struct xe_migrate_pt_update_ops {
/**
* @populate: Populate a command buffer or page-table with ptes.
- * @pt_update: Embeddable callback argument.
* @tile: The tile for the current operation.
* @map: struct iosys_map into the memory to be populated.
* @pos: If @map is NULL, map into the memory to be populated.
@@ -52,13 +51,12 @@ struct xe_migrate_pt_update_ops {
* page-table system to populate command buffers or shared
* page-tables with PTEs.
*/
- void (*populate)(struct xe_migrate_pt_update *pt_update,
- struct xe_tile *tile, struct iosys_map *map,
+ void (*populate)(struct xe_tile *tile, struct iosys_map *map,
void *pos, u32 ofs, u32 num_qwords,
const struct xe_vm_pgtable_update *update);
/**
* @clear: Clear a command buffer or page-table with ptes.
- * @pt_update: Embeddable callback argument.
+ * @vm: VM being updated
* @tile: The tile for the current operation.
* @map: struct iosys_map into the memory to be populated.
* @pos: If @map is NULL, map into the memory to be populated.
@@ -70,9 +68,9 @@ struct xe_migrate_pt_update_ops {
* page-table system to populate command buffers or shared
* page-tables with PTEs.
*/
- void (*clear)(struct xe_migrate_pt_update *pt_update,
- struct xe_tile *tile, struct iosys_map *map,
- void *pos, u32 ofs, u32 num_qwords,
+ void (*clear)(struct xe_vm *vm, struct xe_tile *tile,
+ struct iosys_map *map, void *pos, u32 ofs,
+ u32 num_qwords,
const struct xe_vm_pgtable_update *update);
/**
diff --git a/drivers/gpu/drm/xe/xe_pt.c b/drivers/gpu/drm/xe/xe_pt.c
index 5d990c1c3740..854c0a59af71 100644
--- a/drivers/gpu/drm/xe/xe_pt.c
+++ b/drivers/gpu/drm/xe/xe_pt.c
@@ -1092,9 +1092,8 @@ bool xe_pt_zap_ptes_range(struct xe_tile *tile, struct xe_vm *vm,
}
static void
-xe_vm_populate_pgtable(struct xe_migrate_pt_update *pt_update, struct xe_tile *tile,
- struct iosys_map *map, void *data,
- u32 qword_ofs, u32 num_qwords,
+xe_vm_populate_pgtable(struct xe_tile *tile, struct iosys_map *map,
+ void *data, u32 qword_ofs, u32 num_qwords,
const struct xe_vm_pgtable_update *update)
{
struct xe_pt_entry *ptes = update->pt_entries;
@@ -2008,12 +2007,11 @@ static unsigned int xe_pt_stage_unbind(struct xe_tile *tile,
}
static void
-xe_migrate_clear_pgtable_callback(struct xe_migrate_pt_update *pt_update,
- struct xe_tile *tile, struct iosys_map *map,
- void *ptr, u32 qword_ofs, u32 num_qwords,
+xe_migrate_clear_pgtable_callback(struct xe_vm *vm, struct xe_tile *tile,
+ struct iosys_map *map, void *ptr,
+ u32 qword_ofs, u32 num_qwords,
const struct xe_vm_pgtable_update *update)
{
- struct xe_vm *vm = pt_update->vops->vm;
u64 empty = __xe_pt_empty_pte(tile, vm, update->pt->level);
int i;
--
2.34.1
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [PATCH v5 02/25] drm/xe: Add xe_migrate_update_pgtables_cpu_execute helper
2026-09-04 2:21 [PATCH v5 00/25] CPU binds and ULLS on migration queue Matthew Brost
2026-09-04 2:21 ` [PATCH v5 01/25] drm/xe: Drop struct xe_migrate_pt_update argument from populate/clear vfuns Matthew Brost
@ 2026-09-04 2:21 ` Matthew Brost
2026-09-04 2:37 ` sashiko-bot
2026-09-04 2:21 ` [PATCH v5 03/25] drm/xe: Decouple exec queue idle check from LRC Matthew Brost
` (26 subsequent siblings)
28 siblings, 1 reply; 41+ messages in thread
From: Matthew Brost @ 2026-09-04 2:21 UTC (permalink / raw)
To: intel-xe; +Cc: Francois Dugast
Add the xe_migrate_update_pgtables_cpu_execute helper, which performs
the CPU-side page-table update. This will support implementing CPU
binds, as the submission backend can call this helper once a bind job’s
dependencies are resolved. While here, add assertions to provide basic
sanity checks on tht function arguments.
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Francois Dugast <francois.dugast@intel.com>
Link: https://patch.msgid.link/20260228013501.106680-3-matthew.brost@intel.com
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
---
drivers/gpu/drm/xe/xe_migrate.c | 58 ++++++++++++++++++++-------------
1 file changed, 35 insertions(+), 23 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_migrate.c b/drivers/gpu/drm/xe/xe_migrate.c
index 149c5fa654e6..68a0b05f56ec 100644
--- a/drivers/gpu/drm/xe/xe_migrate.c
+++ b/drivers/gpu/drm/xe/xe_migrate.c
@@ -1819,6 +1819,38 @@ struct migrate_test_params {
container_of(_priv, struct migrate_test_params, base)
#endif
+static void
+xe_migrate_update_pgtables_cpu_execute(struct xe_vm *vm, struct xe_tile *tile,
+ const struct xe_migrate_pt_update_ops *ops,
+ struct xe_vm_pgtable_update_op *pt_op,
+ u32 num_ops)
+{
+ u32 j, i;
+
+ for (j = 0; j < num_ops; ++j, ++pt_op) {
+ for (i = 0; i < pt_op->num_entries; i++) {
+ const struct xe_vm_pgtable_update *update =
+ &pt_op->entries[i];
+
+ xe_tile_assert(tile, update);
+ xe_tile_assert(tile, update->pt_bo);
+ xe_tile_assert(tile, !iosys_map_is_null(&update->pt_bo->vmap));
+
+ if (pt_op->bind)
+ ops->populate(tile, &update->pt_bo->vmap,
+ NULL, update->ofs, update->qwords,
+ update);
+ else
+ ops->clear(vm, tile, &update->pt_bo->vmap,
+ NULL, update->ofs, update->qwords,
+ update);
+ }
+ }
+
+ trace_xe_vm_cpu_bind(vm);
+ xe_device_wmb(vm->xe);
+}
+
static struct dma_fence *
xe_migrate_update_pgtables_cpu(struct xe_migrate *m,
struct xe_migrate_pt_update *pt_update)
@@ -1831,7 +1863,6 @@ xe_migrate_update_pgtables_cpu(struct xe_migrate *m,
struct xe_vm_pgtable_update_ops *pt_update_ops =
&pt_update->vops->pt_update_ops[pt_update->tile_id];
int err;
- u32 i, j;
if (XE_TEST_ONLY(test && test->force_gpu))
return ERR_PTR(-ETIME);
@@ -1843,28 +1874,9 @@ xe_migrate_update_pgtables_cpu(struct xe_migrate *m,
return ERR_PTR(err);
}
- for (i = 0; i < pt_update_ops->num_ops; ++i) {
- const struct xe_vm_pgtable_update_op *pt_op =
- &pt_update_ops->ops[i];
-
- for (j = 0; j < pt_op->num_entries; j++) {
- const struct xe_vm_pgtable_update *update =
- &pt_op->entries[j];
-
- if (pt_op->bind)
- ops->populate(m->tile,
- &update->pt_bo->vmap, NULL,
- update->ofs, update->qwords,
- update);
- else
- ops->clear(vm, m->tile,
- &update->pt_bo->vmap, NULL,
- update->ofs, update->qwords, update);
- }
- }
-
- trace_xe_vm_cpu_bind(vm);
- xe_device_wmb(vm->xe);
+ xe_migrate_update_pgtables_cpu_execute(vm, m->tile, ops,
+ pt_update_ops->ops,
+ pt_update_ops->num_ops);
return dma_fence_get_stub();
}
--
2.34.1
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [PATCH v5 03/25] drm/xe: Decouple exec queue idle check from LRC
2026-09-04 2:21 [PATCH v5 00/25] CPU binds and ULLS on migration queue Matthew Brost
2026-09-04 2:21 ` [PATCH v5 01/25] drm/xe: Drop struct xe_migrate_pt_update argument from populate/clear vfuns Matthew Brost
2026-09-04 2:21 ` [PATCH v5 02/25] drm/xe: Add xe_migrate_update_pgtables_cpu_execute helper Matthew Brost
@ 2026-09-04 2:21 ` Matthew Brost
2026-09-04 2:21 ` [PATCH v5 04/25] drm/xe: Add job count to GuC exec queue snapshot Matthew Brost
` (25 subsequent siblings)
28 siblings, 0 replies; 41+ messages in thread
From: Matthew Brost @ 2026-09-04 2:21 UTC (permalink / raw)
To: intel-xe; +Cc: Stuart Summers
We already maintain a job count for each exec queue, so simplify the idle
check to rely on the job count rather than the LRC state. This decouples
exec queues from LRC-based backends and avoids unnecessarily coupling idle
detection to backend-specific implementation details.
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Stuart Summers <stuart.summers@intel.com>
Link: https://patch.msgid.link/20260228013501.106680-4-matthew.brost@intel.com
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
---
drivers/gpu/drm/xe/xe_exec_queue.c | 15 +--------------
1 file changed, 1 insertion(+), 14 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_exec_queue.c b/drivers/gpu/drm/xe/xe_exec_queue.c
index c4213bb9c137..a894551c3ea6 100644
--- a/drivers/gpu/drm/xe/xe_exec_queue.c
+++ b/drivers/gpu/drm/xe/xe_exec_queue.c
@@ -1516,20 +1516,7 @@ bool xe_exec_queue_is_lr(struct xe_exec_queue *q)
*/
bool xe_exec_queue_is_idle(struct xe_exec_queue *q)
{
- if (xe_exec_queue_is_parallel(q)) {
- int i;
-
- for (i = 0; i < q->width; ++i) {
- if (xe_lrc_seqno(q->lrc[i]) !=
- q->lrc[i]->fence_ctx.next_seqno - 1)
- return false;
- }
-
- return true;
- }
-
- return xe_lrc_seqno(q->lrc[0]) ==
- q->lrc[0]->fence_ctx.next_seqno - 1;
+ return !atomic_read(&q->job_cnt);
}
/**
--
2.34.1
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [PATCH v5 04/25] drm/xe: Add job count to GuC exec queue snapshot
2026-09-04 2:21 [PATCH v5 00/25] CPU binds and ULLS on migration queue Matthew Brost
` (2 preceding siblings ...)
2026-09-04 2:21 ` [PATCH v5 03/25] drm/xe: Decouple exec queue idle check from LRC Matthew Brost
@ 2026-09-04 2:21 ` Matthew Brost
2026-09-04 2:21 ` [PATCH v5 05/25] drm/xe: Update xe_bo_put_deferred arguments to include writeback flag Matthew Brost
` (24 subsequent siblings)
28 siblings, 0 replies; 41+ messages in thread
From: Matthew Brost @ 2026-09-04 2:21 UTC (permalink / raw)
To: intel-xe; +Cc: Stuart Summers
Add the job count to the GuC exec queue snapshot, as this is useful
debug information.
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Stuart Summers <stuart.summers@intel.com>
Link: https://patch.msgid.link/20260228013501.106680-5-matthew.brost@intel.com
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
---
drivers/gpu/drm/xe/xe_guc_submit.c | 2 ++
drivers/gpu/drm/xe/xe_guc_submit_types.h | 2 ++
2 files changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/xe/xe_guc_submit.c b/drivers/gpu/drm/xe/xe_guc_submit.c
index 99d8c807ff05..cf306568ef30 100644
--- a/drivers/gpu/drm/xe/xe_guc_submit.c
+++ b/drivers/gpu/drm/xe/xe_guc_submit.c
@@ -3658,6 +3658,7 @@ xe_guc_exec_queue_snapshot_capture(struct xe_exec_queue *q)
snapshot->logical_mask = q->logical_mask;
snapshot->width = q->width;
snapshot->refcount = kref_read(&q->refcount);
+ snapshot->jobcount = atomic_read(&q->job_cnt);
snapshot->sched_timeout = sched->base.timeout;
snapshot->sched_props.timeslice_us = q->sched_props.timeslice_us;
snapshot->sched_props.preempt_timeout_us =
@@ -3730,6 +3731,7 @@ xe_guc_exec_queue_snapshot_print(struct xe_guc_submit_exec_queue_snapshot *snaps
drm_printf(p, "\tLogical mask: 0x%x\n", snapshot->logical_mask);
drm_printf(p, "\tWidth: %d\n", snapshot->width);
drm_printf(p, "\tRef: %d\n", snapshot->refcount);
+ drm_printf(p, "\tJob count: %d\n", snapshot->jobcount);
drm_printf(p, "\tTimeout: %ld (ms)\n", snapshot->sched_timeout);
drm_printf(p, "\tTimeslice: %u (us)\n",
snapshot->sched_props.timeslice_us);
diff --git a/drivers/gpu/drm/xe/xe_guc_submit_types.h b/drivers/gpu/drm/xe/xe_guc_submit_types.h
index 7824f61b1290..8271702e692e 100644
--- a/drivers/gpu/drm/xe/xe_guc_submit_types.h
+++ b/drivers/gpu/drm/xe/xe_guc_submit_types.h
@@ -77,6 +77,8 @@ struct xe_guc_submit_exec_queue_snapshot {
u16 width;
/** @refcount: ref count of this exec queue */
u32 refcount;
+ /** @jobcount: job count of this exec queue */
+ u32 jobcount;
/**
* @sched_timeout: the time after which a job is removed from the
* scheduler.
--
2.34.1
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [PATCH v5 05/25] drm/xe: Update xe_bo_put_deferred arguments to include writeback flag
2026-09-04 2:21 [PATCH v5 00/25] CPU binds and ULLS on migration queue Matthew Brost
` (3 preceding siblings ...)
2026-09-04 2:21 ` [PATCH v5 04/25] drm/xe: Add job count to GuC exec queue snapshot Matthew Brost
@ 2026-09-04 2:21 ` Matthew Brost
2026-09-04 2:44 ` sashiko-bot
2026-09-04 2:21 ` [PATCH v5 06/25] drm/xe: Add XE_BO_FLAG_PUT_VM_ASYNC Matthew Brost
` (23 subsequent siblings)
28 siblings, 1 reply; 41+ messages in thread
From: Matthew Brost @ 2026-09-04 2:21 UTC (permalink / raw)
To: intel-xe; +Cc: Francois Dugast
Update the xe_bo_put_deferred arguments to include a writeback flag,
which indicates whether the BO was added to the deferred list. This is
useful when the caller needs to take additional actions after the BO has
been queued for deferred release.
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Francois Dugast <francois.dugast@intel.com>
Link: https://patch.msgid.link/20260228013501.106680-6-matthew.brost@intel.com
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
---
drivers/gpu/drm/xe/xe_bo.h | 10 ++++++++--
drivers/gpu/drm/xe/xe_drm_client.c | 2 +-
drivers/gpu/drm/xe/xe_pt.c | 2 +-
3 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_bo.h b/drivers/gpu/drm/xe/xe_bo.h
index e8081af5bfc1..6092f305ea8e 100644
--- a/drivers/gpu/drm/xe/xe_bo.h
+++ b/drivers/gpu/drm/xe/xe_bo.h
@@ -495,6 +495,8 @@ void __xe_bo_release_dummy(struct kref *kref);
* @bo: The bo to put.
* @deferred: List to which to add the buffer object if we cannot put, or
* NULL if the function is to put unconditionally.
+ * @added: BO was added to deferred list, written back to caller, can be NULL if
+ * writeback is not needed. Only set to true when added, never set to false.
*
* Since the final freeing of an object includes both sleeping and (!)
* memory allocation in the dma_resv individualization, it's not ok
@@ -514,7 +516,8 @@ void __xe_bo_release_dummy(struct kref *kref);
* false otherwise.
*/
static inline bool
-xe_bo_put_deferred(struct xe_bo *bo, struct llist_head *deferred)
+xe_bo_put_deferred(struct xe_bo *bo, struct llist_head *deferred,
+ bool *added)
{
if (!deferred) {
xe_bo_put(bo);
@@ -524,6 +527,9 @@ xe_bo_put_deferred(struct xe_bo *bo, struct llist_head *deferred)
if (!kref_put(&bo->ttm.base.refcount, __xe_bo_release_dummy))
return false;
+ if (added)
+ *added = true;
+
return llist_add(&bo->freed, deferred);
}
@@ -540,7 +546,7 @@ xe_bo_put_async(struct xe_bo *bo)
{
struct xe_bo_dev *bo_device = &xe_bo_device(bo)->bo_device;
- if (xe_bo_put_deferred(bo, &bo_device->async_list))
+ if (xe_bo_put_deferred(bo, &bo_device->async_list, NULL))
schedule_work(&bo_device->async_free);
}
diff --git a/drivers/gpu/drm/xe/xe_drm_client.c b/drivers/gpu/drm/xe/xe_drm_client.c
index e116fb562c4c..4c424d1c6721 100644
--- a/drivers/gpu/drm/xe/xe_drm_client.c
+++ b/drivers/gpu/drm/xe/xe_drm_client.c
@@ -256,7 +256,7 @@ static void show_meminfo(struct drm_printer *p, struct drm_file *file)
xe_assert(xef->xe, !list_empty(&bo->client_link));
}
- xe_bo_put_deferred(bo, &deferred);
+ xe_bo_put_deferred(bo, &deferred, NULL);
}
spin_unlock(&client->bos_lock);
diff --git a/drivers/gpu/drm/xe/xe_pt.c b/drivers/gpu/drm/xe/xe_pt.c
index 854c0a59af71..3170df1f3fbf 100644
--- a/drivers/gpu/drm/xe/xe_pt.c
+++ b/drivers/gpu/drm/xe/xe_pt.c
@@ -213,7 +213,7 @@ void xe_pt_destroy(struct xe_pt *pt, u32 flags, struct llist_head *deferred)
XE_WARN_ON(!list_empty(&pt->bo->ttm.base.gpuva.list));
xe_bo_unpin(pt->bo);
- xe_bo_put_deferred(pt->bo, deferred);
+ xe_bo_put_deferred(pt->bo, deferred, NULL);
if (pt->level > 0 && pt->num_live) {
struct xe_pt_dir *pt_dir = as_xe_pt_dir(pt);
--
2.34.1
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [PATCH v5 06/25] drm/xe: Add XE_BO_FLAG_PUT_VM_ASYNC
2026-09-04 2:21 [PATCH v5 00/25] CPU binds and ULLS on migration queue Matthew Brost
` (4 preceding siblings ...)
2026-09-04 2:21 ` [PATCH v5 05/25] drm/xe: Update xe_bo_put_deferred arguments to include writeback flag Matthew Brost
@ 2026-09-04 2:21 ` Matthew Brost
2026-09-04 2:21 ` [PATCH v5 07/25] drm/xe: Update scheduler job layer to support PT jobs Matthew Brost
` (22 subsequent siblings)
28 siblings, 0 replies; 41+ messages in thread
From: Matthew Brost @ 2026-09-04 2:21 UTC (permalink / raw)
To: intel-xe
Add XE_BO_FLAG_PUT_VM_ASYNC, which indicates that an async BO put must
also drop an additional reference to the BO’s VM. This is useful when a
kernel BO, one that does not normally hold a VM reference, needs to be
put asynchronously, ensuring the shared dma-resv object does not
disappear before the BO.
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patch.msgid.link/20260228013501.106680-7-matthew.brost@intel.com
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
---
drivers/gpu/drm/xe/xe_bo.c | 8 +++++++-
drivers/gpu/drm/xe/xe_bo.h | 1 +
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_bo.c b/drivers/gpu/drm/xe/xe_bo.c
index dde309821237..5cde5dff2d48 100644
--- a/drivers/gpu/drm/xe/xe_bo.c
+++ b/drivers/gpu/drm/xe/xe_bo.c
@@ -3989,8 +3989,14 @@ void xe_bo_put_commit(struct llist_head *deferred)
if (!freed)
return;
- llist_for_each_entry_safe(bo, next, freed, freed)
+ llist_for_each_entry_safe(bo, next, freed, freed) {
+ struct xe_vm *vm = bo->vm;
+ bool async = bo->flags & XE_BO_FLAG_PUT_VM_ASYNC;
+
drm_gem_object_free(&bo->ttm.base.refcount);
+ if (async)
+ xe_vm_put(vm);
+ }
}
static void xe_bo_dev_work_func(struct work_struct *work)
diff --git a/drivers/gpu/drm/xe/xe_bo.h b/drivers/gpu/drm/xe/xe_bo.h
index 6092f305ea8e..b810da83e9ef 100644
--- a/drivers/gpu/drm/xe/xe_bo.h
+++ b/drivers/gpu/drm/xe/xe_bo.h
@@ -54,6 +54,7 @@
#define XE_BO_FLAG_FORCE_USER_VRAM BIT(25)
#define XE_BO_FLAG_NO_COMPRESSION BIT(26)
#define XE_BO_FLAG_NEEDS_1G BIT(27)
+#define XE_BO_FLAG_PUT_VM_ASYNC BIT(28)
/* this one is trigger internally only */
#define XE_BO_FLAG_INTERNAL_TEST BIT(30)
--
2.34.1
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [PATCH v5 07/25] drm/xe: Update scheduler job layer to support PT jobs
2026-09-04 2:21 [PATCH v5 00/25] CPU binds and ULLS on migration queue Matthew Brost
` (5 preceding siblings ...)
2026-09-04 2:21 ` [PATCH v5 06/25] drm/xe: Add XE_BO_FLAG_PUT_VM_ASYNC Matthew Brost
@ 2026-09-04 2:21 ` Matthew Brost
2026-09-04 2:21 ` [PATCH v5 08/25] drm/xe: Add helpers to access PT ops Matthew Brost
` (21 subsequent siblings)
28 siblings, 0 replies; 41+ messages in thread
From: Matthew Brost @ 2026-09-04 2:21 UTC (permalink / raw)
To: intel-xe
Update the scheduler job layer to support PT jobs. PT jobs are executed
entirely on the CPU and do not require LRC fences or a batch address.
Repurpose the LRC fence storage to hold PT‑job arguments and update the
scheduler job layer to distinguish between PT jobs and jobs that require
an LRC.
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patch.msgid.link/20260228013501.106680-8-matthew.brost@intel.com
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
---
drivers/gpu/drm/xe/xe_sched_job.c | 95 ++++++++++++++++---------
drivers/gpu/drm/xe/xe_sched_job_types.h | 31 +++++++-
drivers/gpu/drm/xe/xe_trace.h | 2 +-
3 files changed, 92 insertions(+), 36 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_sched_job.c b/drivers/gpu/drm/xe/xe_sched_job.c
index a4fa00632a30..841d67ebd5b0 100644
--- a/drivers/gpu/drm/xe/xe_sched_job.c
+++ b/drivers/gpu/drm/xe/xe_sched_job.c
@@ -26,19 +26,22 @@ static struct kmem_cache *xe_sched_job_parallel_slab;
int __init xe_sched_job_module_init(void)
{
+ struct xe_sched_job *job;
+ size_t size;
+
+ size = struct_size(job, ptrs, 1);
xe_sched_job_slab =
- kmem_cache_create("xe_sched_job",
- sizeof(struct xe_sched_job) +
- sizeof(struct xe_job_ptrs), 0,
+ kmem_cache_create("xe_sched_job", size, 0,
SLAB_HWCACHE_ALIGN, NULL);
if (!xe_sched_job_slab)
return -ENOMEM;
+ size = max_t(size_t,
+ struct_size(job, ptrs,
+ XE_HW_ENGINE_MAX_INSTANCE),
+ struct_size(job, pt_update, 1));
xe_sched_job_parallel_slab =
- kmem_cache_create("xe_sched_job_parallel",
- sizeof(struct xe_sched_job) +
- sizeof(struct xe_job_ptrs) *
- XE_HW_ENGINE_MAX_INSTANCE, 0,
+ kmem_cache_create("xe_sched_job_parallel", size, 0,
SLAB_HWCACHE_ALIGN, NULL);
if (!xe_sched_job_parallel_slab) {
kmem_cache_destroy(xe_sched_job_slab);
@@ -84,6 +87,9 @@ static void xe_sched_job_free_fences(struct xe_sched_job *job)
{
int i;
+ if (job->is_pt_job)
+ return;
+
for (i = 0; i < job->q->width; ++i) {
struct xe_job_ptrs *ptrs = &job->ptrs[i];
@@ -93,10 +99,23 @@ static void xe_sched_job_free_fences(struct xe_sched_job *job)
}
}
+/**
+ * xe_sched_job_create() - Create a scheduler job
+ * @q: exec queue to create the scheduler job for
+ * @batch_addr: array of batch addresses for the job; must match the width of
+ * @q, or NULL to indicate a PT job that does not require a batch address
+ *
+ * Create a scheduler job for submission.
+ *
+ * Context: Reclaim
+ *
+ * Return: a &xe_sched_job object on success, or an ERR_PTR on failure.
+ */
struct xe_sched_job *xe_sched_job_create(struct xe_exec_queue *q,
u64 *batch_addr)
{
bool is_migration = xe_sched_job_is_migration(q);
+ struct xe_device *xe = gt_to_xe(q->gt);
struct xe_sched_job *job;
int err;
int i;
@@ -105,6 +124,9 @@ struct xe_sched_job *xe_sched_job_create(struct xe_exec_queue *q,
/* only a kernel context can submit a vm-less job */
XE_WARN_ON(!q->vm && !(q->flags & EXEC_QUEUE_FLAG_KERNEL));
+ xe_assert(xe, batch_addr ||
+ q->flags & (EXEC_QUEUE_FLAG_VM | EXEC_QUEUE_FLAG_MIGRATE));
+
job = job_alloc(xe_exec_queue_is_parallel(q) || is_migration);
if (!job)
return ERR_PTR(-ENOMEM);
@@ -119,34 +141,39 @@ struct xe_sched_job *xe_sched_job_create(struct xe_exec_queue *q,
if (err)
goto err_free;
- for (i = 0; i < q->width; ++i) {
- struct dma_fence *fence = xe_lrc_alloc_seqno_fence();
- struct dma_fence_chain *chain;
-
- if (IS_ERR(fence)) {
- err = PTR_ERR(fence);
- goto err_sched_job;
+ if (!batch_addr) {
+ job->fence = dma_fence_get_stub();
+ job->is_pt_job = true;
+ } else {
+ for (i = 0; i < q->width; ++i) {
+ struct dma_fence *fence = xe_lrc_alloc_seqno_fence();
+ struct dma_fence_chain *chain;
+
+ if (IS_ERR(fence)) {
+ err = PTR_ERR(fence);
+ goto err_sched_job;
+ }
+ job->ptrs[i].lrc_fence = fence;
+
+ if (i + 1 == q->width)
+ continue;
+
+ chain = dma_fence_chain_alloc();
+ if (!chain) {
+ err = -ENOMEM;
+ goto err_sched_job;
+ }
+ job->ptrs[i].chain_fence = chain;
}
- job->ptrs[i].lrc_fence = fence;
- if (i + 1 == q->width)
- continue;
+ width = q->width;
+ if (is_migration)
+ width = 2;
- chain = dma_fence_chain_alloc();
- if (!chain) {
- err = -ENOMEM;
- goto err_sched_job;
- }
- job->ptrs[i].chain_fence = chain;
+ for (i = 0; i < width; ++i)
+ job->ptrs[i].batch_addr = batch_addr[i];
}
- width = q->width;
- if (is_migration)
- width = 2;
-
- for (i = 0; i < width; ++i)
- job->ptrs[i].batch_addr = batch_addr[i];
-
atomic_inc(&q->job_cnt);
xe_pm_runtime_get_noresume(job_to_xe(job));
trace_xe_sched_job_create(job);
@@ -246,7 +273,7 @@ bool xe_sched_job_completed(struct xe_sched_job *job)
void xe_sched_job_arm(struct xe_sched_job *job)
{
struct xe_exec_queue *q = job->q;
- struct dma_fence *fence, *prev;
+ struct dma_fence *fence = job->fence, *prev;
struct xe_vm *vm = q->vm;
u64 seqno = 0;
int i;
@@ -266,6 +293,9 @@ void xe_sched_job_arm(struct xe_sched_job *job)
job->ring_ops_flush_tlb = true;
}
+ if (job->is_pt_job)
+ goto arm;
+
/* Arm the pre-allocated fences */
for (i = 0; i < q->width; prev = fence, ++i) {
struct dma_fence_chain *chain;
@@ -286,6 +316,7 @@ void xe_sched_job_arm(struct xe_sched_job *job)
fence = &chain->base;
}
+arm:
job->fence = dma_fence_get(fence); /* Pairs with put in scheduler */
drm_sched_job_arm(&job->drm);
}
@@ -329,7 +360,7 @@ xe_sched_job_snapshot_capture(struct xe_sched_job *job)
snapshot->batch_addr_len = q->width;
for (i = 0; i < q->width; i++)
- snapshot->batch_addr[i] =
+ snapshot->batch_addr[i] = job->is_pt_job ? 0 :
xe_device_uncanonicalize_addr(xe, job->ptrs[i].batch_addr);
return snapshot;
diff --git a/drivers/gpu/drm/xe/xe_sched_job_types.h b/drivers/gpu/drm/xe/xe_sched_job_types.h
index 0490b1247a6e..5e1824c36c74 100644
--- a/drivers/gpu/drm/xe/xe_sched_job_types.h
+++ b/drivers/gpu/drm/xe/xe_sched_job_types.h
@@ -10,10 +10,29 @@
#include <drm/gpu_scheduler.h>
-struct xe_exec_queue;
struct dma_fence;
struct dma_fence_chain;
+struct xe_exec_queue;
+struct xe_migrate_pt_update_ops;
+struct xe_pt_job_ops;
+struct xe_tile;
+struct xe_vm;
+
+/**
+ * struct xe_pt_update_args - PT update arguments
+ */
+struct xe_pt_update_args {
+ /** @vm: VM which is being bound */
+ struct xe_vm *vm;
+ /** @tile: Tile which page tables belong to */
+ struct xe_tile *tile;
+ /** @ops: Migrate PT update ops */
+ const struct xe_migrate_pt_update_ops *ops;
+ /** @pt_job_ops: PT job ops state */
+ struct xe_pt_job_ops *pt_job_ops;
+};
+
/**
* struct xe_job_ptrs - Per hw engine instance data
*/
@@ -71,8 +90,14 @@ struct xe_sched_job {
bool restore_replay;
/** @last_replay: last job being replayed */
bool last_replay;
- /** @ptrs: per instance pointers. */
- struct xe_job_ptrs ptrs[];
+ /** @is_pt_job: is a PT job */
+ bool is_pt_job;
+ union {
+ /** @ptrs: per instance pointers. */
+ DECLARE_FLEX_ARRAY(struct xe_job_ptrs, ptrs);
+ /** @pt_update: PT update arguments */
+ DECLARE_FLEX_ARRAY(struct xe_pt_update_args, pt_update);
+ };
};
struct xe_sched_job_snapshot {
diff --git a/drivers/gpu/drm/xe/xe_trace.h b/drivers/gpu/drm/xe/xe_trace.h
index 2fe8f89a1e34..d4e9d91f6f7f 100644
--- a/drivers/gpu/drm/xe/xe_trace.h
+++ b/drivers/gpu/drm/xe/xe_trace.h
@@ -261,7 +261,7 @@ DECLARE_EVENT_CLASS(xe_sched_job,
__entry->flags = job->q->flags;
__entry->error = job->fence ? job->fence->error : 0;
__entry->fence = job->fence;
- __entry->batch_addr = (u64)job->ptrs[0].batch_addr;
+ __entry->batch_addr = job->is_pt_job ? 0 : (u64)job->ptrs[0].batch_addr;
),
TP_printk("dev=%s, fence=%p, seqno=%u, lrc_seqno=%u, gt=%u, guc_id=%d, batch_addr=0x%012llx, guc_state=0x%x, flags=0x%x, error=%d",
--
2.34.1
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [PATCH v5 08/25] drm/xe: Add helpers to access PT ops
2026-09-04 2:21 [PATCH v5 00/25] CPU binds and ULLS on migration queue Matthew Brost
` (6 preceding siblings ...)
2026-09-04 2:21 ` [PATCH v5 07/25] drm/xe: Update scheduler job layer to support PT jobs Matthew Brost
@ 2026-09-04 2:21 ` Matthew Brost
2026-09-04 2:21 ` [PATCH v5 09/25] drm/xe: Add struct xe_pt_job_ops Matthew Brost
` (20 subsequent siblings)
28 siblings, 0 replies; 41+ messages in thread
From: Matthew Brost @ 2026-09-04 2:21 UTC (permalink / raw)
To: intel-xe; +Cc: Francois Dugast
Add helpers to access PT ops, making it easier to shuffle the location of
the ops structures without requiring widespread code changes.
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Francois Dugast <francois.dugast@intel.com>
Link: https://patch.msgid.link/20260228013501.106680-9-matthew.brost@intel.com
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
---
drivers/gpu/drm/xe/xe_pt.c | 65 ++++++++++++++++++++++++++------------
1 file changed, 45 insertions(+), 20 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_pt.c b/drivers/gpu/drm/xe/xe_pt.c
index 3170df1f3fbf..e560f167fdf1 100644
--- a/drivers/gpu/drm/xe/xe_pt.c
+++ b/drivers/gpu/drm/xe/xe_pt.c
@@ -2078,13 +2078,37 @@ xe_pt_commit_prepare_unbind(struct xe_vma *vma,
}
}
+static struct xe_vm_pgtable_update_op *
+to_pt_op(struct xe_vm_pgtable_update_ops *pt_update_ops, u32 op_idx)
+{
+ return &pt_update_ops->ops[op_idx];
+}
+
+static u32
+get_current_op(struct xe_vm_pgtable_update_ops *pt_update_ops)
+{
+ return pt_update_ops->current_op;
+}
+
+static struct xe_vm_pgtable_update_op *
+to_current_pt_op(struct xe_vm_pgtable_update_ops *pt_update_ops)
+{
+ return to_pt_op(pt_update_ops, get_current_op(pt_update_ops));
+}
+
+static void
+incr_current_op(struct xe_vm_pgtable_update_ops *pt_update_ops)
+{
+ ++pt_update_ops->current_op;
+}
+
static void
xe_pt_update_ops_rfence_interval(struct xe_vm_pgtable_update_ops *pt_update_ops,
u64 start, u64 end)
{
u64 last;
- u32 current_op = pt_update_ops->current_op;
- struct xe_vm_pgtable_update_op *pt_op = &pt_update_ops->ops[current_op];
+ struct xe_vm_pgtable_update_op *pt_op =
+ to_current_pt_op(pt_update_ops);
int i, level = 0;
for (i = 0; i < pt_op->num_entries; i++) {
@@ -2119,8 +2143,8 @@ static int bind_op_prepare(struct xe_vm *vm, struct xe_tile *tile,
struct xe_vm_pgtable_update_ops *pt_update_ops,
struct xe_vma *vma, bool invalidate_on_bind)
{
- u32 current_op = pt_update_ops->current_op;
- struct xe_vm_pgtable_update_op *pt_op = &pt_update_ops->ops[current_op];
+ struct xe_vm_pgtable_update_op *pt_op =
+ to_current_pt_op(pt_update_ops);
int err;
xe_tile_assert(tile, !xe_vma_is_cpu_addr_mirror(vma));
@@ -2149,7 +2173,7 @@ static int bind_op_prepare(struct xe_vm *vm, struct xe_tile *tile,
xe_pt_update_ops_rfence_interval(pt_update_ops,
xe_vma_start(vma),
xe_vma_end(vma));
- ++pt_update_ops->current_op;
+ incr_current_op(pt_update_ops);
pt_update_ops->needs_svm_lock |= xe_vma_is_userptr(vma);
/*
@@ -2192,8 +2216,8 @@ static int bind_range_prepare(struct xe_vm *vm, struct xe_tile *tile,
struct xe_vm_pgtable_update_ops *pt_update_ops,
struct xe_vma *vma, struct xe_svm_range *range)
{
- u32 current_op = pt_update_ops->current_op;
- struct xe_vm_pgtable_update_op *pt_op = &pt_update_ops->ops[current_op];
+ struct xe_vm_pgtable_update_op *pt_op =
+ to_current_pt_op(pt_update_ops);
int err;
xe_tile_assert(tile, xe_vma_is_cpu_addr_mirror(vma));
@@ -2217,7 +2241,7 @@ static int bind_range_prepare(struct xe_vm *vm, struct xe_tile *tile,
xe_pt_update_ops_rfence_interval(pt_update_ops,
xe_svm_range_start(range),
xe_svm_range_end(range));
- ++pt_update_ops->current_op;
+ incr_current_op(pt_update_ops);
pt_update_ops->needs_svm_lock = true;
pt_op->vma = vma;
@@ -2235,8 +2259,8 @@ static int unbind_op_prepare(struct xe_tile *tile,
struct xe_vma *vma)
{
struct xe_device *xe = tile_to_xe(tile);
- u32 current_op = pt_update_ops->current_op;
- struct xe_vm_pgtable_update_op *pt_op = &pt_update_ops->ops[current_op];
+ struct xe_vm_pgtable_update_op *pt_op =
+ to_current_pt_op(pt_update_ops);
int err;
if (!((vma->tile_present | vma->tile_staged) & BIT(tile->id)))
@@ -2275,7 +2299,7 @@ static int unbind_op_prepare(struct xe_tile *tile,
pt_op->num_entries, false);
xe_pt_update_ops_rfence_interval(pt_update_ops, xe_vma_start(vma),
xe_vma_end(vma));
- ++pt_update_ops->current_op;
+ incr_current_op(pt_update_ops);
pt_update_ops->needs_svm_lock |= xe_vma_is_userptr(vma);
pt_update_ops->needs_invalidation = true;
@@ -2315,8 +2339,8 @@ static int unbind_range_prepare(struct xe_vm *vm,
struct xe_vm_pgtable_update_ops *pt_update_ops,
struct xe_svm_range *range)
{
- u32 current_op = pt_update_ops->current_op;
- struct xe_vm_pgtable_update_op *pt_op = &pt_update_ops->ops[current_op];
+ struct xe_vm_pgtable_update_op *pt_op =
+ to_current_pt_op(pt_update_ops);
if (!(range->tile_present & BIT(tile->id)))
return 0;
@@ -2337,7 +2361,7 @@ static int unbind_range_prepare(struct xe_vm *vm,
pt_op->num_entries, false);
xe_pt_update_ops_rfence_interval(pt_update_ops, xe_svm_range_start(range),
xe_svm_range_end(range));
- ++pt_update_ops->current_op;
+ incr_current_op(pt_update_ops);
pt_update_ops->needs_svm_lock = true;
pt_update_ops->needs_invalidation |= xe_vm_has_scratch(vm) ||
xe_vm_has_valid_gpu_mapping(tile, range->tile_present,
@@ -2494,7 +2518,7 @@ int xe_pt_update_ops_prepare(struct xe_tile *tile, struct xe_vma_ops *vops)
return err;
}
- xe_tile_assert(tile, pt_update_ops->current_op <=
+ xe_tile_assert(tile, get_current_op(pt_update_ops) <=
pt_update_ops->num_ops);
#ifdef TEST_VM_OPS_ERROR
@@ -2727,7 +2751,7 @@ xe_pt_update_ops_run(struct xe_tile *tile, struct xe_vma_ops *vops)
lockdep_assert_held(&vm->lock);
xe_vm_assert_held(vm);
- if (!pt_update_ops->current_op) {
+ if (!get_current_op(pt_update_ops)) {
xe_tile_assert(tile, xe_vm_in_fault_mode(vm));
return dma_fence_get_stub();
@@ -2795,8 +2819,9 @@ xe_pt_update_ops_run(struct xe_tile *tile, struct xe_vma_ops *vops)
}
/* Point of no return - VM killed if failure after this */
- for (i = 0; i < pt_update_ops->current_op; ++i) {
- struct xe_vm_pgtable_update_op *pt_op = &pt_update_ops->ops[i];
+ for (i = 0; i < get_current_op(pt_update_ops); ++i) {
+ struct xe_vm_pgtable_update_op *pt_op =
+ to_pt_op(pt_update_ops, i);
xe_pt_commit(pt_op->vma, pt_op->entries,
pt_op->num_entries, &pt_update_ops->deferred);
@@ -2920,9 +2945,9 @@ void xe_pt_update_ops_abort(struct xe_tile *tile, struct xe_vma_ops *vops)
for (i = pt_update_ops->num_ops - 1; i >= 0; --i) {
struct xe_vm_pgtable_update_op *pt_op =
- &pt_update_ops->ops[i];
+ to_pt_op(pt_update_ops, i);
- if (!pt_op->vma || i >= pt_update_ops->current_op)
+ if (!pt_op->vma || i >= get_current_op(pt_update_ops))
continue;
if (pt_op->bind)
--
2.34.1
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [PATCH v5 09/25] drm/xe: Add struct xe_pt_job_ops
2026-09-04 2:21 [PATCH v5 00/25] CPU binds and ULLS on migration queue Matthew Brost
` (7 preceding siblings ...)
2026-09-04 2:21 ` [PATCH v5 08/25] drm/xe: Add helpers to access PT ops Matthew Brost
@ 2026-09-04 2:21 ` Matthew Brost
2026-09-04 2:48 ` sashiko-bot
2026-09-04 2:21 ` [PATCH v5 10/25] drm/xe: Update GuC submission backend to run PT jobs Matthew Brost
` (19 subsequent siblings)
28 siblings, 1 reply; 41+ messages in thread
From: Matthew Brost @ 2026-09-04 2:21 UTC (permalink / raw)
To: intel-xe
Add struct xe_pt_job_ops, a dynamically refcounted object that contains
the information required to issue a CPU bind via a job after the initial
bind IOCTL returns.
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patch.msgid.link/20260228013501.106680-10-matthew.brost@intel.com
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
---
drivers/gpu/drm/xe/xe_migrate.c | 10 +--
drivers/gpu/drm/xe/xe_pt.c | 136 +++++++++++++++++++++++++++----
drivers/gpu/drm/xe/xe_pt.h | 4 +
drivers/gpu/drm/xe/xe_pt_types.h | 27 ++++--
drivers/gpu/drm/xe/xe_vm.c | 10 +--
5 files changed, 152 insertions(+), 35 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_migrate.c b/drivers/gpu/drm/xe/xe_migrate.c
index 68a0b05f56ec..217e526526e0 100644
--- a/drivers/gpu/drm/xe/xe_migrate.c
+++ b/drivers/gpu/drm/xe/xe_migrate.c
@@ -1875,7 +1875,7 @@ xe_migrate_update_pgtables_cpu(struct xe_migrate *m,
}
xe_migrate_update_pgtables_cpu_execute(vm, m->tile, ops,
- pt_update_ops->ops,
+ pt_update_ops->pt_job_ops->ops,
pt_update_ops->num_ops);
return dma_fence_get_stub();
@@ -1902,7 +1902,7 @@ __xe_migrate_update_pgtables(struct xe_migrate *m,
bool usm = is_migrate && xe->info.has_usm;
for (i = 0; i < pt_update_ops->num_ops; ++i) {
- struct xe_vm_pgtable_update_op *pt_op = &pt_update_ops->ops[i];
+ struct xe_vm_pgtable_update_op *pt_op = &pt_update_ops->pt_job_ops->ops[i];
struct xe_vm_pgtable_update *updates = pt_op->entries;
num_updates += pt_op->num_entries;
@@ -1971,7 +1971,7 @@ __xe_migrate_update_pgtables(struct xe_migrate *m,
for (; i < pt_update_ops->num_ops; ++i) {
struct xe_vm_pgtable_update_op *pt_op =
- &pt_update_ops->ops[i];
+ &pt_update_ops->pt_job_ops->ops[i];
struct xe_vm_pgtable_update *updates = pt_op->entries;
for (; j < pt_op->num_entries; ++j, ++current_update, ++idx) {
@@ -2008,7 +2008,7 @@ __xe_migrate_update_pgtables(struct xe_migrate *m,
(page_ofs / sizeof(u64)) * XE_PAGE_SIZE;
for (i = 0; i < pt_update_ops->num_ops; ++i) {
struct xe_vm_pgtable_update_op *pt_op =
- &pt_update_ops->ops[i];
+ &pt_update_ops->pt_job_ops->ops[i];
struct xe_vm_pgtable_update *updates = pt_op->entries;
for (j = 0; j < pt_op->num_entries; ++j) {
@@ -2026,7 +2026,7 @@ __xe_migrate_update_pgtables(struct xe_migrate *m,
for (i = 0; i < pt_update_ops->num_ops; ++i) {
struct xe_vm_pgtable_update_op *pt_op =
- &pt_update_ops->ops[i];
+ &pt_update_ops->pt_job_ops->ops[i];
struct xe_vm_pgtable_update *updates = pt_op->entries;
for (j = 0; j < pt_op->num_entries; ++j)
diff --git a/drivers/gpu/drm/xe/xe_pt.c b/drivers/gpu/drm/xe/xe_pt.c
index e560f167fdf1..30127ebf1b60 100644
--- a/drivers/gpu/drm/xe/xe_pt.c
+++ b/drivers/gpu/drm/xe/xe_pt.c
@@ -206,6 +206,7 @@ unsigned int xe_pt_shift(unsigned int level)
*/
void xe_pt_destroy(struct xe_pt *pt, u32 flags, struct llist_head *deferred)
{
+ bool added = false;
int i;
if (!pt)
@@ -213,7 +214,19 @@ void xe_pt_destroy(struct xe_pt *pt, u32 flags, struct llist_head *deferred)
XE_WARN_ON(!list_empty(&pt->bo->ttm.base.gpuva.list));
xe_bo_unpin(pt->bo);
- xe_bo_put_deferred(pt->bo, deferred, NULL);
+ xe_bo_put_deferred(pt->bo, deferred, &added);
+ if (added) {
+ xe_assert(pt->bo->vm->xe, !kref_read(&pt->bo->ttm.base.refcount));
+
+ /*
+ * We need the VM present until the BO is destroyed as it shares
+ * a dma-resv and BO destroy is async. Reinit BO refcount so
+ * xe_bo_put_async can be used when the PT job ops refcount goes
+ * to zero.
+ */
+ xe_vm_get(pt->bo->vm);
+ pt->bo->flags |= XE_BO_FLAG_PUT_VM_ASYNC;
+ }
if (pt->level > 0 && pt->num_live) {
struct xe_pt_dir *pt_dir = as_xe_pt_dir(pt);
@@ -2081,13 +2094,13 @@ xe_pt_commit_prepare_unbind(struct xe_vma *vma,
static struct xe_vm_pgtable_update_op *
to_pt_op(struct xe_vm_pgtable_update_ops *pt_update_ops, u32 op_idx)
{
- return &pt_update_ops->ops[op_idx];
+ return &pt_update_ops->pt_job_ops->ops[op_idx];
}
static u32
get_current_op(struct xe_vm_pgtable_update_ops *pt_update_ops)
{
- return pt_update_ops->current_op;
+ return pt_update_ops->pt_job_ops->current_op;
}
static struct xe_vm_pgtable_update_op *
@@ -2099,7 +2112,7 @@ to_current_pt_op(struct xe_vm_pgtable_update_ops *pt_update_ops)
static void
incr_current_op(struct xe_vm_pgtable_update_ops *pt_update_ops)
{
- ++pt_update_ops->current_op;
+ ++pt_update_ops->pt_job_ops->current_op;
}
static void
@@ -2473,8 +2486,7 @@ static int op_prepare(struct xe_vm *vm,
static void
xe_pt_update_ops_init(struct xe_vm_pgtable_update_ops *pt_update_ops)
{
- init_llist_head(&pt_update_ops->deferred);
- pt_update_ops->current_op = 0;
+ pt_update_ops->pt_job_ops->current_op = 0;
pt_update_ops->start = ~0x0ull;
pt_update_ops->last = 0x0ull;
pt_update_ops->needs_svm_lock = false;
@@ -2824,7 +2836,8 @@ xe_pt_update_ops_run(struct xe_tile *tile, struct xe_vma_ops *vops)
to_pt_op(pt_update_ops, i);
xe_pt_commit(pt_op->vma, pt_op->entries,
- pt_op->num_entries, &pt_update_ops->deferred);
+ pt_op->num_entries,
+ &pt_update_ops->pt_job_ops->deferred);
pt_op->vma = NULL; /* skip in xe_pt_update_ops_abort */
}
@@ -2912,19 +2925,8 @@ void xe_pt_update_ops_fini(struct xe_tile *tile, struct xe_vma_ops *vops)
{
struct xe_vm_pgtable_update_ops *pt_update_ops =
&vops->pt_update_ops[tile->id];
- int i;
xe_page_reclaim_entries_put(pt_update_ops->prl.entries);
-
- lockdep_assert_held(&vops->vm->lock);
- xe_vm_assert_held(vops->vm);
-
- for (i = 0; i < pt_update_ops->current_op; ++i) {
- struct xe_vm_pgtable_update_op *pt_op = &pt_update_ops->ops[i];
-
- xe_pt_free_bind(pt_op->entries, pt_op->num_entries);
- }
- xe_bo_put_commit(&vops->pt_update_ops[tile->id].deferred);
}
/**
@@ -2961,3 +2963,101 @@ void xe_pt_update_ops_abort(struct xe_tile *tile, struct xe_vma_ops *vops)
xe_pt_update_ops_fini(tile, vops);
}
+
+/**
+ * xe_pt_job_ops_alloc() - Allocate PT job ops
+ * @num_ops: Number of VM PT update ops
+ *
+ * Allocate PT job ops and internal array of VM PT update ops.
+ *
+ * Return: Pointer to PT job ops or NULL
+ */
+struct xe_pt_job_ops *xe_pt_job_ops_alloc(u32 num_ops)
+{
+ struct xe_pt_job_ops *pt_job_ops;
+
+ pt_job_ops = kmalloc_obj(*pt_job_ops);
+ if (!pt_job_ops)
+ return NULL;
+
+ pt_job_ops->ops = kvmalloc_array(num_ops, sizeof(*pt_job_ops->ops),
+ GFP_KERNEL);
+ if (!pt_job_ops->ops) {
+ kfree(pt_job_ops);
+ return NULL;
+ }
+
+ pt_job_ops->current_op = 0;
+ kref_init(&pt_job_ops->refcount);
+ init_llist_head(&pt_job_ops->deferred);
+
+ return pt_job_ops;
+}
+
+/**
+ * xe_pt_job_ops_get() - Get PT job ops
+ * @pt_job_ops: PT job ops to get
+ *
+ * Take a reference to PT job ops
+ *
+ * Return: Pointer to PT job ops or NULL
+ */
+struct xe_pt_job_ops *xe_pt_job_ops_get(struct xe_pt_job_ops *pt_job_ops)
+{
+ if (pt_job_ops)
+ kref_get(&pt_job_ops->refcount);
+
+ return pt_job_ops;
+}
+
+static void xe_pt_update_ops_free(struct xe_vm_pgtable_update_op *pt_op,
+ u32 num_ops)
+{
+ u32 i;
+
+ for (i = 0; i < num_ops; ++i, ++pt_op)
+ xe_pt_free_bind(pt_op->entries, pt_op->num_entries);
+}
+
+static void xe_pt_job_ops_destroy(struct kref *ref)
+{
+ struct xe_pt_job_ops *pt_job_ops =
+ container_of(ref, struct xe_pt_job_ops, refcount);
+ struct llist_node *freed;
+ struct xe_bo *bo, *next;
+
+ xe_pt_update_ops_free(pt_job_ops->ops,
+ pt_job_ops->current_op);
+
+ freed = llist_del_all(&pt_job_ops->deferred);
+ if (freed) {
+ llist_for_each_entry_safe(bo, next, freed, freed) {
+ struct xe_bo_dev *bo_device =
+ &xe_bo_device(bo)->bo_device;
+ /*
+ * If called from run_job, we are in the dma-fencing
+ * path and cannot take dma-resv locks so use an async
+ * put.
+ */
+ if (llist_add(&bo->freed, &bo_device->async_list))
+ schedule_work(&bo_device->async_free);
+ }
+ }
+
+ kvfree(pt_job_ops->ops);
+ kfree(pt_job_ops);
+}
+
+/**
+ * xe_pt_job_ops_put() - Put PT job ops
+ * @pt_job_ops: PT job ops to put
+ *
+ * Drop a reference to PT job ops
+ */
+void xe_pt_job_ops_put(struct xe_pt_job_ops *pt_job_ops)
+{
+ if (!pt_job_ops)
+ return;
+
+ kref_put(&pt_job_ops->refcount, xe_pt_job_ops_destroy);
+}
diff --git a/drivers/gpu/drm/xe/xe_pt.h b/drivers/gpu/drm/xe/xe_pt.h
index 4daeebaab5a1..5faddb8e700c 100644
--- a/drivers/gpu/drm/xe/xe_pt.h
+++ b/drivers/gpu/drm/xe/xe_pt.h
@@ -49,4 +49,8 @@ bool xe_pt_zap_ptes(struct xe_tile *tile, struct xe_vma *vma);
bool xe_pt_zap_ptes_range(struct xe_tile *tile, struct xe_vm *vm,
struct xe_svm_range *range);
+struct xe_pt_job_ops *xe_pt_job_ops_alloc(u32 num_ops);
+struct xe_pt_job_ops *xe_pt_job_ops_get(struct xe_pt_job_ops *pt_job_ops);
+void xe_pt_job_ops_put(struct xe_pt_job_ops *pt_job_ops);
+
#endif
diff --git a/drivers/gpu/drm/xe/xe_pt_types.h b/drivers/gpu/drm/xe/xe_pt_types.h
index a7d1bb708b69..39c5b89ce9b7 100644
--- a/drivers/gpu/drm/xe/xe_pt_types.h
+++ b/drivers/gpu/drm/xe/xe_pt_types.h
@@ -91,12 +91,29 @@ struct xe_vm_pgtable_update_op {
bool rebind;
};
+/**
+ * struct xe_pt_job_ops - Page-table update operations (dynamically allocated)
+ *
+ * This is the portion of &struct xe_vma_ops and
+ * &struct xe_vm_pgtable_update_ops that is dynamically allocated, as it
+ * must remain valid until the associated bind job completes. A reference
+ * count controls its lifetime.
+ */
+struct xe_pt_job_ops {
+ /** @current_op: current page-table update operation */
+ u32 current_op;
+ /** @refcount: reference count */
+ struct kref refcount;
+ /** @deferred: list of deferred PT entries to destroy */
+ struct llist_head deferred;
+ /** @ops: page-table update operations */
+ struct xe_vm_pgtable_update_op *ops;
+};
+
/** struct xe_vm_pgtable_update_ops: page table update operations */
struct xe_vm_pgtable_update_ops {
- /** @ops: operations */
- struct xe_vm_pgtable_update_op *ops;
- /** @deferred: deferred list to destroy PT entries */
- struct llist_head deferred;
+ /** @pt_job_ops: PT update operations dynamic allocation*/
+ struct xe_pt_job_ops *pt_job_ops;
/** @q: exec queue for PT operations */
struct xe_exec_queue *q;
/** @prl: embedded page reclaim list */
@@ -107,8 +124,6 @@ struct xe_vm_pgtable_update_ops {
u64 last;
/** @num_ops: number of operations */
u32 num_ops;
- /** @current_op: current operations */
- u32 current_op;
/** @needs_svm_lock: Needs SVM lock */
bool needs_svm_lock;
/** @needs_invalidation: Needs invalidation */
diff --git a/drivers/gpu/drm/xe/xe_vm.c b/drivers/gpu/drm/xe/xe_vm.c
index 753a5fc55baa..2737bd25f39a 100644
--- a/drivers/gpu/drm/xe/xe_vm.c
+++ b/drivers/gpu/drm/xe/xe_vm.c
@@ -681,11 +681,9 @@ static int xe_vma_ops_alloc(struct xe_vma_ops *vops, bool array_of_binds)
if (!vops->pt_update_ops[i].num_ops)
continue;
- vops->pt_update_ops[i].ops =
- kmalloc_objs(*vops->pt_update_ops[i].ops,
- vops->pt_update_ops[i].num_ops,
- GFP_KERNEL | __GFP_RETRY_MAYFAIL | __GFP_NOWARN);
- if (!vops->pt_update_ops[i].ops)
+ vops->pt_update_ops[i].pt_job_ops =
+ xe_pt_job_ops_alloc(vops->pt_update_ops[i].num_ops);
+ if (!vops->pt_update_ops[i].pt_job_ops)
return array_of_binds ? -ENOBUFS : -ENOMEM;
}
@@ -732,7 +730,7 @@ static void xe_vma_ops_fini(struct xe_vma_ops *vops)
xe_vma_svm_prefetch_ops_fini(vops);
for (i = 0; i < XE_MAX_TILES_PER_DEVICE; ++i)
- kfree(vops->pt_update_ops[i].ops);
+ xe_pt_job_ops_put(vops->pt_update_ops[i].pt_job_ops);
}
static void xe_vma_ops_incr_pt_update_ops(struct xe_vma_ops *vops, u8 tile_mask, int inc_val)
--
2.34.1
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [PATCH v5 10/25] drm/xe: Update GuC submission backend to run PT jobs
2026-09-04 2:21 [PATCH v5 00/25] CPU binds and ULLS on migration queue Matthew Brost
` (8 preceding siblings ...)
2026-09-04 2:21 ` [PATCH v5 09/25] drm/xe: Add struct xe_pt_job_ops Matthew Brost
@ 2026-09-04 2:21 ` Matthew Brost
2026-09-04 2:46 ` sashiko-bot
2026-09-04 2:21 ` [PATCH v5 11/25] drm/xe: Store level in struct xe_vm_pgtable_update Matthew Brost
` (18 subsequent siblings)
28 siblings, 1 reply; 41+ messages in thread
From: Matthew Brost @ 2026-09-04 2:21 UTC (permalink / raw)
To: intel-xe
PT jobs bypass GPU execution for the final step of a bind job, using the
CPU to program the required page tables. Teach the GuC submission backend
how to execute these jobs.
PT job submission is implemented in the GuC backend for simplicity. A
follow-up patch could introduce a dedicated backend for PT jobs.
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patch.msgid.link/20260228013501.106680-11-matthew.brost@intel.com
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
---
drivers/gpu/drm/xe/xe_guc_submit.c | 37 ++++++++++++++++++++++++++----
drivers/gpu/drm/xe/xe_migrate.c | 13 ++++++++++-
drivers/gpu/drm/xe/xe_migrate.h | 7 ++++++
3 files changed, 51 insertions(+), 6 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_guc_submit.c b/drivers/gpu/drm/xe/xe_guc_submit.c
index cf306568ef30..528869928c1d 100644
--- a/drivers/gpu/drm/xe/xe_guc_submit.c
+++ b/drivers/gpu/drm/xe/xe_guc_submit.c
@@ -37,9 +37,11 @@
#include "xe_lrc.h"
#include "xe_macros.h"
#include "xe_map.h"
+#include "xe_migrate.h"
#include "xe_mocs.h"
#include "xe_module.h"
#include "xe_pm.h"
+#include "xe_pt.h"
#include "xe_ring_ops_types.h"
#include "xe_sched_job.h"
#include "xe_sleep.h"
@@ -1236,6 +1238,20 @@ static void submit_exec_queue(struct xe_exec_queue *q, struct xe_sched_job *job)
}
}
+static bool is_pt_job(struct xe_sched_job *job)
+{
+ return job->is_pt_job;
+}
+
+static void run_pt_job(struct xe_sched_job *job)
+{
+ xe_migrate_update_pgtables_cpu_execute(job->pt_update[0].vm,
+ job->pt_update[0].tile,
+ job->pt_update[0].ops,
+ job->pt_update[0].pt_job_ops->ops,
+ job->pt_update[0].pt_job_ops->current_op);
+}
+
static struct dma_fence *
guc_exec_queue_run_job(struct drm_sched_job *drm_job)
{
@@ -1261,14 +1277,25 @@ guc_exec_queue_run_job(struct drm_sched_job *drm_job)
register_exec_queue(primary, GUC_CONTEXT_NORMAL);
}
- if (!exec_queue_registered(q))
- register_exec_queue(q, GUC_CONTEXT_NORMAL);
- if (!job->restore_replay)
- q->ring_ops->emit_job(job);
- submit_exec_queue(q, job);
+ if (is_pt_job(job)) {
+ xe_gt_assert(guc_to_gt(guc), !exec_queue_registered(q));
+ run_pt_job(job);
+ } else {
+ if (!exec_queue_registered(q))
+ register_exec_queue(q, GUC_CONTEXT_NORMAL);
+ if (!job->restore_replay)
+ q->ring_ops->emit_job(job);
+ submit_exec_queue(q, job);
+ }
job->restore_replay = false;
}
+ if (is_pt_job(job)) {
+ xe_pt_job_ops_put(job->pt_update[0].pt_job_ops);
+ dma_fence_put(job->fence); /* Drop ref from xe_sched_job_arm */
+ return NULL;
+ }
+
run_job_out:
return job->fence;
diff --git a/drivers/gpu/drm/xe/xe_migrate.c b/drivers/gpu/drm/xe/xe_migrate.c
index 217e526526e0..53160c2c35a6 100644
--- a/drivers/gpu/drm/xe/xe_migrate.c
+++ b/drivers/gpu/drm/xe/xe_migrate.c
@@ -1819,7 +1819,18 @@ struct migrate_test_params {
container_of(_priv, struct migrate_test_params, base)
#endif
-static void
+/**
+ * xe_migrate_update_pgtables_cpu_execute() - Update a VM's PTEs via the CPU
+ * @vm: The VM being updated
+ * @tile: The tile being updated
+ * @ops: The migrate PT update ops
+ * @pt_ops: The VM PT update ops
+ * @num_ops: The number of The VM PT update ops
+ *
+ * Execute the VM PT update ops array which results in a VM's PTEs being updated
+ * via the CPU.
+ */
+void
xe_migrate_update_pgtables_cpu_execute(struct xe_vm *vm, struct xe_tile *tile,
const struct xe_migrate_pt_update_ops *ops,
struct xe_vm_pgtable_update_op *pt_op,
diff --git a/drivers/gpu/drm/xe/xe_migrate.h b/drivers/gpu/drm/xe/xe_migrate.h
index 2ec9de896dfe..04ef20692b6a 100644
--- a/drivers/gpu/drm/xe/xe_migrate.h
+++ b/drivers/gpu/drm/xe/xe_migrate.h
@@ -24,6 +24,7 @@ struct xe_pt;
struct xe_tile;
struct xe_vm;
struct xe_vm_pgtable_update;
+struct xe_vm_pgtable_update_op;
struct xe_vma;
enum xe_sriov_vf_ccs_rw_ctxs;
@@ -163,6 +164,12 @@ struct dma_fence *xe_migrate_clear(struct xe_migrate *m,
struct xe_vm *xe_migrate_get_vm(struct xe_migrate *m);
+void
+xe_migrate_update_pgtables_cpu_execute(struct xe_vm *vm, struct xe_tile *tile,
+ const struct xe_migrate_pt_update_ops *ops,
+ struct xe_vm_pgtable_update_op *pt_op,
+ u32 num_ops);
+
struct dma_fence *
xe_migrate_update_pgtables(struct xe_migrate *m,
struct xe_migrate_pt_update *pt_update);
--
2.34.1
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [PATCH v5 11/25] drm/xe: Store level in struct xe_vm_pgtable_update
2026-09-04 2:21 [PATCH v5 00/25] CPU binds and ULLS on migration queue Matthew Brost
` (9 preceding siblings ...)
2026-09-04 2:21 ` [PATCH v5 10/25] drm/xe: Update GuC submission backend to run PT jobs Matthew Brost
@ 2026-09-04 2:21 ` Matthew Brost
2026-09-04 2:21 ` [PATCH v5 12/25] drm/xe: Don't use migrate exec queue for page fault binds Matthew Brost
` (17 subsequent siblings)
28 siblings, 0 replies; 41+ messages in thread
From: Matthew Brost @ 2026-09-04 2:21 UTC (permalink / raw)
To: intel-xe; +Cc: Stuart Summers
The level was previously extracted from struct xe_pt inside
xe_vm_pgtable_update during CPU binds, which always occurred during the
bind IOCTL. With CPU binds now supported in bind jobs, struct xe_pt may
no longer be valid in memory at that point. To address this, store the
level directly in struct xe_vm_pgtable_update.
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Stuart Summers <stuart.summers@intel.com>
Link: https://patch.msgid.link/20260228013501.106680-12-matthew.brost@intel.com
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
---
drivers/gpu/drm/xe/xe_pt.c | 3 ++-
drivers/gpu/drm/xe/xe_pt_types.h | 8 +++++++-
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_pt.c b/drivers/gpu/drm/xe/xe_pt.c
index 30127ebf1b60..16126ffc2ec1 100644
--- a/drivers/gpu/drm/xe/xe_pt.c
+++ b/drivers/gpu/drm/xe/xe_pt.c
@@ -388,6 +388,7 @@ xe_pt_new_shared(struct xe_walk_update *wupd, struct xe_pt *parent,
entry->flags = 0;
entry->qwords = 0;
entry->pt_bo->update_index = -1;
+ entry->level = parent->level;
if (alloc_entries) {
entry->pt_entries = kmalloc_objs(*entry->pt_entries, XE_PDES);
@@ -2025,7 +2026,7 @@ xe_migrate_clear_pgtable_callback(struct xe_vm *vm, struct xe_tile *tile,
u32 qword_ofs, u32 num_qwords,
const struct xe_vm_pgtable_update *update)
{
- u64 empty = __xe_pt_empty_pte(tile, vm, update->pt->level);
+ u64 empty = __xe_pt_empty_pte(tile, vm, update->level);
int i;
if (map && map->is_iomem)
diff --git a/drivers/gpu/drm/xe/xe_pt_types.h b/drivers/gpu/drm/xe/xe_pt_types.h
index 39c5b89ce9b7..ccab6613385f 100644
--- a/drivers/gpu/drm/xe/xe_pt_types.h
+++ b/drivers/gpu/drm/xe/xe_pt_types.h
@@ -65,12 +65,18 @@ struct xe_vm_pgtable_update {
/** @qwords: number of PTE's to write */
u32 qwords;
- /** @pt: opaque pointer useful for the caller of xe_migrate_update_pgtables */
+ /**
+ * @pt: opaque pointer useful for PT building in the bind IOCTL. Only
+ * safe to touch during the bind IOCTL (i.e., not in bind jobs).
+ */
struct xe_pt *pt;
/** @pt_entries: Newly added pagetable entries */
struct xe_pt_entry *pt_entries;
+ /** @level: level of update */
+ unsigned int level;
+
/** @flags: Target flags */
u32 flags;
};
--
2.34.1
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [PATCH v5 12/25] drm/xe: Don't use migrate exec queue for page fault binds
2026-09-04 2:21 [PATCH v5 00/25] CPU binds and ULLS on migration queue Matthew Brost
` (10 preceding siblings ...)
2026-09-04 2:21 ` [PATCH v5 11/25] drm/xe: Store level in struct xe_vm_pgtable_update Matthew Brost
@ 2026-09-04 2:21 ` Matthew Brost
2026-09-04 2:21 ` [PATCH v5 13/25] drm/xe: Enable CPU binds for jobs Matthew Brost
` (16 subsequent siblings)
28 siblings, 0 replies; 41+ messages in thread
From: Matthew Brost @ 2026-09-04 2:21 UTC (permalink / raw)
To: intel-xe
Now that the CPU is always used for binds even in jobs, CPU bind jobs
can pass GPU jobs in the same exec queue resulting dma-fences signaling
out-of-order. Use a dedicated exec queue for binds issued from page
faults to avoid ordering issues and avoid blocking kernel binds on
unrelated copies / clears.
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patch.msgid.link/20260228013501.106680-13-matthew.brost@intel.com
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
---
drivers/gpu/drm/xe/xe_migrate.c | 47 ++++++++++++++++++++++++++++++---
drivers/gpu/drm/xe/xe_migrate.h | 1 +
drivers/gpu/drm/xe/xe_vm.c | 17 +++++++-----
3 files changed, 55 insertions(+), 10 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_migrate.c b/drivers/gpu/drm/xe/xe_migrate.c
index 53160c2c35a6..ba8e195afcc8 100644
--- a/drivers/gpu/drm/xe/xe_migrate.c
+++ b/drivers/gpu/drm/xe/xe_migrate.c
@@ -51,6 +51,8 @@
struct xe_migrate {
/** @q: Default exec queue used for migration */
struct xe_exec_queue *q;
+ /** @bind_q: Default exec queue used for binds */
+ struct xe_exec_queue *bind_q;
/** @tile: Backpointer to the tile this struct xe_migrate belongs to. */
struct xe_tile *tile;
/** @job_mutex: Timeline mutex for @eng. */
@@ -115,6 +117,7 @@ static void xe_migrate_fini(void *arg)
mutex_destroy(&m->job_mutex);
xe_vm_close_and_put(m->q->vm);
xe_exec_queue_put(m->q);
+ xe_exec_queue_put(m->bind_q);
}
static inline u16 xe_migrate_pat_index(struct xe_device *xe,
@@ -504,6 +507,15 @@ int xe_migrate_init(struct xe_migrate *m)
goto err_out;
}
+ m->bind_q = xe_exec_queue_create(xe, vm, logical_mask, 1, hwe0,
+ EXEC_QUEUE_FLAG_KERNEL |
+ EXEC_QUEUE_FLAG_HIGH_PRIORITY |
+ EXEC_QUEUE_FLAG_MIGRATE, 0);
+ if (IS_ERR(m->bind_q)) {
+ err = PTR_ERR(m->bind_q);
+ goto err_out;
+ }
+
/*
* XXX: Currently only reserving 1 (likely slow) BCS instance on
* PVC, may want to revisit if performance is needed.
@@ -514,6 +526,15 @@ int xe_migrate_init(struct xe_migrate *m)
EXEC_QUEUE_FLAG_MIGRATE |
EXEC_QUEUE_FLAG_LOW_LATENCY, 0);
} else {
+ m->bind_q = xe_exec_queue_create_class(xe, primary_gt, vm,
+ XE_ENGINE_CLASS_COPY,
+ EXEC_QUEUE_FLAG_KERNEL |
+ EXEC_QUEUE_FLAG_MIGRATE, 0);
+ if (IS_ERR(m->bind_q)) {
+ err = PTR_ERR(m->bind_q);
+ goto err_out;
+ }
+
m->q = xe_exec_queue_create_class(xe, primary_gt, vm,
XE_ENGINE_CLASS_COPY,
EXEC_QUEUE_FLAG_KERNEL |
@@ -549,6 +570,8 @@ int xe_migrate_init(struct xe_migrate *m)
return err;
err_out:
+ if (!IS_ERR_OR_NULL(m->bind_q))
+ xe_exec_queue_put(m->bind_q);
xe_vm_close_and_put(vm);
return err;
@@ -1505,6 +1528,17 @@ static u32 blt_mem_set_cmd_len(struct xe_device *xe)
return 7;
}
+/**
+ * xe_get_migrate_bind_queue() - Get the bind queue from migrate context.
+ * @migrate: Migrate context.
+ *
+ * Return: Pointer to bind queue on success, error on failure
+ */
+struct xe_exec_queue *xe_migrate_bind_queue(struct xe_migrate *migrate)
+{
+ return migrate->bind_q;
+}
+
static void emit_clear_link_copy(struct xe_gt *gt, struct xe_bb *bb, u64 src_ofs,
u32 size, u32 pitch)
{
@@ -1892,6 +1926,11 @@ xe_migrate_update_pgtables_cpu(struct xe_migrate *m,
return dma_fence_get_stub();
}
+static bool is_migrate_queue(struct xe_migrate *m, struct xe_exec_queue *q)
+{
+ return m->bind_q == q;
+}
+
static struct dma_fence *
__xe_migrate_update_pgtables(struct xe_migrate *m,
struct xe_migrate_pt_update *pt_update,
@@ -1909,7 +1948,7 @@ __xe_migrate_update_pgtables(struct xe_migrate *m,
u32 num_updates = 0, current_update = 0;
u64 addr;
int err = 0;
- bool is_migrate = pt_update_ops->q == m->q;
+ bool is_migrate = is_migrate_queue(m, pt_update_ops->q);
bool usm = is_migrate && xe->info.has_usm;
for (i = 0; i < pt_update_ops->num_ops; ++i) {
@@ -2631,7 +2670,7 @@ int xe_migrate_access_memory(struct xe_migrate *m, struct xe_bo *bo,
*/
void xe_migrate_job_lock(struct xe_migrate *m, struct xe_exec_queue *q)
{
- bool is_migrate = q == m->q;
+ bool is_migrate = is_migrate_queue(m, q);
if (is_migrate)
mutex_lock(&m->job_mutex);
@@ -2649,7 +2688,7 @@ void xe_migrate_job_lock(struct xe_migrate *m, struct xe_exec_queue *q)
*/
void xe_migrate_job_unlock(struct xe_migrate *m, struct xe_exec_queue *q)
{
- bool is_migrate = q == m->q;
+ bool is_migrate = is_migrate_queue(m, q);
if (is_migrate)
mutex_unlock(&m->job_mutex);
@@ -2666,7 +2705,7 @@ void xe_migrate_job_lock_assert(struct xe_exec_queue *q)
{
struct xe_migrate *m = gt_to_tile(q->gt)->migrate;
- xe_gt_assert(q->gt, q == m->q);
+ xe_gt_assert(q->gt, q == m->bind_q);
lockdep_assert_held(&m->job_mutex);
}
#endif
diff --git a/drivers/gpu/drm/xe/xe_migrate.h b/drivers/gpu/drm/xe/xe_migrate.h
index 04ef20692b6a..7a824654cb72 100644
--- a/drivers/gpu/drm/xe/xe_migrate.h
+++ b/drivers/gpu/drm/xe/xe_migrate.h
@@ -146,6 +146,7 @@ void xe_migrate_ccs_rw_copy_clear(struct xe_bo *src_bo,
struct xe_lrc *xe_migrate_lrc(struct xe_migrate *migrate);
struct xe_exec_queue *xe_migrate_exec_queue(struct xe_migrate *migrate);
+struct xe_exec_queue *xe_migrate_bind_queue(struct xe_migrate *migrate);
struct dma_fence *xe_migrate_vram_copy_chunk(struct xe_bo *vram_bo, u64 vram_offset,
struct xe_bo *sysmem_bo, u64 sysmem_offset,
u64 size, enum xe_migrate_copy_dir dir);
diff --git a/drivers/gpu/drm/xe/xe_vm.c b/drivers/gpu/drm/xe/xe_vm.c
index 2737bd25f39a..13e984ac4e4f 100644
--- a/drivers/gpu/drm/xe/xe_vm.c
+++ b/drivers/gpu/drm/xe/xe_vm.c
@@ -795,7 +795,9 @@ int xe_vm_rebind(struct xe_vm *vm, bool rebind_worker)
struct xe_vma *vma, *next;
struct xe_vma_ops vops;
struct xe_vma_op *op, *next_op;
- int err, i;
+ struct xe_tile *tile;
+ u8 id;
+ int err;
lockdep_assert_held(&vm->lock);
if ((xe_vm_in_lr_mode(vm) && !rebind_worker) ||
@@ -803,8 +805,11 @@ int xe_vm_rebind(struct xe_vm *vm, bool rebind_worker)
return 0;
xe_vma_ops_init(&vops, vm, NULL, NULL, 0);
- for (i = 0; i < XE_MAX_TILES_PER_DEVICE; ++i)
- vops.pt_update_ops[i].wait_vm_bookkeep = true;
+ for_each_tile(tile, vm->xe, id) {
+ vops.pt_update_ops[id].wait_vm_bookkeep = true;
+ vops.pt_update_ops[id].q =
+ xe_migrate_bind_queue(tile->migrate);
+ }
xe_vm_assert_held(vm);
list_for_each_entry(vma, &vm->rebind_list, combined_links.rebind) {
@@ -862,7 +867,7 @@ struct dma_fence *xe_vma_rebind(struct xe_vm *vm, struct xe_vma *vma, u8 tile_ma
for_each_tile(tile, vm->xe, id) {
vops.pt_update_ops[id].wait_vm_bookkeep = true;
vops.pt_update_ops[tile->id].q =
- xe_migrate_exec_queue(tile->migrate);
+ xe_migrate_bind_queue(tile->migrate);
}
err = xe_vm_ops_add_rebind(&vops, vma, tile_mask);
@@ -954,7 +959,7 @@ struct dma_fence *xe_vm_range_rebind(struct xe_vm *vm,
for_each_tile(tile, vm->xe, id) {
vops.pt_update_ops[id].wait_vm_bookkeep = true;
vops.pt_update_ops[tile->id].q =
- xe_migrate_exec_queue(tile->migrate);
+ xe_migrate_bind_queue(tile->migrate);
}
err = xe_vm_ops_add_range_rebind(&vops, vma, range, tile_mask);
@@ -1038,7 +1043,7 @@ struct dma_fence *xe_vm_range_unbind(struct xe_vm *vm,
for_each_tile(tile, vm->xe, id) {
vops.pt_update_ops[id].wait_vm_bookkeep = true;
vops.pt_update_ops[tile->id].q =
- xe_migrate_exec_queue(tile->migrate);
+ xe_migrate_bind_queue(tile->migrate);
}
err = xe_vm_ops_add_range_unbind(&vops, range);
--
2.34.1
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [PATCH v5 13/25] drm/xe: Enable CPU binds for jobs
2026-09-04 2:21 [PATCH v5 00/25] CPU binds and ULLS on migration queue Matthew Brost
` (11 preceding siblings ...)
2026-09-04 2:21 ` [PATCH v5 12/25] drm/xe: Don't use migrate exec queue for page fault binds Matthew Brost
@ 2026-09-04 2:21 ` Matthew Brost
2026-09-04 2:51 ` sashiko-bot
2026-09-04 2:21 ` [PATCH v5 14/25] drm/xe: Remove unused arguments from xe_migrate_pt_update_ops Matthew Brost
` (15 subsequent siblings)
28 siblings, 1 reply; 41+ messages in thread
From: Matthew Brost @ 2026-09-04 2:21 UTC (permalink / raw)
To: intel-xe
No reason to use the GPU for binds.
Benefits of CPU-based binds:
- Lower latency once dependencies are resolved, as there is no
interaction with the GuC or a hardware context switch both of which
are relatively slow.
- Large arrays of binds do not risk running out of migration PTEs,
avoiding -ENOBUFS being returned to userspace.
- Kernel binds are decoupled from the migration exec queue (which issues
copies and clears), so they cannot get stuck behind unrelated
jobs—this can be a problem with parallel GPU faults.
- Paves the for path decouping binds from tiles and individual engines
- Enables ULLS on the migration exec queue, as this queue has exclusive
access to the paging copy engine.
Update migration layer to formulate a PT job which will issue CPU bind
in the submission backend.
All code related to GPU-based binding has been removed.
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patch.msgid.link/20260228013501.106680-14-matthew.brost@intel.com
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
---
drivers/gpu/drm/xe/xe_bo_types.h | 2 -
drivers/gpu/drm/xe/xe_migrate.c | 249 +++----------------------------
drivers/gpu/drm/xe/xe_pt.c | 1 -
3 files changed, 17 insertions(+), 235 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_bo_types.h b/drivers/gpu/drm/xe/xe_bo_types.h
index e45f24301050..7a67d422dc30 100644
--- a/drivers/gpu/drm/xe/xe_bo_types.h
+++ b/drivers/gpu/drm/xe/xe_bo_types.h
@@ -82,8 +82,6 @@ struct xe_bo {
/** @freed: List node for delayed put. */
struct llist_node freed;
- /** @update_index: Update index if PT BO */
- int update_index;
/** @created: Whether the bo has passed initial creation */
bool created;
diff --git a/drivers/gpu/drm/xe/xe_migrate.c b/drivers/gpu/drm/xe/xe_migrate.c
index ba8e195afcc8..e5c46e0fa960 100644
--- a/drivers/gpu/drm/xe/xe_migrate.c
+++ b/drivers/gpu/drm/xe/xe_migrate.c
@@ -77,18 +77,12 @@ struct xe_migrate {
* Protected by @job_mutex.
*/
struct dma_fence *fence;
- /**
- * @vm_update_sa: For integrated, used to suballocate page-tables
- * out of the pt_bo.
- */
- struct drm_suballoc_manager vm_update_sa;
/** @min_chunk_size: For dgfx, Minimum chunk size */
u64 min_chunk_size;
};
#define MAX_PREEMPTDISABLE_TRANSFER SZ_8M /* Around 1ms. */
#define MAX_CCS_LIMITED_TRANSFER SZ_4M /* XE_PAGE_SIZE * (FIELD_MAX(XE2_CCS_SIZE_MASK) + 1) */
-#define NUM_KERNEL_PDE 15
#define NUM_PT_SLOTS 48
#define LEVEL0_PAGE_TABLE_ENCODE_SIZE SZ_2M
#define MAX_NUM_PTE 512
@@ -113,7 +107,6 @@ static void xe_migrate_fini(void *arg)
dma_fence_put(m->fence);
xe_bo_put(m->pt_bo);
- drm_suballoc_manager_fini(&m->vm_update_sa);
mutex_destroy(&m->job_mutex);
xe_vm_close_and_put(m->q->vm);
xe_exec_queue_put(m->q);
@@ -234,8 +227,6 @@ static int xe_migrate_pt_bo_alloc(struct xe_tile *tile, struct xe_migrate *m,
BUILD_BUG_ON(NUM_PT_SLOTS > SZ_2M/XE_PAGE_SIZE);
/* Must be a multiple of 64K to support all platforms */
BUILD_BUG_ON(NUM_PT_SLOTS * XE_PAGE_SIZE % SZ_64K);
- /* And one slot reserved for the 4KiB page table updates */
- BUILD_BUG_ON(!(NUM_KERNEL_PDE & 1));
/* Need to be sure everything fits in the first PT, or create more */
xe_tile_assert(tile, m->batch_base_ofs + xe_bo_size(batch) < SZ_2M);
@@ -391,17 +382,9 @@ static void xe_migrate_prepare_vm(struct xe_tile *tile, struct xe_migrate *m,
}
}
- if (ofs)
- *ofs = map_ofs;
-}
-
-static void xe_migrate_suballoc_manager_init(struct xe_migrate *m, u32 map_ofs)
-{
/*
* Example layout created above, with root level = 3:
* [PT0...PT7]: kernel PT's for copy/clear; 64 or 4KiB PTE's
- * [PT8]: Kernel PT for VM_BIND, 4 KiB PTE's
- * [PT9...PT40]: Userspace PT's for VM_BIND, 4 KiB PTE's
* [PT41 = PDE 0] [PT44...PT47 = 4K and 2M vram identity maps]
*
* This makes the lowest part of the VM point to the pagetables.
@@ -409,19 +392,13 @@ static void xe_migrate_suballoc_manager_init(struct xe_migrate *m, u32 map_ofs)
* and flushes, other parts of the VM can be used either for copying and
* clearing.
*
- * For performance, the kernel reserves PDE's, so about 20 are left
- * for async VM updates.
- *
* To make it easier to work, each scratch PT is put in slot (1 + PT #)
* everywhere, this allows lockless updates to scratch pages by using
* the different addresses in VM.
*/
-#define NUM_VMUSA_UNIT_PER_PAGE 32
-#define VM_SA_UPDATE_UNIT_SIZE (XE_PAGE_SIZE / NUM_VMUSA_UNIT_PER_PAGE)
-#define NUM_VMUSA_WRITES_PER_UNIT (VM_SA_UPDATE_UNIT_SIZE / sizeof(u64))
- drm_suballoc_manager_init(&m->vm_update_sa,
- (size_t)(map_ofs / XE_PAGE_SIZE - NUM_KERNEL_PDE) *
- NUM_VMUSA_UNIT_PER_PAGE, 0);
+
+ if (ofs)
+ *ofs = map_ofs;
}
static bool xe_migrate_needs_ccs_emit(struct xe_device *xe)
@@ -466,7 +443,6 @@ static int xe_migrate_lock_prepare_vm(struct xe_tile *tile, struct xe_migrate *m
return err;
xe_migrate_prepare_vm(tile, m, vm, &map_ofs);
- xe_migrate_suballoc_manager_init(m, map_ofs);
drm_exec_retry_on_contention(&exec);
xe_validation_retry_on_oom(&ctx, &err);
}
@@ -1169,6 +1145,9 @@ struct xe_lrc *xe_migrate_lrc(struct xe_migrate *migrate)
return migrate->q->lrc[0];
}
+/* XXX: With CPU binds this can be removed in a follow up */
+#define NUM_KERNEL_PDE 15
+
static u64 migrate_vm_ppgtt_addr_tlb_inval(void)
{
/*
@@ -1788,56 +1767,6 @@ struct dma_fence *xe_migrate_clear(struct xe_migrate *m,
return fence;
}
-static void write_pgtable(struct xe_tile *tile, struct xe_bb *bb, u64 ppgtt_ofs,
- const struct xe_vm_pgtable_update_op *pt_op,
- const struct xe_vm_pgtable_update *update,
- struct xe_migrate_pt_update *pt_update)
-{
- const struct xe_migrate_pt_update_ops *ops = pt_update->ops;
- struct xe_vm *vm = pt_update->vops->vm;
- u32 chunk;
- u32 ofs = update->ofs, size = update->qwords;
-
- /*
- * If we have 512 entries (max), we would populate it ourselves,
- * and update the PDE above it to the new pointer.
- * The only time this can only happen if we have to update the top
- * PDE. This requires a BO that is almost vm->size big.
- *
- * This shouldn't be possible in practice.. might change when 16K
- * pages are used. Hence the assert.
- */
- xe_tile_assert(tile, update->qwords < MAX_NUM_PTE);
- if (!ppgtt_ofs)
- ppgtt_ofs = xe_migrate_vram_ofs(tile_to_xe(tile),
- xe_bo_addr(update->pt_bo, 0,
- XE_PAGE_SIZE), false);
-
- do {
- u64 addr = ppgtt_ofs + ofs * 8;
-
- chunk = min(size, MAX_PTE_PER_SDI);
-
- /* Ensure populatefn can do memset64 by aligning bb->cs */
- if (!(bb->len & 1))
- bb->cs[bb->len++] = MI_NOOP;
-
- bb->cs[bb->len++] = MI_STORE_DATA_IMM | MI_SDI_NUM_QW(chunk);
- bb->cs[bb->len++] = lower_32_bits(addr);
- bb->cs[bb->len++] = upper_32_bits(addr);
- if (pt_op->bind)
- ops->populate(tile, NULL, bb->cs + bb->len,
- ofs, chunk, update);
- else
- ops->clear(vm, tile, NULL, bb->cs + bb->len,
- ofs, chunk, update);
-
- bb->len += chunk * 2;
- ofs += chunk;
- size -= chunk;
- } while (size);
-}
-
struct xe_vm *xe_migrate_get_vm(struct xe_migrate *m)
{
return xe_vm_get(m->q->vm);
@@ -1938,162 +1867,18 @@ __xe_migrate_update_pgtables(struct xe_migrate *m,
{
const struct xe_migrate_pt_update_ops *ops = pt_update->ops;
struct xe_tile *tile = m->tile;
- struct xe_gt *gt = tile->primary_gt;
- struct xe_device *xe = tile_to_xe(tile);
struct xe_sched_job *job;
struct dma_fence *fence;
- struct drm_suballoc *sa_bo = NULL;
- struct xe_bb *bb;
- u32 i, j, batch_size = 0, ppgtt_ofs, update_idx, page_ofs = 0;
- u32 num_updates = 0, current_update = 0;
- u64 addr;
- int err = 0;
bool is_migrate = is_migrate_queue(m, pt_update_ops->q);
- bool usm = is_migrate && xe->info.has_usm;
-
- for (i = 0; i < pt_update_ops->num_ops; ++i) {
- struct xe_vm_pgtable_update_op *pt_op = &pt_update_ops->pt_job_ops->ops[i];
- struct xe_vm_pgtable_update *updates = pt_op->entries;
-
- num_updates += pt_op->num_entries;
- for (j = 0; j < pt_op->num_entries; ++j) {
- u32 num_cmds = DIV_ROUND_UP(updates[j].qwords,
- MAX_PTE_PER_SDI);
-
- /* align noop + MI_STORE_DATA_IMM cmd prefix */
- batch_size += 4 * num_cmds + updates[j].qwords * 2;
- }
- }
-
- /* fixed + PTE entries */
- if (IS_DGFX(xe))
- batch_size += 2;
- else
- batch_size += 6 * (num_updates / MAX_PTE_PER_SDI + 1) +
- num_updates * 2;
-
- bb = xe_bb_new(gt, batch_size, usm);
- if (IS_ERR(bb))
- return ERR_CAST(bb);
-
- /* For sysmem PTE's, need to map them in our hole.. */
- if (!IS_DGFX(xe)) {
- u16 pat_index = xe_cache_pat_idx(xe, XE_CACHE_WB);
- u32 ptes, ofs;
-
- ppgtt_ofs = NUM_KERNEL_PDE - 1;
- if (!is_migrate) {
- u32 num_units = DIV_ROUND_UP(num_updates,
- NUM_VMUSA_WRITES_PER_UNIT);
-
- if (num_units > m->vm_update_sa.size) {
- err = -ENOBUFS;
- goto err_bb;
- }
- sa_bo = drm_suballoc_new(&m->vm_update_sa, num_units,
- GFP_KERNEL, true, 0);
- if (IS_ERR(sa_bo)) {
- err = PTR_ERR(sa_bo);
- goto err_bb;
- }
-
- ppgtt_ofs = NUM_KERNEL_PDE +
- (drm_suballoc_soffset(sa_bo) /
- NUM_VMUSA_UNIT_PER_PAGE);
- page_ofs = (drm_suballoc_soffset(sa_bo) %
- NUM_VMUSA_UNIT_PER_PAGE) *
- VM_SA_UPDATE_UNIT_SIZE;
- }
-
- /* Map our PT's to gtt */
- i = 0;
- j = 0;
- ptes = num_updates;
- ofs = ppgtt_ofs * XE_PAGE_SIZE + page_ofs;
- while (ptes) {
- u32 chunk = min(MAX_PTE_PER_SDI, ptes);
- u32 idx = 0;
-
- bb->cs[bb->len++] = MI_STORE_DATA_IMM |
- MI_SDI_NUM_QW(chunk);
- bb->cs[bb->len++] = ofs;
- bb->cs[bb->len++] = 0; /* upper_32_bits */
-
- for (; i < pt_update_ops->num_ops; ++i) {
- struct xe_vm_pgtable_update_op *pt_op =
- &pt_update_ops->pt_job_ops->ops[i];
- struct xe_vm_pgtable_update *updates = pt_op->entries;
-
- for (; j < pt_op->num_entries; ++j, ++current_update, ++idx) {
- struct xe_vm *vm = pt_update->vops->vm;
- struct xe_bo *pt_bo = updates[j].pt_bo;
-
- if (idx == chunk)
- goto next_cmd;
-
- xe_tile_assert(tile, xe_bo_size(pt_bo) == SZ_4K);
-
- /* Map a PT at most once */
- if (pt_bo->update_index < 0)
- pt_bo->update_index = current_update;
-
- addr = vm->pt_ops->pte_encode_bo(pt_bo, 0,
- pat_index, 0);
- bb->cs[bb->len++] = lower_32_bits(addr);
- bb->cs[bb->len++] = upper_32_bits(addr);
- }
-
- j = 0;
- }
-
-next_cmd:
- ptes -= chunk;
- ofs += chunk * sizeof(u64);
- }
-
- bb->cs[bb->len++] = MI_BATCH_BUFFER_END;
- update_idx = bb->len;
-
- addr = xe_migrate_vm_addr(ppgtt_ofs, 0) +
- (page_ofs / sizeof(u64)) * XE_PAGE_SIZE;
- for (i = 0; i < pt_update_ops->num_ops; ++i) {
- struct xe_vm_pgtable_update_op *pt_op =
- &pt_update_ops->pt_job_ops->ops[i];
- struct xe_vm_pgtable_update *updates = pt_op->entries;
-
- for (j = 0; j < pt_op->num_entries; ++j) {
- struct xe_bo *pt_bo = updates[j].pt_bo;
-
- write_pgtable(tile, bb, addr +
- pt_bo->update_index * XE_PAGE_SIZE,
- pt_op, &updates[j], pt_update);
- }
- }
- } else {
- /* phys pages, no preamble required */
- bb->cs[bb->len++] = MI_BATCH_BUFFER_END;
- update_idx = bb->len;
-
- for (i = 0; i < pt_update_ops->num_ops; ++i) {
- struct xe_vm_pgtable_update_op *pt_op =
- &pt_update_ops->pt_job_ops->ops[i];
- struct xe_vm_pgtable_update *updates = pt_op->entries;
-
- for (j = 0; j < pt_op->num_entries; ++j)
- write_pgtable(tile, bb, 0, pt_op, &updates[j],
- pt_update);
- }
- }
+ int err;
- job = xe_bb_create_migration_job(pt_update_ops->q, bb,
- xe_migrate_batch_base(m, usm),
- update_idx);
+ job = xe_sched_job_create(pt_update_ops->q, NULL);
if (IS_ERR(job)) {
err = PTR_ERR(job);
- goto err_sa;
+ goto err_out;
}
- xe_sched_job_add_migrate_flush(job, MI_INVALIDATE_TLB);
+ xe_tile_assert(tile, job->is_pt_job);
if (ops->pre_commit) {
pt_update->job = job;
@@ -2104,6 +1889,12 @@ __xe_migrate_update_pgtables(struct xe_migrate *m,
if (is_migrate)
mutex_lock(&m->job_mutex);
+ job->pt_update[0].vm = pt_update->vops->vm;
+ job->pt_update[0].tile = tile;
+ job->pt_update[0].ops = ops;
+ job->pt_update[0].pt_job_ops =
+ xe_pt_job_ops_get(pt_update_ops->pt_job_ops);
+
xe_sched_job_arm(job);
fence = dma_fence_get(&job->drm.s_fence->finished);
xe_sched_job_push(job);
@@ -2111,17 +1902,11 @@ __xe_migrate_update_pgtables(struct xe_migrate *m,
if (is_migrate)
mutex_unlock(&m->job_mutex);
- xe_bb_free(bb, fence);
- drm_suballoc_free(sa_bo, fence);
-
return fence;
err_job:
xe_sched_job_put(job);
-err_sa:
- drm_suballoc_free(sa_bo, NULL);
-err_bb:
- xe_bb_free(bb, NULL);
+err_out:
return ERR_PTR(err);
}
diff --git a/drivers/gpu/drm/xe/xe_pt.c b/drivers/gpu/drm/xe/xe_pt.c
index 16126ffc2ec1..24190ba4f533 100644
--- a/drivers/gpu/drm/xe/xe_pt.c
+++ b/drivers/gpu/drm/xe/xe_pt.c
@@ -387,7 +387,6 @@ xe_pt_new_shared(struct xe_walk_update *wupd, struct xe_pt *parent,
entry->pt = parent;
entry->flags = 0;
entry->qwords = 0;
- entry->pt_bo->update_index = -1;
entry->level = parent->level;
if (alloc_entries) {
--
2.34.1
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [PATCH v5 14/25] drm/xe: Remove unused arguments from xe_migrate_pt_update_ops
2026-09-04 2:21 [PATCH v5 00/25] CPU binds and ULLS on migration queue Matthew Brost
` (12 preceding siblings ...)
2026-09-04 2:21 ` [PATCH v5 13/25] drm/xe: Enable CPU binds for jobs Matthew Brost
@ 2026-09-04 2:21 ` Matthew Brost
2026-09-04 2:21 ` [PATCH v5 15/25] drm/xe: Make bind queues operate cross-tile Matthew Brost
` (14 subsequent siblings)
28 siblings, 0 replies; 41+ messages in thread
From: Matthew Brost @ 2026-09-04 2:21 UTC (permalink / raw)
To: intel-xe
Both populate and clear have unused void* ptr arguments, remove these.
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patch.msgid.link/20260228013501.106680-15-matthew.brost@intel.com
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
---
drivers/gpu/drm/xe/xe_migrate.c | 4 ++--
drivers/gpu/drm/xe/xe_migrate.h | 7 ++-----
drivers/gpu/drm/xe/xe_pt.c | 37 ++++++++++++---------------------
3 files changed, 17 insertions(+), 31 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_migrate.c b/drivers/gpu/drm/xe/xe_migrate.c
index e5c46e0fa960..22a442d13477 100644
--- a/drivers/gpu/drm/xe/xe_migrate.c
+++ b/drivers/gpu/drm/xe/xe_migrate.c
@@ -1812,11 +1812,11 @@ xe_migrate_update_pgtables_cpu_execute(struct xe_vm *vm, struct xe_tile *tile,
if (pt_op->bind)
ops->populate(tile, &update->pt_bo->vmap,
- NULL, update->ofs, update->qwords,
+ update->ofs, update->qwords,
update);
else
ops->clear(vm, tile, &update->pt_bo->vmap,
- NULL, update->ofs, update->qwords,
+ update->ofs, update->qwords,
update);
}
}
diff --git a/drivers/gpu/drm/xe/xe_migrate.h b/drivers/gpu/drm/xe/xe_migrate.h
index 7a824654cb72..74ff6446309c 100644
--- a/drivers/gpu/drm/xe/xe_migrate.h
+++ b/drivers/gpu/drm/xe/xe_migrate.h
@@ -43,7 +43,6 @@ struct xe_migrate_pt_update_ops {
* @populate: Populate a command buffer or page-table with ptes.
* @tile: The tile for the current operation.
* @map: struct iosys_map into the memory to be populated.
- * @pos: If @map is NULL, map into the memory to be populated.
* @ofs: qword offset into @map, unused if @map is NULL.
* @num_qwords: Number of qwords to write.
* @update: Information about the PTEs to be inserted.
@@ -53,14 +52,13 @@ struct xe_migrate_pt_update_ops {
* page-tables with PTEs.
*/
void (*populate)(struct xe_tile *tile, struct iosys_map *map,
- void *pos, u32 ofs, u32 num_qwords,
+ u32 ofs, u32 num_qwords,
const struct xe_vm_pgtable_update *update);
/**
* @clear: Clear a command buffer or page-table with ptes.
* @vm: VM being updated
* @tile: The tile for the current operation.
* @map: struct iosys_map into the memory to be populated.
- * @pos: If @map is NULL, map into the memory to be populated.
* @ofs: qword offset into @map, unused if @map is NULL.
* @num_qwords: Number of qwords to write.
* @update: Information about the PTEs to be inserted.
@@ -70,8 +68,7 @@ struct xe_migrate_pt_update_ops {
* page-tables with PTEs.
*/
void (*clear)(struct xe_vm *vm, struct xe_tile *tile,
- struct iosys_map *map, void *pos, u32 ofs,
- u32 num_qwords,
+ struct iosys_map *map, u32 ofs, u32 num_qwords,
const struct xe_vm_pgtable_update *update);
/**
diff --git a/drivers/gpu/drm/xe/xe_pt.c b/drivers/gpu/drm/xe/xe_pt.c
index 24190ba4f533..c17d5f96f00a 100644
--- a/drivers/gpu/drm/xe/xe_pt.c
+++ b/drivers/gpu/drm/xe/xe_pt.c
@@ -1106,30 +1106,18 @@ bool xe_pt_zap_ptes_range(struct xe_tile *tile, struct xe_vm *vm,
static void
xe_vm_populate_pgtable(struct xe_tile *tile, struct iosys_map *map,
- void *data, u32 qword_ofs, u32 num_qwords,
+ u32 qword_ofs, u32 num_qwords,
const struct xe_vm_pgtable_update *update)
{
struct xe_pt_entry *ptes = update->pt_entries;
- u64 *ptr = data;
u32 i;
- /*
- * @qword_ofs is the absolute entry offset within the page table, while
- * @ptes is indexed relative to @update->ofs (its first entry). The GPU
- * path (write_pgtable) splits a single update into MAX_PTE_PER_SDI-sized
- * chunks, calling this with an advancing @qword_ofs but a fresh @data
- * pointer per chunk, so translate back into a @ptes index rather than
- * assuming the chunk starts at ptes[0].
- */
- for (i = 0; i < num_qwords; i++) {
- u32 idx = qword_ofs - update->ofs + i;
+ xe_assert(tile_to_xe(tile), map);
+ xe_assert(tile_to_xe(tile), !iosys_map_is_null(map));
- if (map)
- xe_map_wr(tile_to_xe(tile), map, (qword_ofs + i) *
- sizeof(u64), u64, ptes[idx].pte);
- else
- ptr[i] = ptes[idx].pte;
- }
+ for (i = 0; i < num_qwords; i++)
+ xe_map_wr(tile_to_xe(tile), map, (qword_ofs + i) *
+ sizeof(u64), u64, ptes[i].pte);
}
static void xe_pt_cancel_bind(struct xe_vma *vma,
@@ -2021,22 +2009,23 @@ static unsigned int xe_pt_stage_unbind(struct xe_tile *tile,
static void
xe_migrate_clear_pgtable_callback(struct xe_vm *vm, struct xe_tile *tile,
- struct iosys_map *map, void *ptr,
- u32 qword_ofs, u32 num_qwords,
+ struct iosys_map *map, u32 qword_ofs,
+ u32 num_qwords,
const struct xe_vm_pgtable_update *update)
{
u64 empty = __xe_pt_empty_pte(tile, vm, update->level);
int i;
- if (map && map->is_iomem)
+ xe_assert(vm->xe, map);
+ xe_assert(vm->xe, !iosys_map_is_null(map));
+
+ if (map->is_iomem)
for (i = 0; i < num_qwords; ++i)
xe_map_wr(tile_to_xe(tile), map, (qword_ofs + i) *
sizeof(u64), u64, empty);
- else if (map)
+ else
memset64(map->vaddr + qword_ofs * sizeof(u64), empty,
num_qwords);
- else
- memset64(ptr, empty, num_qwords);
}
static void xe_pt_abort_unbind(struct xe_vma *vma,
--
2.34.1
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [PATCH v5 15/25] drm/xe: Make bind queues operate cross-tile
2026-09-04 2:21 [PATCH v5 00/25] CPU binds and ULLS on migration queue Matthew Brost
` (13 preceding siblings ...)
2026-09-04 2:21 ` [PATCH v5 14/25] drm/xe: Remove unused arguments from xe_migrate_pt_update_ops Matthew Brost
@ 2026-09-04 2:21 ` Matthew Brost
2026-09-04 2:21 ` [PATCH v5 16/25] drm/xe: Add CPU bind layer Matthew Brost
` (13 subsequent siblings)
28 siblings, 0 replies; 41+ messages in thread
From: Matthew Brost @ 2026-09-04 2:21 UTC (permalink / raw)
To: intel-xe
Since bind jobs execute on the CPU rather than the GPU, maintaining a
per-tile bind queue no longer provides value. Convert the driver to use
a single bind queue shared across tiles. The primary change is routing
all GT TLB invalidations through this unified bind queue.
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patch.msgid.link/20260228013501.106680-16-matthew.brost@intel.com
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
---
drivers/gpu/drm/xe/xe_exec_queue.c | 142 +++++++++--------------
drivers/gpu/drm/xe/xe_exec_queue.h | 14 +--
drivers/gpu/drm/xe/xe_exec_queue_types.h | 20 +---
drivers/gpu/drm/xe/xe_pt.c | 22 ++--
drivers/gpu/drm/xe/xe_sync.c | 20 +---
drivers/gpu/drm/xe/xe_tlb_inval_job.c | 15 ++-
drivers/gpu/drm/xe/xe_tlb_inval_job.h | 2 +-
drivers/gpu/drm/xe/xe_vm.c | 65 +++++------
drivers/gpu/drm/xe/xe_vm_types.h | 2 +-
9 files changed, 125 insertions(+), 177 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_exec_queue.c b/drivers/gpu/drm/xe/xe_exec_queue.c
index a894551c3ea6..0436cb62d211 100644
--- a/drivers/gpu/drm/xe/xe_exec_queue.c
+++ b/drivers/gpu/drm/xe/xe_exec_queue.c
@@ -142,9 +142,8 @@ static void __xe_exec_queue_free(struct xe_exec_queue *q)
{
int i;
- for (i = 0; i < XE_EXEC_QUEUE_TLB_INVAL_COUNT; ++i)
- if (q->tlb_inval[i].dep_scheduler)
- xe_dep_scheduler_fini(q->tlb_inval[i].dep_scheduler);
+ for_each_tlb_inval(q, i)
+ xe_dep_scheduler_fini(q->tlb_inval[i].dep_scheduler);
if (xe_exec_queue_uses_pxp(q))
xe_pxp_exec_queue_remove(gt_to_xe(q->gt)->pxp, q);
@@ -166,31 +165,34 @@ static void __xe_exec_queue_free(struct xe_exec_queue *q)
static int alloc_dep_schedulers(struct xe_device *xe, struct xe_exec_queue *q)
{
- struct xe_tile *tile = gt_to_tile(q->gt);
- int i;
+ struct xe_tile *tile;
+ int i = 0, j;
+ u8 id;
- for (i = 0; i < XE_EXEC_QUEUE_TLB_INVAL_COUNT; ++i) {
- struct xe_dep_scheduler *dep_scheduler;
- struct xe_gt *gt;
- struct workqueue_struct *wq;
+ for_each_tile(tile, xe, id) {
+ for (j = 0; j < (XE_EXEC_QUEUE_TLB_INVAL_MEDIA_GT + 1); ++j, ++i) {
+ struct xe_dep_scheduler *dep_scheduler;
+ struct xe_gt *gt;
+ struct workqueue_struct *wq;
- if (i == XE_EXEC_QUEUE_TLB_INVAL_PRIMARY_GT)
- gt = tile->primary_gt;
- else
- gt = tile->media_gt;
+ if (j == XE_EXEC_QUEUE_TLB_INVAL_PRIMARY_GT)
+ gt = tile->primary_gt;
+ else
+ gt = tile->media_gt;
- if (!gt)
- continue;
+ if (!gt)
+ continue;
- wq = gt->tlb_inval.job_wq;
+ wq = gt->tlb_inval.job_wq;
#define MAX_TLB_INVAL_JOBS 16 /* Picking a reasonable value */
- dep_scheduler = xe_dep_scheduler_create(xe, wq, q->name,
- MAX_TLB_INVAL_JOBS);
- if (IS_ERR(dep_scheduler))
- return PTR_ERR(dep_scheduler);
+ dep_scheduler = xe_dep_scheduler_create(xe, wq, q->name,
+ MAX_TLB_INVAL_JOBS);
+ if (IS_ERR(dep_scheduler))
+ return PTR_ERR(dep_scheduler);
- q->tlb_inval[i].dep_scheduler = dep_scheduler;
+ q->tlb_inval[i].dep_scheduler = dep_scheduler;
+ }
}
#undef MAX_TLB_INVAL_JOBS
@@ -224,7 +226,6 @@ static struct xe_exec_queue *__xe_exec_queue_alloc(struct xe_device *xe,
q->ops = gt->exec_queue_ops;
INIT_LIST_HEAD(&q->lr.link);
INIT_LIST_HEAD(&q->vm_exec_queue_link);
- INIT_LIST_HEAD(&q->multi_gt_link);
INIT_LIST_HEAD(&q->hw_engine_group_link);
INIT_LIST_HEAD(&q->pxp.link);
spin_lock_init(&q->multi_queue.lock);
@@ -572,7 +573,6 @@ ALLOW_ERROR_INJECTION(xe_exec_queue_create_bind, ERRNO);
void xe_exec_queue_destroy(struct kref *ref)
{
struct xe_exec_queue *q = container_of(ref, struct xe_exec_queue, refcount);
- struct xe_exec_queue *eq, *next;
int i;
xe_assert(gt_to_xe(q->gt), atomic_read(&q->job_cnt) == 0);
@@ -584,15 +584,9 @@ void xe_exec_queue_destroy(struct kref *ref)
xe_pxp_exec_queue_remove(gt_to_xe(q->gt)->pxp, q);
xe_exec_queue_last_fence_put_unlocked(q);
- for_each_tlb_inval(i)
+ for_each_tlb_inval(q, i)
xe_exec_queue_tlb_inval_last_fence_put_unlocked(q, i);
- if (!(q->flags & EXEC_QUEUE_FLAG_BIND_ENGINE_CHILD)) {
- list_for_each_entry_safe(eq, next, &q->multi_gt_list,
- multi_gt_link)
- xe_exec_queue_put(eq);
- }
-
if (q->user_vm) {
xe_vm_put(q->user_vm);
q->user_vm = NULL;
@@ -1279,7 +1273,6 @@ int xe_exec_queue_create_ioctl(struct drm_device *dev, void *data,
u64_to_user_ptr(args->instances);
struct xe_hw_engine *hwe;
struct xe_vm *vm;
- struct xe_tile *tile;
struct xe_exec_queue *q = NULL;
u32 logical_mask;
u32 flags = 0;
@@ -1328,31 +1321,16 @@ int xe_exec_queue_create_ioctl(struct drm_device *dev, void *data,
return -ENOENT;
}
- for_each_tile(tile, xe, id) {
- struct xe_exec_queue *new;
-
- flags |= EXEC_QUEUE_FLAG_VM;
- if (id)
- flags |= EXEC_QUEUE_FLAG_BIND_ENGINE_CHILD;
-
- new = xe_exec_queue_create_bind(xe, tile, vm, flags,
- args->extensions);
- if (IS_ERR(new)) {
- up_read(&vm->lock);
- xe_vm_put(vm);
- err = PTR_ERR(new);
- if (q)
- goto put_exec_queue;
- return err;
- }
- if (id == 0)
- q = new;
- else
- list_add_tail(&new->multi_gt_list,
- &q->multi_gt_link);
- }
+ flags |= EXEC_QUEUE_FLAG_VM;
+
+ q = xe_exec_queue_create_bind(xe, xe_device_get_root_tile(xe),
+ vm, flags, args->extensions);
up_read(&vm->lock);
xe_vm_put(vm);
+ if (IS_ERR(q)) {
+ err = PTR_ERR(q);
+ return err;
+ }
} else {
logical_mask = calc_validate_logical_mask(xe, eci,
args->width,
@@ -1570,14 +1548,6 @@ void xe_exec_queue_update_run_ticks(struct xe_exec_queue *q)
*/
void xe_exec_queue_kill(struct xe_exec_queue *q)
{
- struct xe_exec_queue *eq = q, *next;
-
- list_for_each_entry_safe(eq, next, &eq->multi_gt_list,
- multi_gt_link) {
- q->ops->kill(eq);
- xe_vm_remove_compute_exec_queue(q->vm, eq);
- }
-
q->ops->kill(q);
xe_vm_remove_compute_exec_queue(q->vm, q);
}
@@ -1738,42 +1708,40 @@ void xe_exec_queue_last_fence_set(struct xe_exec_queue *q, struct xe_vm *vm,
* xe_exec_queue_tlb_inval_last_fence_put() - Drop ref to last TLB invalidation fence
* @q: The exec queue
* @vm: The VM the engine does a bind for
- * @type: Either primary or media GT
+ * @idx: Index of tlb invalidation
*/
void xe_exec_queue_tlb_inval_last_fence_put(struct xe_exec_queue *q,
struct xe_vm *vm,
- unsigned int type)
+ unsigned int idx)
{
xe_exec_queue_last_fence_lockdep_assert(q, vm);
- xe_assert(vm->xe, type == XE_EXEC_QUEUE_TLB_INVAL_MEDIA_GT ||
- type == XE_EXEC_QUEUE_TLB_INVAL_PRIMARY_GT);
+ xe_assert(vm->xe, idx < XE_EXEC_QUEUE_TLB_INVAL_COUNT);
- xe_exec_queue_tlb_inval_last_fence_put_unlocked(q, type);
+ xe_exec_queue_tlb_inval_last_fence_put_unlocked(q, idx);
}
/**
* xe_exec_queue_tlb_inval_last_fence_put_unlocked() - Drop ref to last TLB
* invalidation fence unlocked
* @q: The exec queue
- * @type: Either primary or media GT
+ * @idx: Index of tlb invalidation
*
* Only safe to be called from xe_exec_queue_destroy().
*/
void xe_exec_queue_tlb_inval_last_fence_put_unlocked(struct xe_exec_queue *q,
- unsigned int type)
+ unsigned int idx)
{
- xe_assert(gt_to_xe(q->gt), type == XE_EXEC_QUEUE_TLB_INVAL_MEDIA_GT ||
- type == XE_EXEC_QUEUE_TLB_INVAL_PRIMARY_GT);
+ xe_assert(q->vm->xe, idx < XE_EXEC_QUEUE_TLB_INVAL_COUNT);
- dma_fence_put(q->tlb_inval[type].last_fence);
- q->tlb_inval[type].last_fence = NULL;
+ dma_fence_put(q->tlb_inval[idx].last_fence);
+ q->tlb_inval[idx].last_fence = NULL;
}
/**
* xe_exec_queue_tlb_inval_last_fence_get() - Get last fence for TLB invalidation
* @q: The exec queue
* @vm: The VM the engine does a bind for
- * @type: Either primary or media GT
+ * @idx: Index of tlb invalidation
*
* Get last fence, takes a ref
*
@@ -1781,22 +1749,21 @@ void xe_exec_queue_tlb_inval_last_fence_put_unlocked(struct xe_exec_queue *q,
*/
struct dma_fence *xe_exec_queue_tlb_inval_last_fence_get(struct xe_exec_queue *q,
struct xe_vm *vm,
- unsigned int type)
+ unsigned int idx)
{
struct dma_fence *fence;
xe_exec_queue_last_fence_lockdep_assert(q, vm);
- xe_assert(vm->xe, type == XE_EXEC_QUEUE_TLB_INVAL_MEDIA_GT ||
- type == XE_EXEC_QUEUE_TLB_INVAL_PRIMARY_GT);
+ xe_assert(vm->xe, idx < XE_EXEC_QUEUE_TLB_INVAL_COUNT);
xe_assert(vm->xe, q->flags & (EXEC_QUEUE_FLAG_VM |
EXEC_QUEUE_FLAG_MIGRATE));
- if (q->tlb_inval[type].last_fence &&
+ if (q->tlb_inval[idx].last_fence &&
test_bit(DMA_FENCE_FLAG_SIGNALED_BIT,
- &q->tlb_inval[type].last_fence->flags))
- xe_exec_queue_tlb_inval_last_fence_put(q, vm, type);
+ &q->tlb_inval[idx].last_fence->flags))
+ xe_exec_queue_tlb_inval_last_fence_put(q, vm, idx);
- fence = q->tlb_inval[type].last_fence ?: dma_fence_get_stub();
+ fence = q->tlb_inval[idx].last_fence ?: dma_fence_get_stub();
dma_fence_get(fence);
return fence;
}
@@ -1806,26 +1773,25 @@ struct dma_fence *xe_exec_queue_tlb_inval_last_fence_get(struct xe_exec_queue *q
* @q: The exec queue
* @vm: The VM the engine does a bind for
* @fence: The fence
- * @type: Either primary or media GT
+ * @idx: Index of tlb invalidation
*
- * Set the last fence for the tlb invalidation type on the queue. Increases
+ * Set the last fence for the tlb invalidation client on the queue. Increases
* reference count for fence, when closing queue
* xe_exec_queue_tlb_inval_last_fence_put should be called.
*/
void xe_exec_queue_tlb_inval_last_fence_set(struct xe_exec_queue *q,
struct xe_vm *vm,
struct dma_fence *fence,
- unsigned int type)
+ unsigned int idx)
{
xe_exec_queue_last_fence_lockdep_assert(q, vm);
- xe_assert(vm->xe, type == XE_EXEC_QUEUE_TLB_INVAL_MEDIA_GT ||
- type == XE_EXEC_QUEUE_TLB_INVAL_PRIMARY_GT);
+ xe_assert(vm->xe, idx < XE_EXEC_QUEUE_TLB_INVAL_COUNT);
xe_assert(vm->xe, q->flags & (EXEC_QUEUE_FLAG_VM |
EXEC_QUEUE_FLAG_MIGRATE));
xe_assert(vm->xe, !dma_fence_is_container(fence));
- xe_exec_queue_tlb_inval_last_fence_put(q, vm, type);
- q->tlb_inval[type].last_fence = dma_fence_get(fence);
+ xe_exec_queue_tlb_inval_last_fence_put(q, vm, idx);
+ q->tlb_inval[idx].last_fence = dma_fence_get(fence);
}
/**
diff --git a/drivers/gpu/drm/xe/xe_exec_queue.h b/drivers/gpu/drm/xe/xe_exec_queue.h
index 0225426c57b0..b02a390ba989 100644
--- a/drivers/gpu/drm/xe/xe_exec_queue.h
+++ b/drivers/gpu/drm/xe/xe_exec_queue.h
@@ -14,9 +14,9 @@ struct drm_file;
struct xe_device;
struct xe_file;
-#define for_each_tlb_inval(__i) \
- for (__i = XE_EXEC_QUEUE_TLB_INVAL_PRIMARY_GT; \
- __i <= XE_EXEC_QUEUE_TLB_INVAL_MEDIA_GT; ++__i)
+#define for_each_tlb_inval(__q, __i) \
+ for (__i = 0; __i < XE_EXEC_QUEUE_TLB_INVAL_COUNT; ++__i) \
+ for_each_if((__q)->tlb_inval[__i].dep_scheduler)
struct xe_exec_queue *xe_exec_queue_create(struct xe_device *xe, struct xe_vm *vm,
u32 logical_mask, u16 width,
@@ -141,19 +141,19 @@ void xe_exec_queue_last_fence_set(struct xe_exec_queue *e, struct xe_vm *vm,
void xe_exec_queue_tlb_inval_last_fence_put(struct xe_exec_queue *q,
struct xe_vm *vm,
- unsigned int type);
+ unsigned int idx);
void xe_exec_queue_tlb_inval_last_fence_put_unlocked(struct xe_exec_queue *q,
- unsigned int type);
+ unsigned int idx);
struct dma_fence *xe_exec_queue_tlb_inval_last_fence_get(struct xe_exec_queue *q,
struct xe_vm *vm,
- unsigned int type);
+ unsigned int idx);
void xe_exec_queue_tlb_inval_last_fence_set(struct xe_exec_queue *q,
struct xe_vm *vm,
struct dma_fence *fence,
- unsigned int type);
+ unsigned int idx);
void xe_exec_queue_update_run_ticks(struct xe_exec_queue *q);
diff --git a/drivers/gpu/drm/xe/xe_exec_queue_types.h b/drivers/gpu/drm/xe/xe_exec_queue_types.h
index 95f75d61a647..5e460d61932a 100644
--- a/drivers/gpu/drm/xe/xe_exec_queue_types.h
+++ b/drivers/gpu/drm/xe/xe_exec_queue_types.h
@@ -137,16 +137,14 @@ struct xe_exec_queue {
#define EXEC_QUEUE_FLAG_KERNEL BIT(0)
/* for VM jobs. Caller needs to hold rpm ref when creating queue with this flag */
#define EXEC_QUEUE_FLAG_VM BIT(1)
-/* child of VM queue for multi-tile VM jobs */
-#define EXEC_QUEUE_FLAG_BIND_ENGINE_CHILD BIT(2)
/* kernel exec_queue only, set priority to highest level */
-#define EXEC_QUEUE_FLAG_HIGH_PRIORITY BIT(3)
+#define EXEC_QUEUE_FLAG_HIGH_PRIORITY BIT(2)
/* flag to indicate low latency hint to guc */
-#define EXEC_QUEUE_FLAG_LOW_LATENCY BIT(4)
+#define EXEC_QUEUE_FLAG_LOW_LATENCY BIT(3)
/* for migration (kernel copy, clear, bind) jobs */
-#define EXEC_QUEUE_FLAG_MIGRATE BIT(5)
+#define EXEC_QUEUE_FLAG_MIGRATE BIT(4)
/* for programming COMMON_SLICE_CHICKEN3 on first submission */
-#define EXEC_QUEUE_FLAG_DISABLE_STATE_CACHE_PERF_FIX BIT(6)
+#define EXEC_QUEUE_FLAG_DISABLE_STATE_CACHE_PERF_FIX BIT(5)
/**
* @flags: flags for this exec queue, should statically setup aside from ban
@@ -154,13 +152,6 @@ struct xe_exec_queue {
*/
unsigned long flags;
- union {
- /** @multi_gt_list: list head for VM bind engines if multi-GT */
- struct list_head multi_gt_list;
- /** @multi_gt_link: link for VM bind engines if multi-GT */
- struct list_head multi_gt_link;
- };
-
union {
/** @execlist: execlist backend specific state for exec queue */
struct xe_execlist_exec_queue *execlist;
@@ -227,7 +218,8 @@ struct xe_exec_queue {
#define XE_EXEC_QUEUE_TLB_INVAL_PRIMARY_GT 0
#define XE_EXEC_QUEUE_TLB_INVAL_MEDIA_GT 1
-#define XE_EXEC_QUEUE_TLB_INVAL_COUNT (XE_EXEC_QUEUE_TLB_INVAL_MEDIA_GT + 1)
+#define XE_EXEC_QUEUE_TLB_INVAL_COUNT \
+ ((XE_EXEC_QUEUE_TLB_INVAL_MEDIA_GT + 1) * 2)
/** @tlb_inval: TLB invalidations exec queue state */
struct {
diff --git a/drivers/gpu/drm/xe/xe_pt.c b/drivers/gpu/drm/xe/xe_pt.c
index c17d5f96f00a..bdeffd6f1828 100644
--- a/drivers/gpu/drm/xe/xe_pt.c
+++ b/drivers/gpu/drm/xe/xe_pt.c
@@ -2710,12 +2710,18 @@ static const struct xe_migrate_pt_update_ops svm_userptr_migrate_ops;
#endif
static struct xe_dep_scheduler *to_dep_scheduler(struct xe_exec_queue *q,
- struct xe_gt *gt)
+ struct xe_tile *tile,
+ struct xe_gt *gt,
+ unsigned int *type)
{
+ int tile_ofs = tile->id * (XE_EXEC_QUEUE_TLB_INVAL_MEDIA_GT + 1);
+
if (xe_gt_is_media_type(gt))
- return q->tlb_inval[XE_EXEC_QUEUE_TLB_INVAL_MEDIA_GT].dep_scheduler;
+ *type = tile_ofs + XE_EXEC_QUEUE_TLB_INVAL_MEDIA_GT;
+ else
+ *type = tile_ofs + XE_EXEC_QUEUE_TLB_INVAL_PRIMARY_GT;
- return q->tlb_inval[XE_EXEC_QUEUE_TLB_INVAL_PRIMARY_GT].dep_scheduler;
+ return q->tlb_inval[*type].dep_scheduler;
}
/**
@@ -2740,6 +2746,7 @@ xe_pt_update_ops_run(struct xe_tile *tile, struct xe_vma_ops *vops)
struct xe_tlb_inval_job *ijob = NULL, *mjob = NULL;
struct xe_range_fence *rfence;
struct xe_vma_op *op;
+ unsigned int type;
int err = 0, i;
struct xe_migrate_pt_update update = {
.ops = pt_update_ops->needs_svm_lock ?
@@ -2766,13 +2773,13 @@ xe_pt_update_ops_run(struct xe_tile *tile, struct xe_vma_ops *vops)
if (pt_update_ops->needs_invalidation) {
struct xe_dep_scheduler *dep_scheduler =
- to_dep_scheduler(q, tile->primary_gt);
+ to_dep_scheduler(q, tile, tile->primary_gt, &type);
ijob = xe_tlb_inval_job_create(q, &tile->primary_gt->tlb_inval,
dep_scheduler, vm,
pt_update_ops->start,
pt_update_ops->last,
- XE_EXEC_QUEUE_TLB_INVAL_PRIMARY_GT);
+ type);
if (IS_ERR(ijob)) {
err = PTR_ERR(ijob);
goto kill_vm_tile1;
@@ -2791,14 +2798,15 @@ xe_pt_update_ops_run(struct xe_tile *tile, struct xe_vma_ops *vops)
}
if (tile->media_gt) {
- dep_scheduler = to_dep_scheduler(q, tile->media_gt);
+ dep_scheduler = to_dep_scheduler(q, tile,
+ tile->media_gt, &type);
mjob = xe_tlb_inval_job_create(q,
&tile->media_gt->tlb_inval,
dep_scheduler, vm,
pt_update_ops->start,
pt_update_ops->last,
- XE_EXEC_QUEUE_TLB_INVAL_MEDIA_GT);
+ type);
if (IS_ERR(mjob)) {
err = PTR_ERR(mjob);
goto free_ijob;
diff --git a/drivers/gpu/drm/xe/xe_sync.c b/drivers/gpu/drm/xe/xe_sync.c
index 37866768d64c..06b1c913588a 100644
--- a/drivers/gpu/drm/xe/xe_sync.c
+++ b/drivers/gpu/drm/xe/xe_sync.c
@@ -345,15 +345,9 @@ xe_sync_in_fence_get(struct xe_sync_entry *sync, int num_sync,
return ERR_PTR(-EOPNOTSUPP);
if (q->flags & EXEC_QUEUE_FLAG_VM) {
- struct xe_exec_queue *__q;
- struct xe_tile *tile;
- u8 id;
-
- for_each_tile(tile, vm->xe, id) {
+ num_fence++;
+ for_each_tlb_inval(q, i)
num_fence++;
- for_each_tlb_inval(i)
- num_fence++;
- }
fences = kmalloc_objs(*fences, num_fence);
if (!fences)
@@ -361,17 +355,9 @@ xe_sync_in_fence_get(struct xe_sync_entry *sync, int num_sync,
fences[current_fence++] =
xe_exec_queue_last_fence_get(q, vm);
- for_each_tlb_inval(i)
+ for_each_tlb_inval(q, i)
fences[current_fence++] =
xe_exec_queue_tlb_inval_last_fence_get(q, vm, i);
- list_for_each_entry(__q, &q->multi_gt_list,
- multi_gt_link) {
- fences[current_fence++] =
- xe_exec_queue_last_fence_get(__q, vm);
- for_each_tlb_inval(i)
- fences[current_fence++] =
- xe_exec_queue_tlb_inval_last_fence_get(__q, vm, i);
- }
xe_assert(vm->xe, current_fence == num_fence);
cf = dma_fence_array_create(num_fence, fences,
diff --git a/drivers/gpu/drm/xe/xe_tlb_inval_job.c b/drivers/gpu/drm/xe/xe_tlb_inval_job.c
index 04d21015cd5d..81f560068d3c 100644
--- a/drivers/gpu/drm/xe/xe_tlb_inval_job.c
+++ b/drivers/gpu/drm/xe/xe_tlb_inval_job.c
@@ -39,8 +39,8 @@ struct xe_tlb_inval_job {
u64 start;
/** @end: End address to invalidate */
u64 end;
- /** @type: GT type */
- int type;
+ /** @idx: Index of tlb invalidation */
+ int idx;
/** @fence_armed: Fence has been armed */
bool fence_armed;
};
@@ -87,7 +87,7 @@ static const struct xe_dep_job_ops dep_job_ops = {
* @vm: VM which TLB invalidation is being issued for
* @start: Start address to invalidate
* @end: End address to invalidate
- * @type: GT type
+ * @idx: Index of tlb invalidation
*
* Create a TLB invalidation job and initialize internal fields. The caller is
* responsible for releasing the creation reference.
@@ -97,7 +97,7 @@ static const struct xe_dep_job_ops dep_job_ops = {
struct xe_tlb_inval_job *
xe_tlb_inval_job_create(struct xe_exec_queue *q, struct xe_tlb_inval *tlb_inval,
struct xe_dep_scheduler *dep_scheduler,
- struct xe_vm *vm, u64 start, u64 end, int type)
+ struct xe_vm *vm, u64 start, u64 end, int idx)
{
struct xe_tlb_inval_job *job;
struct drm_sched_entity *entity =
@@ -105,8 +105,7 @@ xe_tlb_inval_job_create(struct xe_exec_queue *q, struct xe_tlb_inval *tlb_inval,
struct xe_tlb_inval_fence *ifence;
int err;
- xe_assert(vm->xe, type == XE_EXEC_QUEUE_TLB_INVAL_MEDIA_GT ||
- type == XE_EXEC_QUEUE_TLB_INVAL_PRIMARY_GT);
+ xe_assert(vm->xe, idx < XE_EXEC_QUEUE_TLB_INVAL_COUNT);
job = kmalloc_obj(*job);
if (!job)
@@ -120,7 +119,7 @@ xe_tlb_inval_job_create(struct xe_exec_queue *q, struct xe_tlb_inval *tlb_inval,
job->fence_armed = false;
xe_page_reclaim_list_init(&job->prl);
job->dep.ops = &dep_job_ops;
- job->type = type;
+ job->idx = idx;
kref_init(&job->refcount);
xe_exec_queue_get(q); /* Pairs with put in xe_tlb_inval_job_destroy */
xe_vm_get(vm); /* Pairs with put in xe_tlb_inval_job_destroy */
@@ -280,7 +279,7 @@ struct dma_fence *xe_tlb_inval_job_push(struct xe_tlb_inval_job *job,
/* Let the upper layers fish this out */
xe_exec_queue_tlb_inval_last_fence_set(job->q, job->vm,
&job->dep.drm.s_fence->finished,
- job->type);
+ job->idx);
xe_migrate_job_unlock(m, job->q);
diff --git a/drivers/gpu/drm/xe/xe_tlb_inval_job.h b/drivers/gpu/drm/xe/xe_tlb_inval_job.h
index 03d6e21cd611..2a4478f529e6 100644
--- a/drivers/gpu/drm/xe/xe_tlb_inval_job.h
+++ b/drivers/gpu/drm/xe/xe_tlb_inval_job.h
@@ -20,7 +20,7 @@ struct xe_vm;
struct xe_tlb_inval_job *
xe_tlb_inval_job_create(struct xe_exec_queue *q, struct xe_tlb_inval *tlb_inval,
struct xe_dep_scheduler *dep_scheduler,
- struct xe_vm *vm, u64 start, u64 end, int type);
+ struct xe_vm *vm, u64 start, u64 end, int idx);
void xe_tlb_inval_job_add_page_reclaim(struct xe_tlb_inval_job *job,
struct xe_page_reclaim_list *prl);
diff --git a/drivers/gpu/drm/xe/xe_vm.c b/drivers/gpu/drm/xe/xe_vm.c
index 13e984ac4e4f..433a0a681556 100644
--- a/drivers/gpu/drm/xe/xe_vm.c
+++ b/drivers/gpu/drm/xe/xe_vm.c
@@ -1815,7 +1815,7 @@ struct xe_vm *xe_vm_create(struct xe_device *xe, u32 flags, struct xe_file *xef)
struct xe_exec_queue *q;
u32 create_flags = EXEC_QUEUE_FLAG_VM;
- if (!vm->pt_root[id])
+ if (!vm->pt_root[id] || vm->q)
continue;
if (!xef) /* Not from userspace */
@@ -1826,7 +1826,7 @@ struct xe_vm *xe_vm_create(struct xe_device *xe, u32 flags, struct xe_file *xef)
err = PTR_ERR(q);
goto err_close;
}
- vm->q[id] = q;
+ vm->q = q;
}
}
@@ -1933,24 +1933,18 @@ void xe_vm_close_and_put(struct xe_vm *vm)
if (xe_vm_in_fault_mode(vm))
xe_svm_close(vm);
- down_write(&vm->lock);
- for_each_tile(tile, xe, id) {
- if (vm->q[id]) {
- int i;
+ if (vm->q) {
+ int i;
- xe_exec_queue_last_fence_put(vm->q[id], vm);
- for_each_tlb_inval(i)
- xe_exec_queue_tlb_inval_last_fence_put(vm->q[id], vm, i);
- }
- }
- up_write(&vm->lock);
+ down_write(&vm->lock);
+ xe_exec_queue_last_fence_put(vm->q, vm);
+ for_each_tlb_inval(vm->q, i)
+ xe_exec_queue_tlb_inval_last_fence_put(vm->q, vm, i);
+ up_write(&vm->lock);
- for_each_tile(tile, xe, id) {
- if (vm->q[id]) {
- xe_exec_queue_kill(vm->q[id]);
- xe_exec_queue_put(vm->q[id]);
- vm->q[id] = NULL;
- }
+ xe_exec_queue_kill(vm->q);
+ xe_exec_queue_put(vm->q);
+ vm->q = NULL;
}
down_write(&vm->lock);
@@ -2084,7 +2078,7 @@ u64 xe_vm_pdp4_descriptor(struct xe_vm *vm, struct xe_tile *tile)
static struct xe_exec_queue *
to_wait_exec_queue(struct xe_vm *vm, struct xe_exec_queue *q)
{
- return q ? q : vm->q[0];
+ return q ? q : vm->q;
}
static struct xe_user_fence *
@@ -3527,13 +3521,10 @@ static int vm_ops_setup_tile_args(struct xe_vm *vm, struct xe_vma_ops *vops)
if (vops->pt_update_ops[id].q)
continue;
- if (q) {
+ if (q)
vops->pt_update_ops[id].q = q;
- if (vm->pt_root[id] && !list_empty(&q->multi_gt_list))
- q = list_next_entry(q, multi_gt_list);
- } else {
- vops->pt_update_ops[id].q = vm->q[id];
- }
+ else
+ vops->pt_update_ops[id].q = vm->q;
}
return number_tiles;
@@ -3553,15 +3544,15 @@ static struct dma_fence *ops_execute(struct xe_vm *vm,
if (number_tiles == 0)
return ERR_PTR(-ENODATA);
- for_each_tile(tile, vm->xe, id) {
+ for_each_tile(tile, vm->xe, id)
++n_fence;
- if (!(vops->flags & XE_VMA_OPS_FLAG_SKIP_TLB_WAIT))
- for_each_tlb_inval(i)
- ++n_fence;
+ if (!(vops->flags & XE_VMA_OPS_FLAG_SKIP_TLB_WAIT)) {
+ for_each_tlb_inval(vops->pt_update_ops[0].q, i)
+ ++n_fence;
}
- fences = kmalloc_objs(*fences, n_fence);
+ fences = kcalloc(n_fence, sizeof(*fences), GFP_KERNEL);
if (!fences) {
fence = ERR_PTR(-ENOMEM);
goto err_trace;
@@ -3603,9 +3594,15 @@ static struct dma_fence *ops_execute(struct xe_vm *vm,
continue;
xe_migrate_job_lock(tile->migrate, q);
- for_each_tlb_inval(i)
- fences[current_fence++] =
- xe_exec_queue_tlb_inval_last_fence_get(q, vm, i);
+ for_each_tlb_inval(q, i) {
+ if (i >= (tile->id + 1) * XE_MAX_GT_PER_TILE ||
+ i < tile->id * XE_MAX_GT_PER_TILE)
+ continue;
+
+ fences[current_fence++] = fence ?
+ xe_exec_queue_tlb_inval_last_fence_get(q, vm, i) :
+ dma_fence_get_stub();
+ }
xe_migrate_job_unlock(tile->migrate, q);
}
@@ -4135,7 +4132,7 @@ int xe_vm_bind_ioctl(struct drm_device *dev, void *data, struct drm_file *file)
syncs_user = u64_to_user_ptr(args->syncs);
for (num_syncs = 0; num_syncs < args->num_syncs; num_syncs++) {
- struct xe_exec_queue *__q = q ?: vm->q[0];
+ struct xe_exec_queue *__q = q ?: vm->q;
err = xe_sync_entry_parse(xe, xef, &syncs[num_syncs],
&syncs_user[num_syncs],
diff --git a/drivers/gpu/drm/xe/xe_vm_types.h b/drivers/gpu/drm/xe/xe_vm_types.h
index 648031e64145..c91cb13fc4f1 100644
--- a/drivers/gpu/drm/xe/xe_vm_types.h
+++ b/drivers/gpu/drm/xe/xe_vm_types.h
@@ -262,7 +262,7 @@ struct xe_vm {
struct xe_device *xe;
/* exec queue used for (un)binding vma's */
- struct xe_exec_queue *q[XE_MAX_TILES_PER_DEVICE];
+ struct xe_exec_queue *q;
/** @lru_bulk_move: Bulk LRU move list for this VM's BOs */
struct ttm_lru_bulk_move lru_bulk_move;
--
2.34.1
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [PATCH v5 16/25] drm/xe: Add CPU bind layer
2026-09-04 2:21 [PATCH v5 00/25] CPU binds and ULLS on migration queue Matthew Brost
` (14 preceding siblings ...)
2026-09-04 2:21 ` [PATCH v5 15/25] drm/xe: Make bind queues operate cross-tile Matthew Brost
@ 2026-09-04 2:21 ` Matthew Brost
2026-09-04 2:21 ` [PATCH v5 17/25] drm/xe: Add device flag to enable PT mirroring across tiles Matthew Brost
` (12 subsequent siblings)
28 siblings, 0 replies; 41+ messages in thread
From: Matthew Brost @ 2026-09-04 2:21 UTC (permalink / raw)
To: intel-xe
With CPU binds, it no longer makes sense to implement CPU bind handling
in the migrate layer, as these operations are entirely decoupled from
hardware. Introduce a dedicated CPU bind layer stored at the device
level.
Since CPU binds are tile-independent, update the PT layer to generate a
single bind job even when pages are mirrored across tiles.
This patch is large because the refactor touches multiple file / layers
and ensures functional equivalence before and after the change.
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patch.msgid.link/20260228013501.106680-17-matthew.brost@intel.com
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
---
drivers/gpu/drm/xe/Makefile | 1 +
drivers/gpu/drm/xe/xe_cpu_bind.c | 298 +++++++++++++
drivers/gpu/drm/xe/xe_cpu_bind.h | 118 +++++
drivers/gpu/drm/xe/xe_device.c | 5 +
drivers/gpu/drm/xe/xe_device_types.h | 4 +
drivers/gpu/drm/xe/xe_exec_queue.c | 3 +-
drivers/gpu/drm/xe/xe_guc_submit.c | 41 +-
drivers/gpu/drm/xe/xe_migrate.c | 246 -----------
drivers/gpu/drm/xe/xe_migrate.h | 94 ----
drivers/gpu/drm/xe/xe_pt.c | 549 ++++++++++++------------
drivers/gpu/drm/xe/xe_pt.h | 8 +-
drivers/gpu/drm/xe/xe_pt_types.h | 14 -
drivers/gpu/drm/xe/xe_sched_job.c | 10 +-
drivers/gpu/drm/xe/xe_sched_job_types.h | 11 +-
drivers/gpu/drm/xe/xe_tlb_inval_job.c | 13 +-
drivers/gpu/drm/xe/xe_tlb_inval_job.h | 2 -
drivers/gpu/drm/xe/xe_vm.c | 155 ++-----
drivers/gpu/drm/xe/xe_vm_types.h | 10 +-
18 files changed, 813 insertions(+), 769 deletions(-)
create mode 100644 drivers/gpu/drm/xe/xe_cpu_bind.c
create mode 100644 drivers/gpu/drm/xe/xe_cpu_bind.h
diff --git a/drivers/gpu/drm/xe/Makefile b/drivers/gpu/drm/xe/Makefile
index 67b8b5477639..0670a3f08ec8 100644
--- a/drivers/gpu/drm/xe/Makefile
+++ b/drivers/gpu/drm/xe/Makefile
@@ -35,6 +35,7 @@ $(obj)/generated/%_device_wa_oob.c $(obj)/generated/%_device_wa_oob.h: $(obj)/xe
xe-y += xe_bb.o \
xe_bo.o \
xe_bo_evict.o \
+ xe_cpu_bind.o \
xe_dep_scheduler.o \
xe_devcoredump.o \
xe_device.o \
diff --git a/drivers/gpu/drm/xe/xe_cpu_bind.c b/drivers/gpu/drm/xe/xe_cpu_bind.c
new file mode 100644
index 000000000000..ddfa5fb7b711
--- /dev/null
+++ b/drivers/gpu/drm/xe/xe_cpu_bind.c
@@ -0,0 +1,298 @@
+// SPDX-License-Identifier: MIT
+/*
+ * Copyright © 2026 Intel Corporation
+ */
+
+#include <drm/drm_managed.h>
+#include <linux/mutex.h>
+
+#include "xe_cpu_bind.h"
+#include "xe_device_types.h"
+#include "xe_exec_queue.h"
+#include "xe_pt.h"
+#include "xe_sched_job.h"
+#include "xe_trace_bo.h"
+#include "xe_vm.h"
+
+/**
+ * struct xe_cpu_bind - cpu_bind context.
+ */
+struct xe_cpu_bind {
+ /** @xe: Xe device */
+ struct xe_device *xe;
+ /** @q: Default exec queue used for kernel binds */
+ struct xe_exec_queue *q;
+ /** @job_mutex: Timeline mutex for @q. */
+ struct mutex job_mutex;
+};
+
+static bool is_cpu_bind_queue(struct xe_cpu_bind *cpu_bind,
+ struct xe_exec_queue *q)
+{
+ return cpu_bind->q == q;
+}
+
+static void xe_cpu_bind_fini(void *arg)
+{
+ struct xe_cpu_bind *cpu_bind = arg;
+
+ mutex_destroy(&cpu_bind->job_mutex);
+ xe_exec_queue_put(cpu_bind->q);
+}
+
+/**
+ * xe_cpu_bind_init() - Initialize a cpu_bind context
+ * @xe: &xe_device
+ *
+ * Return: 0 if successful, negative error code on failure
+ */
+int xe_cpu_bind_init(struct xe_device *xe)
+{
+ struct xe_cpu_bind *cpu_bind =
+ drmm_kzalloc(&xe->drm, sizeof(*cpu_bind), GFP_KERNEL);
+ struct xe_exec_queue *q;
+
+ if (!cpu_bind)
+ return -ENOMEM;
+
+ q = xe_exec_queue_create_bind(xe, xe_device_get_root_tile(xe), NULL,
+ EXEC_QUEUE_FLAG_KERNEL |
+ EXEC_QUEUE_FLAG_MIGRATE, 0);
+ if (IS_ERR(q))
+ return PTR_ERR(q);
+
+ cpu_bind->xe = xe;
+ cpu_bind->q = q;
+ xe->cpu_bind = cpu_bind;
+
+ mutex_init(&cpu_bind->job_mutex);
+
+ fs_reclaim_acquire(GFP_KERNEL);
+ might_lock(&cpu_bind->job_mutex);
+ fs_reclaim_release(GFP_KERNEL);
+
+ return devm_add_action_or_reset(cpu_bind->xe->drm.dev, xe_cpu_bind_fini,
+ cpu_bind);
+}
+
+/**
+ * xe_cpu_bind_queue() - Get the bind queue from cpu_bind context.
+ * @cpu_bind: The cpu bind context.
+ *
+ * Return: Pointer to bind queue on success, error on failure
+ */
+struct xe_exec_queue *xe_cpu_bind_queue(struct xe_cpu_bind *cpu_bind)
+{
+ return cpu_bind->q;
+}
+
+/**
+ * xe_cpu_bind_update_pgtables_execute() - Update a VM's PTEs via the CPU
+ * @vm: The VM being updated
+ * @tile: The tile being updated
+ * @ops: The migrate PT update ops
+ * @pt_op: The VM PT update op
+ * @num_ops: The number of The VM PT update ops
+ *
+ * Execute the VM PT update ops array which results in a VM's PTEs being updated
+ * via the CPU.
+ */
+void
+xe_cpu_bind_update_pgtables_execute(struct xe_vm *vm, struct xe_tile *tile,
+ const struct xe_cpu_bind_pt_update_ops *ops,
+ struct xe_vm_pgtable_update_op *pt_op,
+ u32 num_ops)
+{
+ u32 j, i;
+
+ for (j = 0; j < num_ops; ++j, ++pt_op) {
+ for (i = 0; i < pt_op->num_entries; i++) {
+ const struct xe_vm_pgtable_update *update =
+ &pt_op->entries[i];
+
+ xe_assert(vm->xe, update);
+ xe_assert(vm->xe, update->pt_bo);
+ xe_assert(vm->xe, !iosys_map_is_null(&update->pt_bo->vmap));
+
+ if (pt_op->bind)
+ ops->populate(tile, &update->pt_bo->vmap,
+ update->ofs, update->qwords,
+ update);
+ else
+ ops->clear(vm, tile, &update->pt_bo->vmap,
+ update->ofs, update->qwords,
+ update);
+ }
+ }
+
+ trace_xe_vm_cpu_bind(vm);
+ xe_device_wmb(vm->xe);
+}
+
+static struct dma_fence *
+xe_cpu_bind_update_pgtables_no_job(struct xe_cpu_bind *cpu_bind,
+ struct xe_cpu_bind_pt_update *pt_update)
+{
+ const struct xe_cpu_bind_pt_update_ops *ops = pt_update->ops;
+ struct xe_vm *vm = pt_update->vops->vm;
+ struct xe_tile *tile;
+ int err, id;
+
+ if (ops->pre_commit) {
+ pt_update->job = NULL;
+ err = ops->pre_commit(pt_update);
+ if (err)
+ return ERR_PTR(err);
+ }
+
+ for_each_tile(tile, vm->xe, id) {
+ struct xe_vm_pgtable_update_ops *pt_update_ops =
+ &pt_update->vops->pt_update_ops[tile->id];
+
+ if (!pt_update_ops->pt_job_ops)
+ continue;
+
+ xe_cpu_bind_update_pgtables_execute(vm, tile, ops,
+ pt_update_ops->pt_job_ops->ops,
+ pt_update_ops->pt_job_ops->current_op);
+ }
+
+ return dma_fence_get_stub();
+}
+
+static struct dma_fence *
+xe_cpu_bind_update_pgtables_job(struct xe_cpu_bind *cpu_bind,
+ struct xe_cpu_bind_pt_update *pt_update)
+{
+ const struct xe_cpu_bind_pt_update_ops *ops = pt_update->ops;
+ struct xe_exec_queue *q = pt_update->vops->q;
+ struct xe_device *xe = cpu_bind->xe;
+ struct xe_sched_job *job;
+ struct dma_fence *fence;
+ struct xe_tile *tile;
+ int err, id;
+ bool is_cpu_bind = is_cpu_bind_queue(cpu_bind, q);
+
+ job = xe_sched_job_create(q, NULL);
+ if (IS_ERR(job))
+ return ERR_CAST(job);
+
+ xe_assert(xe, job->is_pt_job);
+
+ if (ops->pre_commit) {
+ pt_update->job = job;
+ err = ops->pre_commit(pt_update);
+ if (err)
+ goto err_job;
+ }
+
+ if (is_cpu_bind)
+ mutex_lock(&cpu_bind->job_mutex);
+
+ job->pt_update[0].vm = pt_update->vops->vm;
+ job->pt_update[0].ops = ops;
+ for_each_tile(tile, xe, id) {
+ struct xe_vm_pgtable_update_ops *pt_update_ops =
+ &pt_update->vops->pt_update_ops[tile->id];
+
+ job->pt_update[0].pt_job_ops[tile->id] =
+ xe_pt_job_ops_get(pt_update_ops->pt_job_ops);
+ }
+
+ xe_sched_job_arm(job);
+ fence = dma_fence_get(&job->drm.s_fence->finished);
+ xe_sched_job_push(job);
+
+ if (is_cpu_bind)
+ mutex_unlock(&cpu_bind->job_mutex);
+
+ return fence;
+
+err_job:
+ xe_sched_job_put(job);
+ return ERR_PTR(err);
+}
+
+/**
+ * xe_cpu_bind_update_pgtables() - Pipelined page-table update
+ * @cpu_bind: The cpu bind context.
+ * @pt_update: PT update arguments
+ *
+ * Perform a pipelined page-table update. The update descriptors are typically
+ * built under the same lock critical section as a call to this function. If
+ * using the default engine for the updates, they will be performed in the
+ * order they grab the job_mutex. If different engines are used, external
+ * synchronization is needed for overlapping updates to maintain page-table
+ * consistency. Note that the meaning of "overlapping" is that the updates
+ * touch the same page-table, which might be a higher-level page-directory.
+ * If no pipelining is needed, then updates may be performed by the cpu.
+ *
+ * Return: A dma_fence that, when signaled, indicates the update completion.
+ */
+struct dma_fence *
+xe_cpu_bind_update_pgtables(struct xe_cpu_bind *cpu_bind,
+ struct xe_cpu_bind_pt_update *pt_update)
+{
+ struct dma_fence *fence;
+
+ fence = xe_cpu_bind_update_pgtables_no_job(cpu_bind, pt_update);
+
+ /* -ETIME indicates a job is needed, anything else is legit error */
+ if (!IS_ERR(fence) || PTR_ERR(fence) != -ETIME)
+ return fence;
+
+ return xe_cpu_bind_update_pgtables_job(cpu_bind, pt_update);
+}
+
+/**
+ * xe_cpu_bind_job_lock() - Lock cpu_bind job lock
+ * @cpu_bind: The cpu bind context.
+ * @q: Queue associated with the operation which requires a lock
+ *
+ * Lock the cpu_bind job lock if the queue is a cpu bind queue, otherwise
+ * assert the VM's dma-resv is held (user queue's have own locking).
+ */
+void xe_cpu_bind_job_lock(struct xe_cpu_bind *cpu_bind,
+ struct xe_exec_queue *q)
+{
+ bool is_cpu_bind = is_cpu_bind_queue(cpu_bind, q);
+
+ if (is_cpu_bind)
+ mutex_lock(&cpu_bind->job_mutex);
+ else
+ xe_vm_assert_held(q->user_vm); /* User queues VM's should be locked */
+}
+
+/**
+ * xe_cpu_bind_job_unlock() - Unlock cpu_bind job lock
+ * @cpu_bind: The cpu bind context.
+ * @q: Queue associated with the operation which requires a lock
+ *
+ * Unlock the cpu_bind job lock if the queue is a cpu bind queue, otherwise
+ * assert the VM's dma-resv is held (user queue's have own locking).
+ */
+void xe_cpu_bind_job_unlock(struct xe_cpu_bind *cpu_bind,
+ struct xe_exec_queue *q)
+{
+ bool is_cpu_bind = is_cpu_bind_queue(cpu_bind, q);
+
+ if (is_cpu_bind)
+ mutex_unlock(&cpu_bind->job_mutex);
+ else
+ xe_vm_assert_held(q->user_vm); /* User queues VM's should be locked */
+}
+
+#if IS_ENABLED(CONFIG_PROVE_LOCKING)
+/**
+ * xe_cpu_bind_job_lock_assert() - Assert cpu_bind job lock held of queue
+ * @q: cpu bind queue
+ */
+void xe_cpu_bind_job_lock_assert(struct xe_exec_queue *q)
+{
+ struct xe_device *xe = gt_to_xe(q->gt);
+ struct xe_cpu_bind *cpu_bind = xe->cpu_bind;
+
+ xe_assert(xe, q == cpu_bind->q);
+ lockdep_assert_held(&cpu_bind->job_mutex);
+}
+#endif
diff --git a/drivers/gpu/drm/xe/xe_cpu_bind.h b/drivers/gpu/drm/xe/xe_cpu_bind.h
new file mode 100644
index 000000000000..815a78b97420
--- /dev/null
+++ b/drivers/gpu/drm/xe/xe_cpu_bind.h
@@ -0,0 +1,118 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2026 Intel Corporation
+ */
+
+#ifndef _XE_CPU_BIND_H_
+#define _XE_CPU_BIND_H_
+
+#include <linux/types.h>
+
+struct dma_fence;
+struct iosys_map;
+struct xe_cpu_bind;
+struct xe_cpu_bind_pt_update;
+struct xe_device;
+struct xe_tlb_inval_job;
+struct xe_tile;
+struct xe_vm;
+struct xe_vm_pgtable_update;
+struct xe_vm_pgtable_update_op;
+struct xe_vma_ops;
+
+/**
+ * struct xe_cpu_bind_pt_update_ops - Callbacks for the
+ * xe_cpu_bind_update_pgtables() function.
+ */
+struct xe_cpu_bind_pt_update_ops {
+ /**
+ * @populate: Populate a command buffer or page-table with ptes.
+ * @tile: The tile for the current operation.
+ * @map: struct iosys_map into the memory to be populated.
+ * @ofs: qword offset into @map, unused if @map is NULL.
+ * @num_qwords: Number of qwords to write.
+ * @update: Information about the PTEs to be inserted.
+ *
+ * This interface is intended to be used as a callback into the
+ * page-table system to populate command buffers or shared
+ * page-tables with PTEs.
+ */
+ void (*populate)(struct xe_tile *tile, struct iosys_map *map,
+ u32 ofs, u32 num_qwords,
+ const struct xe_vm_pgtable_update *update);
+ /**
+ * @clear: Clear a command buffer or page-table with ptes.
+ * @vm: VM being updated
+ * @tile: The tile for the current operation.
+ * @map: struct iosys_map into the memory to be populated.
+ * @ofs: qword offset into @map, unused if @map is NULL.
+ * @num_qwords: Number of qwords to write.
+ * @update: Information about the PTEs to be inserted.
+ *
+ * This interface is intended to be used as a callback into the
+ * page-table system to populate command buffers or shared
+ * page-tables with PTEs.
+ */
+ void (*clear)(struct xe_vm *vm, struct xe_tile *tile,
+ struct iosys_map *map, u32 ofs, u32 num_qwords,
+ const struct xe_vm_pgtable_update *update);
+
+ /**
+ * @pre_commit: Callback to be called just before arming the
+ * sched_job.
+ * @pt_update: Pointer to embeddable callback argument.
+ *
+ * Return: 0 on success, negative error code on error.
+ */
+ int (*pre_commit)(struct xe_cpu_bind_pt_update *pt_update);
+};
+
+/**
+ * struct xe_cpu_bind_pt_update - Argument to the struct
+ * xe_cpu_bind_pt_update_ops callbacks.
+ *
+ * Intended to be subclassed to support additional arguments if necessary.
+ */
+struct xe_cpu_bind_pt_update {
+ /** @ops: Pointer to the struct xe_cpu_bind_pt_update_ops callbacks */
+ const struct xe_cpu_bind_pt_update_ops *ops;
+ /** @vops: VMA operations */
+ struct xe_vma_ops *vops;
+ /** @job: The job if a GPU page-table update. NULL otherwise */
+ struct xe_sched_job *job;
+ /**
+ * @ijobs: The TLB invalidation jobs, individual instances can be NULL
+ */
+#define XE_CPU_BIND_INVAL_JOB_COUNT 4
+ struct xe_tlb_inval_job *ijobs[XE_CPU_BIND_INVAL_JOB_COUNT];
+};
+
+int xe_cpu_bind_init(struct xe_device *xe);
+
+struct xe_exec_queue *xe_cpu_bind_queue(struct xe_cpu_bind *cpu_bind);
+
+void
+xe_cpu_bind_update_pgtables_execute(struct xe_vm *vm, struct xe_tile *tile,
+ const struct xe_cpu_bind_pt_update_ops *ops,
+ struct xe_vm_pgtable_update_op *pt_op,
+ u32 num_ops);
+
+struct dma_fence *
+xe_cpu_bind_update_pgtables(struct xe_cpu_bind *cpu_bind,
+ struct xe_cpu_bind_pt_update *pt_update);
+
+void xe_cpu_bind_job_lock(struct xe_cpu_bind *cpu_bind,
+ struct xe_exec_queue *q);
+
+void xe_cpu_bind_job_unlock(struct xe_cpu_bind *cpu_bind,
+ struct xe_exec_queue *q);
+
+#if IS_ENABLED(CONFIG_PROVE_LOCKING)
+void xe_cpu_bind_job_lock_assert(struct xe_exec_queue *q);
+#else
+static inline void xe_cpu_bind_job_lock_assert(struct xe_exec_queue *q)
+{
+}
+#endif
+
+#endif
diff --git a/drivers/gpu/drm/xe/xe_device.c b/drivers/gpu/drm/xe/xe_device.c
index 8583b2e9ecf4..ade971de1652 100644
--- a/drivers/gpu/drm/xe/xe_device.c
+++ b/drivers/gpu/drm/xe/xe_device.c
@@ -27,6 +27,7 @@
#include "xe_bo_evict.h"
#include "xe_configfs.h"
#include "xe_debugfs.h"
+#include "xe_cpu_bind.h"
#include "xe_defaults.h"
#include "xe_devcoredump.h"
#include "xe_device_sysfs.h"
@@ -1075,6 +1076,10 @@ int xe_device_probe(struct xe_device *xe)
if (err)
return err;
+ err = xe_cpu_bind_init(xe);
+ if (err)
+ return err;
+
err = xe_pagefault_init(xe);
if (err)
return err;
diff --git a/drivers/gpu/drm/xe/xe_device_types.h b/drivers/gpu/drm/xe/xe_device_types.h
index 180d450a6deb..bc60833c39a7 100644
--- a/drivers/gpu/drm/xe/xe_device_types.h
+++ b/drivers/gpu/drm/xe/xe_device_types.h
@@ -38,6 +38,7 @@
struct drm_pagemap_shrinker;
struct intel_display;
struct intel_dg_nvm_dev;
+struct xe_cpu_bind;
struct xe_ggtt;
struct xe_i2c;
struct xe_pat_ops;
@@ -559,6 +560,9 @@ struct xe_device {
/** @sc: System Controller */
struct xe_sysctrl sc;
+ /** @cpu_bind: CPU bind object */
+ struct xe_cpu_bind *cpu_bind;
+
/** @atomic_svm_timeslice_ms: Atomic SVM fault timeslice MS */
u32 atomic_svm_timeslice_ms;
diff --git a/drivers/gpu/drm/xe/xe_exec_queue.c b/drivers/gpu/drm/xe/xe_exec_queue.c
index 0436cb62d211..284af05e284a 100644
--- a/drivers/gpu/drm/xe/xe_exec_queue.c
+++ b/drivers/gpu/drm/xe/xe_exec_queue.c
@@ -14,6 +14,7 @@
#include <uapi/drm/xe_drm.h>
#include "xe_bo.h"
+#include "xe_cpu_bind.h"
#include "xe_dep_scheduler.h"
#include "xe_device.h"
#include "xe_gt.h"
@@ -1598,7 +1599,7 @@ static void xe_exec_queue_last_fence_lockdep_assert(struct xe_exec_queue *q,
struct xe_vm *vm)
{
if (q->flags & EXEC_QUEUE_FLAG_MIGRATE) {
- xe_migrate_job_lock_assert(q);
+ xe_cpu_bind_job_lock_assert(q);
} else if (q->flags & EXEC_QUEUE_FLAG_VM) {
lockdep_assert_held(&vm->lock);
} else {
diff --git a/drivers/gpu/drm/xe/xe_guc_submit.c b/drivers/gpu/drm/xe/xe_guc_submit.c
index 528869928c1d..dcb4b8a4f3b7 100644
--- a/drivers/gpu/drm/xe/xe_guc_submit.c
+++ b/drivers/gpu/drm/xe/xe_guc_submit.c
@@ -18,6 +18,7 @@
#include "abi/guc_klvs_abi.h"
#include "xe_assert.h"
#include "xe_bo.h"
+#include "xe_cpu_bind.h"
#include "xe_devcoredump.h"
#include "xe_device.h"
#include "xe_exec_queue.h"
@@ -37,7 +38,6 @@
#include "xe_lrc.h"
#include "xe_macros.h"
#include "xe_map.h"
-#include "xe_migrate.h"
#include "xe_mocs.h"
#include "xe_module.h"
#include "xe_pm.h"
@@ -1243,13 +1243,36 @@ static bool is_pt_job(struct xe_sched_job *job)
return job->is_pt_job;
}
-static void run_pt_job(struct xe_sched_job *job)
+static void run_pt_job(struct xe_device *xe, struct xe_sched_job *job)
{
- xe_migrate_update_pgtables_cpu_execute(job->pt_update[0].vm,
- job->pt_update[0].tile,
- job->pt_update[0].ops,
- job->pt_update[0].pt_job_ops->ops,
- job->pt_update[0].pt_job_ops->current_op);
+ struct xe_tile *tile;
+ int id;
+
+ for_each_tile(tile, xe, id) {
+ struct xe_pt_job_ops *pt_job_ops =
+ job->pt_update[0].pt_job_ops[id];
+
+ if (!pt_job_ops || !pt_job_ops->current_op)
+ continue;
+
+ xe_cpu_bind_update_pgtables_execute(job->pt_update[0].vm, tile,
+ job->pt_update[0].ops,
+ pt_job_ops->ops,
+ pt_job_ops->current_op);
+ }
+}
+
+static void put_pt_job(struct xe_device *xe, struct xe_sched_job *job)
+{
+ struct xe_tile *tile;
+ int id;
+
+ for_each_tile(tile, xe, id) {
+ struct xe_pt_job_ops *pt_job_ops =
+ job->pt_update[0].pt_job_ops[id];
+
+ xe_pt_job_ops_put(pt_job_ops);
+ }
}
static struct dma_fence *
@@ -1279,7 +1302,7 @@ guc_exec_queue_run_job(struct drm_sched_job *drm_job)
if (is_pt_job(job)) {
xe_gt_assert(guc_to_gt(guc), !exec_queue_registered(q));
- run_pt_job(job);
+ run_pt_job(guc_to_xe(guc), job);
} else {
if (!exec_queue_registered(q))
register_exec_queue(q, GUC_CONTEXT_NORMAL);
@@ -1291,7 +1314,7 @@ guc_exec_queue_run_job(struct drm_sched_job *drm_job)
}
if (is_pt_job(job)) {
- xe_pt_job_ops_put(job->pt_update[0].pt_job_ops);
+ put_pt_job(guc_to_xe(guc), job);
dma_fence_put(job->fence); /* Drop ref from xe_sched_job_arm */
return NULL;
}
diff --git a/drivers/gpu/drm/xe/xe_migrate.c b/drivers/gpu/drm/xe/xe_migrate.c
index 22a442d13477..f7e1a81434b2 100644
--- a/drivers/gpu/drm/xe/xe_migrate.c
+++ b/drivers/gpu/drm/xe/xe_migrate.c
@@ -51,8 +51,6 @@
struct xe_migrate {
/** @q: Default exec queue used for migration */
struct xe_exec_queue *q;
- /** @bind_q: Default exec queue used for binds */
- struct xe_exec_queue *bind_q;
/** @tile: Backpointer to the tile this struct xe_migrate belongs to. */
struct xe_tile *tile;
/** @job_mutex: Timeline mutex for @eng. */
@@ -110,7 +108,6 @@ static void xe_migrate_fini(void *arg)
mutex_destroy(&m->job_mutex);
xe_vm_close_and_put(m->q->vm);
xe_exec_queue_put(m->q);
- xe_exec_queue_put(m->bind_q);
}
static inline u16 xe_migrate_pat_index(struct xe_device *xe,
@@ -483,15 +480,6 @@ int xe_migrate_init(struct xe_migrate *m)
goto err_out;
}
- m->bind_q = xe_exec_queue_create(xe, vm, logical_mask, 1, hwe0,
- EXEC_QUEUE_FLAG_KERNEL |
- EXEC_QUEUE_FLAG_HIGH_PRIORITY |
- EXEC_QUEUE_FLAG_MIGRATE, 0);
- if (IS_ERR(m->bind_q)) {
- err = PTR_ERR(m->bind_q);
- goto err_out;
- }
-
/*
* XXX: Currently only reserving 1 (likely slow) BCS instance on
* PVC, may want to revisit if performance is needed.
@@ -502,15 +490,6 @@ int xe_migrate_init(struct xe_migrate *m)
EXEC_QUEUE_FLAG_MIGRATE |
EXEC_QUEUE_FLAG_LOW_LATENCY, 0);
} else {
- m->bind_q = xe_exec_queue_create_class(xe, primary_gt, vm,
- XE_ENGINE_CLASS_COPY,
- EXEC_QUEUE_FLAG_KERNEL |
- EXEC_QUEUE_FLAG_MIGRATE, 0);
- if (IS_ERR(m->bind_q)) {
- err = PTR_ERR(m->bind_q);
- goto err_out;
- }
-
m->q = xe_exec_queue_create_class(xe, primary_gt, vm,
XE_ENGINE_CLASS_COPY,
EXEC_QUEUE_FLAG_KERNEL |
@@ -546,8 +525,6 @@ int xe_migrate_init(struct xe_migrate *m)
return err;
err_out:
- if (!IS_ERR_OR_NULL(m->bind_q))
- xe_exec_queue_put(m->bind_q);
xe_vm_close_and_put(vm);
return err;
@@ -1507,17 +1484,6 @@ static u32 blt_mem_set_cmd_len(struct xe_device *xe)
return 7;
}
-/**
- * xe_get_migrate_bind_queue() - Get the bind queue from migrate context.
- * @migrate: Migrate context.
- *
- * Return: Pointer to bind queue on success, error on failure
- */
-struct xe_exec_queue *xe_migrate_bind_queue(struct xe_migrate *migrate)
-{
- return migrate->bind_q;
-}
-
static void emit_clear_link_copy(struct xe_gt *gt, struct xe_bb *bb, u64 src_ofs,
u32 size, u32 pitch)
{
@@ -1782,168 +1748,6 @@ struct migrate_test_params {
container_of(_priv, struct migrate_test_params, base)
#endif
-/**
- * xe_migrate_update_pgtables_cpu_execute() - Update a VM's PTEs via the CPU
- * @vm: The VM being updated
- * @tile: The tile being updated
- * @ops: The migrate PT update ops
- * @pt_ops: The VM PT update ops
- * @num_ops: The number of The VM PT update ops
- *
- * Execute the VM PT update ops array which results in a VM's PTEs being updated
- * via the CPU.
- */
-void
-xe_migrate_update_pgtables_cpu_execute(struct xe_vm *vm, struct xe_tile *tile,
- const struct xe_migrate_pt_update_ops *ops,
- struct xe_vm_pgtable_update_op *pt_op,
- u32 num_ops)
-{
- u32 j, i;
-
- for (j = 0; j < num_ops; ++j, ++pt_op) {
- for (i = 0; i < pt_op->num_entries; i++) {
- const struct xe_vm_pgtable_update *update =
- &pt_op->entries[i];
-
- xe_tile_assert(tile, update);
- xe_tile_assert(tile, update->pt_bo);
- xe_tile_assert(tile, !iosys_map_is_null(&update->pt_bo->vmap));
-
- if (pt_op->bind)
- ops->populate(tile, &update->pt_bo->vmap,
- update->ofs, update->qwords,
- update);
- else
- ops->clear(vm, tile, &update->pt_bo->vmap,
- update->ofs, update->qwords,
- update);
- }
- }
-
- trace_xe_vm_cpu_bind(vm);
- xe_device_wmb(vm->xe);
-}
-
-static struct dma_fence *
-xe_migrate_update_pgtables_cpu(struct xe_migrate *m,
- struct xe_migrate_pt_update *pt_update)
-{
- XE_TEST_DECLARE(struct migrate_test_params *test =
- to_migrate_test_params
- (xe_cur_kunit_priv(XE_TEST_LIVE_MIGRATE));)
- const struct xe_migrate_pt_update_ops *ops = pt_update->ops;
- struct xe_vm *vm = pt_update->vops->vm;
- struct xe_vm_pgtable_update_ops *pt_update_ops =
- &pt_update->vops->pt_update_ops[pt_update->tile_id];
- int err;
-
- if (XE_TEST_ONLY(test && test->force_gpu))
- return ERR_PTR(-ETIME);
-
- if (ops->pre_commit) {
- pt_update->job = NULL;
- err = ops->pre_commit(pt_update);
- if (err)
- return ERR_PTR(err);
- }
-
- xe_migrate_update_pgtables_cpu_execute(vm, m->tile, ops,
- pt_update_ops->pt_job_ops->ops,
- pt_update_ops->num_ops);
-
- return dma_fence_get_stub();
-}
-
-static bool is_migrate_queue(struct xe_migrate *m, struct xe_exec_queue *q)
-{
- return m->bind_q == q;
-}
-
-static struct dma_fence *
-__xe_migrate_update_pgtables(struct xe_migrate *m,
- struct xe_migrate_pt_update *pt_update,
- struct xe_vm_pgtable_update_ops *pt_update_ops)
-{
- const struct xe_migrate_pt_update_ops *ops = pt_update->ops;
- struct xe_tile *tile = m->tile;
- struct xe_sched_job *job;
- struct dma_fence *fence;
- bool is_migrate = is_migrate_queue(m, pt_update_ops->q);
- int err;
-
- job = xe_sched_job_create(pt_update_ops->q, NULL);
- if (IS_ERR(job)) {
- err = PTR_ERR(job);
- goto err_out;
- }
-
- xe_tile_assert(tile, job->is_pt_job);
-
- if (ops->pre_commit) {
- pt_update->job = job;
- err = ops->pre_commit(pt_update);
- if (err)
- goto err_job;
- }
- if (is_migrate)
- mutex_lock(&m->job_mutex);
-
- job->pt_update[0].vm = pt_update->vops->vm;
- job->pt_update[0].tile = tile;
- job->pt_update[0].ops = ops;
- job->pt_update[0].pt_job_ops =
- xe_pt_job_ops_get(pt_update_ops->pt_job_ops);
-
- xe_sched_job_arm(job);
- fence = dma_fence_get(&job->drm.s_fence->finished);
- xe_sched_job_push(job);
-
- if (is_migrate)
- mutex_unlock(&m->job_mutex);
-
- return fence;
-
-err_job:
- xe_sched_job_put(job);
-err_out:
- return ERR_PTR(err);
-}
-
-/**
- * xe_migrate_update_pgtables() - Pipelined page-table update
- * @m: The migrate context.
- * @pt_update: PT update arguments
- *
- * Perform a pipelined page-table update. The update descriptors are typically
- * built under the same lock critical section as a call to this function. If
- * using the default engine for the updates, they will be performed in the
- * order they grab the job_mutex. If different engines are used, external
- * synchronization is needed for overlapping updates to maintain page-table
- * consistency. Note that the meaning of "overlapping" is that the updates
- * touch the same page-table, which might be a higher-level page-directory.
- * If no pipelining is needed, then updates may be performed by the cpu.
- *
- * Return: A dma_fence that, when signaled, indicates the update completion.
- */
-struct dma_fence *
-xe_migrate_update_pgtables(struct xe_migrate *m,
- struct xe_migrate_pt_update *pt_update)
-
-{
- struct xe_vm_pgtable_update_ops *pt_update_ops =
- &pt_update->vops->pt_update_ops[pt_update->tile_id];
- struct dma_fence *fence;
-
- fence = xe_migrate_update_pgtables_cpu(m, pt_update);
-
- /* -ETIME indicates a job is needed, anything else is legit error */
- if (!IS_ERR(fence) || PTR_ERR(fence) != -ETIME)
- return fence;
-
- return __xe_migrate_update_pgtables(m, pt_update, pt_update_ops);
-}
-
/**
* xe_migrate_wait() - Complete all operations using the xe_migrate context
* @m: Migrate context to wait for.
@@ -2445,56 +2249,6 @@ int xe_migrate_access_memory(struct xe_migrate *m, struct xe_bo *bo,
return IS_ERR(fence) ? PTR_ERR(fence) : 0;
}
-/**
- * xe_migrate_job_lock() - Lock migrate job lock
- * @m: The migration context.
- * @q: Queue associated with the operation which requires a lock
- *
- * Lock the migrate job lock if the queue is a migration queue, otherwise
- * assert the VM's dma-resv is held (user queue's have own locking).
- */
-void xe_migrate_job_lock(struct xe_migrate *m, struct xe_exec_queue *q)
-{
- bool is_migrate = is_migrate_queue(m, q);
-
- if (is_migrate)
- mutex_lock(&m->job_mutex);
- else
- xe_vm_assert_held(q->user_vm); /* User queues VM's should be locked */
-}
-
-/**
- * xe_migrate_job_unlock() - Unlock migrate job lock
- * @m: The migration context.
- * @q: Queue associated with the operation which requires a lock
- *
- * Unlock the migrate job lock if the queue is a migration queue, otherwise
- * assert the VM's dma-resv is held (user queue's have own locking).
- */
-void xe_migrate_job_unlock(struct xe_migrate *m, struct xe_exec_queue *q)
-{
- bool is_migrate = is_migrate_queue(m, q);
-
- if (is_migrate)
- mutex_unlock(&m->job_mutex);
- else
- xe_vm_assert_held(q->user_vm); /* User queues VM's should be locked */
-}
-
-#if IS_ENABLED(CONFIG_PROVE_LOCKING)
-/**
- * xe_migrate_job_lock_assert() - Assert migrate job lock held of queue
- * @q: Migrate queue
- */
-void xe_migrate_job_lock_assert(struct xe_exec_queue *q)
-{
- struct xe_migrate *m = gt_to_tile(q->gt)->migrate;
-
- xe_gt_assert(q->gt, q == m->bind_q);
- lockdep_assert_held(&m->job_mutex);
-}
-#endif
-
#if IS_ENABLED(CONFIG_DRM_XE_KUNIT_TEST)
#include "tests/xe_migrate.c"
#endif
diff --git a/drivers/gpu/drm/xe/xe_migrate.h b/drivers/gpu/drm/xe/xe_migrate.h
index 74ff6446309c..fa381ec36ef1 100644
--- a/drivers/gpu/drm/xe/xe_migrate.h
+++ b/drivers/gpu/drm/xe/xe_migrate.h
@@ -34,78 +34,6 @@ enum xe_migrate_copy_dir {
XE_MIGRATE_COPY_TO_SRAM,
};
-/**
- * struct xe_migrate_pt_update_ops - Callbacks for the
- * xe_migrate_update_pgtables() function.
- */
-struct xe_migrate_pt_update_ops {
- /**
- * @populate: Populate a command buffer or page-table with ptes.
- * @tile: The tile for the current operation.
- * @map: struct iosys_map into the memory to be populated.
- * @ofs: qword offset into @map, unused if @map is NULL.
- * @num_qwords: Number of qwords to write.
- * @update: Information about the PTEs to be inserted.
- *
- * This interface is intended to be used as a callback into the
- * page-table system to populate command buffers or shared
- * page-tables with PTEs.
- */
- void (*populate)(struct xe_tile *tile, struct iosys_map *map,
- u32 ofs, u32 num_qwords,
- const struct xe_vm_pgtable_update *update);
- /**
- * @clear: Clear a command buffer or page-table with ptes.
- * @vm: VM being updated
- * @tile: The tile for the current operation.
- * @map: struct iosys_map into the memory to be populated.
- * @ofs: qword offset into @map, unused if @map is NULL.
- * @num_qwords: Number of qwords to write.
- * @update: Information about the PTEs to be inserted.
- *
- * This interface is intended to be used as a callback into the
- * page-table system to populate command buffers or shared
- * page-tables with PTEs.
- */
- void (*clear)(struct xe_vm *vm, struct xe_tile *tile,
- struct iosys_map *map, u32 ofs, u32 num_qwords,
- const struct xe_vm_pgtable_update *update);
-
- /**
- * @pre_commit: Callback to be called just before arming the
- * sched_job.
- * @pt_update: Pointer to embeddable callback argument.
- *
- * Return: 0 on success, negative error code on error.
- */
- int (*pre_commit)(struct xe_migrate_pt_update *pt_update);
-};
-
-/**
- * struct xe_migrate_pt_update - Argument to the
- * struct xe_migrate_pt_update_ops callbacks.
- *
- * Intended to be subclassed to support additional arguments if necessary.
- */
-struct xe_migrate_pt_update {
- /** @ops: Pointer to the struct xe_migrate_pt_update_ops callbacks */
- const struct xe_migrate_pt_update_ops *ops;
- /** @vops: VMA operations */
- struct xe_vma_ops *vops;
- /** @job: The job if a GPU page-table update. NULL otherwise */
- struct xe_sched_job *job;
- /**
- * @ijob: The TLB invalidation job for primary GT. NULL otherwise
- */
- struct xe_tlb_inval_job *ijob;
- /**
- * @mjob: The TLB invalidation job for media GT. NULL otherwise
- */
- struct xe_tlb_inval_job *mjob;
- /** @tile_id: Tile ID of the update */
- u8 tile_id;
-};
-
struct xe_migrate *xe_migrate_alloc(struct xe_tile *tile);
int xe_migrate_init(struct xe_migrate *m);
@@ -143,7 +71,6 @@ void xe_migrate_ccs_rw_copy_clear(struct xe_bo *src_bo,
struct xe_lrc *xe_migrate_lrc(struct xe_migrate *migrate);
struct xe_exec_queue *xe_migrate_exec_queue(struct xe_migrate *migrate);
-struct xe_exec_queue *xe_migrate_bind_queue(struct xe_migrate *migrate);
struct dma_fence *xe_migrate_vram_copy_chunk(struct xe_bo *vram_bo, u64 vram_offset,
struct xe_bo *sysmem_bo, u64 sysmem_offset,
u64 size, enum xe_migrate_copy_dir dir);
@@ -162,29 +89,8 @@ struct dma_fence *xe_migrate_clear(struct xe_migrate *m,
struct xe_vm *xe_migrate_get_vm(struct xe_migrate *m);
-void
-xe_migrate_update_pgtables_cpu_execute(struct xe_vm *vm, struct xe_tile *tile,
- const struct xe_migrate_pt_update_ops *ops,
- struct xe_vm_pgtable_update_op *pt_op,
- u32 num_ops);
-
-struct dma_fence *
-xe_migrate_update_pgtables(struct xe_migrate *m,
- struct xe_migrate_pt_update *pt_update);
-
void xe_migrate_wait(struct xe_migrate *m);
-#if IS_ENABLED(CONFIG_PROVE_LOCKING)
-void xe_migrate_job_lock_assert(struct xe_exec_queue *q);
-#else
-static inline void xe_migrate_job_lock_assert(struct xe_exec_queue *q)
-{
-}
-#endif
-
-void xe_migrate_job_lock(struct xe_migrate *m, struct xe_exec_queue *q);
-void xe_migrate_job_unlock(struct xe_migrate *m, struct xe_exec_queue *q);
-
#if IS_ENABLED(CONFIG_DRM_XE_DEBUG_MEM)
int xe_migrate_debug_ccs_overlap(struct xe_migrate *m,
struct xe_bo *scratch_bo,
diff --git a/drivers/gpu/drm/xe/xe_pt.c b/drivers/gpu/drm/xe/xe_pt.c
index bdeffd6f1828..05bbac6c2632 100644
--- a/drivers/gpu/drm/xe/xe_pt.c
+++ b/drivers/gpu/drm/xe/xe_pt.c
@@ -7,12 +7,12 @@
#include "regs/xe_gtt_defs.h"
#include "xe_bo.h"
+#include "xe_cpu_bind.h"
#include "xe_device.h"
#include "xe_drm_client.h"
#include "xe_exec_queue.h"
#include "xe_gt.h"
#include "xe_gt_stats.h"
-#include "xe_migrate.h"
#include "xe_page_reclaim.h"
#include "xe_pat.h"
#include "xe_pt_types.h"
@@ -1401,11 +1401,9 @@ static int op_add_deps(struct xe_vm *vm, struct xe_vma_op *op,
}
static int xe_pt_vm_dependencies(struct xe_sched_job *job,
- struct xe_tlb_inval_job *ijob,
- struct xe_tlb_inval_job *mjob,
+ struct xe_tlb_inval_job **ijobs,
struct xe_vm *vm,
struct xe_vma_ops *vops,
- struct xe_vm_pgtable_update_ops *pt_update_ops,
struct xe_range_fence_tree *rftree)
{
struct xe_range_fence *rtfence;
@@ -1418,20 +1416,22 @@ static int xe_pt_vm_dependencies(struct xe_sched_job *job,
if (!job && !no_in_syncs(vops->syncs, vops->num_syncs))
return -ETIME;
- if (!job && !xe_exec_queue_is_idle(pt_update_ops->q))
+ if (!job && !xe_exec_queue_is_idle(vops->q))
return -ETIME;
- if (pt_update_ops->wait_vm_bookkeep || pt_update_ops->wait_vm_kernel) {
- err = job_test_add_deps(job, xe_vm_resv(vm),
- pt_update_ops->wait_vm_bookkeep ?
- DMA_RESV_USAGE_BOOKKEEP :
- DMA_RESV_USAGE_KERNEL);
+ if (vops->flags & (XE_VMA_OPS_FLAG_WAIT_VM_BOOKKEEP |
+ XE_VMA_OPS_FLAG_WAIT_VM_KERNEL)) {
+ enum dma_resv_usage usage = DMA_RESV_USAGE_KERNEL;
+
+ if (vops->flags & XE_VMA_OPS_FLAG_WAIT_VM_BOOKKEEP)
+ usage = DMA_RESV_USAGE_BOOKKEEP;
+
+ err = job_test_add_deps(job, xe_vm_resv(vm), usage);
if (err)
return err;
}
- rtfence = xe_range_fence_tree_first(rftree, pt_update_ops->start,
- pt_update_ops->last);
+ rtfence = xe_range_fence_tree_first(rftree, vops->start, vops->last);
while (rtfence) {
fence = rtfence->fence;
@@ -1449,9 +1449,8 @@ static int xe_pt_vm_dependencies(struct xe_sched_job *job,
return err;
}
- rtfence = xe_range_fence_tree_next(rtfence,
- pt_update_ops->start,
- pt_update_ops->last);
+ rtfence = xe_range_fence_tree_next(rtfence, vops->start,
+ vops->last);
}
list_for_each_entry(op, &vops->list, link) {
@@ -1464,14 +1463,11 @@ static int xe_pt_vm_dependencies(struct xe_sched_job *job,
err = xe_sync_entry_add_deps(&vops->syncs[i], job);
if (job) {
- if (ijob) {
- err = xe_tlb_inval_job_alloc_dep(ijob);
- if (err)
- return err;
- }
+ for (i = 0; i < XE_CPU_BIND_INVAL_JOB_COUNT; ++i) {
+ if (!ijobs[i])
+ continue;
- if (mjob) {
- err = xe_tlb_inval_job_alloc_dep(mjob);
+ err = xe_tlb_inval_job_alloc_dep(ijobs[i]);
if (err)
return err;
}
@@ -1480,17 +1476,14 @@ static int xe_pt_vm_dependencies(struct xe_sched_job *job,
return err;
}
-static int xe_pt_pre_commit(struct xe_migrate_pt_update *pt_update)
+static int xe_pt_pre_commit(struct xe_cpu_bind_pt_update *pt_update)
{
struct xe_vma_ops *vops = pt_update->vops;
struct xe_vm *vm = vops->vm;
- struct xe_range_fence_tree *rftree = &vm->rftree[pt_update->tile_id];
- struct xe_vm_pgtable_update_ops *pt_update_ops =
- &vops->pt_update_ops[pt_update->tile_id];
+ struct xe_range_fence_tree *rftree = &vm->rftree;
- return xe_pt_vm_dependencies(pt_update->job, pt_update->ijob,
- pt_update->mjob, vm, pt_update->vops,
- pt_update_ops, rftree);
+ return xe_pt_vm_dependencies(pt_update->job, pt_update->ijobs,
+ vm, vops, rftree);
}
#if IS_ENABLED(CONFIG_DRM_GPUSVM)
@@ -1550,8 +1543,7 @@ static bool xe_pt_userptr_inject_eagain(struct xe_userptr_vma *uvma)
#endif
-static int vma_check_userptr(struct xe_vm *vm, struct xe_vma *vma,
- struct xe_vm_pgtable_update_ops *pt_update)
+static int vma_check_userptr(struct xe_vm *vm, struct xe_vma *vma)
{
struct xe_userptr_vma *uvma;
unsigned long notifier_seq;
@@ -1581,8 +1573,7 @@ static int vma_check_userptr(struct xe_vm *vm, struct xe_vma *vma,
return 0;
}
-static int op_check_svm_userptr(struct xe_vm *vm, struct xe_vma_op *op,
- struct xe_vm_pgtable_update_ops *pt_update)
+static int op_check_svm_userptr(struct xe_vm *vm, struct xe_vma_op *op)
{
int err = 0;
@@ -1593,13 +1584,13 @@ static int op_check_svm_userptr(struct xe_vm *vm, struct xe_vma_op *op,
if (!op->map.immediate && xe_vm_in_fault_mode(vm))
break;
- err = vma_check_userptr(vm, op->map.vma, pt_update);
+ err = vma_check_userptr(vm, op->map.vma);
break;
case DRM_GPUVA_OP_REMAP:
if (op->remap.prev && !op->remap.skip_prev)
- err = vma_check_userptr(vm, op->remap.prev, pt_update);
+ err = vma_check_userptr(vm, op->remap.prev);
if (!err && op->remap.next && !op->remap.skip_next)
- err = vma_check_userptr(vm, op->remap.next, pt_update);
+ err = vma_check_userptr(vm, op->remap.next);
break;
case DRM_GPUVA_OP_UNMAP:
break;
@@ -1619,7 +1610,7 @@ static int op_check_svm_userptr(struct xe_vm *vm, struct xe_vma_op *op,
}
}
} else {
- err = vma_check_userptr(vm, gpuva_to_vma(op->base.prefetch.va), pt_update);
+ err = vma_check_userptr(vm, gpuva_to_vma(op->base.prefetch.va));
}
break;
#if IS_ENABLED(CONFIG_DRM_XE_GPUSVM)
@@ -1645,12 +1636,10 @@ static int op_check_svm_userptr(struct xe_vm *vm, struct xe_vma_op *op,
return err;
}
-static int xe_pt_svm_userptr_pre_commit(struct xe_migrate_pt_update *pt_update)
+static int xe_pt_svm_userptr_pre_commit(struct xe_cpu_bind_pt_update *pt_update)
{
struct xe_vm *vm = pt_update->vops->vm;
struct xe_vma_ops *vops = pt_update->vops;
- struct xe_vm_pgtable_update_ops *pt_update_ops =
- &vops->pt_update_ops[pt_update->tile_id];
struct xe_vma_op *op;
int err;
@@ -1661,7 +1650,7 @@ static int xe_pt_svm_userptr_pre_commit(struct xe_migrate_pt_update *pt_update)
xe_pt_svm_userptr_notifier_lock(vm);
list_for_each_entry(op, &vops->list, link) {
- err = op_check_svm_userptr(vm, op, pt_update_ops);
+ err = op_check_svm_userptr(vm, op);
if (err) {
xe_pt_svm_userptr_notifier_unlock(vm);
break;
@@ -2008,10 +1997,10 @@ static unsigned int xe_pt_stage_unbind(struct xe_tile *tile,
}
static void
-xe_migrate_clear_pgtable_callback(struct xe_vm *vm, struct xe_tile *tile,
- struct iosys_map *map, u32 qword_ofs,
- u32 num_qwords,
- const struct xe_vm_pgtable_update *update)
+xe_pt_clear_pgtable_callback(struct xe_vm *vm, struct xe_tile *tile,
+ struct iosys_map *map, u32 qword_ofs,
+ u32 num_qwords,
+ const struct xe_vm_pgtable_update *update)
{
u64 empty = __xe_pt_empty_pte(tile, vm, update->level);
int i;
@@ -2089,6 +2078,9 @@ to_pt_op(struct xe_vm_pgtable_update_ops *pt_update_ops, u32 op_idx)
static u32
get_current_op(struct xe_vm_pgtable_update_ops *pt_update_ops)
{
+ if (!pt_update_ops->pt_job_ops)
+ return 0;
+
return pt_update_ops->pt_job_ops->current_op;
}
@@ -2378,6 +2370,7 @@ static int unbind_range_prepare(struct xe_vm *vm,
static int op_prepare(struct xe_vm *vm,
struct xe_tile *tile,
+ struct xe_vma_ops *vops,
struct xe_vm_pgtable_update_ops *pt_update_ops,
struct xe_vma_op *op)
{
@@ -2394,7 +2387,7 @@ static int op_prepare(struct xe_vm *vm,
err = bind_op_prepare(vm, tile, pt_update_ops, op->map.vma,
op->map.invalidate_on_bind);
- pt_update_ops->wait_vm_kernel = true;
+ vops->flags |= XE_VMA_OPS_FLAG_WAIT_VM_KERNEL;
break;
case DRM_GPUVA_OP_REMAP:
{
@@ -2408,12 +2401,12 @@ static int op_prepare(struct xe_vm *vm,
if (!err && op->remap.prev && !op->remap.skip_prev) {
err = bind_op_prepare(vm, tile, pt_update_ops,
op->remap.prev, false);
- pt_update_ops->wait_vm_bookkeep = true;
+ vops->flags |= XE_VMA_OPS_FLAG_WAIT_VM_BOOKKEEP;
}
if (!err && op->remap.next && !op->remap.skip_next) {
err = bind_op_prepare(vm, tile, pt_update_ops,
op->remap.next, false);
- pt_update_ops->wait_vm_bookkeep = true;
+ vops->flags |= XE_VMA_OPS_FLAG_WAIT_VM_BOOKKEEP;
}
break;
}
@@ -2449,7 +2442,7 @@ static int op_prepare(struct xe_vm *vm,
}
} else {
err = bind_op_prepare(vm, tile, pt_update_ops, vma, false);
- pt_update_ops->wait_vm_kernel = true;
+ vops->flags |= XE_VMA_OPS_FLAG_WAIT_VM_KERNEL;
}
break;
}
@@ -2483,18 +2476,8 @@ xe_pt_update_ops_init(struct xe_vm_pgtable_update_ops *pt_update_ops)
xe_page_reclaim_list_init(&pt_update_ops->prl);
}
-/**
- * xe_pt_update_ops_prepare() - Prepare PT update operations
- * @tile: Tile of PT update operations
- * @vops: VMA operationa
- *
- * Prepare PT update operations which includes updating internal PT state,
- * allocate memory for page tables, populate page table being pruned in, and
- * create PT update operations for leaf insertion / removal.
- *
- * Return: 0 on success, negative error code on error.
- */
-int xe_pt_update_ops_prepare(struct xe_tile *tile, struct xe_vma_ops *vops)
+static int __xe_pt_update_ops_prepare(struct xe_tile *tile,
+ struct xe_vma_ops *vops)
{
struct xe_vm_pgtable_update_ops *pt_update_ops =
&vops->pt_update_ops[tile->id];
@@ -2513,7 +2496,7 @@ int xe_pt_update_ops_prepare(struct xe_tile *tile, struct xe_vma_ops *vops)
return err;
list_for_each_entry(op, &vops->list, link) {
- err = op_prepare(vops->vm, tile, pt_update_ops, op);
+ err = op_prepare(vops->vm, tile, vops, pt_update_ops, op);
if (err)
return err;
@@ -2522,6 +2505,16 @@ int xe_pt_update_ops_prepare(struct xe_tile *tile, struct xe_vma_ops *vops)
xe_tile_assert(tile, get_current_op(pt_update_ops) <=
pt_update_ops->num_ops);
+ /* Propagate individual tile state up to VMA operation */
+ if (pt_update_ops->start < vops->start)
+ vops->start = pt_update_ops->start;
+ if (pt_update_ops->last > vops->last)
+ vops->last = pt_update_ops->last;
+ if (pt_update_ops->needs_invalidation)
+ vops->flags |= XE_VMA_OPS_FLAG_NEEDS_INVALIDATION;
+ if (pt_update_ops->needs_svm_lock)
+ vops->flags |= XE_VMA_OPS_FLAG_NEEDS_SVM_LOCK;
+
#ifdef TEST_VM_OPS_ERROR
if (vops->inject_error &&
vops->vm->xe->vm_inject_error_position == FORCE_OP_ERROR_PREPARE)
@@ -2530,35 +2523,68 @@ int xe_pt_update_ops_prepare(struct xe_tile *tile, struct xe_vma_ops *vops)
return 0;
}
-ALLOW_ERROR_INJECTION(xe_pt_update_ops_prepare, ERRNO);
-static void bind_op_commit(struct xe_vm *vm, struct xe_tile *tile,
- struct xe_vm_pgtable_update_ops *pt_update_ops,
- struct xe_vma *vma, struct dma_fence *fence,
- struct dma_fence *fence2, bool invalidate_on_bind)
+/**
+ * xe_pt_update_ops_prepare() - Prepare PT update operations
+ * @xe: xe device.
+ * @vops: VMA operationa
+ *
+ * Prepare PT update operations which includes updating internal PT state,
+ * allocate memory for page tables, populate page table being pruned in, and
+ * create PT update operations for leaf insertion / removal.
+ *
+ * Return: 0 on success, negative error code on error.
+ */
+int xe_pt_update_ops_prepare(struct xe_device *xe, struct xe_vma_ops *vops)
{
- xe_tile_assert(tile, !xe_vma_is_cpu_addr_mirror(vma));
+ struct xe_tile *tile;
+ int id, err;
+
+ for_each_tile(tile, xe, id) {
+ if (!vops->pt_update_ops[id].num_ops)
+ continue;
- if (!xe_vma_has_no_bo(vma) && !xe_vma_bo(vma)->vm) {
- dma_resv_add_fence(xe_vma_bo(vma)->ttm.base.resv, fence,
- pt_update_ops->wait_vm_bookkeep ?
- DMA_RESV_USAGE_KERNEL :
- DMA_RESV_USAGE_BOOKKEEP);
- if (fence2)
- dma_resv_add_fence(xe_vma_bo(vma)->ttm.base.resv, fence2,
- pt_update_ops->wait_vm_bookkeep ?
- DMA_RESV_USAGE_KERNEL :
- DMA_RESV_USAGE_BOOKKEEP);
+ err = __xe_pt_update_ops_prepare(tile, vops);
+ if (err)
+ return err;
}
+
+ return 0;
+}
+ALLOW_ERROR_INJECTION(xe_pt_update_ops_prepare, ERRNO);
+
+static void vma_add_fences(struct xe_vma *vma, struct dma_fence **fences,
+ int fence_count, enum dma_resv_usage usage)
+{
+ int i;
+
+ if (xe_vma_has_no_bo(vma) || xe_vma_bo(vma)->vm)
+ return;
+
+ for (i = 0; i < fence_count; ++i)
+ if (fences[i])
+ dma_resv_add_fence(xe_vma_bo(vma)->ttm.base.resv,
+ fences[i], usage);
+}
+
+static void bind_op_commit(struct xe_vm *vm, struct xe_vma *vma,
+ struct dma_fence **fences, int fence_count,
+ enum dma_resv_usage usage, u8 tile_mask,
+ bool invalidate_on_bind)
+{
+ xe_assert(vm->xe, !xe_vma_is_cpu_addr_mirror(vma));
+
+ vma_add_fences(vma, fences, fence_count, usage);
+
/* All WRITE_ONCE pair with READ_ONCE in xe_vm_has_valid_gpu_mapping() */
- WRITE_ONCE(vma->tile_present, vma->tile_present | BIT(tile->id));
+ WRITE_ONCE(vma->tile_present, vma->tile_present | tile_mask);
if (invalidate_on_bind)
WRITE_ONCE(vma->tile_invalidated,
- vma->tile_invalidated | BIT(tile->id));
+ vma->tile_invalidated | tile_mask);
else
WRITE_ONCE(vma->tile_invalidated,
- vma->tile_invalidated & ~BIT(tile->id));
- vma->tile_staged &= ~BIT(tile->id);
+ vma->tile_invalidated & ~tile_mask);
+ vma->tile_staged &= ~tile_mask;
if (xe_vma_is_userptr(vma)) {
xe_svm_assert_held_read_or_inject_write(vm);
to_userptr_vma(vma)->userptr.initial_bind = true;
@@ -2568,31 +2594,21 @@ static void bind_op_commit(struct xe_vm *vm, struct xe_tile *tile,
* Kick rebind worker if this bind triggers preempt fences and not in
* the rebind worker
*/
- if (pt_update_ops->wait_vm_bookkeep &&
+ if (usage == DMA_RESV_USAGE_KERNEL &&
xe_vm_in_preempt_fence_mode(vm) &&
!current->mm)
xe_vm_queue_rebind_worker(vm);
}
-static void unbind_op_commit(struct xe_vm *vm, struct xe_tile *tile,
- struct xe_vm_pgtable_update_ops *pt_update_ops,
- struct xe_vma *vma, struct dma_fence *fence,
- struct dma_fence *fence2)
+static void unbind_op_commit(struct xe_vm *vm, struct xe_vma *vma,
+ struct dma_fence **fences, int fence_count,
+ enum dma_resv_usage usage, u8 tile_mask)
{
- xe_tile_assert(tile, !xe_vma_is_cpu_addr_mirror(vma));
+ xe_assert(vm->xe, !xe_vma_is_cpu_addr_mirror(vma));
- if (!xe_vma_has_no_bo(vma) && !xe_vma_bo(vma)->vm) {
- dma_resv_add_fence(xe_vma_bo(vma)->ttm.base.resv, fence,
- pt_update_ops->wait_vm_bookkeep ?
- DMA_RESV_USAGE_KERNEL :
- DMA_RESV_USAGE_BOOKKEEP);
- if (fence2)
- dma_resv_add_fence(xe_vma_bo(vma)->ttm.base.resv, fence2,
- pt_update_ops->wait_vm_bookkeep ?
- DMA_RESV_USAGE_KERNEL :
- DMA_RESV_USAGE_BOOKKEEP);
- }
- vma->tile_present &= ~BIT(tile->id);
+ vma_add_fences(vma, fences, fence_count, usage);
+
+ vma->tile_present &= ~tile_mask;
if (!vma->tile_present) {
list_del_init(&vma->combined_links.rebind);
if (xe_vma_is_userptr(vma)) {
@@ -2607,21 +2623,19 @@ static void unbind_op_commit(struct xe_vm *vm, struct xe_tile *tile,
static void range_present_and_invalidated_tile(struct xe_vm *vm,
struct xe_svm_range *range,
- u8 tile_id)
+ u8 tile_mask)
{
/* All WRITE_ONCE pair with READ_ONCE in xe_vm_has_valid_gpu_mapping() */
lockdep_assert_held(&vm->svm.gpusvm.notifier_lock);
- WRITE_ONCE(range->tile_present, range->tile_present | BIT(tile_id));
- WRITE_ONCE(range->tile_invalidated, range->tile_invalidated & ~BIT(tile_id));
+ WRITE_ONCE(range->tile_present, range->tile_present | tile_mask);
+ WRITE_ONCE(range->tile_invalidated, range->tile_invalidated & ~tile_mask);
}
-static void op_commit(struct xe_vm *vm,
- struct xe_tile *tile,
- struct xe_vm_pgtable_update_ops *pt_update_ops,
- struct xe_vma_op *op, struct dma_fence *fence,
- struct dma_fence *fence2)
+static void op_commit(struct xe_vm *vm, struct xe_vma_op *op,
+ struct dma_fence **fences, int fence_count,
+ enum dma_resv_usage usage, u8 tile_mask)
{
xe_vm_assert_held(vm);
@@ -2631,8 +2645,8 @@ static void op_commit(struct xe_vm *vm,
(op->map.vma_flags & XE_VMA_SYSTEM_ALLOCATOR))
break;
- bind_op_commit(vm, tile, pt_update_ops, op->map.vma, fence,
- fence2, op->map.invalidate_on_bind);
+ bind_op_commit(vm, op->map.vma, fences, fence_count, usage,
+ tile_mask, op->map.invalidate_on_bind);
break;
case DRM_GPUVA_OP_REMAP:
{
@@ -2641,14 +2655,15 @@ static void op_commit(struct xe_vm *vm,
if (xe_vma_is_cpu_addr_mirror(old))
break;
- unbind_op_commit(vm, tile, pt_update_ops, old, fence, fence2);
+ unbind_op_commit(vm, old, fences, fence_count, usage,
+ tile_mask);
if (op->remap.prev && !op->remap.skip_prev)
- bind_op_commit(vm, tile, pt_update_ops, op->remap.prev,
- fence, fence2, false);
+ bind_op_commit(vm, op->remap.prev, fences, fence_count,
+ usage, tile_mask, false);
if (op->remap.next && !op->remap.skip_next)
- bind_op_commit(vm, tile, pt_update_ops, op->remap.next,
- fence, fence2, false);
+ bind_op_commit(vm, op->remap.next, fences, fence_count,
+ usage, tile_mask, false);
break;
}
case DRM_GPUVA_OP_UNMAP:
@@ -2656,8 +2671,8 @@ static void op_commit(struct xe_vm *vm,
struct xe_vma *vma = gpuva_to_vma(op->base.unmap.va);
if (!xe_vma_is_cpu_addr_mirror(vma))
- unbind_op_commit(vm, tile, pt_update_ops, vma, fence,
- fence2);
+ unbind_op_commit(vm, vma, fences, fence_count,
+ usage, tile_mask);
break;
}
case DRM_GPUVA_OP_PREFETCH:
@@ -2669,10 +2684,11 @@ static void op_commit(struct xe_vm *vm,
unsigned long i;
xa_for_each(&op->prefetch_range.range, i, range)
- range_present_and_invalidated_tile(vm, range, tile->id);
+ range_present_and_invalidated_tile(vm, range,
+ tile_mask);
} else {
- bind_op_commit(vm, tile, pt_update_ops, vma, fence,
- fence2, false);
+ bind_op_commit(vm, vma, fences, fence_count, usage,
+ tile_mask, false);
}
break;
}
@@ -2680,11 +2696,12 @@ static void op_commit(struct xe_vm *vm,
{
/* WRITE_ONCE pairs with READ_ONCE in xe_vm_has_valid_gpu_mapping() */
if (op->subop == XE_VMA_SUBOP_MAP_RANGE)
- range_present_and_invalidated_tile(vm, op->map_range.range, tile->id);
+ range_present_and_invalidated_tile(vm, op->map_range.range,
+ tile_mask);
else if (op->subop == XE_VMA_SUBOP_UNMAP_RANGE)
WRITE_ONCE(op->unmap_range.range->tile_present,
op->unmap_range.range->tile_present &
- ~BIT(tile->id));
+ ~tile_mask);
break;
}
@@ -2693,40 +2710,25 @@ static void op_commit(struct xe_vm *vm,
}
}
-static const struct xe_migrate_pt_update_ops migrate_ops = {
+static const struct xe_cpu_bind_pt_update_ops cpu_bind_ops = {
.populate = xe_vm_populate_pgtable,
- .clear = xe_migrate_clear_pgtable_callback,
+ .clear = xe_pt_clear_pgtable_callback,
.pre_commit = xe_pt_pre_commit,
};
#if IS_ENABLED(CONFIG_DRM_GPUSVM)
-static const struct xe_migrate_pt_update_ops svm_userptr_migrate_ops = {
+static const struct xe_cpu_bind_pt_update_ops svm_userptr_cpu_bind_ops = {
.populate = xe_vm_populate_pgtable,
- .clear = xe_migrate_clear_pgtable_callback,
+ .clear = xe_pt_clear_pgtable_callback,
.pre_commit = xe_pt_svm_userptr_pre_commit,
};
#else
-static const struct xe_migrate_pt_update_ops svm_userptr_migrate_ops;
+static const struct xe_cpu_bind_pt_update_ops svm_userptr_cpu_bind_ops;
#endif
-static struct xe_dep_scheduler *to_dep_scheduler(struct xe_exec_queue *q,
- struct xe_tile *tile,
- struct xe_gt *gt,
- unsigned int *type)
-{
- int tile_ofs = tile->id * (XE_EXEC_QUEUE_TLB_INVAL_MEDIA_GT + 1);
-
- if (xe_gt_is_media_type(gt))
- *type = tile_ofs + XE_EXEC_QUEUE_TLB_INVAL_MEDIA_GT;
- else
- *type = tile_ofs + XE_EXEC_QUEUE_TLB_INVAL_PRIMARY_GT;
-
- return q->tlb_inval[*type].dep_scheduler;
-}
-
/**
* xe_pt_update_ops_run() - Run PT update operations
- * @tile: Tile of PT update operations
+ * @xe: xe device.
* @vops: VMA operationa
*
* Run PT update operations which includes committing internal PT state changes,
@@ -2736,82 +2738,83 @@ static struct xe_dep_scheduler *to_dep_scheduler(struct xe_exec_queue *q,
* Return: fence on success, negative ERR_PTR on error.
*/
struct dma_fence *
-xe_pt_update_ops_run(struct xe_tile *tile, struct xe_vma_ops *vops)
+xe_pt_update_ops_run(struct xe_device *xe, struct xe_vma_ops *vops)
{
struct xe_vm *vm = vops->vm;
- struct xe_vm_pgtable_update_ops *pt_update_ops =
- &vops->pt_update_ops[tile->id];
- struct xe_exec_queue *q = pt_update_ops->q;
- struct dma_fence *fence, *ifence = NULL, *mfence = NULL;
- struct xe_tlb_inval_job *ijob = NULL, *mjob = NULL;
+ struct xe_exec_queue *q = vops->q;
+ struct dma_fence *fence;
+ struct dma_fence *ifences[XE_CPU_BIND_INVAL_JOB_COUNT] = {};
struct xe_range_fence *rfence;
+ enum dma_resv_usage usage = DMA_RESV_USAGE_BOOKKEEP;
struct xe_vma_op *op;
- unsigned int type;
- int err = 0, i;
- struct xe_migrate_pt_update update = {
- .ops = pt_update_ops->needs_svm_lock ?
- &svm_userptr_migrate_ops :
- &migrate_ops,
+ struct xe_tile *tile;
+ int err = 0, total_ops = 0, i, j;
+ u8 tile_mask = 0;
+ bool needs_invalidation = vops->flags &
+ XE_VMA_OPS_FLAG_NEEDS_INVALIDATION;
+ bool needs_svm_lock = vops->flags &
+ XE_VMA_OPS_FLAG_NEEDS_SVM_LOCK;
+ struct xe_cpu_bind_pt_update update = {
+ .ops = needs_svm_lock ? &svm_userptr_cpu_bind_ops :
+ &cpu_bind_ops,
.vops = vops,
- .tile_id = tile->id,
};
lockdep_assert_held(&vm->lock);
xe_vm_assert_held(vm);
- if (!get_current_op(pt_update_ops)) {
- xe_tile_assert(tile, xe_vm_in_fault_mode(vm));
+ for_each_tile(tile, xe, j) {
+ struct xe_vm_pgtable_update_ops *pt_update_ops =
+ &vops->pt_update_ops[j];
+ total_ops += get_current_op(pt_update_ops);
+ }
+ if (!total_ops) {
+ xe_assert(xe, xe_vm_in_fault_mode(vm));
return dma_fence_get_stub();
}
#ifdef TEST_VM_OPS_ERROR
if (vops->inject_error &&
- vm->xe->vm_inject_error_position == FORCE_OP_ERROR_RUN)
+ xe->vm_inject_error_position == FORCE_OP_ERROR_RUN)
return ERR_PTR(-ENOSPC);
#endif
- if (pt_update_ops->needs_invalidation) {
- struct xe_dep_scheduler *dep_scheduler =
- to_dep_scheduler(q, tile, tile->primary_gt, &type);
-
- ijob = xe_tlb_inval_job_create(q, &tile->primary_gt->tlb_inval,
- dep_scheduler, vm,
- pt_update_ops->start,
- pt_update_ops->last,
- type);
- if (IS_ERR(ijob)) {
- err = PTR_ERR(ijob);
- goto kill_vm_tile1;
- }
- update.ijob = ijob;
- /*
- * Only add page reclaim for the primary GT. Media GT does not have
- * any PPC to flush, so enabling the PPC flush bit for media is
- * effectively a NOP and provides no performance benefit nor
- * interfere with primary GT.
- */
- if (xe_page_reclaim_list_valid(&pt_update_ops->prl)) {
- xe_tlb_inval_job_add_page_reclaim(ijob, &pt_update_ops->prl);
- /* Release ref from alloc, job will now handle it */
- xe_page_reclaim_list_invalidate(&pt_update_ops->prl);
- }
-
- if (tile->media_gt) {
- dep_scheduler = to_dep_scheduler(q, tile,
- tile->media_gt, &type);
-
- mjob = xe_tlb_inval_job_create(q,
- &tile->media_gt->tlb_inval,
- dep_scheduler, vm,
- pt_update_ops->start,
- pt_update_ops->last,
- type);
- if (IS_ERR(mjob)) {
- err = PTR_ERR(mjob);
+ if (needs_invalidation) {
+ for_each_tlb_inval(q, i) {
+ struct xe_dep_scheduler *dep_scheduler =
+ q->tlb_inval[i].dep_scheduler;
+ struct xe_tile *tile =
+ &xe->tiles[i / XE_MAX_GT_PER_TILE];
+ struct xe_vm_pgtable_update_ops *pt_update_ops =
+ &vops->pt_update_ops[tile->id];
+ struct xe_page_reclaim_list *prl = &pt_update_ops->prl;
+ struct xe_tlb_inval_job *ijob;
+ struct xe_gt *gt = i % XE_MAX_GT_PER_TILE ?
+ tile->media_gt : tile->primary_gt;
+
+ ijob = xe_tlb_inval_job_create(q, >->tlb_inval,
+ dep_scheduler,
+ vm, vops->start,
+ vops->last, i);
+ if (IS_ERR(ijob)) {
+ err = PTR_ERR(ijob);
goto free_ijob;
}
- update.mjob = mjob;
+
+ update.ijobs[i] = ijob;
+
+ /*
+ * Only add page reclaim for the primary GT. Media GT
+ * does not have any PPC to flush, so enabling the PPC
+ * flush bit for media is effectively a NOP and provides
+ * no performance benefit nor interfere with primary GT.
+ */
+ if (xe_page_reclaim_list_valid(prl)) {
+ xe_tlb_inval_job_add_page_reclaim(ijob, prl);
+ /* Release ref from alloc, job will now handle it */
+ xe_page_reclaim_list_invalidate(prl);
+ }
}
}
@@ -2821,67 +2824,61 @@ xe_pt_update_ops_run(struct xe_tile *tile, struct xe_vma_ops *vops)
goto free_ijob;
}
- fence = xe_migrate_update_pgtables(tile->migrate, &update);
+ fence = xe_cpu_bind_update_pgtables(xe->cpu_bind, &update);
if (IS_ERR(fence)) {
err = PTR_ERR(fence);
goto free_rfence;
}
/* Point of no return - VM killed if failure after this */
- for (i = 0; i < get_current_op(pt_update_ops); ++i) {
- struct xe_vm_pgtable_update_op *pt_op =
- to_pt_op(pt_update_ops, i);
-
- xe_pt_commit(pt_op->vma, pt_op->entries,
- pt_op->num_entries,
- &pt_update_ops->pt_job_ops->deferred);
- pt_op->vma = NULL; /* skip in xe_pt_update_ops_abort */
+ for_each_tile(tile, xe, j) {
+ struct xe_vm_pgtable_update_ops *pt_update_ops =
+ &vops->pt_update_ops[j];
+
+ for (i = 0; i < get_current_op(pt_update_ops); ++i) {
+ struct xe_vm_pgtable_update_op *pt_op =
+ to_pt_op(pt_update_ops, i);
+
+ xe_pt_commit(pt_op->vma, pt_op->entries,
+ pt_op->num_entries,
+ &pt_update_ops->pt_job_ops->deferred);
+ pt_op->vma = NULL; /* skip in xe_pt_update_ops_abort */
+ tile_mask |= BIT(tile->id);
+ }
}
- if (xe_range_fence_insert(&vm->rftree[tile->id], rfence,
+ if (xe_range_fence_insert(&vm->rftree, rfence,
&xe_range_fence_kfree_ops,
- pt_update_ops->start,
- pt_update_ops->last, fence))
+ vops->start, vops->last, fence))
dma_fence_wait(fence, false);
- if (ijob)
- ifence = xe_tlb_inval_job_push(ijob, tile->migrate, fence);
- if (mjob)
- mfence = xe_tlb_inval_job_push(mjob, tile->migrate, fence);
+ if (vops->flags & XE_VMA_OPS_FLAG_WAIT_VM_BOOKKEEP)
+ usage = DMA_RESV_USAGE_KERNEL;
- if (!mjob && !ijob) {
- dma_resv_add_fence(xe_vm_resv(vm), fence,
- pt_update_ops->wait_vm_bookkeep ?
- DMA_RESV_USAGE_KERNEL :
- DMA_RESV_USAGE_BOOKKEEP);
-
- list_for_each_entry(op, &vops->list, link)
- op_commit(vops->vm, tile, pt_update_ops, op, fence, NULL);
- } else if (ijob && !mjob) {
- dma_resv_add_fence(xe_vm_resv(vm), ifence,
- pt_update_ops->wait_vm_bookkeep ?
- DMA_RESV_USAGE_KERNEL :
- DMA_RESV_USAGE_BOOKKEEP);
+ if (!needs_invalidation) {
+ dma_resv_add_fence(xe_vm_resv(vm), fence, usage);
list_for_each_entry(op, &vops->list, link)
- op_commit(vops->vm, tile, pt_update_ops, op, ifence, NULL);
+ op_commit(vops->vm, op, &fence, 1, usage, tile_mask);
} else {
- dma_resv_add_fence(xe_vm_resv(vm), ifence,
- pt_update_ops->wait_vm_bookkeep ?
- DMA_RESV_USAGE_KERNEL :
- DMA_RESV_USAGE_BOOKKEEP);
+ for (i = 0; i < XE_CPU_BIND_INVAL_JOB_COUNT; ++i) {
+ if (!update.ijobs[i])
+ continue;
+
+ ifences[i] = xe_tlb_inval_job_push(update.ijobs[i],
+ fence);
+ xe_assert(xe, !IS_ERR_OR_NULL(ifences[i]));
- dma_resv_add_fence(xe_vm_resv(vm), mfence,
- pt_update_ops->wait_vm_bookkeep ?
- DMA_RESV_USAGE_KERNEL :
- DMA_RESV_USAGE_BOOKKEEP);
+ dma_resv_add_fence(xe_vm_resv(vm), ifences[i], usage);
+ }
list_for_each_entry(op, &vops->list, link)
- op_commit(vops->vm, tile, pt_update_ops, op, ifence,
- mfence);
+ op_commit(vops->vm, op, ifences,
+ XE_CPU_BIND_INVAL_JOB_COUNT, usage,
+ tile_mask);
}
- if (pt_update_ops->needs_svm_lock)
+ if (needs_svm_lock)
xe_pt_svm_userptr_notifier_unlock(vm);
/*
@@ -2891,21 +2888,18 @@ xe_pt_update_ops_run(struct xe_tile *tile, struct xe_vma_ops *vops)
if (!(q->flags & EXEC_QUEUE_FLAG_MIGRATE))
xe_exec_queue_last_fence_set(q, vm, fence);
- xe_tlb_inval_job_put(mjob);
- xe_tlb_inval_job_put(ijob);
- dma_fence_put(ifence);
- dma_fence_put(mfence);
+ for (i = 0; i < XE_CPU_BIND_INVAL_JOB_COUNT; ++i) {
+ xe_tlb_inval_job_put(update.ijobs[i]);
+ dma_fence_put(ifences[i]);
+ }
return fence;
free_rfence:
kfree(rfence);
free_ijob:
- xe_tlb_inval_job_put(mjob);
- xe_tlb_inval_job_put(ijob);
-kill_vm_tile1:
- if (err != -EAGAIN && err != -ENODATA && tile->id)
- xe_vm_kill(vops->vm, false);
+ for (i = 0; i < XE_CPU_BIND_INVAL_JOB_COUNT; ++i)
+ xe_tlb_inval_job_put(update.ijobs[i]);
return ERR_PTR(err);
}
@@ -2913,52 +2907,65 @@ ALLOW_ERROR_INJECTION(xe_pt_update_ops_run, ERRNO);
/**
* xe_pt_update_ops_fini() - Finish PT update operations
- * @tile: Tile of PT update operations
+ * @xe: xe device.
* @vops: VMA operations
*
* Finish PT update operations by committing to destroy page table memory
*/
-void xe_pt_update_ops_fini(struct xe_tile *tile, struct xe_vma_ops *vops)
+void xe_pt_update_ops_fini(struct xe_device *xe, struct xe_vma_ops *vops)
{
- struct xe_vm_pgtable_update_ops *pt_update_ops =
- &vops->pt_update_ops[tile->id];
+ struct xe_tile *tile;
+ int id;
+
+ for_each_tile(tile, xe, id) {
+ struct xe_vm_pgtable_update_ops *pt_update_ops =
+ &vops->pt_update_ops[id];
- xe_page_reclaim_entries_put(pt_update_ops->prl.entries);
+ if (!pt_update_ops->num_ops)
+ continue;
+
+ xe_page_reclaim_entries_put(pt_update_ops->prl.entries);
+ }
}
/**
* xe_pt_update_ops_abort() - Abort PT update operations
- * @tile: Tile of PT update operations
+ * @xe: xe device.
* @vops: VMA operationa
*
* Abort PT update operations by unwinding internal PT state
*/
-void xe_pt_update_ops_abort(struct xe_tile *tile, struct xe_vma_ops *vops)
+void xe_pt_update_ops_abort(struct xe_device *xe, struct xe_vma_ops *vops)
{
- struct xe_vm_pgtable_update_ops *pt_update_ops =
- &vops->pt_update_ops[tile->id];
- int i;
+ struct xe_tile *tile;
+ int id;
lockdep_assert_held(&vops->vm->lock);
xe_vm_assert_held(vops->vm);
- for (i = pt_update_ops->num_ops - 1; i >= 0; --i) {
- struct xe_vm_pgtable_update_op *pt_op =
- to_pt_op(pt_update_ops, i);
+ for_each_tile(tile, xe, id) {
+ struct xe_vm_pgtable_update_ops *pt_update_ops =
+ &vops->pt_update_ops[id];
+ int i;
- if (!pt_op->vma || i >= get_current_op(pt_update_ops))
- continue;
+ for (i = pt_update_ops->num_ops - 1; i >= 0; --i) {
+ struct xe_vm_pgtable_update_op *pt_op =
+ to_pt_op(pt_update_ops, i);
- if (pt_op->bind)
- xe_pt_abort_bind(pt_op->vma, pt_op->entries,
- pt_op->num_entries,
- pt_op->rebind);
- else
- xe_pt_abort_unbind(pt_op->vma, pt_op->entries,
- pt_op->num_entries);
+ if (!pt_op->vma || i >= get_current_op(pt_update_ops))
+ continue;
+
+ if (pt_op->bind)
+ xe_pt_abort_bind(pt_op->vma, pt_op->entries,
+ pt_op->num_entries,
+ pt_op->rebind);
+ else
+ xe_pt_abort_unbind(pt_op->vma, pt_op->entries,
+ pt_op->num_entries);
+ }
}
- xe_pt_update_ops_fini(tile, vops);
+ xe_pt_update_ops_fini(xe, vops);
}
/**
diff --git a/drivers/gpu/drm/xe/xe_pt.h b/drivers/gpu/drm/xe/xe_pt.h
index 5faddb8e700c..cd78141fb81c 100644
--- a/drivers/gpu/drm/xe/xe_pt.h
+++ b/drivers/gpu/drm/xe/xe_pt.h
@@ -39,11 +39,11 @@ void xe_pt_destroy(struct xe_pt *pt, u32 flags, struct llist_head *deferred);
void xe_pt_clear(struct xe_device *xe, struct xe_pt *pt);
-int xe_pt_update_ops_prepare(struct xe_tile *tile, struct xe_vma_ops *vops);
-struct dma_fence *xe_pt_update_ops_run(struct xe_tile *tile,
+int xe_pt_update_ops_prepare(struct xe_device *xe, struct xe_vma_ops *vops);
+struct dma_fence *xe_pt_update_ops_run(struct xe_device *xe,
struct xe_vma_ops *vops);
-void xe_pt_update_ops_fini(struct xe_tile *tile, struct xe_vma_ops *vops);
-void xe_pt_update_ops_abort(struct xe_tile *tile, struct xe_vma_ops *vops);
+void xe_pt_update_ops_fini(struct xe_device *xe, struct xe_vma_ops *vops);
+void xe_pt_update_ops_abort(struct xe_device *xe, struct xe_vma_ops *vops);
bool xe_pt_zap_ptes(struct xe_tile *tile, struct xe_vma *vma);
bool xe_pt_zap_ptes_range(struct xe_tile *tile, struct xe_vm *vm,
diff --git a/drivers/gpu/drm/xe/xe_pt_types.h b/drivers/gpu/drm/xe/xe_pt_types.h
index ccab6613385f..0d4bac22ee6c 100644
--- a/drivers/gpu/drm/xe/xe_pt_types.h
+++ b/drivers/gpu/drm/xe/xe_pt_types.h
@@ -120,8 +120,6 @@ struct xe_pt_job_ops {
struct xe_vm_pgtable_update_ops {
/** @pt_job_ops: PT update operations dynamic allocation*/
struct xe_pt_job_ops *pt_job_ops;
- /** @q: exec queue for PT operations */
- struct xe_exec_queue *q;
/** @prl: embedded page reclaim list */
struct xe_page_reclaim_list prl;
/** @start: start address of ops */
@@ -134,18 +132,6 @@ struct xe_vm_pgtable_update_ops {
bool needs_svm_lock;
/** @needs_invalidation: Needs invalidation */
bool needs_invalidation;
- /**
- * @wait_vm_bookkeep: PT operations need to wait until VM is idle
- * (bookkeep dma-resv slots are idle) and stage all future VM activity
- * behind these operations (install PT operations into VM kernel
- * dma-resv slot).
- */
- bool wait_vm_bookkeep;
- /**
- * @wait_vm_kernel: PT operations need to wait until VM kernel dma-resv
- * slots are idle.
- */
- bool wait_vm_kernel;
};
#endif
diff --git a/drivers/gpu/drm/xe/xe_sched_job.c b/drivers/gpu/drm/xe/xe_sched_job.c
index 841d67ebd5b0..ade0a54d5c3f 100644
--- a/drivers/gpu/drm/xe/xe_sched_job.c
+++ b/drivers/gpu/drm/xe/xe_sched_job.c
@@ -73,8 +73,9 @@ static void job_free(struct xe_sched_job *job)
struct xe_exec_queue *q = job->q;
bool is_migration = xe_sched_job_is_migration(q);
- kmem_cache_free(xe_exec_queue_is_parallel(job->q) || is_migration ?
- xe_sched_job_parallel_slab : xe_sched_job_slab, job);
+ kmem_cache_free(job->is_pt_job || xe_exec_queue_is_parallel(job->q) ||
+ is_migration ? xe_sched_job_parallel_slab :
+ xe_sched_job_slab, job);
}
static struct xe_device *job_to_xe(struct xe_sched_job *job)
@@ -127,10 +128,12 @@ struct xe_sched_job *xe_sched_job_create(struct xe_exec_queue *q,
xe_assert(xe, batch_addr ||
q->flags & (EXEC_QUEUE_FLAG_VM | EXEC_QUEUE_FLAG_MIGRATE));
- job = job_alloc(xe_exec_queue_is_parallel(q) || is_migration);
+ job = job_alloc(!batch_addr || xe_exec_queue_is_parallel(q) ||
+ is_migration);
if (!job)
return ERR_PTR(-ENOMEM);
+ job->is_pt_job = !batch_addr;
job->q = q;
job->sample_timestamp = U64_MAX;
kref_init(&job->refcount);
@@ -143,7 +146,6 @@ struct xe_sched_job *xe_sched_job_create(struct xe_exec_queue *q,
if (!batch_addr) {
job->fence = dma_fence_get_stub();
- job->is_pt_job = true;
} else {
for (i = 0; i < q->width; ++i) {
struct dma_fence *fence = xe_lrc_alloc_seqno_fence();
diff --git a/drivers/gpu/drm/xe/xe_sched_job_types.h b/drivers/gpu/drm/xe/xe_sched_job_types.h
index 5e1824c36c74..9f527ac6df3e 100644
--- a/drivers/gpu/drm/xe/xe_sched_job_types.h
+++ b/drivers/gpu/drm/xe/xe_sched_job_types.h
@@ -14,7 +14,7 @@ struct dma_fence;
struct dma_fence_chain;
struct xe_exec_queue;
-struct xe_migrate_pt_update_ops;
+struct xe_cpu_bind_pt_update_ops;
struct xe_pt_job_ops;
struct xe_tile;
struct xe_vm;
@@ -25,12 +25,11 @@ struct xe_vm;
struct xe_pt_update_args {
/** @vm: VM which is being bound */
struct xe_vm *vm;
- /** @tile: Tile which page tables belong to */
- struct xe_tile *tile;
- /** @ops: Migrate PT update ops */
- const struct xe_migrate_pt_update_ops *ops;
+ /** @ops: CPU bind PT update ops */
+ const struct xe_cpu_bind_pt_update_ops *ops;
+#define XE_PT_UPDATE_JOB_OPS_COUNT 2
/** @pt_job_ops: PT job ops state */
- struct xe_pt_job_ops *pt_job_ops;
+ struct xe_pt_job_ops *pt_job_ops[XE_PT_UPDATE_JOB_OPS_COUNT];
};
/**
diff --git a/drivers/gpu/drm/xe/xe_tlb_inval_job.c b/drivers/gpu/drm/xe/xe_tlb_inval_job.c
index 81f560068d3c..7378cfe6e855 100644
--- a/drivers/gpu/drm/xe/xe_tlb_inval_job.c
+++ b/drivers/gpu/drm/xe/xe_tlb_inval_job.c
@@ -4,6 +4,7 @@
*/
#include "xe_assert.h"
+#include "xe_cpu_bind.h"
#include "xe_dep_job_types.h"
#include "xe_dep_scheduler.h"
#include "xe_exec_queue.h"
@@ -12,7 +13,6 @@
#include "xe_page_reclaim.h"
#include "xe_tlb_inval.h"
#include "xe_tlb_inval_job.h"
-#include "xe_migrate.h"
#include "xe_pm.h"
#include "xe_vm.h"
@@ -218,7 +218,6 @@ int xe_tlb_inval_job_alloc_dep(struct xe_tlb_inval_job *job)
/**
* xe_tlb_inval_job_push() - TLB invalidation job push
* @job: TLB invalidation job to push
- * @m: The migration object being used
* @fence: Dependency for TLB invalidation job
*
* Pushes a TLB invalidation job for execution, using @fence as a dependency.
@@ -230,11 +229,11 @@ int xe_tlb_inval_job_alloc_dep(struct xe_tlb_inval_job *job)
* Return: Job's finished fence on success, cannot fail
*/
struct dma_fence *xe_tlb_inval_job_push(struct xe_tlb_inval_job *job,
- struct xe_migrate *m,
struct dma_fence *fence)
{
struct xe_tlb_inval_fence *ifence =
container_of(job->fence, typeof(*ifence), base);
+ struct xe_cpu_bind *cpu_bind = gt_to_xe(job->q->gt)->cpu_bind;
if (!dma_fence_is_signaled(fence)) {
void *ptr;
@@ -258,11 +257,11 @@ struct dma_fence *xe_tlb_inval_job_push(struct xe_tlb_inval_job *job,
job->fence_armed = true;
/*
- * We need the migration lock to protect the job's seqno and the spsc
- * queue, only taken on migration queue, user queues protected dma-resv
+ * We need the cpu_bind lock to protect the job's seqno and the spsc
+ * queue, only taken on cpu_bind queue, user queues protected dma-resv
* VM lock.
*/
- xe_migrate_job_lock(m, job->q);
+ xe_cpu_bind_job_lock(cpu_bind, job->q);
/* Creation ref pairs with put in xe_tlb_inval_job_destroy */
xe_tlb_inval_fence_init(job->tlb_inval, ifence, false);
@@ -281,7 +280,7 @@ struct dma_fence *xe_tlb_inval_job_push(struct xe_tlb_inval_job *job,
&job->dep.drm.s_fence->finished,
job->idx);
- xe_migrate_job_unlock(m, job->q);
+ xe_cpu_bind_job_unlock(cpu_bind, job->q);
/*
* Not using job->fence, as it has its own dma-fence context, which does
diff --git a/drivers/gpu/drm/xe/xe_tlb_inval_job.h b/drivers/gpu/drm/xe/xe_tlb_inval_job.h
index 2a4478f529e6..97e032ea21c3 100644
--- a/drivers/gpu/drm/xe/xe_tlb_inval_job.h
+++ b/drivers/gpu/drm/xe/xe_tlb_inval_job.h
@@ -11,7 +11,6 @@
struct dma_fence;
struct xe_dep_scheduler;
struct xe_exec_queue;
-struct xe_migrate;
struct xe_page_reclaim_list;
struct xe_tlb_inval;
struct xe_tlb_inval_job;
@@ -28,7 +27,6 @@ void xe_tlb_inval_job_add_page_reclaim(struct xe_tlb_inval_job *job,
int xe_tlb_inval_job_alloc_dep(struct xe_tlb_inval_job *job);
struct dma_fence *xe_tlb_inval_job_push(struct xe_tlb_inval_job *job,
- struct xe_migrate *m,
struct dma_fence *fence);
void xe_tlb_inval_job_get(struct xe_tlb_inval_job *job);
diff --git a/drivers/gpu/drm/xe/xe_vm.c b/drivers/gpu/drm/xe/xe_vm.c
index 433a0a681556..fbfc42afef8b 100644
--- a/drivers/gpu/drm/xe/xe_vm.c
+++ b/drivers/gpu/drm/xe/xe_vm.c
@@ -24,6 +24,7 @@
#include "regs/xe_gtt_defs.h"
#include "xe_assert.h"
#include "xe_bo.h"
+#include "xe_cpu_bind.h"
#include "xe_device.h"
#include "xe_drm_client.h"
#include "xe_exec_queue.h"
@@ -795,8 +796,6 @@ int xe_vm_rebind(struct xe_vm *vm, bool rebind_worker)
struct xe_vma *vma, *next;
struct xe_vma_ops vops;
struct xe_vma_op *op, *next_op;
- struct xe_tile *tile;
- u8 id;
int err;
lockdep_assert_held(&vm->lock);
@@ -804,12 +803,9 @@ int xe_vm_rebind(struct xe_vm *vm, bool rebind_worker)
list_empty(&vm->rebind_list))
return 0;
- xe_vma_ops_init(&vops, vm, NULL, NULL, 0);
- for_each_tile(tile, vm->xe, id) {
- vops.pt_update_ops[id].wait_vm_bookkeep = true;
- vops.pt_update_ops[id].q =
- xe_migrate_bind_queue(tile->migrate);
- }
+ xe_vma_ops_init(&vops, vm, xe_cpu_bind_queue(vm->xe->cpu_bind),
+ NULL, 0);
+ vops.flags |= XE_VMA_OPS_FLAG_WAIT_VM_BOOKKEEP;
xe_vm_assert_held(vm);
list_for_each_entry(vma, &vm->rebind_list, combined_links.rebind) {
@@ -854,21 +850,16 @@ struct dma_fence *xe_vma_rebind(struct xe_vm *vm, struct xe_vma *vma, u8 tile_ma
struct dma_fence *fence = NULL;
struct xe_vma_ops vops;
struct xe_vma_op *op, *next_op;
- struct xe_tile *tile;
- u8 id;
int err;
lockdep_assert_held(&vm->lock);
xe_vm_assert_held(vm);
xe_assert(vm->xe, xe_vm_in_fault_mode(vm));
- xe_vma_ops_init(&vops, vm, NULL, NULL, 0);
- vops.flags |= XE_VMA_OPS_FLAG_SKIP_TLB_WAIT;
- for_each_tile(tile, vm->xe, id) {
- vops.pt_update_ops[id].wait_vm_bookkeep = true;
- vops.pt_update_ops[tile->id].q =
- xe_migrate_bind_queue(tile->migrate);
- }
+ xe_vma_ops_init(&vops, vm, xe_cpu_bind_queue(vm->xe->cpu_bind),
+ NULL, 0);
+ vops.flags |= XE_VMA_OPS_FLAG_SKIP_TLB_WAIT |
+ XE_VMA_OPS_FLAG_WAIT_VM_BOOKKEEP;
err = xe_vm_ops_add_rebind(&vops, vma, tile_mask);
if (err)
@@ -944,8 +935,6 @@ struct dma_fence *xe_vm_range_rebind(struct xe_vm *vm,
struct dma_fence *fence = NULL;
struct xe_vma_ops vops;
struct xe_vma_op *op, *next_op;
- struct xe_tile *tile;
- u8 id;
int err;
lockdep_assert_held(&range->lock);
@@ -954,13 +943,10 @@ struct dma_fence *xe_vm_range_rebind(struct xe_vm *vm,
xe_assert(vm->xe, xe_vm_in_fault_mode(vm));
xe_assert(vm->xe, xe_vma_is_cpu_addr_mirror(vma));
- xe_vma_ops_init(&vops, vm, NULL, NULL, 0);
- vops.flags |= XE_VMA_OPS_FLAG_SKIP_TLB_WAIT;
- for_each_tile(tile, vm->xe, id) {
- vops.pt_update_ops[id].wait_vm_bookkeep = true;
- vops.pt_update_ops[tile->id].q =
- xe_migrate_bind_queue(tile->migrate);
- }
+ xe_vma_ops_init(&vops, vm, xe_cpu_bind_queue(vm->xe->cpu_bind),
+ NULL, 0);
+ vops.flags |= XE_VMA_OPS_FLAG_SKIP_TLB_WAIT |
+ XE_VMA_OPS_FLAG_WAIT_VM_BOOKKEEP;
err = xe_vm_ops_add_range_rebind(&vops, vma, range, tile_mask);
if (err)
@@ -1027,8 +1013,6 @@ struct dma_fence *xe_vm_range_unbind(struct xe_vm *vm,
struct dma_fence *fence = NULL;
struct xe_vma_ops vops;
struct xe_vma_op *op, *next_op;
- struct xe_tile *tile;
- u8 id;
int err;
lockdep_assert_held(&range->lock);
@@ -1039,12 +1023,9 @@ struct dma_fence *xe_vm_range_unbind(struct xe_vm *vm,
if (!range->tile_present)
return dma_fence_get_stub();
- xe_vma_ops_init(&vops, vm, NULL, NULL, 0);
- for_each_tile(tile, vm->xe, id) {
- vops.pt_update_ops[id].wait_vm_bookkeep = true;
- vops.pt_update_ops[tile->id].q =
- xe_migrate_bind_queue(tile->migrate);
- }
+ xe_vma_ops_init(&vops, vm, xe_cpu_bind_queue(vm->xe->cpu_bind),
+ NULL, 0);
+ vops.flags |= XE_VMA_OPS_FLAG_WAIT_VM_BOOKKEEP;
err = xe_vm_ops_add_range_unbind(&vops, range);
if (err)
@@ -1715,9 +1696,7 @@ struct xe_vm *xe_vm_create(struct xe_device *xe, u32 flags, struct xe_file *xef)
init_rwsem(&vm->exec_queues.lock);
xe_vm_init_prove_locking(xe, vm);
-
- for_each_tile(tile, xe, id)
- xe_range_fence_tree_init(&vm->rftree[id]);
+ xe_range_fence_tree_init(&vm->rftree);
vm->pt_ops = &xelp_pt_ops;
@@ -1859,8 +1838,7 @@ struct xe_vm *xe_vm_create(struct xe_device *xe, u32 flags, struct xe_file *xef)
xe_svm_fini(vm);
err_no_resv:
mutex_destroy(&vm->snap_mutex);
- for_each_tile(tile, xe, id)
- xe_range_fence_tree_fini(&vm->rftree[id]);
+ xe_range_fence_tree_fini(&vm->rftree);
ttm_lru_bulk_move_fini(&xe->ttm, &vm->lru_bulk_move);
if (vm->xef)
xe_file_put(vm->xef);
@@ -1916,10 +1894,8 @@ void xe_vm_close_and_put(struct xe_vm *vm)
{
LIST_HEAD(contested);
struct xe_device *xe = vm->xe;
- struct xe_tile *tile;
struct xe_vma *vma, *next_vma;
struct drm_gpuva *gpuva, *next;
- u8 id;
xe_assert(xe, !vm->preempt.num_exec_queues);
@@ -2011,8 +1987,7 @@ void xe_vm_close_and_put(struct xe_vm *vm)
xe_vm_clear_fault_entries(vm);
- for_each_tile(tile, xe, id)
- xe_range_fence_tree_fini(&vm->rftree[id]);
+ xe_range_fence_tree_fini(&vm->rftree);
xe_vm_put(vm);
}
@@ -3509,23 +3484,16 @@ static void trace_xe_vm_ops_execute(struct xe_vma_ops *vops)
static int vm_ops_setup_tile_args(struct xe_vm *vm, struct xe_vma_ops *vops)
{
- struct xe_exec_queue *q = vops->q;
struct xe_tile *tile;
int number_tiles = 0;
u8 id;
- for_each_tile(tile, vm->xe, id) {
+ for_each_tile(tile, vm->xe, id)
if (vops->pt_update_ops[id].num_ops)
++number_tiles;
- if (vops->pt_update_ops[id].q)
- continue;
-
- if (q)
- vops->pt_update_ops[id].q = q;
- else
- vops->pt_update_ops[id].q = vm->q;
- }
+ if (!vops->q)
+ vops->q = vm->q;
return number_tiles;
}
@@ -3533,22 +3501,17 @@ static int vm_ops_setup_tile_args(struct xe_vm *vm, struct xe_vma_ops *vops)
static struct dma_fence *ops_execute(struct xe_vm *vm,
struct xe_vma_ops *vops)
{
- struct xe_tile *tile;
+ struct xe_device *xe = vm->xe;
struct dma_fence *fence = NULL;
struct dma_fence **fences = NULL;
struct dma_fence_array *cf = NULL;
- int number_tiles = 0, current_fence = 0, n_fence = 0, err, i;
- u8 id;
+ int current_fence = 0, n_fence = 1, err, i;
- number_tiles = vm_ops_setup_tile_args(vm, vops);
- if (number_tiles == 0)
+ if (!vm_ops_setup_tile_args(vm, vops))
return ERR_PTR(-ENODATA);
- for_each_tile(tile, vm->xe, id)
- ++n_fence;
-
if (!(vops->flags & XE_VMA_OPS_FLAG_SKIP_TLB_WAIT)) {
- for_each_tlb_inval(vops->pt_update_ops[0].q, i)
+ for_each_tlb_inval(vops->q, i)
++n_fence;
}
@@ -3564,69 +3527,39 @@ static struct dma_fence *ops_execute(struct xe_vm *vm,
goto err_out;
}
- for_each_tile(tile, vm->xe, id) {
- if (!vops->pt_update_ops[id].num_ops)
- continue;
-
- err = xe_pt_update_ops_prepare(tile, vops);
- if (err) {
- fence = ERR_PTR(err);
- goto err_out;
- }
+ err = xe_pt_update_ops_prepare(xe, vops);
+ if (err) {
+ fence = ERR_PTR(err);
+ goto err_out;
}
trace_xe_vm_ops_execute(vops);
- for_each_tile(tile, vm->xe, id) {
- struct xe_exec_queue *q = vops->pt_update_ops[tile->id].q;
-
- fence = NULL;
- if (!vops->pt_update_ops[id].num_ops)
- goto collect_fences;
-
- fence = xe_pt_update_ops_run(tile, vops);
- if (IS_ERR(fence))
- goto err_out;
-
-collect_fences:
- fences[current_fence++] = fence ?: dma_fence_get_stub();
- if (vops->flags & XE_VMA_OPS_FLAG_SKIP_TLB_WAIT)
- continue;
-
- xe_migrate_job_lock(tile->migrate, q);
- for_each_tlb_inval(q, i) {
- if (i >= (tile->id + 1) * XE_MAX_GT_PER_TILE ||
- i < tile->id * XE_MAX_GT_PER_TILE)
- continue;
+ fence = xe_pt_update_ops_run(xe, vops);
+ if (IS_ERR(fence))
+ goto err_out;
+ fences[current_fence++] = fence;
- fences[current_fence++] = fence ?
- xe_exec_queue_tlb_inval_last_fence_get(q, vm, i) :
- dma_fence_get_stub();
- }
- xe_migrate_job_unlock(tile->migrate, q);
+ if (!(vops->flags & XE_VMA_OPS_FLAG_SKIP_TLB_WAIT)) {
+ xe_cpu_bind_job_lock(xe->cpu_bind, vops->q);
+ for_each_tlb_inval(vops->q, i)
+ fences[current_fence++] =
+ xe_exec_queue_tlb_inval_last_fence_get(vops->q,
+ vm, i);
+ xe_cpu_bind_job_unlock(xe->cpu_bind, vops->q);
}
- xe_assert(vm->xe, current_fence == n_fence);
+ xe_assert(xe, current_fence == n_fence);
dma_fence_array_init(cf, n_fence, fences, dma_fence_context_alloc(1),
1);
fence = &cf->base;
- for_each_tile(tile, vm->xe, id) {
- if (!vops->pt_update_ops[id].num_ops)
- continue;
-
- xe_pt_update_ops_fini(tile, vops);
- }
+ xe_pt_update_ops_fini(xe, vops);
return fence;
err_out:
- for_each_tile(tile, vm->xe, id) {
- if (!vops->pt_update_ops[id].num_ops)
- continue;
-
- xe_pt_update_ops_abort(tile, vops);
- }
+ xe_pt_update_ops_abort(xe, vops);
while (current_fence)
dma_fence_put(fences[--current_fence]);
kfree(fences);
@@ -3938,6 +3871,8 @@ static void xe_vma_ops_init(struct xe_vma_ops *vops, struct xe_vm *vm,
vops->syncs = syncs;
vops->num_syncs = num_syncs;
vops->flags = 0;
+ vops->start = ~0x0ull;
+ vops->last = 0x0ull;
}
static int xe_vm_bind_ioctl_validate_bo(struct xe_device *xe, struct xe_bo *bo,
diff --git a/drivers/gpu/drm/xe/xe_vm_types.h b/drivers/gpu/drm/xe/xe_vm_types.h
index c91cb13fc4f1..fb9305124679 100644
--- a/drivers/gpu/drm/xe/xe_vm_types.h
+++ b/drivers/gpu/drm/xe/xe_vm_types.h
@@ -317,7 +317,7 @@ struct xe_vm {
* @rftree: range fence tree to track updates to page table structure.
* Used to implement conflict tracking between independent bind engines.
*/
- struct xe_range_fence_tree rftree[XE_MAX_TILES_PER_DEVICE];
+ struct xe_range_fence_tree rftree;
const struct xe_pt_ops *pt_ops;
@@ -557,6 +557,10 @@ struct xe_vma_ops {
u32 num_syncs;
/** @pt_update_ops: page table update operations */
struct xe_vm_pgtable_update_ops pt_update_ops[XE_MAX_TILES_PER_DEVICE];
+ /** @start: start address of ops */
+ u64 start;
+ /** @last: last address of ops */
+ u64 last;
/** @flag: signify the properties within xe_vma_ops*/
#define XE_VMA_OPS_FLAG_HAS_SVM_PREFETCH BIT(0)
#define XE_VMA_OPS_FLAG_MADVISE BIT(1)
@@ -566,6 +570,10 @@ struct xe_vma_ops {
#define XE_VMA_OPS_FLAG_MODIFIES_GPUVA BIT(5)
#define XE_VMA_OPS_FLAG_DOWNGRADE_LOCK BIT(6)
#define XE_VMA_OPS_FLAG_HAS_SVM_VALID_RANGE BIT(7)
+#define XE_VMA_OPS_FLAG_WAIT_VM_BOOKKEEP BIT(8)
+#define XE_VMA_OPS_FLAG_WAIT_VM_KERNEL BIT(9)
+#define XE_VMA_OPS_FLAG_NEEDS_INVALIDATION BIT(10)
+#define XE_VMA_OPS_FLAG_NEEDS_SVM_LOCK BIT(11)
u32 flags;
#ifdef TEST_VM_OPS_ERROR
/** @inject_error: inject error to test error handling */
--
2.34.1
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [PATCH v5 17/25] drm/xe: Add device flag to enable PT mirroring across tiles
2026-09-04 2:21 [PATCH v5 00/25] CPU binds and ULLS on migration queue Matthew Brost
` (15 preceding siblings ...)
2026-09-04 2:21 ` [PATCH v5 16/25] drm/xe: Add CPU bind layer Matthew Brost
@ 2026-09-04 2:21 ` Matthew Brost
2026-09-04 2:43 ` sashiko-bot
2026-09-04 2:22 ` [PATCH v5 18/25] drm/xe: Add xe_hw_engine_write_ring_tail Matthew Brost
` (11 subsequent siblings)
28 siblings, 1 reply; 41+ messages in thread
From: Matthew Brost @ 2026-09-04 2:21 UTC (permalink / raw)
To: intel-xe
Some multi-tile devices may want to mirror page tables across tiles for
memory-bandwidth reasons, while others may not. Add a device flag that
allows enabling or disabling page-table mirroring across tiles.
Setting the flag to true (the existing behavior) on PVC, but both modes
have been tested and are working on PVC.
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patch.msgid.link/20260228013501.106680-18-matthew.brost@intel.com
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
---
drivers/gpu/drm/xe/xe_device_types.h | 2 ++
drivers/gpu/drm/xe/xe_migrate.c | 5 ++--
drivers/gpu/drm/xe/xe_pci.c | 2 ++
drivers/gpu/drm/xe/xe_pci_types.h | 3 ++-
drivers/gpu/drm/xe/xe_pt.c | 39 ++++++++++++++++++++++++++--
drivers/gpu/drm/xe/xe_vm.c | 37 +++++++++++++++++++++++---
drivers/gpu/drm/xe/xe_vm.h | 3 +++
7 files changed, 82 insertions(+), 9 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_device_types.h b/drivers/gpu/drm/xe/xe_device_types.h
index bc60833c39a7..997ac82fd571 100644
--- a/drivers/gpu/drm/xe/xe_device_types.h
+++ b/drivers/gpu/drm/xe/xe_device_types.h
@@ -224,6 +224,8 @@ struct xe_device {
u8 has_usm:1;
/** @info.has_64bit_timestamp: Device supports 64-bit timestamps */
u8 has_64bit_timestamp:1;
+ /** @info.has_pt_mirror: Device has PT mirroring across tiles */
+ u8 has_pt_mirror:1;
/** @info.is_dgfx: is discrete device */
u8 is_dgfx:1;
/** @info.needs_scratch: needs scratch page for oob prefetch to work */
diff --git a/drivers/gpu/drm/xe/xe_migrate.c b/drivers/gpu/drm/xe/xe_migrate.c
index f7e1a81434b2..471ae5741836 100644
--- a/drivers/gpu/drm/xe/xe_migrate.c
+++ b/drivers/gpu/drm/xe/xe_migrate.c
@@ -246,7 +246,8 @@ static void xe_migrate_prepare_vm(struct xe_tile *tile, struct xe_migrate *m,
struct xe_device *xe = tile_to_xe(tile);
u16 pat_index = xe_cache_pat_idx(xe, XE_CACHE_WB);
u8 id = tile->id;
- u32 num_entries = NUM_PT_SLOTS, num_level = vm->pt_root[id]->level;
+ u32 num_entries = NUM_PT_SLOTS, num_level =
+ xe_vm_pt_root(vm, id)->level;
#define VRAM_IDENTITY_MAP_PT_COUNT 4
u32 num_setup = num_level + VRAM_IDENTITY_MAP_PT_COUNT;
#undef VRAM_IDENTITY_MAP_PT_COUNT
@@ -258,7 +259,7 @@ static void xe_migrate_prepare_vm(struct xe_tile *tile, struct xe_migrate *m,
u64 l1_pt_ofs = xe_bo_size(bo) - 5 * XE_PAGE_SIZE;
entry = vm->pt_ops->pde_encode_bo(bo, l1_pt_ofs);
- xe_pt_write(xe, &vm->pt_root[id]->bo->vmap, 0, entry);
+ xe_pt_write(xe, &xe_vm_pt_root(vm, id)->bo->vmap, 0, entry);
map_ofs = (num_entries - num_setup) * XE_PAGE_SIZE;
diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
index ab4da1d9a9f1..d9030cb4f1ad 100644
--- a/drivers/gpu/drm/xe/xe_pci.c
+++ b/drivers/gpu/drm/xe/xe_pci.c
@@ -371,6 +371,7 @@ static const __maybe_unused struct xe_device_desc pvc_desc = {
.has_display = false,
.has_drm_ras = true,
.has_gsc_nvm = 1,
+ .has_pt_mirror = 1,
.has_heci_gscfi = 1,
.max_gt_per_tile = 1,
.max_remote_tiles = 1,
@@ -808,6 +809,7 @@ static int xe_info_init_early(struct xe_device *xe,
xe->info.has_mert = desc->has_mert;
xe->info.has_page_reclaim_hw_assist = desc->has_page_reclaim_hw_assist;
xe->info.has_pre_prod_wa = desc->has_pre_prod_wa;
+ xe->info.has_pt_mirror = desc->has_pt_mirror;
xe->info.has_pxp = desc->has_pxp;
xe->info.has_soc_remapper_sysctrl = desc->has_soc_remapper_sysctrl;
xe->info.has_soc_remapper_telem = desc->has_soc_remapper_telem;
diff --git a/drivers/gpu/drm/xe/xe_pci_types.h b/drivers/gpu/drm/xe/xe_pci_types.h
index fed509ff601e..71068cdb3558 100644
--- a/drivers/gpu/drm/xe/xe_pci_types.h
+++ b/drivers/gpu/drm/xe/xe_pci_types.h
@@ -52,8 +52,9 @@ struct xe_device_desc {
u8 has_mbx_power_limits:1;
u8 has_mbx_thermal_info:1;
u8 has_mert:1;
- u8 has_pre_prod_wa:1;
u8 has_page_reclaim_hw_assist:1;
+ u8 has_pre_prod_wa:1;
+ u8 has_pt_mirror:1;
u8 has_pxp:1;
u8 has_soc_remapper_sysctrl:1;
u8 has_soc_remapper_telem:1;
diff --git a/drivers/gpu/drm/xe/xe_pt.c b/drivers/gpu/drm/xe/xe_pt.c
index 05bbac6c2632..bf2cdef44179 100644
--- a/drivers/gpu/drm/xe/xe_pt.c
+++ b/drivers/gpu/drm/xe/xe_pt.c
@@ -812,7 +812,7 @@ xe_pt_stage_bind(struct xe_tile *tile, struct xe_vma *vma,
.wupd.entries = entries,
.clear_pt = clear_pt,
};
- struct xe_pt *pt = vm->pt_root[tile->id];
+ struct xe_pt *pt = xe_vm_pt_root(vm, tile->id);
int ret;
bool is_purged = false;
@@ -1005,6 +1005,11 @@ static int xe_pt_zap_ptes_entry(struct xe_ptw *parent, pgoff_t offset,
return 0;
}
+static bool pt_mirroring_disabled_for_tile(struct xe_vm *vm, u8 tile_id)
+{
+ return xe_vm_pt_root(vm, tile_id) != vm->pt_root[tile_id];
+}
+
static const struct xe_pt_walk_ops xe_pt_zap_ptes_ops = {
.pt_entry = xe_pt_zap_ptes_entry,
};
@@ -1046,6 +1051,9 @@ bool xe_pt_zap_ptes(struct xe_tile *tile, struct xe_vma *vma)
if (!(pt_mask & BIT(tile->id)))
return false;
+ if (pt_mirroring_disabled_for_tile(xe_vma_vm(vma), tile->id))
+ return true;
+
(void)xe_pt_walk_shared(&pt->base, pt->level, xe_vma_start(vma),
xe_vma_end(vma), &xe_walk.base);
@@ -1098,6 +1106,9 @@ bool xe_pt_zap_ptes_range(struct xe_tile *tile, struct xe_vm *vm,
if (!(pt_mask & BIT(tile->id)))
return false;
+ if (pt_mirroring_disabled_for_tile(vm, tile->id))
+ return true;
+
(void)xe_pt_walk_shared(&pt->base, pt->level, xe_svm_range_start(range),
xe_svm_range_end(range), &xe_walk.base);
@@ -1988,7 +1999,7 @@ static unsigned int xe_pt_stage_unbind(struct xe_tile *tile,
.wupd.entries = entries,
.prl = pt_update_op->prl,
};
- struct xe_pt *pt = vm->pt_root[tile->id];
+ struct xe_pt *pt = xe_vm_pt_root(vm, tile->id);
(void)xe_pt_walk_shared(&pt->base, pt->level, start, end,
&xe_walk.base);
@@ -2541,9 +2552,21 @@ int xe_pt_update_ops_prepare(struct xe_device *xe, struct xe_vma_ops *vops)
int id, err;
for_each_tile(tile, xe, id) {
+ struct xe_vm_pgtable_update_ops *pt_update_ops =
+ &vops->pt_update_ops[id];
+
if (!vops->pt_update_ops[id].num_ops)
continue;
+ if (pt_mirroring_disabled_for_tile(vops->vm, id)) {
+ struct xe_page_reclaim_list *prl = &pt_update_ops->prl;
+
+ /* Transfer root PT update ops PRL to current */
+ *prl = vops->pt_update_ops[0].prl;
+ xe_page_reclaim_entries_get(prl->entries);
+ continue;
+ }
+
err = __xe_pt_update_ops_prepare(tile, vops);
if (err)
return err;
@@ -2835,6 +2858,12 @@ xe_pt_update_ops_run(struct xe_device *xe, struct xe_vma_ops *vops)
struct xe_vm_pgtable_update_ops *pt_update_ops =
&vops->pt_update_ops[j];
+ if (pt_mirroring_disabled_for_tile(vm, j)) {
+ xe_tile_assert(tile, !get_current_op(pt_update_ops));
+ tile_mask |= BIT(tile->id);
+ continue;
+ }
+
for (i = 0; i < get_current_op(pt_update_ops); ++i) {
struct xe_vm_pgtable_update_op *pt_op =
to_pt_op(pt_update_ops, i);
@@ -2924,6 +2953,9 @@ void xe_pt_update_ops_fini(struct xe_device *xe, struct xe_vma_ops *vops)
if (!pt_update_ops->num_ops)
continue;
+ if (pt_mirroring_disabled_for_tile(vops->vm, id))
+ continue;
+
xe_page_reclaim_entries_put(pt_update_ops->prl.entries);
}
}
@@ -2948,6 +2980,9 @@ void xe_pt_update_ops_abort(struct xe_device *xe, struct xe_vma_ops *vops)
&vops->pt_update_ops[id];
int i;
+ if (pt_mirroring_disabled_for_tile(vops->vm, id))
+ continue;
+
for (i = pt_update_ops->num_ops - 1; i >= 0; --i) {
struct xe_vm_pgtable_update_op *pt_op =
to_pt_op(pt_update_ops, i);
diff --git a/drivers/gpu/drm/xe/xe_vm.c b/drivers/gpu/drm/xe/xe_vm.c
index fbfc42afef8b..795d0ebb1004 100644
--- a/drivers/gpu/drm/xe/xe_vm.c
+++ b/drivers/gpu/drm/xe/xe_vm.c
@@ -845,6 +845,14 @@ int xe_vm_rebind(struct xe_vm *vm, bool rebind_worker)
return err;
}
+static u8 adjust_rebind_tile_mask(struct xe_vm *vm, u8 tile_mask)
+{
+ if (vm->xe->info.has_pt_mirror)
+ return tile_mask;
+
+ return (0x1 << vm->xe->info.tile_count) - 1;
+}
+
struct dma_fence *xe_vma_rebind(struct xe_vm *vm, struct xe_vma *vma, u8 tile_mask)
{
struct dma_fence *fence = NULL;
@@ -861,7 +869,8 @@ struct dma_fence *xe_vma_rebind(struct xe_vm *vm, struct xe_vma *vma, u8 tile_ma
vops.flags |= XE_VMA_OPS_FLAG_SKIP_TLB_WAIT |
XE_VMA_OPS_FLAG_WAIT_VM_BOOKKEEP;
- err = xe_vm_ops_add_rebind(&vops, vma, tile_mask);
+ err = xe_vm_ops_add_rebind(&vops, vma,
+ adjust_rebind_tile_mask(vm, tile_mask));
if (err)
return ERR_PTR(err);
@@ -948,7 +957,8 @@ struct dma_fence *xe_vm_range_rebind(struct xe_vm *vm,
vops.flags |= XE_VMA_OPS_FLAG_SKIP_TLB_WAIT |
XE_VMA_OPS_FLAG_WAIT_VM_BOOKKEEP;
- err = xe_vm_ops_add_range_rebind(&vops, vma, range, tile_mask);
+ err = xe_vm_ops_add_range_rebind(&vops, vma, range,
+ adjust_rebind_tile_mask(vm, tile_mask));
if (err)
return ERR_PTR(err);
@@ -1738,7 +1748,8 @@ struct xe_vm *xe_vm_create(struct xe_device *xe, u32 flags, struct xe_file *xef)
for_each_tile(tile, xe, id) {
if (flags & XE_VM_FLAG_MIGRATION &&
- tile->id != XE_VM_FLAG_TILE_ID(flags))
+ tile->id != XE_VM_FLAG_TILE_ID(flags) &&
+ (vm->xe->info.has_pt_mirror || id))
continue;
vm->pt_root[id] = xe_pt_create(vm, tile, xe->info.vm_max_level,
@@ -2047,7 +2058,7 @@ struct xe_vm *xe_vm_lookup(struct xe_file *xef, u32 id)
u64 xe_vm_pdp4_descriptor(struct xe_vm *vm, struct xe_tile *tile)
{
- return vm->pt_ops->pde_encode_bo(vm->pt_root[tile->id]->bo, 0);
+ return vm->pt_ops->pde_encode_bo(xe_vm_pt_root(vm, tile->id)->bo, 0);
}
static struct xe_exec_queue *
@@ -5072,3 +5083,21 @@ void xe_vm_remove_exec_queue(struct xe_vm *vm, struct xe_exec_queue *q)
}
up_write(&vm->exec_queues.lock);
}
+
+/**
+ * xe_vm_pt_root() - Retrieve VM page-table root
+ * @vm: The VM.
+ * @tile_id: Tile ID
+ *
+ * Retrieve VM page-table root for a tile ID, used to abstract if PT mirroring is
+ * enabled across tiles.
+ *
+ * Return: VM page-table root for a tile ID
+ */
+struct xe_pt *xe_vm_pt_root(struct xe_vm *vm, u8 tile_id)
+{
+ if (vm->xe->info.has_pt_mirror)
+ return vm->pt_root[tile_id];
+
+ return vm->pt_root[0];
+}
diff --git a/drivers/gpu/drm/xe/xe_vm.h b/drivers/gpu/drm/xe/xe_vm.h
index c5b900f38ded..89c4f95984a2 100644
--- a/drivers/gpu/drm/xe/xe_vm.h
+++ b/drivers/gpu/drm/xe/xe_vm.h
@@ -436,4 +436,7 @@ static inline struct drm_exec *xe_vm_validation_exec(struct xe_vm *vm)
((READ_ONCE(tile_present) & ~READ_ONCE(tile_invalidated)) & BIT((tile)->id))
void xe_vma_mem_attr_copy(struct xe_vma_mem_attr *to, struct xe_vma_mem_attr *from);
+
+struct xe_pt *xe_vm_pt_root(struct xe_vm *vm, u8 tile_id);
+
#endif
--
2.34.1
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [PATCH v5 18/25] drm/xe: Add xe_hw_engine_write_ring_tail
2026-09-04 2:21 [PATCH v5 00/25] CPU binds and ULLS on migration queue Matthew Brost
` (16 preceding siblings ...)
2026-09-04 2:21 ` [PATCH v5 17/25] drm/xe: Add device flag to enable PT mirroring across tiles Matthew Brost
@ 2026-09-04 2:22 ` Matthew Brost
2026-09-04 2:22 ` [PATCH v5 19/25] drm/xe: Add ULLS support to LRC Matthew Brost
` (10 subsequent siblings)
28 siblings, 0 replies; 41+ messages in thread
From: Matthew Brost @ 2026-09-04 2:22 UTC (permalink / raw)
To: intel-xe
ULLS for migration jobs need to directly set hw engine ring tail, add
function to support this.
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patch.msgid.link/20260228013501.106680-19-matthew.brost@intel.com
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
---
drivers/gpu/drm/xe/xe_hw_engine.c | 20 ++++++++++++++++++++
drivers/gpu/drm/xe/xe_hw_engine.h | 1 +
2 files changed, 21 insertions(+)
diff --git a/drivers/gpu/drm/xe/xe_hw_engine.c b/drivers/gpu/drm/xe/xe_hw_engine.c
index 010499766fce..635744f79be6 100644
--- a/drivers/gpu/drm/xe/xe_hw_engine.c
+++ b/drivers/gpu/drm/xe/xe_hw_engine.c
@@ -282,6 +282,26 @@ static void hw_engine_fini(void *arg)
hwe->gt = NULL;
}
+static void xe_hw_engine_mmio_write32(struct xe_hw_engine *hwe, struct xe_reg reg, u32 val)
+{
+ xe_gt_assert(hwe->gt, !(reg.addr & hwe->mmio_base));
+ xe_force_wake_assert_held(gt_to_fw(hwe->gt), hwe->domain);
+
+ reg.addr += hwe->mmio_base;
+
+ xe_mmio_write32(&hwe->gt->mmio, reg, val);
+}
+
+/**
+ * xe_hw_engine_write_ring_tail() - Write ring tail
+ * @hwe: engine
+ * @val: desired 32-bit value to write
+ */
+void xe_hw_engine_write_ring_tail(struct xe_hw_engine *hwe, u32 val)
+{
+ xe_hw_engine_mmio_write32(hwe, RING_TAIL(0), val);
+}
+
/**
* xe_hw_engine_mmio_read32() - Read engine register
* @hwe: engine
diff --git a/drivers/gpu/drm/xe/xe_hw_engine.h b/drivers/gpu/drm/xe/xe_hw_engine.h
index c3ee37f8cfc0..e13610a56ad7 100644
--- a/drivers/gpu/drm/xe/xe_hw_engine.h
+++ b/drivers/gpu/drm/xe/xe_hw_engine.h
@@ -77,5 +77,6 @@ u64 xe_hw_engine_read_timestamp(struct xe_hw_engine *hwe);
enum xe_force_wake_domains xe_hw_engine_to_fw_domain(struct xe_hw_engine *hwe);
u32 xe_hw_engine_mmio_read32(struct xe_hw_engine *hwe, struct xe_reg reg);
+void xe_hw_engine_write_ring_tail(struct xe_hw_engine *hwe, u32 val);
#endif
--
2.34.1
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [PATCH v5 19/25] drm/xe: Add ULLS support to LRC
2026-09-04 2:21 [PATCH v5 00/25] CPU binds and ULLS on migration queue Matthew Brost
` (17 preceding siblings ...)
2026-09-04 2:22 ` [PATCH v5 18/25] drm/xe: Add xe_hw_engine_write_ring_tail Matthew Brost
@ 2026-09-04 2:22 ` Matthew Brost
2026-09-04 2:22 ` [PATCH v5 20/25] drm/xe: Add ULLS migration job support to migration layer Matthew Brost
` (9 subsequent siblings)
28 siblings, 0 replies; 41+ messages in thread
From: Matthew Brost @ 2026-09-04 2:22 UTC (permalink / raw)
To: intel-xe
Define memory layout for ULLS semaphores stored in LRC memory. Add
support functions to return GGTT address and set semaphore based on a
job's seqno.
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patch.msgid.link/20260228013501.106680-20-matthew.brost@intel.com
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
---
drivers/gpu/drm/xe/xe_lrc.c | 51 +++++++++++++++++++++++++++++++
drivers/gpu/drm/xe/xe_lrc.h | 3 ++
drivers/gpu/drm/xe/xe_lrc_types.h | 4 +++
3 files changed, 58 insertions(+)
diff --git a/drivers/gpu/drm/xe/xe_lrc.c b/drivers/gpu/drm/xe/xe_lrc.c
index 25fe9dbc9141..a1a256a3932f 100644
--- a/drivers/gpu/drm/xe/xe_lrc.c
+++ b/drivers/gpu/drm/xe/xe_lrc.c
@@ -706,6 +706,7 @@ u32 xe_lrc_pphwsp_offset(struct xe_lrc *lrc)
#define LRC_CTX_JOB_TIMESTAMP_OFFSET 512
#define LRC_ENGINE_ID_PPHWSP_OFFSET 1024
#define LRC_PARALLEL_PPHWSP_OFFSET 2048
+#define LRC_ULLS_PPHWSP_OFFSET 2048 /* Mutually exclusive with parallel */
#define LRC_SEQNO_OFFSET 0
#define LRC_START_SEQNO_OFFSET (LRC_SEQNO_OFFSET + 8)
@@ -768,6 +769,12 @@ static inline u32 __xe_lrc_engine_id_offset(struct xe_lrc *lrc)
return xe_lrc_pphwsp_offset(lrc) + LRC_ENGINE_ID_PPHWSP_OFFSET;
}
+static u32 __xe_lrc_ulls_offset(struct xe_lrc *lrc)
+{
+ /* The ulls is stored in the driver-defined portion of PPHWSP */
+ return xe_lrc_pphwsp_offset(lrc) + LRC_ULLS_PPHWSP_OFFSET;
+}
+
static u32 __xe_lrc_ctx_timestamp_offset(struct xe_lrc *lrc)
{
return __xe_lrc_regs_offset(lrc) + CTX_TIMESTAMP * sizeof(u32);
@@ -835,6 +842,7 @@ DECL_MAP_ADDR_HELPERS(ctx_job_timestamp, lrc->bo)
DECL_MAP_ADDR_HELPERS(ctx_timestamp, lrc->bo)
DECL_MAP_ADDR_HELPERS(ctx_timestamp_udw, lrc->bo)
DECL_MAP_ADDR_HELPERS(parallel, lrc->bo)
+DECL_MAP_ADDR_HELPERS(ulls, lrc->bo)
DECL_MAP_ADDR_HELPERS(indirect_ring, lrc->bo)
DECL_MAP_ADDR_HELPERS(engine_id, lrc->bo)
DECL_MAP_ADDR_HELPERS(queue_timestamp, lrc->bo)
@@ -1984,6 +1992,49 @@ static u32 xe_lrc_engine_id(struct xe_lrc *lrc)
return xe_map_read32(xe, &map);
}
+#define semaphore_offset(seqno) \
+ (sizeof(u32) * ((seqno) % LRC_MIGRATION_ULLS_SEMAPHORE_COUNT))
+
+/**
+ * xe_lrc_ulls_semaphore_ggtt_addr() - ULLS semaphore GGTT address
+ * @lrc: Pointer to the lrc.
+ * @seqno: seqno of current job.
+ *
+ * Calculate ULLS semaphore GGTT address based on input seqno
+ *
+ * Returns: ULLS semaphore GGTT address
+ */
+u32 xe_lrc_ulls_semaphore_ggtt_addr(struct xe_lrc *lrc, u32 seqno)
+{
+ xe_assert(lrc_to_xe(lrc), semaphore_offset(seqno) <
+ LRC_PPHWSP_SIZE - LRC_ULLS_PPHWSP_OFFSET);
+
+ return __xe_lrc_ulls_ggtt_addr(lrc) + semaphore_offset(seqno);
+}
+
+/**
+ * xe_lrc_set_ulls_semaphore() - Set ULLS semaphore
+ * @lrc: Pointer to the lrc.
+ * @seqno: seqno of current job.
+ *
+ * Set ULLS semaphore based on input seqno
+ */
+void xe_lrc_set_ulls_semaphore(struct xe_lrc *lrc, u32 seqno)
+{
+ struct xe_device *xe = lrc_to_xe(lrc);
+ struct iosys_map map = __xe_lrc_ulls_map(lrc);
+
+ xe_assert(xe, semaphore_offset(seqno) <
+ LRC_PPHWSP_SIZE - LRC_ULLS_PPHWSP_OFFSET);
+
+ xe_device_wmb(xe); /* Ensure everything before in code is ordered */
+
+ iosys_map_incr(&map, semaphore_offset(seqno));
+ xe_map_write32(xe, &map, LRC_MIGRATION_ULLS_SEMAPHORE_SIGNAL);
+
+ xe_device_wmb(xe); /* Flush write to hardware */
+}
+
static int instr_dw(u32 cmd_header)
{
/* GFXPIPE "SINGLE_DW" opcodes are a single dword */
diff --git a/drivers/gpu/drm/xe/xe_lrc.h b/drivers/gpu/drm/xe/xe_lrc.h
index 7be5e3da8bc8..c13e03807c2d 100644
--- a/drivers/gpu/drm/xe/xe_lrc.h
+++ b/drivers/gpu/drm/xe/xe_lrc.h
@@ -127,6 +127,9 @@ void xe_default_lrc_update_memirq_regs_with_address(struct xe_hw_engine *hwe);
void xe_lrc_update_memirq_regs_with_address(struct xe_lrc *lrc, struct xe_hw_engine *hwe,
u32 *regs);
+u32 xe_lrc_ulls_semaphore_ggtt_addr(struct xe_lrc *lrc, u32 seqno);
+void xe_lrc_set_ulls_semaphore(struct xe_lrc *lrc, u32 seqno);
+
u32 xe_lrc_read_ctx_reg(struct xe_lrc *lrc, int reg_nr);
void xe_lrc_write_ctx_reg(struct xe_lrc *lrc, int reg_nr, u32 val);
diff --git a/drivers/gpu/drm/xe/xe_lrc_types.h b/drivers/gpu/drm/xe/xe_lrc_types.h
index 53ef48feebfc..b18daf1092e6 100644
--- a/drivers/gpu/drm/xe/xe_lrc_types.h
+++ b/drivers/gpu/drm/xe/xe_lrc_types.h
@@ -12,6 +12,10 @@
struct xe_bo;
+#define LRC_MIGRATION_ULLS_SEMAPHORE_COUNT 64 /* Must be pow2 */
+#define LRC_MIGRATION_ULLS_SEMAPHORE_CLEAR 0
+#define LRC_MIGRATION_ULLS_SEMAPHORE_SIGNAL 1
+
/**
* struct xe_lrc - Logical ring context (LRC) and submission ring object
*/
--
2.34.1
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [PATCH v5 20/25] drm/xe: Add ULLS migration job support to migration layer
2026-09-04 2:21 [PATCH v5 00/25] CPU binds and ULLS on migration queue Matthew Brost
` (18 preceding siblings ...)
2026-09-04 2:22 ` [PATCH v5 19/25] drm/xe: Add ULLS support to LRC Matthew Brost
@ 2026-09-04 2:22 ` Matthew Brost
2026-09-04 2:44 ` sashiko-bot
2026-09-04 2:22 ` [PATCH v5 21/25] drm/xe: Add ULLS migration job support to ring ops Matthew Brost
` (8 subsequent siblings)
28 siblings, 1 reply; 41+ messages in thread
From: Matthew Brost @ 2026-09-04 2:22 UTC (permalink / raw)
To: intel-xe
Add function to enter ULLS mode for migration job and delayed worker to
exit (power saving). ULLS mode expected to entered upon page fault or
SVM prefetch. ULLS mode exit delay is currently set to 5ms.
ULLS mode only support on DGFX and USM platforms where a hardware engine
is reserved for migrations jobs. When in ULLS mode, set several flags on
migration jobs so submission backend / ring ops can properly submit in
ULLS mode.
Upon ULLS mode enter, send a job trigger waiting a semphore pipling
initial GuC / HW conetxt switch.
Upon ULLS mode exit, send a job to trigger that current ULLS
semaphore so the ring can be taken off the hardware.
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patch.msgid.link/20260228013501.106680-21-matthew.brost@intel.com
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
---
drivers/gpu/drm/xe/xe_exec_queue.c | 5 +-
drivers/gpu/drm/xe/xe_exec_queue.h | 2 +-
drivers/gpu/drm/xe/xe_migrate.c | 180 ++++++++++++++++++++++++
drivers/gpu/drm/xe/xe_migrate.h | 2 +
drivers/gpu/drm/xe/xe_pt.c | 2 +-
drivers/gpu/drm/xe/xe_sched_job_types.h | 6 +
drivers/gpu/drm/xe/xe_vm.c | 2 +-
7 files changed, 194 insertions(+), 5 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_exec_queue.c b/drivers/gpu/drm/xe/xe_exec_queue.c
index 284af05e284a..ebbd0f1122ad 100644
--- a/drivers/gpu/drm/xe/xe_exec_queue.c
+++ b/drivers/gpu/drm/xe/xe_exec_queue.c
@@ -1482,6 +1482,7 @@ bool xe_exec_queue_is_lr(struct xe_exec_queue *q)
/**
* xe_exec_queue_is_idle() - Whether an exec_queue is idle.
* @q: The exec_queue
+ * @extra_jobs: Extra jobs on the queue
*
* FIXME: Need to determine what to use as the short-lived
* timeline lock for the exec_queues, so that the return value
@@ -1493,9 +1494,9 @@ bool xe_exec_queue_is_lr(struct xe_exec_queue *q)
*
* Return: True if the exec_queue is idle, false otherwise.
*/
-bool xe_exec_queue_is_idle(struct xe_exec_queue *q)
+bool xe_exec_queue_is_idle(struct xe_exec_queue *q, int extra_jobs)
{
- return !atomic_read(&q->job_cnt);
+ return !(atomic_read(&q->job_cnt) - extra_jobs);
}
/**
diff --git a/drivers/gpu/drm/xe/xe_exec_queue.h b/drivers/gpu/drm/xe/xe_exec_queue.h
index b02a390ba989..e8963f85cabd 100644
--- a/drivers/gpu/drm/xe/xe_exec_queue.h
+++ b/drivers/gpu/drm/xe/xe_exec_queue.h
@@ -116,7 +116,7 @@ static inline struct xe_exec_queue *xe_exec_queue_multi_queue_primary(struct xe_
bool xe_exec_queue_is_lr(struct xe_exec_queue *q);
-bool xe_exec_queue_is_idle(struct xe_exec_queue *q);
+bool xe_exec_queue_is_idle(struct xe_exec_queue *q, int extra_jobs);
void xe_exec_queue_kill(struct xe_exec_queue *q);
diff --git a/drivers/gpu/drm/xe/xe_migrate.c b/drivers/gpu/drm/xe/xe_migrate.c
index 471ae5741836..588e1c9085f3 100644
--- a/drivers/gpu/drm/xe/xe_migrate.c
+++ b/drivers/gpu/drm/xe/xe_migrate.c
@@ -8,6 +8,7 @@
#include <linux/bitfield.h>
#include <linux/sizes.h>
+#include <drm/drm_drv.h>
#include <drm/drm_managed.h>
#include <drm/drm_pagemap.h>
#include <drm/ttm/ttm_tt.h>
@@ -23,6 +24,7 @@
#include "xe_bb.h"
#include "xe_bo.h"
#include "xe_exec_queue.h"
+#include "xe_force_wake.h"
#include "xe_ggtt.h"
#include "xe_gt.h"
#include "xe_gt_printk.h"
@@ -32,6 +34,7 @@
#include "xe_mem_pool.h"
#include "xe_mocs.h"
#include "xe_pat.h"
+#include "xe_pm.h"
#include "xe_printk.h"
#include "xe_pt.h"
#include "xe_res_cursor.h"
@@ -77,6 +80,14 @@ struct xe_migrate {
struct dma_fence *fence;
/** @min_chunk_size: For dgfx, Minimum chunk size */
u64 min_chunk_size;
+ /** @ulls: ULLS support */
+ struct {
+ /** @ulls.enabled: ULLS is enabled */
+ bool enabled;
+#define ULLS_EXIT_JIFFIES (HZ / 200) /* 5ms */
+ /** @ulls.exit_work: ULLS exit worker */
+ struct delayed_work exit_work;
+ } ulls;
};
#define MAX_PREEMPTDISABLE_TRANSFER SZ_8M /* Around 1ms. */
@@ -98,6 +109,16 @@ struct xe_migrate {
static void xe_migrate_fini(void *arg)
{
struct xe_migrate *m = arg;
+ struct xe_device *xe = tile_to_xe(m->tile);
+
+ disable_delayed_work_sync(&m->ulls.exit_work);
+ mutex_lock(&m->job_mutex);
+ if (m->ulls.enabled) {
+ xe_force_wake_put(gt_to_fw(m->q->hwe->gt), m->q->hwe->domain);
+ xe_pm_runtime_put(xe);
+ m->ulls.enabled = false;
+ }
+ mutex_unlock(&m->job_mutex);
xe_vm_lock(m->q->vm, false);
xe_bo_unpin(m->pt_bo);
@@ -448,6 +469,140 @@ static int xe_migrate_lock_prepare_vm(struct xe_tile *tile, struct xe_migrate *m
return err;
}
+/**
+ * xe_migrate_ulls_enter() - Enter ULLS mode
+ * @m: The migration context.
+ *
+ * If DGFX and not a VF, enter ULLS mode bypassing GuC / HW context
+ * switches by utilizing semaphore and continuously running batches.
+ */
+void xe_migrate_ulls_enter(struct xe_migrate *m)
+{
+ struct xe_device *xe = tile_to_xe(m->tile);
+ struct xe_sched_job *job = NULL;
+ u64 batch_addr[2] = { 0, 0 };
+ bool alloc = false;
+
+ xe_assert(xe, xe->info.has_usm);
+
+ if (!IS_DGFX(xe) || IS_SRIOV_VF(xe))
+ return;
+
+job_alloc:
+ if (alloc) {
+ /*
+ * Must be done outside job_mutex as that lock is tainted with
+ * reclaim.
+ */
+ job = xe_sched_job_create(m->q, batch_addr);
+ if (WARN_ON_ONCE(IS_ERR(job)))
+ return; /* Not fatal */
+ }
+
+ mutex_lock(&m->job_mutex);
+ if (!m->ulls.enabled) {
+ unsigned int fw_ref;
+
+ if (!job) {
+ alloc = true;
+ mutex_unlock(&m->job_mutex);
+ goto job_alloc;
+ }
+
+ /* Pairs with FW put on ULLS exit */
+ fw_ref = xe_force_wake_get(gt_to_fw(m->q->hwe->gt),
+ m->q->hwe->domain);
+ if (fw_ref) {
+ struct xe_device *xe = tile_to_xe(m->tile);
+ struct dma_fence *fence;
+
+ /* Pairs with PM put on ULLS exit */
+ xe_pm_runtime_get_noresume(xe);
+
+ xe_sched_job_get(job);
+ xe_sched_job_arm(job);
+ job->is_ulls = true;
+ job->is_ulls_first = true;
+ fence = dma_fence_get(&job->drm.s_fence->finished);
+ xe_sched_job_push(job);
+
+ dma_fence_put(fence);
+
+ xe_dbg(xe, "Migrate ULLS mode enter");
+ m->ulls.enabled = true;
+ }
+ }
+ if (job)
+ xe_sched_job_put(job);
+ if (m->ulls.enabled)
+ mod_delayed_work(system_percpu_wq, &m->ulls.exit_work,
+ ULLS_EXIT_JIFFIES);
+ mutex_unlock(&m->job_mutex);
+}
+
+static void xe_migrate_ulls_exit(struct work_struct *work)
+{
+ struct xe_migrate *m = container_of(work, struct xe_migrate,
+ ulls.exit_work.work);
+ struct xe_device *xe = tile_to_xe(m->tile);
+ struct xe_sched_job *job = NULL;
+ struct dma_fence *fence;
+ u64 batch_addr[2] = { 0, 0 };
+ int idx;
+
+ xe_assert(xe, m->ulls.enabled);
+
+ if (!drm_dev_enter(&xe->drm, &idx))
+ return;
+
+ /*
+ * Must be done outside job_mutex as that lock is tainted with
+ * reclaim and must be done holding a pm ref.
+ */
+ job = xe_sched_job_create(m->q, batch_addr);
+ if (WARN_ON_ONCE(IS_ERR(job))) {
+ drm_dev_exit(idx);
+ mod_delayed_work(system_percpu_wq, &m->ulls.exit_work,
+ ULLS_EXIT_JIFFIES);
+ return; /* Not fatal */
+ }
+
+ mutex_lock(&m->job_mutex);
+
+ if (!xe_exec_queue_is_idle(m->q, 1))
+ goto unlock_exit;
+
+ xe_sched_job_get(job);
+ xe_sched_job_arm(job);
+ job->is_ulls = true;
+ job->is_ulls_last = true;
+ fence = dma_fence_get(&job->drm.s_fence->finished);
+ xe_sched_job_push(job);
+
+ /* Serialize force wake put */
+ dma_fence_wait(fence, false);
+ dma_fence_put(fence);
+
+ m->ulls.enabled = false;
+unlock_exit:
+ if (job)
+ xe_sched_job_put(job);
+ if (!m->ulls.enabled) {
+ /* Pairs with PM gets on enter */
+ xe_force_wake_put(gt_to_fw(m->q->hwe->gt), m->q->hwe->domain);
+ xe_pm_runtime_put(xe);
+
+ cancel_delayed_work(&m->ulls.exit_work);
+ xe_dbg(xe, "Migrate ULLS mode exit");
+ } else {
+ mod_delayed_work(system_percpu_wq, &m->ulls.exit_work,
+ ULLS_EXIT_JIFFIES);
+ }
+
+ mutex_unlock(&m->job_mutex);
+ drm_dev_exit(idx);
+}
+
/**
* xe_migrate_init() - Initialize a migrate context
* @m: The migration context
@@ -506,6 +661,8 @@ int xe_migrate_init(struct xe_migrate *m)
might_lock(&m->job_mutex);
fs_reclaim_release(GFP_KERNEL);
+ INIT_DELAYED_WORK(&m->ulls.exit_work, xe_migrate_ulls_exit);
+
err = devm_add_action_or_reset(xe->drm.dev, xe_migrate_fini, m);
if (err)
return err;
@@ -871,6 +1028,26 @@ static u32 xe_migrate_ccs_copy(struct xe_migrate *m,
return flush_flags;
}
+static bool xe_migrate_is_ulls(struct xe_migrate *m)
+{
+ lockdep_assert_held(&m->job_mutex);
+
+ return m->ulls.enabled;
+}
+
+static void xe_migrate_job_set_ulls_flags(struct xe_migrate *m,
+ struct xe_sched_job *job)
+{
+ lockdep_assert_held(&m->job_mutex);
+ xe_tile_assert(m->tile, m->q == job->q);
+
+ if (xe_migrate_is_ulls(m)) {
+ job->is_ulls = true;
+ mod_delayed_work(system_percpu_wq, &m->ulls.exit_work,
+ ULLS_EXIT_JIFFIES);
+ }
+}
+
static struct dma_fence *__xe_migrate_copy(struct xe_migrate *m,
struct xe_bo *src_bo,
struct xe_bo *dst_bo,
@@ -1033,6 +1210,7 @@ static struct dma_fence *__xe_migrate_copy(struct xe_migrate *m,
}
mutex_lock(&m->job_mutex);
+ xe_migrate_job_set_ulls_flags(m, job);
xe_sched_job_arm(job);
dma_fence_put(fence);
fence = dma_fence_get(&job->drm.s_fence->finished);
@@ -1701,6 +1879,7 @@ struct dma_fence *xe_migrate_clear(struct xe_migrate *m,
}
mutex_lock(&m->job_mutex);
+ xe_migrate_job_set_ulls_flags(m, job);
xe_sched_job_arm(job);
dma_fence_put(fence);
fence = dma_fence_get(&job->drm.s_fence->finished);
@@ -1980,6 +2159,7 @@ static struct dma_fence *xe_migrate_vram(struct xe_migrate *m,
}
mutex_lock(&m->job_mutex);
+ xe_migrate_job_set_ulls_flags(m, job);
xe_sched_job_arm(job);
fence = dma_fence_get(&job->drm.s_fence->finished);
xe_sched_job_push(job);
diff --git a/drivers/gpu/drm/xe/xe_migrate.h b/drivers/gpu/drm/xe/xe_migrate.h
index fa381ec36ef1..2e8be10fdb71 100644
--- a/drivers/gpu/drm/xe/xe_migrate.h
+++ b/drivers/gpu/drm/xe/xe_migrate.h
@@ -97,4 +97,6 @@ int xe_migrate_debug_ccs_overlap(struct xe_migrate *m,
bool write_to_ccs);
#endif
+void xe_migrate_ulls_enter(struct xe_migrate *m);
+
#endif
diff --git a/drivers/gpu/drm/xe/xe_pt.c b/drivers/gpu/drm/xe/xe_pt.c
index bf2cdef44179..57d7f26751ab 100644
--- a/drivers/gpu/drm/xe/xe_pt.c
+++ b/drivers/gpu/drm/xe/xe_pt.c
@@ -1427,7 +1427,7 @@ static int xe_pt_vm_dependencies(struct xe_sched_job *job,
if (!job && !no_in_syncs(vops->syncs, vops->num_syncs))
return -ETIME;
- if (!job && !xe_exec_queue_is_idle(vops->q))
+ if (!job && !xe_exec_queue_is_idle(vops->q, 0))
return -ETIME;
if (vops->flags & (XE_VMA_OPS_FLAG_WAIT_VM_BOOKKEEP |
diff --git a/drivers/gpu/drm/xe/xe_sched_job_types.h b/drivers/gpu/drm/xe/xe_sched_job_types.h
index 9f527ac6df3e..db41f5388dd0 100644
--- a/drivers/gpu/drm/xe/xe_sched_job_types.h
+++ b/drivers/gpu/drm/xe/xe_sched_job_types.h
@@ -91,6 +91,12 @@ struct xe_sched_job {
bool last_replay;
/** @is_pt_job: is a PT job */
bool is_pt_job;
+ /** @is_ulls: is ULLS job */
+ bool is_ulls;
+ /** @is_ulls_first: is first ULLS job */
+ bool is_ulls_first;
+ /** @is_ulls_last: is last ULLS job */
+ bool is_ulls_last;
union {
/** @ptrs: per instance pointers. */
DECLARE_FLEX_ARRAY(struct xe_job_ptrs, ptrs);
diff --git a/drivers/gpu/drm/xe/xe_vm.c b/drivers/gpu/drm/xe/xe_vm.c
index 795d0ebb1004..ee4d149b7453 100644
--- a/drivers/gpu/drm/xe/xe_vm.c
+++ b/drivers/gpu/drm/xe/xe_vm.c
@@ -148,7 +148,7 @@ static bool xe_vm_is_idle(struct xe_vm *vm)
xe_vm_assert_held(vm);
list_for_each_entry(q, &vm->preempt.exec_queues, lr.link) {
- if (!xe_exec_queue_is_idle(q))
+ if (!xe_exec_queue_is_idle(q, 0))
return false;
}
--
2.34.1
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [PATCH v5 21/25] drm/xe: Add ULLS migration job support to ring ops
2026-09-04 2:21 [PATCH v5 00/25] CPU binds and ULLS on migration queue Matthew Brost
` (19 preceding siblings ...)
2026-09-04 2:22 ` [PATCH v5 20/25] drm/xe: Add ULLS migration job support to migration layer Matthew Brost
@ 2026-09-04 2:22 ` Matthew Brost
2026-09-04 2:22 ` [PATCH v5 22/25] drm/xe: Add ULLS migration job support to GuC submission Matthew Brost
` (7 subsequent siblings)
28 siblings, 0 replies; 41+ messages in thread
From: Matthew Brost @ 2026-09-04 2:22 UTC (permalink / raw)
To: intel-xe
Add preamble and postamble for ULLS migrations jobs. Preamble clears
current semaphore for reuse. Postamble waits on next semaphore which is
set upon next job submission. The last ULLS migration job skips BB
submission and postamble (clear current semaphore, write seqno, exit
ULLS).
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patch.msgid.link/20260228013501.106680-23-matthew.brost@intel.com
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
---
drivers/gpu/drm/xe/xe_ring_ops.c | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/drivers/gpu/drm/xe/xe_ring_ops.c b/drivers/gpu/drm/xe/xe_ring_ops.c
index 39a670e91ba7..f613c694d096 100644
--- a/drivers/gpu/drm/xe/xe_ring_ops.c
+++ b/drivers/gpu/drm/xe/xe_ring_ops.c
@@ -494,6 +494,28 @@ static void __emit_job_gen12_render_compute(struct xe_sched_job *job,
xe_lrc_write_ring(lrc, dw, i * sizeof(*dw));
}
+static int emit_ulls_preamble(struct xe_lrc *lrc, u32 *dw, int i, u32 seqno)
+{
+ u32 addr = xe_lrc_ulls_semaphore_ggtt_addr(lrc, seqno);
+
+ return emit_store_imm_ggtt(addr, LRC_MIGRATION_ULLS_SEMAPHORE_CLEAR,
+ dw, i);
+}
+
+static int emit_ulls_postamble(struct xe_lrc *lrc, u32 *dw, int i, u32 seqno)
+{
+ dw[i++] = MI_SEMAPHORE_WAIT |
+ MI_SEMW_GGTT |
+ MI_SEMW_POLL |
+ MI_SEMW_COMPARE(SAD_EQ_SDD);
+ dw[i++] = LRC_MIGRATION_ULLS_SEMAPHORE_SIGNAL;
+ dw[i++] = xe_lrc_ulls_semaphore_ggtt_addr(lrc, seqno + 1);
+ dw[i++] = 0;
+ dw[i++] = 0;
+
+ return i;
+}
+
static void emit_migration_job_gen12(struct xe_sched_job *job,
struct xe_lrc *lrc, u32 *head,
u32 seqno)
@@ -507,10 +529,16 @@ static void emit_migration_job_gen12(struct xe_sched_job *job,
xe_gt_assert(gt, !job->ring_ops_force_reset);
+ if (job->is_ulls)
+ i = emit_ulls_preamble(lrc, dw, i, seqno);
+
i = emit_copy_timestamp(xe, lrc, dw, i);
i = emit_store_imm_ggtt(saddr, seqno, dw, i);
+ if (job->is_ulls_last || job->is_ulls_first)
+ goto seqno_write;
+
dw[i++] = MI_ARB_ON_OFF | MI_ARB_DISABLE; /* Enabled again below */
i = emit_bb_start(job->ptrs[0].batch_addr, BIT(8), dw, i);
@@ -521,12 +549,16 @@ static void emit_migration_job_gen12(struct xe_sched_job *job,
i = emit_bb_start(job->ptrs[1].batch_addr, BIT(8), dw, i);
+seqno_write:
i = emit_flush_imm_ggtt(xe_lrc_seqno_ggtt_addr(lrc), seqno,
job->migrate_flush_flags,
dw, i);
i = emit_user_interrupt(dw, i);
+ if (job->is_ulls && !job->is_ulls_last)
+ i = emit_ulls_postamble(lrc, dw, i, seqno);
+
xe_gt_assert(job->q->gt, i <= MAX_JOB_SIZE_DW);
xe_lrc_write_ring(lrc, dw, i * sizeof(*dw));
--
2.34.1
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [PATCH v5 22/25] drm/xe: Add ULLS migration job support to GuC submission
2026-09-04 2:21 [PATCH v5 00/25] CPU binds and ULLS on migration queue Matthew Brost
` (20 preceding siblings ...)
2026-09-04 2:22 ` [PATCH v5 21/25] drm/xe: Add ULLS migration job support to ring ops Matthew Brost
@ 2026-09-04 2:22 ` Matthew Brost
2026-09-04 2:49 ` sashiko-bot
2026-09-04 2:22 ` [PATCH v5 23/25] drm/xe: Enter ULLS for migration jobs upon page fault or SVM prefetch Matthew Brost
` (6 subsequent siblings)
28 siblings, 1 reply; 41+ messages in thread
From: Matthew Brost @ 2026-09-04 2:22 UTC (permalink / raw)
To: intel-xe
Add ULLS migration job support to GuC submission backend.
Changes required:
- On migration queue, reduce max jobs to the number of ULLS semaphores
minus one
- Directly set the hardware engine tail via a MMIO write for ULLS jobs
except for first ULLS job
- Set ULLS sempahore for current job releasing last job except for first
ULLS job
- Suppress submit H2G for ULLS except for first ULLS job
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patch.msgid.link/20260228013501.106680-24-matthew.brost@intel.com
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
---
drivers/gpu/drm/xe/xe_guc_submit.c | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_guc_submit.c b/drivers/gpu/drm/xe/xe_guc_submit.c
index dcb4b8a4f3b7..1578d80b01b8 100644
--- a/drivers/gpu/drm/xe/xe_guc_submit.c
+++ b/drivers/gpu/drm/xe/xe_guc_submit.c
@@ -1207,6 +1207,11 @@ static void submit_exec_queue(struct xe_exec_queue *q, struct xe_sched_job *job)
if (exec_queue_suspended(q))
return;
+ if (job->is_ulls && !job->is_ulls_first) {
+ xe_hw_engine_write_ring_tail(q->hwe, lrc->ring.tail);
+ xe_lrc_set_ulls_semaphore(lrc, xe_sched_job_lrc_seqno(job));
+ }
+
if (!exec_queue_enabled(q)) {
action[len++] = XE_GUC_ACTION_SCHED_CONTEXT_MODE_SET;
action[len++] = q->guc->id;
@@ -1220,13 +1225,14 @@ static void submit_exec_queue(struct xe_exec_queue *q, struct xe_sched_job *job)
set_exec_queue_pending_enable(q);
set_exec_queue_enabled(q);
trace_xe_exec_queue_scheduling_enable(q);
- } else {
+ } else if (!job->is_ulls || job->is_ulls_first) {
action[len++] = XE_GUC_ACTION_SCHED_CONTEXT;
action[len++] = q->guc->id;
trace_xe_exec_queue_submit(q);
}
- xe_guc_ct_send(&guc->ct, action, len, g2h_len, num_g2h);
+ if (!job->is_ulls || job->is_ulls_first || num_g2h)
+ xe_guc_ct_send(&guc->ct, action, len, g2h_len, num_g2h);
if (extra_submit) {
len = 0;
@@ -2088,6 +2094,7 @@ static int guc_exec_queue_init(struct xe_exec_queue *q)
struct xe_guc_exec_queue *ge;
long timeout;
int err, i;
+ int max_jobs = (xe_lrc_ring_size() / MAX_JOB_SIZE_BYTES);
xe_gt_assert(guc_to_gt(guc), xe_device_uc_enabled(guc_to_xe(guc)));
@@ -2127,8 +2134,11 @@ static int guc_exec_queue_init(struct xe_exec_queue *q)
submit_wq = primary->guc->sched.base.submit_wq;
}
+ if (q->vm && q->vm->flags & XE_VM_FLAG_MIGRATION)
+ max_jobs = min(max_jobs, LRC_MIGRATION_ULLS_SEMAPHORE_COUNT - 1);
+
err = xe_sched_init(&ge->sched, &drm_sched_ops, &xe_sched_ops,
- submit_wq, xe_lrc_ring_size() / MAX_JOB_SIZE_BYTES, 64,
+ submit_wq, max_jobs, 64,
timeout, guc_to_gt(guc)->ordered_wq, NULL,
ge->name, gt_to_xe(q->gt)->drm.dev);
if (err)
--
2.34.1
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [PATCH v5 23/25] drm/xe: Enter ULLS for migration jobs upon page fault or SVM prefetch
2026-09-04 2:21 [PATCH v5 00/25] CPU binds and ULLS on migration queue Matthew Brost
` (21 preceding siblings ...)
2026-09-04 2:22 ` [PATCH v5 22/25] drm/xe: Add ULLS migration job support to GuC submission Matthew Brost
@ 2026-09-04 2:22 ` Matthew Brost
2026-09-04 2:22 ` [PATCH v5 24/25] drm/xe: Add modparam to enable / disable ULLS on migrate queue Matthew Brost
` (5 subsequent siblings)
28 siblings, 0 replies; 41+ messages in thread
From: Matthew Brost @ 2026-09-04 2:22 UTC (permalink / raw)
To: intel-xe
Call xe_migration_ulls_enter upon page fault or SVM prefetch in an
effort speed up these critical paths.
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patch.msgid.link/20260228013501.106680-25-matthew.brost@intel.com
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
---
drivers/gpu/drm/xe/xe_pagefault.c | 3 +++
drivers/gpu/drm/xe/xe_vm.c | 4 +++-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_pagefault.c b/drivers/gpu/drm/xe/xe_pagefault.c
index e81ca24df37f..ecf2530f0284 100644
--- a/drivers/gpu/drm/xe/xe_pagefault.c
+++ b/drivers/gpu/drm/xe/xe_pagefault.c
@@ -15,6 +15,7 @@
#include "xe_gt_stats.h"
#include "xe_hw_engine.h"
#include "xe_log.h"
+#include "xe_migrate.h"
#include "xe_pagefault.h"
#include "xe_pagefault_types.h"
#include "xe_svm.h"
@@ -262,6 +263,8 @@ static int xe_pagefault_service(struct xe_pagefault *pf)
if (IS_ERR(vm))
return PTR_ERR(vm);
+ xe_migrate_ulls_enter(gt_to_tile(gt)->migrate);
+
down_read(&vm->lock);
if (xe_vm_is_closed(vm)) {
diff --git a/drivers/gpu/drm/xe/xe_vm.c b/drivers/gpu/drm/xe/xe_vm.c
index ee4d149b7453..c68d3baf1988 100644
--- a/drivers/gpu/drm/xe/xe_vm.c
+++ b/drivers/gpu/drm/xe/xe_vm.c
@@ -2526,8 +2526,10 @@ vm_bind_ioctl_ops_create(struct xe_vm *vm, struct xe_vma_ops *vops,
ctx.devmem_possible = IS_DGFX(vm->xe) &&
IS_ENABLED(CONFIG_DRM_XE_PAGEMAP);
- for_each_tile(tile, vm->xe, id)
+ for_each_tile(tile, vm->xe, id) {
+ xe_migrate_ulls_enter(tile->migrate);
tile_mask |= 0x1 << id;
+ }
if (prefetch_region == DRM_XE_CONSULT_MEM_ADVISE_PREF_LOC) {
dpagemap = xe_vma_resolve_pagemap(vma,
--
2.34.1
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [PATCH v5 24/25] drm/xe: Add modparam to enable / disable ULLS on migrate queue
2026-09-04 2:21 [PATCH v5 00/25] CPU binds and ULLS on migration queue Matthew Brost
` (22 preceding siblings ...)
2026-09-04 2:22 ` [PATCH v5 23/25] drm/xe: Enter ULLS for migration jobs upon page fault or SVM prefetch Matthew Brost
@ 2026-09-04 2:22 ` Matthew Brost
2026-09-04 2:22 ` [PATCH v5 25/25] drm/xe: Document ULLS for migration jobs Matthew Brost
` (4 subsequent siblings)
28 siblings, 0 replies; 41+ messages in thread
From: Matthew Brost @ 2026-09-04 2:22 UTC (permalink / raw)
To: intel-xe
Having modparam to enable / disable ULLS on migrate queue will help with
quick experiments.
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patch.msgid.link/20260228013501.106680-26-matthew.brost@intel.com
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
---
drivers/gpu/drm/xe/xe_debugfs.c | 1 +
drivers/gpu/drm/xe/xe_defaults.h | 1 +
drivers/gpu/drm/xe/xe_device.c | 1 +
drivers/gpu/drm/xe/xe_device_types.h | 5 +++++
drivers/gpu/drm/xe/xe_migrate.c | 2 +-
drivers/gpu/drm/xe/xe_module.c | 4 ++++
drivers/gpu/drm/xe/xe_module.h | 1 +
7 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_debugfs.c b/drivers/gpu/drm/xe/xe_debugfs.c
index 28135f84e286..a2d92729ed49 100644
--- a/drivers/gpu/drm/xe/xe_debugfs.c
+++ b/drivers/gpu/drm/xe/xe_debugfs.c
@@ -173,6 +173,7 @@ static int info(struct seq_file *m, void *data)
drm_printf(&p, "revid %d\n", xe->info.revid);
drm_printf(&p, "tile_count %d\n", xe->info.tile_count);
drm_printf(&p, "vm_max_level %d\n", xe->info.vm_max_level);
+ drm_printf(&p, "ulls_enable %s\n", str_yes_no(xe->info.ulls_enable));
drm_printf(&p, "has_flat_ccs %s\n", str_yes_no(xe->info.has_flat_ccs));
drm_printf(&p, "has_usm %s\n", str_yes_no(xe->info.has_usm));
drm_printf(&p, "skip_guc_pc %s\n", str_yes_no(xe->info.skip_guc_pc));
diff --git a/drivers/gpu/drm/xe/xe_defaults.h b/drivers/gpu/drm/xe/xe_defaults.h
index 0884224ef7c7..9c7e89a169c5 100644
--- a/drivers/gpu/drm/xe/xe_defaults.h
+++ b/drivers/gpu/drm/xe/xe_defaults.h
@@ -14,6 +14,7 @@
#endif
#define XE_DEFAULT_PROBE_DISPLAY IS_ENABLED(CONFIG_DRM_XE_DISPLAY)
+#define XE_DEFAULT_ULLS_ENABLE true
#define XE_DEFAULT_VRAM_BAR_SIZE 0
#define XE_DEFAULT_FORCE_PROBE CONFIG_DRM_XE_FORCE_PROBE
#define XE_DEFAULT_MAX_VFS ~0
diff --git a/drivers/gpu/drm/xe/xe_device.c b/drivers/gpu/drm/xe/xe_device.c
index ade971de1652..9b81759af28a 100644
--- a/drivers/gpu/drm/xe/xe_device.c
+++ b/drivers/gpu/drm/xe/xe_device.c
@@ -520,6 +520,7 @@ static void xe_device_parse_modparam(struct xe_device *xe)
xe->atomic_svm_timeslice_ms = 5;
xe->min_run_period_lr_ms = 5;
xe->info.num_pf_work = xe_modparam.num_pf_work;
+ xe->info.ulls_enable = xe_modparam.ulls_enable;
if (xe->info.num_pf_work < 1)
xe->info.num_pf_work = 1;
else if (xe->info.num_pf_work > XE_PAGEFAULT_WORK_MAX)
diff --git a/drivers/gpu/drm/xe/xe_device_types.h b/drivers/gpu/drm/xe/xe_device_types.h
index 997ac82fd571..fd4560378f5b 100644
--- a/drivers/gpu/drm/xe/xe_device_types.h
+++ b/drivers/gpu/drm/xe/xe_device_types.h
@@ -245,6 +245,11 @@ struct xe_device {
u8 skip_pcode:1;
/** @info.needs_shared_vf_gt_wq: needs shared GT WQ on VF */
u8 needs_shared_vf_gt_wq:1;
+ /**
+ * @info.ulls_enable: Enable ULLS on migration queue in LR VM
+ * open
+ */
+ u8 ulls_enable:1;
} info;
/** @wa_active: keep track of active workarounds */
diff --git a/drivers/gpu/drm/xe/xe_migrate.c b/drivers/gpu/drm/xe/xe_migrate.c
index 588e1c9085f3..94b71571b076 100644
--- a/drivers/gpu/drm/xe/xe_migrate.c
+++ b/drivers/gpu/drm/xe/xe_migrate.c
@@ -485,7 +485,7 @@ void xe_migrate_ulls_enter(struct xe_migrate *m)
xe_assert(xe, xe->info.has_usm);
- if (!IS_DGFX(xe) || IS_SRIOV_VF(xe))
+ if (!IS_DGFX(xe) || IS_SRIOV_VF(xe) || !xe->info.ulls_enable)
return;
job_alloc:
diff --git a/drivers/gpu/drm/xe/xe_module.c b/drivers/gpu/drm/xe/xe_module.c
index 4bc28dfc1992..a8b546550ead 100644
--- a/drivers/gpu/drm/xe/xe_module.c
+++ b/drivers/gpu/drm/xe/xe_module.c
@@ -23,6 +23,7 @@
struct xe_modparam xe_modparam = {
.probe_display = XE_DEFAULT_PROBE_DISPLAY,
+ .ulls_enable = XE_DEFAULT_ULLS_ENABLE,
.guc_log_level = XE_DEFAULT_GUC_LOG_LEVEL,
.force_probe = XE_DEFAULT_FORCE_PROBE,
#ifdef CONFIG_PCI_IOV
@@ -44,6 +45,9 @@ MODULE_PARM_DESC(probe_display, "Probe display HW, otherwise it's left untouched
"[default=" __stringify(XE_DEFAULT_PROBE_DISPLAY) "])");
#endif
+module_param_named(ulls_enable, xe_modparam.ulls_enable, bool, 0444);
+MODULE_PARM_DESC(ulls_enable, "Enable ULLS on migration queue if LR VM open (default: true)");
+
module_param_named(vram_bar_size, xe_modparam.force_vram_bar_size, int, 0600);
MODULE_PARM_DESC(vram_bar_size, "Set the vram bar size in MiB (<0=disable-resize, 0=max-needed-size, >0=force-size "
"[default=" __stringify(XE_DEFAULT_VRAM_BAR_SIZE) "])");
diff --git a/drivers/gpu/drm/xe/xe_module.h b/drivers/gpu/drm/xe/xe_module.h
index 6272d9e41207..5d88448c298a 100644
--- a/drivers/gpu/drm/xe/xe_module.h
+++ b/drivers/gpu/drm/xe/xe_module.h
@@ -13,6 +13,7 @@ struct work_struct;
/* Module modprobe variables */
struct xe_modparam {
bool probe_display;
+ bool ulls_enable;
int force_vram_bar_size;
int guc_log_level;
char *guc_firmware_path;
--
2.34.1
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [PATCH v5 25/25] drm/xe: Document ULLS for migration jobs
2026-09-04 2:21 [PATCH v5 00/25] CPU binds and ULLS on migration queue Matthew Brost
` (23 preceding siblings ...)
2026-09-04 2:22 ` [PATCH v5 24/25] drm/xe: Add modparam to enable / disable ULLS on migrate queue Matthew Brost
@ 2026-09-04 2:22 ` Matthew Brost
2026-09-04 2:29 ` ✗ CI.checkpatch: warning for CPU binds and ULLS on migration queue (rev7) Patchwork
` (3 subsequent siblings)
28 siblings, 0 replies; 41+ messages in thread
From: Matthew Brost @ 2026-09-04 2:22 UTC (permalink / raw)
To: intel-xe
Add a kernel-doc DOC section at the top of xe_migrate.c describing the
Ultra Low Latency Submission (ULLS) scheme used for migration jobs.
Cover the motivation (removing the H2G / GuC / context switch latency
from the page fault and SVM prefetch critical paths), the platform
requirements, the LRC PPHWSP semaphore layout and its relationship to
the migration queue job count, the ring preamble / postamble emitted by
the ring ops, the MMIO tail write submission fast path in the GuC
backend, and the enter / delayed exit flow along with the ULLS job
flags.
Hook the new section into Documentation/gpu/xe/xe_migrate.rst.
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Assisted-by: Github-Copilot:Claude-opus-5
---
Documentation/gpu/xe/xe_migrate.rst | 3 +
drivers/gpu/drm/xe/xe_migrate.c | 109 ++++++++++++++++++++++++++++
2 files changed, 112 insertions(+)
diff --git a/Documentation/gpu/xe/xe_migrate.rst b/Documentation/gpu/xe/xe_migrate.rst
index f92faec0ac94..d297ee53a582 100644
--- a/Documentation/gpu/xe/xe_migrate.rst
+++ b/Documentation/gpu/xe/xe_migrate.rst
@@ -6,3 +6,6 @@ Migrate Layer
.. kernel-doc:: drivers/gpu/drm/xe/xe_migrate_doc.h
:doc: Migrate Layer
+
+.. kernel-doc:: drivers/gpu/drm/xe/xe_migrate.c
+ :doc: ULLS (Ultra Low Latency Submission) for migration jobs
diff --git a/drivers/gpu/drm/xe/xe_migrate.c b/drivers/gpu/drm/xe/xe_migrate.c
index 94b71571b076..de47e9b528cc 100644
--- a/drivers/gpu/drm/xe/xe_migrate.c
+++ b/drivers/gpu/drm/xe/xe_migrate.c
@@ -48,6 +48,115 @@
#include "xe_vm.h"
#include "xe_vram.h"
+/**
+ * DOC: ULLS (Ultra Low Latency Submission) for migration jobs
+ *
+ * Migration jobs issued on behalf of GPU page faults and SVM prefetches sit
+ * directly in the critical path of a stalled GPU workload. The dominant cost
+ * of such a job is not the copy or clear itself but the submission latency:
+ * the H2G round trip to GuC, the GuC scheduling decision, and the hardware
+ * context switch required to place the migration LRC on an engine.
+ *
+ * ULLS removes that cost by keeping the migration context resident and
+ * *running* on the hardware engine across jobs. Instead of the ring going
+ * empty and the context being switched out between jobs, the tail of every
+ * ULLS job parks the engine on a semaphore wait for the *next* job's
+ * semaphore. Submitting the next job then only requires the CPU to write the
+ * ring tail via MMIO and signal that semaphore - no H2G, no GuC round trip,
+ * no context switch.
+ *
+ * Requirements
+ * ------------
+ *
+ * ULLS is only used on DGFX with USM support (where a hardware engine is
+ * reserved exclusively for migration jobs) and is not used on SRIOV VFs.
+ * Because the engine is spinning on a semaphore while ULLS is active, it can
+ * not be shared with user submissions. It can also be disabled at load time
+ * with the ``xe.ulls_enable`` module parameter.
+ *
+ * Exactly one exec queue - the migration queue - is ever scheduled on the
+ * reserved paging engine, and this is what makes the MMIO ring tail write in
+ * the submission fast path safe. The ring tail register belongs to whichever
+ * context is currently on the engine, so writing it from the CPU is only
+ * correct if the driver knows that context can not be anything other than the
+ * migration LRC. If more than one queue could be scheduled on the engine, a
+ * ULLS queue could clobber the ring tail of an unrelated queue, and mutual
+ * exclusion between the ULLS queue and every other queue on the engine would
+ * have to be built - via fences - before touching the register.
+ *
+ * Semaphores
+ * ----------
+ *
+ * The semaphores live in the driver-defined portion of the migration LRC's
+ * PPHWSP (see LRC_ULLS_PPHWSP_OFFSET, mutually exclusive with the parallel
+ * submission area). There are LRC_MIGRATION_ULLS_SEMAPHORE_COUNT of them and
+ * a job's semaphore is selected by ``seqno % COUNT``, so the semaphore ring
+ * wraps with the job seqnos. To guarantee a job can never overwrite the
+ * semaphore of a job still in flight, the GuC backend caps the migration
+ * queue's scheduler job count at LRC_MIGRATION_ULLS_SEMAPHORE_COUNT - 1.
+ *
+ * Ring layout of a ULLS job
+ * -------------------------
+ *
+ * Emitted by emit_migration_job_gen12() in xe_ring_ops.c::
+ *
+ * preamble: clear semaphore[seqno] (reuse for a later wrap)
+ * <copy timestamp, start seqno store>
+ * <batch buffer start(s)> (skipped on first/last job)
+ * <seqno write + user interrupt>
+ * postamble: wait on semaphore[seqno + 1]
+ * (skipped on the last job)
+ *
+ * The preamble clears the current job's semaphore so it can be reused once
+ * the seqno space wraps. The postamble is what keeps the engine busy: it
+ * blocks on the *next* job's semaphore, which is only signaled when that job
+ * is actually submitted.
+ *
+ * Submission fast path
+ * --------------------
+ *
+ * In submit_exec_queue() (xe_guc_submit.c), for a ULLS job that is not the
+ * first one::
+ *
+ * xe_hw_engine_write_ring_tail(hwe, tail); MMIO ring tail write
+ * xe_lrc_set_ulls_semaphore(lrc, seqno); release previous job
+ *
+ * and the XE_GUC_ACTION_SCHED_CONTEXT H2G is suppressed entirely. The
+ * previously running job's semaphore wait is satisfied and the engine walks
+ * straight into the newly appended job.
+ *
+ * Enter / exit
+ * ------------
+ *
+ * xe_migrate_ulls_enter() is called from the page fault handler and from the
+ * SVM prefetch path, i.e. exactly where low latency migration matters. It
+ * takes a force wake reference and a PM runtime reference (the engine must
+ * stay awake while it spins), then submits a "first" ULLS job. That first job
+ * carries no batch buffer; it exists only to get the context onto the
+ * hardware through the normal GuC path and to leave the engine waiting on the
+ * next semaphore, pipelining the GuC/HW context switch out of the critical
+ * path.
+ *
+ * Keeping an engine spinning costs power, so ULLS is not left enabled
+ * indefinitely. Every enter and every ULLS job submission re-arms
+ * @xe_migrate.ulls.exit_work with a ULLS_EXIT_JIFFIES delay. When it fires
+ * with the queue idle, it submits a "last" ULLS job - again with no batch
+ * buffer and, crucially, with no postamble semaphore wait - which lets the
+ * ring drain so the context can be switched off the hardware. The force wake
+ * and PM references are then dropped. If the queue was not idle, the worker
+ * simply re-arms itself.
+ *
+ * Job flags
+ * ---------
+ *
+ * The state above is communicated to the ring ops and GuC backend via three
+ * flags on struct xe_sched_job, set under @xe_migrate.job_mutex:
+ *
+ * - @xe_sched_job.is_ulls: job is submitted while in ULLS mode
+ * - @xe_sched_job.is_ulls_first: job that entered ULLS mode
+ * - @xe_sched_job.is_ulls_last: job that exits ULLS mode
+ */
+
/**
* struct xe_migrate - migrate context.
*/
--
2.34.1
^ permalink raw reply related [flat|nested] 41+ messages in thread
* ✗ CI.checkpatch: warning for CPU binds and ULLS on migration queue (rev7)
2026-09-04 2:21 [PATCH v5 00/25] CPU binds and ULLS on migration queue Matthew Brost
` (24 preceding siblings ...)
2026-09-04 2:22 ` [PATCH v5 25/25] drm/xe: Document ULLS for migration jobs Matthew Brost
@ 2026-09-04 2:29 ` Patchwork
2026-09-04 2:31 ` ✓ CI.KUnit: success " Patchwork
` (2 subsequent siblings)
28 siblings, 0 replies; 41+ messages in thread
From: Patchwork @ 2026-09-04 2:29 UTC (permalink / raw)
To: Matthew Brost; +Cc: intel-xe
== Series Details ==
Series: CPU binds and ULLS on migration queue (rev7)
URL : https://patchwork.freedesktop.org/series/149888/
State : warning
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
d875049d2b299159a272bd5151994970cdcd1e31
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 961ffbfef88b621426a94b5d6ecfb25319823735
Author: Matthew Brost <matthew.brost@intel.com>
Date: Thu Sep 3 19:22:07 2026 -0700
drm/xe: Document ULLS for migration jobs
Add a kernel-doc DOC section at the top of xe_migrate.c describing the
Ultra Low Latency Submission (ULLS) scheme used for migration jobs.
Cover the motivation (removing the H2G / GuC / context switch latency
from the page fault and SVM prefetch critical paths), the platform
requirements, the LRC PPHWSP semaphore layout and its relationship to
the migration queue job count, the ring preamble / postamble emitted by
the ring ops, the MMIO tail write submission fast path in the GuC
backend, and the enter / delayed exit flow along with the ULLS job
flags.
Hook the new section into Documentation/gpu/xe/xe_migrate.rst.
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Assisted-by: Github-Copilot:Claude-opus-5
+ /mt/dim checkpatch 71bc3b7cc55631a9b3807da98e2b2880838b9623 drm-intel
1c6df1997f19 drm/xe: Drop struct xe_migrate_pt_update argument from populate/clear vfuns
0dd32ab605a1 drm/xe: Add xe_migrate_update_pgtables_cpu_execute helper
1ed45fab0ad3 drm/xe: Decouple exec queue idle check from LRC
d62dd3fc9792 drm/xe: Add job count to GuC exec queue snapshot
928725823327 drm/xe: Update xe_bo_put_deferred arguments to include writeback flag
4bf1a8fe5084 drm/xe: Add XE_BO_FLAG_PUT_VM_ASYNC
03b988260327 drm/xe: Update scheduler job layer to support PT jobs
54bed5b08598 drm/xe: Add helpers to access PT ops
98816c5de410 drm/xe: Add struct xe_pt_job_ops
41e9e6dafb13 drm/xe: Update GuC submission backend to run PT jobs
2d90557510af drm/xe: Store level in struct xe_vm_pgtable_update
3337871a8c95 drm/xe: Don't use migrate exec queue for page fault binds
829dfa7fbf57 drm/xe: Enable CPU binds for jobs
7e20bd926c21 drm/xe: Remove unused arguments from xe_migrate_pt_update_ops
3783b4633ceb drm/xe: Make bind queues operate cross-tile
-:306: CHECK:MACRO_ARG_REUSE: Macro argument reuse '__i' - possible side-effects?
#306: FILE: drivers/gpu/drm/xe/xe_exec_queue.h:17:
+#define for_each_tlb_inval(__q, __i) \
+ for (__i = 0; __i < XE_EXEC_QUEUE_TLB_INVAL_COUNT; ++__i) \
+ for_each_if((__q)->tlb_inval[__i].dep_scheduler)
total: 0 errors, 0 warnings, 1 checks, 624 lines checked
17fda0399c46 drm/xe: Add CPU bind layer
-:34: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#34:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 2327 lines checked
5d3046682ea8 drm/xe: Add device flag to enable PT mirroring across tiles
ff5799dd2ace drm/xe: Add xe_hw_engine_write_ring_tail
48eb8aab5882 drm/xe: Add ULLS support to LRC
8cb9a475038e drm/xe: Add ULLS migration job support to migration layer
7858592a3e78 drm/xe: Add ULLS migration job support to ring ops
9afba951d8c5 drm/xe: Add ULLS migration job support to GuC submission
662eb7941204 drm/xe: Enter ULLS for migration jobs upon page fault or SVM prefetch
5d65a745b07e drm/xe: Add modparam to enable / disable ULLS on migrate queue
961ffbfef88b drm/xe: Document ULLS for migration jobs
^ permalink raw reply [flat|nested] 41+ messages in thread
* ✓ CI.KUnit: success for CPU binds and ULLS on migration queue (rev7)
2026-09-04 2:21 [PATCH v5 00/25] CPU binds and ULLS on migration queue Matthew Brost
` (25 preceding siblings ...)
2026-09-04 2:29 ` ✗ CI.checkpatch: warning for CPU binds and ULLS on migration queue (rev7) Patchwork
@ 2026-09-04 2:31 ` Patchwork
2026-09-04 3:08 ` ✓ Xe.CI.BAT: " Patchwork
2026-09-04 15:21 ` ✗ Xe.CI.FULL: failure " Patchwork
28 siblings, 0 replies; 41+ messages in thread
From: Patchwork @ 2026-09-04 2:31 UTC (permalink / raw)
To: Matthew Brost; +Cc: intel-xe
== Series Details ==
Series: CPU binds and ULLS on migration queue (rev7)
URL : https://patchwork.freedesktop.org/series/149888/
State : success
== Summary ==
+ trap cleanup EXIT
+ kunitconfigs=('/kernel/drivers/gpu/tests/.kunitconfig' '/kernel/drivers/gpu/drm/xe/.kunitconfig' '/kernel/drivers/gpu/drm/tests/.kunitconfig' '/kernel/drivers/gpu/drm/ttm/tests/.kunitconfig' '/kernel/drivers/dma-buf/.kunitconfig')
+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/tests/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/tests/.kunitconfig
[02:29:25] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[02:29:29] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[02:29:50] Starting KUnit Kernel (1/1)...
[02:29:50] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[02:29:50] ============= refcount_interrupt (4 subtests) ==============
[02:29:50] [PASSED] test_single_irq_change
[02:29:50] [PASSED] test_nested_irq_change
[02:29:50] [PASSED] test_multiple_irq_change
[02:29:50] [PASSED] test_irq_save
[02:29:50] =============== [PASSED] refcount_interrupt ================
[02:29:50] ================= gpu_buddy (14 subtests) ==================
[02:29:50] [PASSED] gpu_test_buddy_alloc_limit
[02:29:50] [PASSED] gpu_test_buddy_alloc_optimistic
[02:29:50] [PASSED] gpu_test_buddy_alloc_pessimistic
[02:29:50] [PASSED] gpu_test_buddy_alloc_pathological
[02:29:50] [PASSED] gpu_test_buddy_alloc_contiguous
[02:29:50] [PASSED] gpu_test_buddy_alloc_clear
[02:29:50] [PASSED] gpu_test_buddy_alloc_range
[02:29:50] [PASSED] gpu_test_buddy_alloc_range_bias
[02:29:51] [PASSED] gpu_test_buddy_fragmentation_performance
[02:29:51] [PASSED] gpu_test_buddy_dirty_tracker_performance
[02:29:51] [PASSED] gpu_test_buddy_alloc_exceeds_max_order
[02:29:51] [PASSED] gpu_test_buddy_offset_aligned_allocation
[02:29:51] [PASSED] gpu_test_buddy_subtree_offset_alignment_stress
[02:29:51] [PASSED] gpu_test_buddy_addr_to_block
[02:29:51] ==================== [PASSED] gpu_buddy ====================
[02:29:51] ============================================================
[02:29:51] Testing complete. Ran 18 tests: passed: 18
[02:29:52] Elapsed time: 26.737s total, 4.330s configuring, 20.489s building, 1.855s running
+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/drm/xe/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig
[02:29:52] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[02:29:53] 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
[02:30:28] Starting KUnit Kernel (1/1)...
[02:30:28] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[02:30:28] ============= refcount_interrupt (4 subtests) ==============
[02:30:28] [PASSED] test_single_irq_change
[02:30:28] [PASSED] test_nested_irq_change
[02:30:28] [PASSED] test_multiple_irq_change
[02:30:28] [PASSED] test_irq_save
[02:30:28] =============== [PASSED] refcount_interrupt ================
[02:30:28] ================== guc_buf (11 subtests) ===================
[02:30:28] [PASSED] test_smallest
[02:30:28] [PASSED] test_largest
[02:30:28] [PASSED] test_granular
[02:30:28] [PASSED] test_unique
[02:30:28] [PASSED] test_overlap
[02:30:28] [PASSED] test_reusable
[02:30:28] [PASSED] test_too_big
[02:30:28] [PASSED] test_flush
[02:30:28] [PASSED] test_lookup
[02:30:28] [PASSED] test_data
[02:30:28] [PASSED] test_class
[02:30:28] ===================== [PASSED] guc_buf =====================
[02:30:28] =================== guc_dbm (7 subtests) ===================
[02:30:28] [PASSED] test_empty
[02:30:28] [PASSED] test_default
[02:30:28] ======================== test_size ========================
[02:30:28] [PASSED] 4
[02:30:28] [PASSED] 8
[02:30:28] [PASSED] 32
[02:30:28] [PASSED] 256
[02:30:28] ==================== [PASSED] test_size ====================
[02:30:28] ======================= test_reuse ========================
[02:30:28] [PASSED] 4
[02:30:28] [PASSED] 8
[02:30:28] [PASSED] 32
[02:30:28] [PASSED] 256
[02:30:28] =================== [PASSED] test_reuse ====================
[02:30:28] =================== test_range_overlap ====================
[02:30:28] [PASSED] 4
[02:30:28] [PASSED] 8
[02:30:28] [PASSED] 32
[02:30:28] [PASSED] 256
[02:30:28] =============== [PASSED] test_range_overlap ================
[02:30:28] =================== test_range_compact ====================
[02:30:28] [PASSED] 4
[02:30:28] [PASSED] 8
[02:30:28] [PASSED] 32
[02:30:28] [PASSED] 256
[02:30:28] =============== [PASSED] test_range_compact ================
[02:30:28] ==================== test_range_spare =====================
[02:30:28] [PASSED] 4
[02:30:28] [PASSED] 8
[02:30:28] [PASSED] 32
[02:30:28] [PASSED] 256
[02:30:28] ================ [PASSED] test_range_spare =================
[02:30:28] ===================== [PASSED] guc_dbm =====================
[02:30:28] =================== guc_idm (6 subtests) ===================
[02:30:28] [PASSED] bad_init
[02:30:28] [PASSED] no_init
[02:30:28] [PASSED] init_fini
[02:30:28] [PASSED] check_used
[02:30:28] [PASSED] check_quota
[02:30:28] [PASSED] check_all
[02:30:28] ===================== [PASSED] guc_idm =====================
[02:30:28] =============== guc_klv_helpers (9 subtests) ===============
[02:30:28] [PASSED] test_count
[02:30:28] [PASSED] test_encode_u32
[02:30:28] [PASSED] test_encode_u64
[02:30:28] [PASSED] test_encode_string
[02:30:28] [PASSED] test_encode_object_raw
[02:30:28] [PASSED] test_encode_object_klv
[02:30:28] [PASSED] test_encode_object_nested
[02:30:28] [PASSED] test_encode_object_basic
[02:30:28] [PASSED] test_print
[02:30:28] ================= [PASSED] guc_klv_helpers =================
[02:30:28] =================== xe_log (4 subtests) ====================
[02:30:28] [PASSED] demo_cper
[02:30:28] [PASSED] demo_dmesg
[02:30:28] ======================= test_dmesg ========================
[02:30:28] [PASSED] test_fatal
[02:30:28] [PASSED] test_fatal_tile
[02:30:28] [PASSED] test_fatal_gt
[02:30:28] [PASSED] test_fatal_comp
[02:30:28] [PASSED] test_fatal_comp_tile
[02:30:28] [PASSED] test_fatal_comp_gt
[02:30:28] [PASSED] test_fatal_all
[02:30:28] [PASSED] test_recoverable
[02:30:28] [PASSED] test_recoverable_tile
[02:30:28] [PASSED] test_recoverable_gt
[02:30:28] [PASSED] test_recoverable_comp
[02:30:28] [PASSED] test_recoverable_comp_tile
[02:30:28] [PASSED] test_recoverable_comp_gt
[02:30:28] [PASSED] test_recoverable_all
[02:30:28] [PASSED] test_info
[02:30:28] [PASSED] test_info_tile
[02:30:28] [PASSED] test_info_gt
[02:30:28] [PASSED] test_info_err
[02:30:28] [PASSED] test_info_comp
[02:30:28] [PASSED] test_info_comp_tile
[02:30:28] [PASSED] test_info_comp_gt
[02:30:28] [PASSED] test_info_all
[02:30:28] [PASSED] test_hw_fatal
[02:30:28] [PASSED] test_hw_recoverable
[02:30:28] [PASSED] test_hw_corrected
[02:30:28] [PASSED] test_hw_informational
[02:30:28] =================== [PASSED] test_dmesg ====================
[02:30:28] ====================== test_invalid =======================
[02:30:28] [SKIPPED] no-component no-location no-warn (requires CONFIG_DRM_XE_DEBUG)
[02:30:28] [SKIPPED] reserved location (requires CONFIG_DRM_XE_DEBUG)
[02:30:28] [SKIPPED] unknown location (requires CONFIG_DRM_XE_DEBUG)
[02:30:28] [SKIPPED] nonzero-device-id location (requires CONFIG_DRM_XE_DEBUG)
[02:30:28] [SKIPPED] invalid-tile-id location (requires CONFIG_DRM_XE_DEBUG)
[02:30:28] [SKIPPED] invalid-gt-id location (requires CONFIG_DRM_XE_DEBUG)
[02:30:28] [SKIPPED] unknown component class (requires CONFIG_DRM_XE_DEBUG)
[02:30:28] [SKIPPED] unknown system component (requires CONFIG_DRM_XE_DEBUG)
[02:30:28] [SKIPPED] unknown hardware component (requires CONFIG_DRM_XE_DEBUG)
[02:30:28] [SKIPPED] unknown component and location (requires CONFIG_DRM_XE_DEBUG)
[02:30:28] ================== [SKIPPED] test_invalid ==================
[02:30:28] ===================== [PASSED] xe_log ======================
[02:30:28] ================== no_relay (3 subtests) ===================
[02:30:28] [PASSED] xe_drops_guc2pf_if_not_ready
[02:30:28] [PASSED] xe_drops_guc2vf_if_not_ready
[02:30:28] [PASSED] xe_rejects_send_if_not_ready
[02:30:28] ==================== [PASSED] no_relay =====================
[02:30:28] ================== pf_relay (14 subtests) ==================
[02:30:28] [PASSED] pf_rejects_guc2pf_too_short
[02:30:28] [PASSED] pf_rejects_guc2pf_too_long
[02:30:28] [PASSED] pf_rejects_guc2pf_no_payload
[02:30:28] [PASSED] pf_fails_no_payload
[02:30:28] [PASSED] pf_fails_bad_origin
[02:30:28] [PASSED] pf_fails_bad_type
[02:30:28] [PASSED] pf_txn_reports_error
[02:30:28] [PASSED] pf_txn_sends_pf2guc
[02:30:28] [PASSED] pf_sends_pf2guc
[02:30:28] [SKIPPED] pf_loopback_nop (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[02:30:28] [SKIPPED] pf_loopback_echo (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[02:30:28] [SKIPPED] pf_loopback_fail (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[02:30:28] [SKIPPED] pf_loopback_busy (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[02:30:28] [SKIPPED] pf_loopback_retry (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[02:30:28] ==================== [PASSED] pf_relay =====================
[02:30:28] ================== vf_relay (3 subtests) ===================
[02:30:28] [PASSED] vf_rejects_guc2vf_too_short
[02:30:28] [PASSED] vf_rejects_guc2vf_too_long
[02:30:28] [PASSED] vf_rejects_guc2vf_no_payload
[02:30:28] ==================== [PASSED] vf_relay =====================
[02:30:28] ================ pf_gt_config (9 subtests) =================
[02:30:28] [PASSED] fair_contexts_1vf
[02:30:28] [PASSED] fair_doorbells_1vf
[02:30:28] [PASSED] fair_ggtt_1vf
[02:30:28] ====================== fair_vram_1vf ======================
[02:30:28] [PASSED] 3.50 GiB
[02:30:28] [PASSED] 11.5 GiB
[02:30:28] [PASSED] 15.5 GiB
[02:30:28] [PASSED] 31.5 GiB
[02:30:28] [PASSED] 63.5 GiB
[02:30:28] [PASSED] 1.91 GiB
[02:30:28] ================== [PASSED] fair_vram_1vf ==================
[02:30:28] ================ fair_vram_1vf_admin_only =================
[02:30:28] [PASSED] 3.50 GiB
[02:30:28] [PASSED] 11.5 GiB
[02:30:28] [PASSED] 15.5 GiB
[02:30:28] [PASSED] 31.5 GiB
[02:30:28] [PASSED] 63.5 GiB
[02:30:28] [PASSED] 1.91 GiB
[02:30:28] ============ [PASSED] fair_vram_1vf_admin_only =============
[02:30:28] ====================== fair_contexts ======================
[02:30:28] [PASSED] 1 VF
[02:30:28] [PASSED] 2 VFs
[02:30:28] [PASSED] 3 VFs
[02:30:28] [PASSED] 4 VFs
[02:30:28] [PASSED] 5 VFs
[02:30:28] [PASSED] 6 VFs
[02:30:28] [PASSED] 7 VFs
[02:30:28] [PASSED] 8 VFs
[02:30:28] [PASSED] 9 VFs
[02:30:28] [PASSED] 10 VFs
[02:30:28] [PASSED] 11 VFs
[02:30:28] [PASSED] 12 VFs
[02:30:28] [PASSED] 13 VFs
[02:30:28] [PASSED] 14 VFs
[02:30:28] [PASSED] 15 VFs
[02:30:28] [PASSED] 16 VFs
[02:30:28] [PASSED] 17 VFs
[02:30:28] [PASSED] 18 VFs
[02:30:28] [PASSED] 19 VFs
[02:30:28] [PASSED] 20 VFs
[02:30:28] [PASSED] 21 VFs
[02:30:28] [PASSED] 22 VFs
[02:30:28] [PASSED] 23 VFs
[02:30:28] [PASSED] 24 VFs
[02:30:28] [PASSED] 25 VFs
[02:30:28] [PASSED] 26 VFs
[02:30:28] [PASSED] 27 VFs
[02:30:28] [PASSED] 28 VFs
[02:30:28] [PASSED] 29 VFs
[02:30:28] [PASSED] 30 VFs
[02:30:28] [PASSED] 31 VFs
[02:30:28] [PASSED] 32 VFs
[02:30:28] [PASSED] 33 VFs
[02:30:28] [PASSED] 34 VFs
[02:30:28] [PASSED] 35 VFs
[02:30:28] [PASSED] 36 VFs
[02:30:28] [PASSED] 37 VFs
[02:30:28] [PASSED] 38 VFs
[02:30:28] [PASSED] 39 VFs
[02:30:28] [PASSED] 40 VFs
[02:30:28] [PASSED] 41 VFs
[02:30:28] [PASSED] 42 VFs
[02:30:28] [PASSED] 43 VFs
[02:30:28] [PASSED] 44 VFs
[02:30:28] [PASSED] 45 VFs
[02:30:28] [PASSED] 46 VFs
[02:30:28] [PASSED] 47 VFs
[02:30:28] [PASSED] 48 VFs
[02:30:28] [PASSED] 49 VFs
[02:30:28] [PASSED] 50 VFs
[02:30:28] [PASSED] 51 VFs
[02:30:28] [PASSED] 52 VFs
[02:30:28] [PASSED] 53 VFs
[02:30:28] [PASSED] 54 VFs
[02:30:28] [PASSED] 55 VFs
[02:30:28] [PASSED] 56 VFs
[02:30:28] [PASSED] 57 VFs
[02:30:28] [PASSED] 58 VFs
[02:30:28] [PASSED] 59 VFs
[02:30:28] [PASSED] 60 VFs
[02:30:28] [PASSED] 61 VFs
[02:30:28] [PASSED] 62 VFs
[02:30:28] [PASSED] 63 VFs
[02:30:28] ================== [PASSED] fair_contexts ==================
[02:30:28] ===================== fair_doorbells ======================
[02:30:28] [PASSED] 1 VF
[02:30:28] [PASSED] 2 VFs
[02:30:28] [PASSED] 3 VFs
[02:30:28] [PASSED] 4 VFs
[02:30:28] [PASSED] 5 VFs
[02:30:28] [PASSED] 6 VFs
[02:30:28] [PASSED] 7 VFs
[02:30:28] [PASSED] 8 VFs
[02:30:28] [PASSED] 9 VFs
[02:30:28] [PASSED] 10 VFs
[02:30:28] [PASSED] 11 VFs
[02:30:28] [PASSED] 12 VFs
[02:30:28] [PASSED] 13 VFs
[02:30:28] [PASSED] 14 VFs
[02:30:28] [PASSED] 15 VFs
[02:30:28] [PASSED] 16 VFs
[02:30:28] [PASSED] 17 VFs
[02:30:28] [PASSED] 18 VFs
[02:30:28] [PASSED] 19 VFs
[02:30:28] [PASSED] 20 VFs
[02:30:28] [PASSED] 21 VFs
[02:30:28] [PASSED] 22 VFs
[02:30:28] [PASSED] 23 VFs
[02:30:28] [PASSED] 24 VFs
[02:30:28] [PASSED] 25 VFs
[02:30:28] [PASSED] 26 VFs
[02:30:28] [PASSED] 27 VFs
[02:30:28] [PASSED] 28 VFs
[02:30:28] [PASSED] 29 VFs
[02:30:28] [PASSED] 30 VFs
[02:30:28] [PASSED] 31 VFs
[02:30:28] [PASSED] 32 VFs
[02:30:28] [PASSED] 33 VFs
[02:30:28] [PASSED] 34 VFs
[02:30:28] [PASSED] 35 VFs
[02:30:28] [PASSED] 36 VFs
[02:30:28] [PASSED] 37 VFs
[02:30:28] [PASSED] 38 VFs
[02:30:28] [PASSED] 39 VFs
[02:30:28] [PASSED] 40 VFs
[02:30:28] [PASSED] 41 VFs
[02:30:28] [PASSED] 42 VFs
[02:30:28] [PASSED] 43 VFs
[02:30:28] [PASSED] 44 VFs
[02:30:28] [PASSED] 45 VFs
[02:30:28] [PASSED] 46 VFs
[02:30:28] [PASSED] 47 VFs
[02:30:28] [PASSED] 48 VFs
[02:30:28] [PASSED] 49 VFs
[02:30:28] [PASSED] 50 VFs
[02:30:28] [PASSED] 51 VFs
[02:30:28] [PASSED] 52 VFs
[02:30:28] [PASSED] 53 VFs
[02:30:28] [PASSED] 54 VFs
[02:30:28] [PASSED] 55 VFs
[02:30:28] [PASSED] 56 VFs
[02:30:28] [PASSED] 57 VFs
[02:30:28] [PASSED] 58 VFs
[02:30:28] [PASSED] 59 VFs
[02:30:28] [PASSED] 60 VFs
[02:30:28] [PASSED] 61 VFs
[02:30:28] [PASSED] 62 VFs
[02:30:28] [PASSED] 63 VFs
[02:30:28] ================= [PASSED] fair_doorbells ==================
[02:30:28] ======================== fair_ggtt ========================
[02:30:28] [PASSED] 1 VF
[02:30:28] [PASSED] 2 VFs
[02:30:28] [PASSED] 3 VFs
[02:30:28] [PASSED] 4 VFs
[02:30:28] [PASSED] 5 VFs
[02:30:28] [PASSED] 6 VFs
[02:30:28] [PASSED] 7 VFs
[02:30:28] [PASSED] 8 VFs
[02:30:28] [PASSED] 9 VFs
[02:30:28] [PASSED] 10 VFs
[02:30:28] [PASSED] 11 VFs
[02:30:28] [PASSED] 12 VFs
[02:30:28] [PASSED] 13 VFs
[02:30:28] [PASSED] 14 VFs
[02:30:28] [PASSED] 15 VFs
[02:30:28] [PASSED] 16 VFs
[02:30:28] [PASSED] 17 VFs
[02:30:28] [PASSED] 18 VFs
[02:30:28] [PASSED] 19 VFs
[02:30:28] [PASSED] 20 VFs
[02:30:28] [PASSED] 21 VFs
[02:30:28] [PASSED] 22 VFs
[02:30:28] [PASSED] 23 VFs
[02:30:28] [PASSED] 24 VFs
[02:30:28] [PASSED] 25 VFs
[02:30:28] [PASSED] 26 VFs
[02:30:28] [PASSED] 27 VFs
[02:30:28] [PASSED] 28 VFs
[02:30:28] [PASSED] 29 VFs
[02:30:28] [PASSED] 30 VFs
[02:30:28] [PASSED] 31 VFs
[02:30:28] [PASSED] 32 VFs
[02:30:28] [PASSED] 33 VFs
[02:30:28] [PASSED] 34 VFs
[02:30:28] [PASSED] 35 VFs
[02:30:28] [PASSED] 36 VFs
[02:30:28] [PASSED] 37 VFs
[02:30:28] [PASSED] 38 VFs
[02:30:28] [PASSED] 39 VFs
[02:30:28] [PASSED] 40 VFs
[02:30:28] [PASSED] 41 VFs
[02:30:28] [PASSED] 42 VFs
[02:30:28] [PASSED] 43 VFs
[02:30:28] [PASSED] 44 VFs
[02:30:28] [PASSED] 45 VFs
[02:30:28] [PASSED] 46 VFs
[02:30:28] [PASSED] 47 VFs
[02:30:28] [PASSED] 48 VFs
[02:30:28] [PASSED] 49 VFs
[02:30:28] [PASSED] 50 VFs
[02:30:28] [PASSED] 51 VFs
[02:30:28] [PASSED] 52 VFs
[02:30:28] [PASSED] 53 VFs
[02:30:28] [PASSED] 54 VFs
[02:30:28] [PASSED] 55 VFs
[02:30:28] [PASSED] 56 VFs
[02:30:28] [PASSED] 57 VFs
[02:30:28] [PASSED] 58 VFs
[02:30:28] [PASSED] 59 VFs
[02:30:28] [PASSED] 60 VFs
[02:30:28] [PASSED] 61 VFs
[02:30:28] [PASSED] 62 VFs
[02:30:28] [PASSED] 63 VFs
[02:30:28] ==================== [PASSED] fair_ggtt ====================
[02:30:28] ======================== fair_vram ========================
[02:30:28] [PASSED] 1 VF
[02:30:28] [PASSED] 2 VFs
[02:30:28] [PASSED] 3 VFs
[02:30:28] [PASSED] 4 VFs
[02:30:28] [PASSED] 5 VFs
[02:30:28] [PASSED] 6 VFs
[02:30:28] [PASSED] 7 VFs
[02:30:28] [PASSED] 8 VFs
[02:30:28] [PASSED] 9 VFs
[02:30:28] [PASSED] 10 VFs
[02:30:28] [PASSED] 11 VFs
[02:30:28] [PASSED] 12 VFs
[02:30:28] [PASSED] 13 VFs
[02:30:28] [PASSED] 14 VFs
[02:30:28] [PASSED] 15 VFs
[02:30:28] [PASSED] 16 VFs
[02:30:28] [PASSED] 17 VFs
[02:30:28] [PASSED] 18 VFs
[02:30:28] [PASSED] 19 VFs
[02:30:28] [PASSED] 20 VFs
[02:30:28] [PASSED] 21 VFs
[02:30:28] [PASSED] 22 VFs
[02:30:28] [PASSED] 23 VFs
[02:30:28] [PASSED] 24 VFs
[02:30:28] [PASSED] 25 VFs
[02:30:28] [PASSED] 26 VFs
[02:30:28] [PASSED] 27 VFs
[02:30:28] [PASSED] 28 VFs
[02:30:28] [PASSED] 29 VFs
[02:30:28] [PASSED] 30 VFs
[02:30:28] [PASSED] 31 VFs
[02:30:28] [PASSED] 32 VFs
[02:30:28] [PASSED] 33 VFs
[02:30:28] [PASSED] 34 VFs
[02:30:28] [PASSED] 35 VFs
[02:30:28] [PASSED] 36 VFs
[02:30:28] [PASSED] 37 VFs
[02:30:28] [PASSED] 38 VFs
[02:30:28] [PASSED] 39 VFs
[02:30:28] [PASSED] 40 VFs
[02:30:28] [PASSED] 41 VFs
[02:30:28] [PASSED] 42 VFs
[02:30:28] [PASSED] 43 VFs
[02:30:28] [PASSED] 44 VFs
[02:30:28] [PASSED] 45 VFs
[02:30:28] [PASSED] 46 VFs
[02:30:28] [PASSED] 47 VFs
[02:30:28] [PASSED] 48 VFs
[02:30:29] [PASSED] 49 VFs
[02:30:29] [PASSED] 50 VFs
[02:30:29] [PASSED] 51 VFs
[02:30:29] [PASSED] 52 VFs
[02:30:29] [PASSED] 53 VFs
[02:30:29] [PASSED] 54 VFs
[02:30:29] [PASSED] 55 VFs
[02:30:29] [PASSED] 56 VFs
[02:30:29] [PASSED] 57 VFs
[02:30:29] [PASSED] 58 VFs
[02:30:29] [PASSED] 59 VFs
[02:30:29] [PASSED] 60 VFs
[02:30:29] [PASSED] 61 VFs
[02:30:29] [PASSED] 62 VFs
[02:30:29] [PASSED] 63 VFs
[02:30:29] ==================== [PASSED] fair_vram ====================
[02:30:29] ================== [PASSED] pf_gt_config ===================
[02:30:29] ===================== lmtt (1 subtest) =====================
[02:30:29] ======================== test_ops =========================
[02:30:29] [PASSED] 2-level
[02:30:29] [PASSED] multi-level
[02:30:29] ==================== [PASSED] test_ops =====================
[02:30:29] ====================== [PASSED] lmtt =======================
[02:30:29] ================= sriov_packet (1 subtest) =================
[02:30:29] [PASSED] test_descriptor_init
[02:30:29] ================== [PASSED] sriov_packet ===================
[02:30:29] ================= pf_service (11 subtests) =================
[02:30:29] [PASSED] pf_negotiate_any
[02:30:29] [PASSED] pf_negotiate_base_match
[02:30:29] [PASSED] pf_negotiate_base_newer
[02:30:29] [PASSED] pf_negotiate_base_next
[02:30:29] [SKIPPED] pf_negotiate_base_older (no older minor)
[02:30:29] [PASSED] pf_negotiate_base_prev
[02:30:29] [PASSED] pf_negotiate_latest_match
[02:30:29] [PASSED] pf_negotiate_latest_newer
[02:30:29] [PASSED] pf_negotiate_latest_next
[02:30:29] [SKIPPED] pf_negotiate_latest_older (no older minor)
[02:30:29] [SKIPPED] pf_negotiate_latest_prev (no prev major)
[02:30:29] =================== [PASSED] pf_service ====================
[02:30:29] ================= xe_guc_g2g (2 subtests) ==================
[02:30:29] ============== xe_live_guc_g2g_kunit_default ==============
[02:30:29] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ==========
[02:30:29] ============== xe_live_guc_g2g_kunit_allmem ===============
[02:30:29] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ==========
[02:30:29] =================== [SKIPPED] xe_guc_g2g ===================
[02:30:29] =================== xe_mocs (2 subtests) ===================
[02:30:29] ================ xe_live_mocs_kernel_kunit ================
[02:30:29] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[02:30:29] ================ xe_live_mocs_reset_kunit =================
[02:30:29] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[02:30:29] ==================== [SKIPPED] xe_mocs =====================
[02:30:29] ================= xe_migrate (2 subtests) ==================
[02:30:29] ================= xe_migrate_sanity_kunit =================
[02:30:29] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[02:30:29] ================== xe_validate_ccs_kunit ==================
[02:30:29] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[02:30:29] =================== [SKIPPED] xe_migrate ===================
[02:30:29] ================== xe_dma_buf (1 subtest) ==================
[02:30:29] ==================== xe_dma_buf_kunit =====================
[02:30:29] ================ [SKIPPED] xe_dma_buf_kunit ================
[02:30:29] =================== [SKIPPED] xe_dma_buf ===================
[02:30:29] ================= xe_bo_shrink (1 subtest) =================
[02:30:29] =================== xe_bo_shrink_kunit ====================
[02:30:29] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[02:30:29] ================== [SKIPPED] xe_bo_shrink ==================
[02:30:29] ==================== xe_bo (2 subtests) ====================
[02:30:29] ================== xe_ccs_migrate_kunit ===================
[02:30:29] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[02:30:29] ==================== xe_bo_evict_kunit ====================
[02:30:29] =============== [SKIPPED] xe_bo_evict_kunit ================
[02:30:29] ===================== [SKIPPED] xe_bo ======================
[02:30:29] =================== xe_any (9 subtests) ====================
[02:30:29] [PASSED] test_to_xe
[02:30:29] [PASSED] test_to_dev
[02:30:29] [PASSED] test_to_pdev
[02:30:29] [PASSED] test_to_drm
[02:30:29] [PASSED] test_if_pdev
[02:30:29] [PASSED] test_if_xe
[02:30:29] [PASSED] test_if_tile
[02:30:29] [PASSED] test_if_gt
[02:30:29] [PASSED] test_to_id
[02:30:29] ===================== [PASSED] xe_any ======================
[02:30:29] ==================== args (13 subtests) ====================
[02:30:29] [PASSED] count_args_test
[02:30:29] [PASSED] call_args_example
[02:30:29] [PASSED] call_args_test
[02:30:29] [PASSED] drop_first_arg_example
[02:30:29] [PASSED] drop_first_arg_test
[02:30:29] [PASSED] first_arg_example
[02:30:29] [PASSED] first_arg_test
[02:30:29] [PASSED] last_arg_example
[02:30:29] [PASSED] last_arg_test
[02:30:29] [PASSED] pick_arg_example
[02:30:29] [PASSED] if_args_example
[02:30:29] [PASSED] if_args_test
[02:30:29] [PASSED] sep_comma_example
[02:30:29] ====================== [PASSED] args =======================
[02:30:29] =================== xe_pci (3 subtests) ====================
[02:30:29] ==================== check_graphics_ip ====================
[02:30:29] [PASSED] 12.00 Xe_LP
[02:30:29] [PASSED] 12.10 Xe_LP+
[02:30:29] [PASSED] 12.55 Xe_HPG
[02:30:29] [PASSED] 12.60 Xe_HPC
[02:30:29] [PASSED] 12.70 Xe_LPG
[02:30:29] [PASSED] 12.71 Xe_LPG
[02:30:29] [PASSED] 12.74 Xe_LPG+
[02:30:29] [PASSED] 20.01 Xe2_HPG
[02:30:29] [PASSED] 20.02 Xe2_HPG
[02:30:29] [PASSED] 20.04 Xe2_LPG
[02:30:29] [PASSED] 30.00 Xe3_LPG
[02:30:29] [PASSED] 30.01 Xe3_LPG
[02:30:29] [PASSED] 30.03 Xe3_LPG
[02:30:29] [PASSED] 30.04 Xe3_LPG
[02:30:29] [PASSED] 30.05 Xe3_LPG
[02:30:29] [PASSED] 35.10 Xe3p_LPG
[02:30:29] [PASSED] 35.11 Xe3p_XPC
[02:30:29] ================ [PASSED] check_graphics_ip ================
[02:30:29] ===================== check_media_ip ======================
[02:30:29] [PASSED] 12.00 Xe_M
[02:30:29] [PASSED] 12.55 Xe_HPM
[02:30:29] [PASSED] 13.00 Xe_LPM+
[02:30:29] [PASSED] 13.01 Xe2_HPM
[02:30:29] [PASSED] 20.00 Xe2_LPM
[02:30:29] [PASSED] 30.00 Xe3_LPM
[02:30:29] [PASSED] 30.02 Xe3_LPM
[02:30:29] [PASSED] 35.00 Xe3p_LPM
[02:30:29] [PASSED] 35.03 Xe3p_HPM
[02:30:29] ================= [PASSED] check_media_ip ==================
[02:30:29] =================== check_platform_desc ===================
[02:30:29] [PASSED] 0x9A60 (TIGERLAKE)
[02:30:29] [PASSED] 0x9A68 (TIGERLAKE)
[02:30:29] [PASSED] 0x9A70 (TIGERLAKE)
[02:30:29] [PASSED] 0x9A40 (TIGERLAKE)
[02:30:29] [PASSED] 0x9A49 (TIGERLAKE)
[02:30:29] [PASSED] 0x9A59 (TIGERLAKE)
[02:30:29] [PASSED] 0x9A78 (TIGERLAKE)
[02:30:29] [PASSED] 0x9AC0 (TIGERLAKE)
[02:30:29] [PASSED] 0x9AC9 (TIGERLAKE)
[02:30:29] [PASSED] 0x9AD9 (TIGERLAKE)
[02:30:29] [PASSED] 0x9AF8 (TIGERLAKE)
[02:30:29] [PASSED] 0x4C80 (ROCKETLAKE)
[02:30:29] [PASSED] 0x4C8A (ROCKETLAKE)
[02:30:29] [PASSED] 0x4C8B (ROCKETLAKE)
[02:30:29] [PASSED] 0x4C8C (ROCKETLAKE)
[02:30:29] [PASSED] 0x4C90 (ROCKETLAKE)
[02:30:29] [PASSED] 0x4C9A (ROCKETLAKE)
[02:30:29] [PASSED] 0x4680 (ALDERLAKE_S)
[02:30:29] [PASSED] 0x4682 (ALDERLAKE_S)
[02:30:29] [PASSED] 0x4688 (ALDERLAKE_S)
[02:30:29] [PASSED] 0x468A (ALDERLAKE_S)
[02:30:29] [PASSED] 0x468B (ALDERLAKE_S)
[02:30:29] [PASSED] 0x4690 (ALDERLAKE_S)
[02:30:29] [PASSED] 0x4692 (ALDERLAKE_S)
[02:30:29] [PASSED] 0x4693 (ALDERLAKE_S)
[02:30:29] [PASSED] 0x46A0 (ALDERLAKE_P)
[02:30:29] [PASSED] 0x46A1 (ALDERLAKE_P)
[02:30:29] [PASSED] 0x46A2 (ALDERLAKE_P)
[02:30:29] [PASSED] 0x46A3 (ALDERLAKE_P)
[02:30:29] [PASSED] 0x46A6 (ALDERLAKE_P)
[02:30:29] [PASSED] 0x46A8 (ALDERLAKE_P)
[02:30:29] [PASSED] 0x46AA (ALDERLAKE_P)
[02:30:29] [PASSED] 0x462A (ALDERLAKE_P)
[02:30:29] [PASSED] 0x4626 (ALDERLAKE_P)
[02:30:29] [PASSED] 0x4628 (ALDERLAKE_P)
[02:30:29] [PASSED] 0x46B0 (ALDERLAKE_P)
[02:30:29] [PASSED] 0x46B1 (ALDERLAKE_P)
[02:30:29] [PASSED] 0x46B2 (ALDERLAKE_P)
[02:30:29] [PASSED] 0x46B3 (ALDERLAKE_P)
[02:30:29] [PASSED] 0x46C0 (ALDERLAKE_P)
[02:30:29] [PASSED] 0x46C1 (ALDERLAKE_P)
[02:30:29] [PASSED] 0x46C2 (ALDERLAKE_P)
[02:30:29] [PASSED] 0x46C3 (ALDERLAKE_P)
[02:30:29] [PASSED] 0x46D0 (ALDERLAKE_N)
[02:30:29] [PASSED] 0x46D1 (ALDERLAKE_N)
[02:30:29] [PASSED] 0x46D2 (ALDERLAKE_N)
[02:30:29] [PASSED] 0x46D3 (ALDERLAKE_N)
[02:30:29] [PASSED] 0x46D4 (ALDERLAKE_N)
[02:30:29] [PASSED] 0xA721 (ALDERLAKE_P)
[02:30:29] [PASSED] 0xA7A1 (ALDERLAKE_P)
[02:30:29] [PASSED] 0xA7A9 (ALDERLAKE_P)
[02:30:29] [PASSED] 0xA7AC (ALDERLAKE_P)
[02:30:29] [PASSED] 0xA7AD (ALDERLAKE_P)
[02:30:29] [PASSED] 0xA720 (ALDERLAKE_P)
[02:30:29] [PASSED] 0xA7A0 (ALDERLAKE_P)
[02:30:29] [PASSED] 0xA7A8 (ALDERLAKE_P)
[02:30:29] [PASSED] 0xA7AA (ALDERLAKE_P)
[02:30:29] [PASSED] 0xA7AB (ALDERLAKE_P)
[02:30:29] [PASSED] 0xA780 (ALDERLAKE_S)
[02:30:29] [PASSED] 0xA781 (ALDERLAKE_S)
[02:30:29] [PASSED] 0xA782 (ALDERLAKE_S)
[02:30:29] [PASSED] 0xA783 (ALDERLAKE_S)
[02:30:29] [PASSED] 0xA788 (ALDERLAKE_S)
[02:30:29] [PASSED] 0xA789 (ALDERLAKE_S)
[02:30:29] [PASSED] 0xA78A (ALDERLAKE_S)
[02:30:29] [PASSED] 0xA78B (ALDERLAKE_S)
[02:30:29] [PASSED] 0x4905 (DG1)
[02:30:29] [PASSED] 0x4906 (DG1)
[02:30:29] [PASSED] 0x4907 (DG1)
[02:30:29] [PASSED] 0x4908 (DG1)
[02:30:29] [PASSED] 0x4909 (DG1)
[02:30:29] [PASSED] 0x56C0 (DG2)
[02:30:29] [PASSED] 0x56C2 (DG2)
[02:30:29] [PASSED] 0x56C1 (DG2)
[02:30:29] [PASSED] 0x7D51 (METEORLAKE)
[02:30:29] [PASSED] 0x7DD1 (METEORLAKE)
[02:30:29] [PASSED] 0x7D41 (METEORLAKE)
[02:30:29] [PASSED] 0x7D67 (METEORLAKE)
[02:30:29] [PASSED] 0xB640 (METEORLAKE)
[02:30:29] [PASSED] 0x56A0 (DG2)
[02:30:29] [PASSED] 0x56A1 (DG2)
[02:30:29] [PASSED] 0x56A2 (DG2)
[02:30:29] [PASSED] 0x56BE (DG2)
[02:30:29] [PASSED] 0x56BF (DG2)
[02:30:29] [PASSED] 0x5690 (DG2)
[02:30:29] [PASSED] 0x5691 (DG2)
[02:30:29] [PASSED] 0x5692 (DG2)
[02:30:29] [PASSED] 0x56A5 (DG2)
[02:30:29] [PASSED] 0x56A6 (DG2)
[02:30:29] [PASSED] 0x56B0 (DG2)
[02:30:29] [PASSED] 0x56B1 (DG2)
[02:30:29] [PASSED] 0x56BA (DG2)
[02:30:29] [PASSED] 0x56BB (DG2)
[02:30:29] [PASSED] 0x56BC (DG2)
[02:30:29] [PASSED] 0x56BD (DG2)
[02:30:29] [PASSED] 0x5693 (DG2)
[02:30:29] [PASSED] 0x5694 (DG2)
[02:30:29] [PASSED] 0x5695 (DG2)
[02:30:29] [PASSED] 0x56A3 (DG2)
[02:30:29] [PASSED] 0x56A4 (DG2)
[02:30:29] [PASSED] 0x56B2 (DG2)
[02:30:29] [PASSED] 0x56B3 (DG2)
[02:30:29] [PASSED] 0x5696 (DG2)
[02:30:29] [PASSED] 0x5697 (DG2)
[02:30:29] [PASSED] 0xB69 (PVC)
[02:30:29] [PASSED] 0xB6E (PVC)
[02:30:29] [PASSED] 0xBD4 (PVC)
[02:30:29] [PASSED] 0xBD5 (PVC)
[02:30:29] [PASSED] 0xBD6 (PVC)
[02:30:29] [PASSED] 0xBD7 (PVC)
[02:30:29] [PASSED] 0xBD8 (PVC)
[02:30:29] [PASSED] 0xBD9 (PVC)
[02:30:29] [PASSED] 0xBDA (PVC)
[02:30:29] [PASSED] 0xBDB (PVC)
[02:30:29] [PASSED] 0xBE0 (PVC)
[02:30:29] [PASSED] 0xBE1 (PVC)
[02:30:29] [PASSED] 0xBE5 (PVC)
[02:30:29] [PASSED] 0x7D40 (METEORLAKE)
[02:30:29] [PASSED] 0x7D45 (METEORLAKE)
[02:30:29] [PASSED] 0x7D55 (METEORLAKE)
[02:30:29] [PASSED] 0x7D60 (METEORLAKE)
[02:30:29] [PASSED] 0x7DD5 (METEORLAKE)
[02:30:29] [PASSED] 0x6420 (LUNARLAKE)
[02:30:29] [PASSED] 0x64A0 (LUNARLAKE)
[02:30:29] [PASSED] 0x64B0 (LUNARLAKE)
[02:30:29] [PASSED] 0xE202 (BATTLEMAGE)
[02:30:29] [PASSED] 0xE209 (BATTLEMAGE)
[02:30:29] [PASSED] 0xE20B (BATTLEMAGE)
[02:30:29] [PASSED] 0xE20C (BATTLEMAGE)
[02:30:29] [PASSED] 0xE20D (BATTLEMAGE)
[02:30:29] [PASSED] 0xE210 (BATTLEMAGE)
[02:30:29] [PASSED] 0xE211 (BATTLEMAGE)
[02:30:29] [PASSED] 0xE212 (BATTLEMAGE)
[02:30:29] [PASSED] 0xE216 (BATTLEMAGE)
[02:30:29] [PASSED] 0xE220 (BATTLEMAGE)
[02:30:29] [PASSED] 0xE221 (BATTLEMAGE)
[02:30:29] [PASSED] 0xE222 (BATTLEMAGE)
[02:30:29] [PASSED] 0xE223 (BATTLEMAGE)
[02:30:29] [PASSED] 0xB080 (PANTHERLAKE)
[02:30:29] [PASSED] 0xB081 (PANTHERLAKE)
[02:30:29] [PASSED] 0xB082 (PANTHERLAKE)
[02:30:29] [PASSED] 0xB083 (PANTHERLAKE)
[02:30:29] [PASSED] 0xB084 (PANTHERLAKE)
[02:30:29] [PASSED] 0xB085 (PANTHERLAKE)
[02:30:29] [PASSED] 0xB086 (PANTHERLAKE)
[02:30:29] [PASSED] 0xB087 (PANTHERLAKE)
[02:30:29] [PASSED] 0xB08F (PANTHERLAKE)
[02:30:29] [PASSED] 0xB090 (PANTHERLAKE)
[02:30:29] [PASSED] 0xB0A0 (PANTHERLAKE)
[02:30:29] [PASSED] 0xB0B0 (PANTHERLAKE)
[02:30:29] [PASSED] 0xFD80 (PANTHERLAKE)
[02:30:29] [PASSED] 0xFD81 (PANTHERLAKE)
[02:30:29] [PASSED] 0xD740 (NOVALAKE_S)
[02:30:29] [PASSED] 0xD741 (NOVALAKE_S)
[02:30:29] [PASSED] 0xD742 (NOVALAKE_S)
[02:30:29] [PASSED] 0xD743 (NOVALAKE_S)
[02:30:29] [PASSED] 0xD745 (NOVALAKE_S)
[02:30:29] [PASSED] 0xD74A (NOVALAKE_S)
[02:30:29] [PASSED] 0xD74B (NOVALAKE_S)
[02:30:29] [PASSED] 0x674C (CRESCENTISLAND)
[02:30:29] [PASSED] 0x674D (CRESCENTISLAND)
[02:30:29] [PASSED] 0x674E (CRESCENTISLAND)
[02:30:29] [PASSED] 0x674F (CRESCENTISLAND)
[02:30:29] [PASSED] 0x6750 (CRESCENTISLAND)
[02:30:29] [PASSED] 0xD750 (NOVALAKE_P)
[02:30:29] [PASSED] 0xD751 (NOVALAKE_P)
[02:30:29] [PASSED] 0xD752 (NOVALAKE_P)
[02:30:29] [PASSED] 0xD753 (NOVALAKE_P)
[02:30:29] [PASSED] 0xD754 (NOVALAKE_P)
[02:30:29] [PASSED] 0xD755 (NOVALAKE_P)
[02:30:29] [PASSED] 0xD756 (NOVALAKE_P)
[02:30:29] [PASSED] 0xD757 (NOVALAKE_P)
[02:30:29] [PASSED] 0xD75F (NOVALAKE_P)
[02:30:29] =============== [PASSED] check_platform_desc ===============
[02:30:29] ===================== [PASSED] xe_pci ======================
[02:30:29] ============= xe_rtp_tables_test (5 subtests) ==============
[02:30:29] ================== xe_rtp_table_gt_test ===================
[02:30:29] [PASSED] gt_was/14011060649
[02:30:29] [PASSED] gt_was/14011059788
[02:30:29] [PASSED] gt_was/14015795083
[02:30:29] [PASSED] gt_was/16021867713
[02:30:29] [PASSED] gt_was/14019449301
[02:30:29] [PASSED] gt_was/16028005424
[02:30:29] [PASSED] gt_was/14026578760
[02:30:29] [PASSED] gt_was/1409420604
[02:30:29] [PASSED] gt_was/1408615072
[02:30:29] [PASSED] gt_was/22010523718
[02:30:29] [PASSED] gt_was/14011006942
[02:30:29] [PASSED] gt_was/14014830051
[02:30:29] [PASSED] gt_was/18018781329
[02:30:29] [PASSED] gt_was/1509235366
[02:30:29] [PASSED] gt_was/18018781329
[02:30:29] [PASSED] gt_was/16016694945
[02:30:29] [PASSED] gt_was/14018575942
[02:30:29] [PASSED] gt_was/22016670082
[02:30:29] [PASSED] gt_was/22016670082
[02:30:29] [PASSED] gt_was/14017421178
[02:30:29] [PASSED] gt_was/16025250150
[02:30:29] [PASSED] gt_was/14021871409
[02:30:29] [PASSED] gt_was/16021865536
[02:30:29] [PASSED] gt_was/14021486841
[02:30:29] [PASSED] gt_was/14025160223
[02:30:29] [PASSED] gt_was/14026144927, 16029437861, 14026127056
[02:30:29] [PASSED] gt_was/14025635424
[02:30:29] [PASSED] gt_was/16028005424
[02:30:29] ============== [PASSED] xe_rtp_table_gt_test ===============
[02:30:29] ================== xe_rtp_table_gt_test ===================
[02:30:29] [PASSED] gt_tunings/Tuning: Blend Fill Caching Optimization Disable
[02:30:29] [PASSED] gt_tunings/Tuning: 32B Access Enable
[02:30:29] [PASSED] gt_tunings/Tuning: L3 cache
[02:30:29] [PASSED] gt_tunings/Tuning: L3 cache - media
[02:30:29] [PASSED] gt_tunings/Tuning: Compression Overfetch
[02:30:29] [PASSED] gt_tunings/Tuning: Compression Overfetch - media
[02:30:29] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3
[02:30:29] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 - media
[02:30:29] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only
[02:30:29] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only - media
[02:30:29] [PASSED] gt_tunings/Tuning: Stateless compression control
[02:30:29] [PASSED] gt_tunings/Tuning: Stateless compression control - media
[02:30:29] [PASSED] gt_tunings/Tuning: L3 RW flush all Cache
[02:30:29] [PASSED] gt_tunings/Tuning: L3 RW flush all cache - media
[02:30:29] [PASSED] gt_tunings/Tuning: Set STLB Bank Hash Mode to 4KB
[02:30:29] ============== [PASSED] xe_rtp_table_gt_test ===============
[02:30:29] ================== xe_rtp_table_oob_test ==================
[02:30:29] [PASSED] oob_was/1607983814
[02:30:29] [PASSED] oob_was/16010904313
[02:30:29] [PASSED] oob_was/18022495364
[02:30:29] [PASSED] oob_was/22012773006
[02:30:29] [PASSED] oob_was/14014475959
[02:30:29] [PASSED] oob_was/22011391025
[02:30:29] [PASSED] oob_was/22012727170
[02:30:29] [PASSED] oob_was/22012727685
[02:30:29] [PASSED] oob_was/22016596838
[02:30:29] [PASSED] oob_was/18020744125
[02:30:29] [PASSED] oob_was/1409600907
[02:30:29] [PASSED] oob_was/22014953428
[02:30:29] [PASSED] oob_was/16017236439
[02:30:29] [PASSED] oob_was/14019821291
[02:30:29] [PASSED] oob_was/14015076503
[02:30:29] [PASSED] oob_was/14018913170
[02:30:29] [PASSED] oob_was/14018094691
[02:30:29] [PASSED] oob_was/18024947630
[02:30:29] [PASSED] oob_was/16022287689
[02:30:29] [PASSED] oob_was/13011645652
[02:30:29] [PASSED] oob_was/14022293748
[02:30:29] [PASSED] oob_was/22019794406
[02:30:29] [PASSED] oob_was/22019338487
[02:30:29] [PASSED] oob_was/16023588340
[02:30:29] [PASSED] oob_was/14019789679
[02:30:29] [PASSED] oob_was/14022866841
[02:30:29] [PASSED] oob_was/16021333562
[02:30:29] [PASSED] oob_was/14016712196
[02:30:29] [PASSED] oob_was/14015568240
[02:30:29] [PASSED] oob_was/18013179988
[02:30:29] [PASSED] oob_was/1508761755
[02:30:29] [PASSED] oob_was/16023105232
[02:30:29] [PASSED] oob_was/16026508708
[02:30:29] [PASSED] oob_was/14020001231
[02:30:29] [PASSED] oob_was/16023683509
[02:30:29] [PASSED] oob_was/14025515070
[02:30:29] [PASSED] oob_was/15015404425_disable
[02:30:29] [PASSED] oob_was/16026007364
[02:30:29] [PASSED] oob_was/14020316580
[02:30:29] [PASSED] oob_was/14025883347
[02:30:29] [PASSED] oob_was/16029380221
[02:30:29] [PASSED] oob_was/22022079272
[02:30:29] [PASSED] oob_was/16029897822
[02:30:29] [PASSED] oob_was/14027054324
[02:30:29] ============== [PASSED] xe_rtp_table_oob_test ==============
[02:30:29] ================ xe_rtp_table_dev_oob_test ================
[02:30:29] [PASSED] device_oob_was/22010954014
[02:30:29] [PASSED] device_oob_was/15015404425
[02:30:29] [PASSED] device_oob_was/22019338487_display
[02:30:29] [PASSED] device_oob_was/14022085890
[02:30:29] [PASSED] device_oob_was/14026539277
[02:30:29] [PASSED] device_oob_was/14026633728
[02:30:29] [PASSED] device_oob_was/14026746987
[02:30:29] [PASSED] device_oob_was/14026779378
[02:30:29] ============ [PASSED] xe_rtp_table_dev_oob_test ============
[02:30:29] ========== xe_rtp_table_missing_upper_bound_test ==========
[02:30:29] [PASSED] register_whitelist/WaAllowPMDepthAndInvocationCountAccessFromUMD, 1408556865
[02:30:29] [PASSED] register_whitelist/1508744258, 14012131227, 1808121037
[02:30:29] [PASSED] register_whitelist/1806527549
[02:30:29] [PASSED] register_whitelist/allow_read_ctx_timestamp
[02:30:29] [PASSED] register_whitelist/allow_read_queue_timestamp
[02:30:29] [PASSED] register_whitelist/16014440446
[02:30:29] [PASSED] register_whitelist/16017236439
[02:30:29] [PASSED] register_whitelist/16020183090
[02:30:29] [PASSED] register_whitelist/14024997852
[02:30:29] [PASSED] register_whitelist/14024997852
[02:30:29] ====== [PASSED] xe_rtp_table_missing_upper_bound_test ======
[02:30:29] =============== [PASSED] xe_rtp_tables_test ================
[02:30:29] =================== xe_rtp (3 subtests) ====================
[02:30:29] =================== xe_rtp_rules_tests ====================
[02:30:29] [PASSED] no
[02:30:29] [PASSED] yes
[02:30:29] [PASSED] no-and-no
[02:30:29] [PASSED] no-and-yes
[02:30:29] [PASSED] yes-and-no
[02:30:29] [PASSED] yes-and-yes
[02:30:29] [PASSED] no-or-no
[02:30:29] [PASSED] no-or-yes
[02:30:29] [PASSED] yes-or-no
[02:30:29] [PASSED] yes-or-yes
[02:30:29] [PASSED] no-yes-or-yes-no
[02:30:29] [PASSED] no-yes-or-yes-yes
[02:30:29] [PASSED] yes-yes-or-no-yes
[02:30:29] [PASSED] yes-yes-or-yes-yes
[02:30:29] [PASSED] no-no-or-yes-or-no
[02:30:29] [PASSED] or
[02:30:29] [PASSED] or-yes
[02:30:29] [PASSED] or-no
[02:30:29] [PASSED] yes-or
[02:30:29] [PASSED] no-or
[02:30:29] [PASSED] no-or-or-yes
[02:30:29] [PASSED] yes-or-or-no
[02:30:29] [PASSED] no-or-or-no
[02:30:29] [PASSED] missing-context-engine-class
[02:30:29] [PASSED] missing-context-engine-class-or-yes
[02:30:29] [PASSED] missing-context-engine-class-or-or-yes
[02:30:29] =============== [PASSED] xe_rtp_rules_tests ================
[02:30:29] =============== xe_rtp_process_to_sr_tests ================
[02:30:29] [PASSED] coalesce-same-reg
[02:30:29] [PASSED] coalesce-same-reg-literal-and-func
[02:30:29] [PASSED] no-match-no-add
[02:30:29] [PASSED] two-regs-two-entries
[02:30:29] [PASSED] clr-one-set-other
[02:30:29] [PASSED] set-field
[02:30:29] [PASSED] conflict-duplicate
[02:30:29] [PASSED] conflict-not-disjoint
[02:30:29] [PASSED] conflict-not-disjoint-literal-and-func
[02:30:29] [PASSED] conflict-reg-type
[02:30:29] [PASSED] bad-mcr-reg-forced-to-regular
[02:30:29] [PASSED] bad-regular-reg-forced-to-mcr
[02:30:29] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[02:30:29] ================== xe_rtp_process_tests ===================
[02:30:29] [PASSED] active1
[02:30:29] [PASSED] active2
[02:30:29] [PASSED] active-inactive
[02:30:29] [PASSED] inactive-active
[02:30:29] [PASSED] inactive-active-inactive
[02:30:29] [PASSED] inactive-inactive-inactive
[02:30:29] ============== [PASSED] xe_rtp_process_tests ===============
[02:30:29] ===================== [PASSED] xe_rtp ======================
[02:30:29] ==================== xe_wa (1 subtest) =====================
[02:30:29] ======================== xe_wa_gt =========================
[02:30:29] [PASSED] TIGERLAKE B0
[02:30:29] [PASSED] DG1 A0
[02:30:29] [PASSED] DG1 B0
[02:30:29] [PASSED] ALDERLAKE_S A0
[02:30:29] [PASSED] ALDERLAKE_S B0
[02:30:29] [PASSED] ALDERLAKE_S C0
[02:30:29] [PASSED] ALDERLAKE_S D0
[02:30:29] [PASSED] ALDERLAKE_P A0
[02:30:29] [PASSED] ALDERLAKE_P B0
[02:30:29] [PASSED] ALDERLAKE_P C0
[02:30:29] [PASSED] ALDERLAKE_S RPLS D0
[02:30:29] [PASSED] ALDERLAKE_P RPLU E0
[02:30:29] [PASSED] DG2 G10 C0
[02:30:29] [PASSED] DG2 G11 B1
[02:30:29] [PASSED] DG2 G12 A1
[02:30:29] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0
[02:30:29] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0
[02:30:29] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0
[02:30:29] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0
[02:30:29] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0
[02:30:29] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1
[02:30:29] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0
[02:30:29] ==================== [PASSED] xe_wa_gt =====================
[02:30:29] ====================== [PASSED] xe_wa ======================
[02:30:29] ============================================================
[02:30:29] Testing complete. Ran 793 tests: passed: 765, skipped: 28
[02:30:29] Elapsed time: 36.998s total, 1.853s configuring, 34.429s building, 0.692s running
+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/drm/tests/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig
[02:30:29] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[02:30:31] 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
[02:30:56] Starting KUnit Kernel (1/1)...
[02:30:56] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[02:30:56] ============= refcount_interrupt (4 subtests) ==============
[02:30:56] [PASSED] test_single_irq_change
[02:30:56] [PASSED] test_nested_irq_change
[02:30:56] [PASSED] test_multiple_irq_change
[02:30:56] [PASSED] test_irq_save
[02:30:56] =============== [PASSED] refcount_interrupt ================
[02:30:56] ============ drm_test_pick_cmdline (2 subtests) ============
[02:30:56] [PASSED] drm_test_pick_cmdline_res_1920_1080_60
[02:30:56] =============== drm_test_pick_cmdline_named ===============
[02:30:56] [PASSED] NTSC
[02:30:56] [PASSED] NTSC-J
[02:30:56] [PASSED] PAL
[02:30:56] [PASSED] PAL-M
[02:30:56] =========== [PASSED] drm_test_pick_cmdline_named ===========
[02:30:56] ============== [PASSED] drm_test_pick_cmdline ==============
[02:30:56] == drm_test_atomic_get_connector_for_encoder (1 subtest) ===
[02:30:56] [PASSED] drm_test_drm_atomic_get_connector_for_encoder
[02:30:56] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ====
[02:30:56] =========== drm_validate_clone_mode (2 subtests) ===========
[02:30:56] ============== drm_test_check_in_clone_mode ===============
[02:30:56] [PASSED] in_clone_mode
[02:30:56] [PASSED] not_in_clone_mode
[02:30:56] ========== [PASSED] drm_test_check_in_clone_mode ===========
[02:30:56] =============== drm_test_check_valid_clones ===============
[02:30:56] [PASSED] not_in_clone_mode
[02:30:56] [PASSED] valid_clone
[02:30:56] [PASSED] invalid_clone
[02:30:56] =========== [PASSED] drm_test_check_valid_clones ===========
[02:30:56] ============= [PASSED] drm_validate_clone_mode =============
[02:30:56] ============= drm_validate_modeset (1 subtest) =============
[02:30:56] [PASSED] drm_test_check_connector_changed_modeset
[02:30:56] ============== [PASSED] drm_validate_modeset ===============
[02:30:56] ====== drm_test_bridge_get_current_state (1 subtest) =======
[02:30:56] [PASSED] drm_test_drm_bridge_get_current_state_atomic
[02:30:56] ======== [PASSED] drm_test_bridge_get_current_state ========
[02:30:56] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ======
[02:30:56] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic
[02:30:56] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled
[02:30:56] [PASSED] drm_test_drm_bridge_helper_hdmi_output_bus_fmts
[02:30:56] ======== [PASSED] drm_test_bridge_helper_reset_crtc ========
[02:30:56] ============== drm_bridge_alloc (2 subtests) ===============
[02:30:56] [PASSED] drm_test_drm_bridge_alloc_basic
[02:30:56] [PASSED] drm_test_drm_bridge_alloc_get_put
[02:30:56] ================ [PASSED] drm_bridge_alloc =================
[02:30:56] ============= drm_bridge_bus_fmt (5 subtests) ==============
[02:30:56] [PASSED] drm_test_bridge_rgb_yuv_rgb
[02:30:56] [PASSED] drm_test_bridge_must_convert_to_yuv444
[02:30:56] [PASSED] drm_test_bridge_hdmi_auto_rgb
[02:30:56] [PASSED] drm_test_bridge_auto_first
[02:30:56] [PASSED] drm_test_bridge_rgb_yuv_no_path
[02:30:56] =============== [PASSED] drm_bridge_bus_fmt ================
[02:30:56] ============= drm_cmdline_parser (40 subtests) =============
[02:30:56] [PASSED] drm_test_cmdline_force_d_only
[02:30:56] [PASSED] drm_test_cmdline_force_D_only_dvi
[02:30:56] [PASSED] drm_test_cmdline_force_D_only_hdmi
[02:30:56] [PASSED] drm_test_cmdline_force_D_only_not_digital
[02:30:56] [PASSED] drm_test_cmdline_force_e_only
[02:30:56] [PASSED] drm_test_cmdline_res
[02:30:56] [PASSED] drm_test_cmdline_res_vesa
[02:30:56] [PASSED] drm_test_cmdline_res_vesa_rblank
[02:30:56] [PASSED] drm_test_cmdline_res_rblank
[02:30:56] [PASSED] drm_test_cmdline_res_bpp
[02:30:56] [PASSED] drm_test_cmdline_res_refresh
[02:30:56] [PASSED] drm_test_cmdline_res_bpp_refresh
[02:30:56] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced
[02:30:56] [PASSED] drm_test_cmdline_res_bpp_refresh_margins
[02:30:56] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off
[02:30:56] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on
[02:30:56] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog
[02:30:56] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital
[02:30:56] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on
[02:30:56] [PASSED] drm_test_cmdline_res_margins_force_on
[02:30:56] [PASSED] drm_test_cmdline_res_vesa_margins
[02:30:56] [PASSED] drm_test_cmdline_name
[02:30:56] [PASSED] drm_test_cmdline_name_bpp
[02:30:56] [PASSED] drm_test_cmdline_name_option
[02:30:56] [PASSED] drm_test_cmdline_name_bpp_option
[02:30:56] [PASSED] drm_test_cmdline_rotate_0
[02:30:56] [PASSED] drm_test_cmdline_rotate_90
[02:30:56] [PASSED] drm_test_cmdline_rotate_180
[02:30:56] [PASSED] drm_test_cmdline_rotate_270
[02:30:56] [PASSED] drm_test_cmdline_hmirror
[02:30:56] [PASSED] drm_test_cmdline_vmirror
[02:30:56] [PASSED] drm_test_cmdline_margin_options
[02:30:56] [PASSED] drm_test_cmdline_multiple_options
[02:30:56] [PASSED] drm_test_cmdline_bpp_extra_and_option
[02:30:56] [PASSED] drm_test_cmdline_extra_and_option
[02:30:56] [PASSED] drm_test_cmdline_freestanding_options
[02:30:56] [PASSED] drm_test_cmdline_freestanding_force_e_and_options
[02:30:56] [PASSED] drm_test_cmdline_panel_orientation
[02:30:56] ================ drm_test_cmdline_invalid =================
[02:30:56] [PASSED] margin_only
[02:30:56] [PASSED] interlace_only
[02:30:56] [PASSED] res_missing_x
[02:30:56] [PASSED] res_missing_y
[02:30:56] [PASSED] res_bad_y
[02:30:56] [PASSED] res_missing_y_bpp
[02:30:56] [PASSED] res_bad_bpp
[02:30:56] [PASSED] res_bad_refresh
[02:30:56] [PASSED] res_bpp_refresh_force_on_off
[02:30:56] [PASSED] res_invalid_mode
[02:30:56] [PASSED] res_bpp_wrong_place_mode
[02:30:56] [PASSED] name_bpp_refresh
[02:30:56] [PASSED] name_refresh
[02:30:56] [PASSED] name_refresh_wrong_mode
[02:30:56] [PASSED] name_refresh_invalid_mode
[02:30:56] [PASSED] rotate_multiple
[02:30:56] [PASSED] rotate_invalid_val
[02:30:56] [PASSED] rotate_truncated
[02:30:56] [PASSED] invalid_option
[02:30:56] [PASSED] invalid_tv_option
[02:30:56] [PASSED] truncated_tv_option
[02:30:56] ============ [PASSED] drm_test_cmdline_invalid =============
[02:30:56] =============== drm_test_cmdline_tv_options ===============
[02:30:56] [PASSED] NTSC
[02:30:56] [PASSED] NTSC_443
[02:30:56] [PASSED] NTSC_J
[02:30:56] [PASSED] PAL
[02:30:56] [PASSED] PAL_M
[02:30:56] [PASSED] PAL_N
[02:30:56] [PASSED] SECAM
[02:30:56] [PASSED] MONO_525
[02:30:56] [PASSED] MONO_625
[02:30:56] =========== [PASSED] drm_test_cmdline_tv_options ===========
[02:30:56] =============== [PASSED] drm_cmdline_parser ================
[02:30:56] ========== drmm_connector_hdmi_init (20 subtests) ==========
[02:30:56] [PASSED] drm_test_connector_hdmi_init_valid
[02:30:56] [PASSED] drm_test_connector_hdmi_init_bpc_8
[02:30:56] [PASSED] drm_test_connector_hdmi_init_bpc_10
[02:30:56] [PASSED] drm_test_connector_hdmi_init_bpc_12
[02:30:56] [PASSED] drm_test_connector_hdmi_init_bpc_invalid
[02:30:56] [PASSED] drm_test_connector_hdmi_init_bpc_null
[02:30:56] [PASSED] drm_test_connector_hdmi_init_formats_empty
[02:30:56] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb
[02:30:56] === drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[02:30:56] [PASSED] supported_formats=0x9 yuv420_allowed=1
[02:30:56] [PASSED] supported_formats=0x9 yuv420_allowed=0
[02:30:56] [PASSED] supported_formats=0x5 yuv420_allowed=1
[02:30:56] [PASSED] supported_formats=0x5 yuv420_allowed=0
[02:30:56] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[02:30:56] [PASSED] drm_test_connector_hdmi_init_null_ddc
[02:30:56] [PASSED] drm_test_connector_hdmi_init_null_product
[02:30:56] [PASSED] drm_test_connector_hdmi_init_null_vendor
[02:30:56] [PASSED] drm_test_connector_hdmi_init_product_length_exact
[02:30:56] [PASSED] drm_test_connector_hdmi_init_product_length_too_long
[02:30:56] [PASSED] drm_test_connector_hdmi_init_product_valid
[02:30:56] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact
[02:30:56] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long
[02:30:56] [PASSED] drm_test_connector_hdmi_init_vendor_valid
[02:30:56] ========= drm_test_connector_hdmi_init_type_valid =========
[02:30:56] [PASSED] HDMI-A
[02:30:56] [PASSED] HDMI-B
[02:30:56] ===== [PASSED] drm_test_connector_hdmi_init_type_valid =====
[02:30:56] ======== drm_test_connector_hdmi_init_type_invalid ========
[02:30:56] [PASSED] Unknown
[02:30:56] [PASSED] VGA
[02:30:56] [PASSED] DVI-I
[02:30:56] [PASSED] DVI-D
[02:30:56] [PASSED] DVI-A
[02:30:56] [PASSED] Composite
[02:30:56] [PASSED] SVIDEO
[02:30:56] [PASSED] LVDS
[02:30:56] [PASSED] Component
[02:30:56] [PASSED] DIN
[02:30:56] [PASSED] DP
[02:30:56] [PASSED] TV
[02:30:56] [PASSED] eDP
[02:30:56] [PASSED] Virtual
[02:30:56] [PASSED] DSI
[02:30:56] [PASSED] DPI
[02:30:56] [PASSED] Writeback
[02:30:56] [PASSED] SPI
[02:30:56] [PASSED] USB
[02:30:56] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ====
[02:30:56] ============ [PASSED] drmm_connector_hdmi_init =============
[02:30:56] ============= drmm_connector_init (3 subtests) =============
[02:30:56] [PASSED] drm_test_drmm_connector_init
[02:30:56] [PASSED] drm_test_drmm_connector_init_null_ddc
[02:30:56] ========= drm_test_drmm_connector_init_type_valid =========
[02:30:56] [PASSED] Unknown
[02:30:56] [PASSED] VGA
[02:30:56] [PASSED] DVI-I
[02:30:56] [PASSED] DVI-D
[02:30:56] [PASSED] DVI-A
[02:30:56] [PASSED] Composite
[02:30:56] [PASSED] SVIDEO
[02:30:56] [PASSED] LVDS
[02:30:56] [PASSED] Component
[02:30:56] [PASSED] DIN
[02:30:56] [PASSED] DP
[02:30:56] [PASSED] HDMI-A
[02:30:56] [PASSED] HDMI-B
[02:30:56] [PASSED] TV
[02:30:56] [PASSED] eDP
[02:30:56] [PASSED] Virtual
[02:30:56] [PASSED] DSI
[02:30:56] [PASSED] DPI
[02:30:56] [PASSED] Writeback
[02:30:56] [PASSED] SPI
[02:30:56] [PASSED] USB
[02:30:56] ===== [PASSED] drm_test_drmm_connector_init_type_valid =====
[02:30:56] =============== [PASSED] drmm_connector_init ===============
[02:30:56] ========= drm_connector_dynamic_init (6 subtests) ==========
[02:30:56] [PASSED] drm_test_drm_connector_dynamic_init
[02:30:56] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc
[02:30:56] [PASSED] drm_test_drm_connector_dynamic_init_not_added
[02:30:56] [PASSED] drm_test_drm_connector_dynamic_init_properties
[02:30:56] ===== drm_test_drm_connector_dynamic_init_type_valid ======
[02:30:56] [PASSED] Unknown
[02:30:56] [PASSED] VGA
[02:30:56] [PASSED] DVI-I
[02:30:56] [PASSED] DVI-D
[02:30:56] [PASSED] DVI-A
[02:30:56] [PASSED] Composite
[02:30:56] [PASSED] SVIDEO
[02:30:56] [PASSED] LVDS
[02:30:56] [PASSED] Component
[02:30:56] [PASSED] DIN
[02:30:56] [PASSED] DP
[02:30:56] [PASSED] HDMI-A
[02:30:56] [PASSED] HDMI-B
[02:30:56] [PASSED] TV
[02:30:56] [PASSED] eDP
[02:30:56] [PASSED] Virtual
[02:30:56] [PASSED] DSI
[02:30:56] [PASSED] DPI
[02:30:56] [PASSED] Writeback
[02:30:56] [PASSED] SPI
[02:30:56] [PASSED] USB
[02:30:56] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid ==
[02:30:56] ======== drm_test_drm_connector_dynamic_init_name =========
[02:30:56] [PASSED] Unknown
[02:30:56] [PASSED] VGA
[02:30:56] [PASSED] DVI-I
[02:30:56] [PASSED] DVI-D
[02:30:56] [PASSED] DVI-A
[02:30:56] [PASSED] Composite
[02:30:56] [PASSED] SVIDEO
[02:30:56] [PASSED] LVDS
[02:30:56] [PASSED] Component
[02:30:56] [PASSED] DIN
[02:30:56] [PASSED] DP
[02:30:56] [PASSED] HDMI-A
[02:30:56] [PASSED] HDMI-B
[02:30:56] [PASSED] TV
[02:30:56] [PASSED] eDP
[02:30:56] [PASSED] Virtual
[02:30:56] [PASSED] DSI
[02:30:56] [PASSED] DPI
[02:30:56] [PASSED] Writeback
[02:30:56] [PASSED] SPI
[02:30:56] [PASSED] USB
[02:30:56] ==== [PASSED] drm_test_drm_connector_dynamic_init_name =====
[02:30:56] =========== [PASSED] drm_connector_dynamic_init ============
[02:30:56] ==== drm_connector_dynamic_register_early (4 subtests) =====
[02:30:56] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list
[02:30:56] [PASSED] drm_test_drm_connector_dynamic_register_early_defer
[02:30:56] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init
[02:30:56] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object
[02:30:56] ====== [PASSED] drm_connector_dynamic_register_early =======
[02:30:56] ======= drm_connector_dynamic_register (7 subtests) ========
[02:30:56] [PASSED] drm_test_drm_connector_dynamic_register_on_list
[02:30:56] [PASSED] drm_test_drm_connector_dynamic_register_no_defer
[02:30:56] [PASSED] drm_test_drm_connector_dynamic_register_no_init
[02:30:56] [PASSED] drm_test_drm_connector_dynamic_register_mode_object
[02:30:56] [PASSED] drm_test_drm_connector_dynamic_register_sysfs
[02:30:56] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name
[02:30:56] [PASSED] drm_test_drm_connector_dynamic_register_debugfs
[02:30:56] ========= [PASSED] drm_connector_dynamic_register ==========
[02:30:56] = drm_connector_attach_broadcast_rgb_property (2 subtests) =
[02:30:56] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property
[02:30:56] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector
[02:30:56] === [PASSED] drm_connector_attach_broadcast_rgb_property ===
[02:30:56] ========== drm_get_tv_mode_from_name (2 subtests) ==========
[02:30:56] ========== drm_test_get_tv_mode_from_name_valid ===========
[02:30:56] [PASSED] NTSC
[02:30:56] [PASSED] NTSC-443
[02:30:56] [PASSED] NTSC-J
[02:30:56] [PASSED] PAL
[02:30:56] [PASSED] PAL-M
[02:30:56] [PASSED] PAL-N
[02:30:56] [PASSED] SECAM
[02:30:56] [PASSED] Mono
[02:30:56] ====== [PASSED] drm_test_get_tv_mode_from_name_valid =======
[02:30:56] [PASSED] drm_test_get_tv_mode_from_name_truncated
[02:30:56] ============ [PASSED] drm_get_tv_mode_from_name ============
[02:30:56] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) =
[02:30:56] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb
[02:30:56] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc
[02:30:56] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1
[02:30:56] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc
[02:30:56] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1
[02:30:56] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double
[02:30:56] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid =
[02:30:56] [PASSED] VIC 96
[02:30:56] [PASSED] VIC 97
[02:30:56] [PASSED] VIC 101
[02:30:56] [PASSED] VIC 102
[02:30:56] [PASSED] VIC 106
[02:30:56] [PASSED] VIC 107
[02:30:56] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid ===
[02:30:56] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc
[02:30:56] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc
[02:30:56] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc
[02:30:56] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc
[02:30:56] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc
[02:30:56] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ====
[02:30:56] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) ==
[02:30:56] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ====
[02:30:56] [PASSED] Automatic
[02:30:56] [PASSED] Full
[02:30:56] [PASSED] Limited 16:235
[02:30:56] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name ===
[02:30:56] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid
[02:30:56] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ====
[02:30:56] == drm_hdmi_connector_get_output_format_name (2 subtests) ==
[02:30:56] === drm_test_drm_hdmi_connector_get_output_format_name ====
[02:30:56] [PASSED] RGB
[02:30:56] [PASSED] YUV 4:2:0
[02:30:56] [PASSED] YUV 4:2:2
[02:30:56] [PASSED] YUV 4:4:4
[02:30:56] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name ===
[02:30:56] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid
[02:30:56] ==== [PASSED] drm_hdmi_connector_get_output_format_name ====
[02:30:56] ============= drm_damage_helper (21 subtests) ==============
[02:30:56] [PASSED] drm_test_damage_iter_no_damage
[02:30:56] [PASSED] drm_test_damage_iter_no_damage_fractional_src
[02:30:56] [PASSED] drm_test_damage_iter_no_damage_src_moved
[02:30:56] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved
[02:30:56] [PASSED] drm_test_damage_iter_no_damage_not_visible
[02:30:56] [PASSED] drm_test_damage_iter_no_damage_no_crtc
[02:30:56] [PASSED] drm_test_damage_iter_no_damage_no_fb
[02:30:56] [PASSED] drm_test_damage_iter_simple_damage
[02:30:56] [PASSED] drm_test_damage_iter_single_damage
[02:30:56] [PASSED] drm_test_damage_iter_single_damage_intersect_src
[02:30:56] [PASSED] drm_test_damage_iter_single_damage_outside_src
[02:30:56] [PASSED] drm_test_damage_iter_single_damage_fractional_src
[02:30:56] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src
[02:30:56] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src
[02:30:56] [PASSED] drm_test_damage_iter_single_damage_src_moved
[02:30:56] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved
[02:30:56] [PASSED] drm_test_damage_iter_damage
[02:30:56] [PASSED] drm_test_damage_iter_damage_one_intersect
[02:30:56] [PASSED] drm_test_damage_iter_damage_one_outside
[02:30:56] [PASSED] drm_test_damage_iter_damage_src_moved
[02:30:56] [PASSED] drm_test_damage_iter_damage_not_visible
[02:30:56] ================ [PASSED] drm_damage_helper ================
[02:30:56] ============== drm_dp_mst_helper (3 subtests) ==============
[02:30:56] ============== drm_test_dp_mst_calc_pbn_mode ==============
[02:30:56] [PASSED] Clock 154000 BPP 30 DSC disabled
[02:30:56] [PASSED] Clock 234000 BPP 30 DSC disabled
[02:30:56] [PASSED] Clock 297000 BPP 24 DSC disabled
[02:30:56] [PASSED] Clock 332880 BPP 24 DSC enabled
[02:30:56] [PASSED] Clock 324540 BPP 24 DSC enabled
[02:30:56] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ==========
[02:30:56] ============== drm_test_dp_mst_calc_pbn_div ===============
[02:30:56] [PASSED] Link rate 2000000 lane count 4
[02:30:56] [PASSED] Link rate 2000000 lane count 2
[02:30:56] [PASSED] Link rate 2000000 lane count 1
[02:30:56] [PASSED] Link rate 1350000 lane count 4
[02:30:56] [PASSED] Link rate 1350000 lane count 2
[02:30:56] [PASSED] Link rate 1350000 lane count 1
[02:30:56] [PASSED] Link rate 1000000 lane count 4
[02:30:56] [PASSED] Link rate 1000000 lane count 2
[02:30:56] [PASSED] Link rate 1000000 lane count 1
[02:30:56] [PASSED] Link rate 810000 lane count 4
[02:30:56] [PASSED] Link rate 810000 lane count 2
[02:30:56] [PASSED] Link rate 810000 lane count 1
[02:30:56] [PASSED] Link rate 540000 lane count 4
[02:30:56] [PASSED] Link rate 540000 lane count 2
[02:30:56] [PASSED] Link rate 540000 lane count 1
[02:30:56] [PASSED] Link rate 270000 lane count 4
[02:30:56] [PASSED] Link rate 270000 lane count 2
[02:30:56] [PASSED] Link rate 270000 lane count 1
[02:30:56] [PASSED] Link rate 162000 lane count 4
[02:30:56] [PASSED] Link rate 162000 lane count 2
[02:30:56] [PASSED] Link rate 162000 lane count 1
[02:30:56] ========== [PASSED] drm_test_dp_mst_calc_pbn_div ===========
[02:30:56] ========= drm_test_dp_mst_sideband_msg_req_decode =========
[02:30:56] [PASSED] DP_ENUM_PATH_RESOURCES with port number
[02:30:56] [PASSED] DP_POWER_UP_PHY with port number
[02:30:56] [PASSED] DP_POWER_DOWN_PHY with port number
[02:30:56] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks
[02:30:56] [PASSED] DP_ALLOCATE_PAYLOAD with port number
[02:30:56] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI
[02:30:56] [PASSED] DP_ALLOCATE_PAYLOAD with PBN
[02:30:56] [PASSED] DP_QUERY_PAYLOAD with port number
[02:30:56] [PASSED] DP_QUERY_PAYLOAD with VCPI
[02:30:56] [PASSED] DP_REMOTE_DPCD_READ with port number
[02:30:56] [PASSED] DP_REMOTE_DPCD_READ with DPCD address
[02:30:56] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes
[02:30:56] [PASSED] DP_REMOTE_DPCD_WRITE with port number
[02:30:56] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address
[02:30:56] [PASSED] DP_REMOTE_DPCD_WRITE with data array
[02:30:56] [PASSED] DP_REMOTE_I2C_READ with port number
[02:30:56] [PASSED] DP_REMOTE_I2C_READ with I2C device ID
[02:30:56] [PASSED] DP_REMOTE_I2C_READ with transactions array
[02:30:56] [PASSED] DP_REMOTE_I2C_WRITE with port number
[02:30:56] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID
[02:30:56] [PASSED] DP_REMOTE_I2C_WRITE with data array
[02:30:56] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID
[02:30:56] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID
[02:30:56] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event
[02:30:56] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event
[02:30:56] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior
[02:30:56] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior
[02:30:56] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode =====
[02:30:56] ================ [PASSED] drm_dp_mst_helper ================
[02:30:56] ================== drm_exec (7 subtests) ===================
[02:30:56] [PASSED] sanitycheck
[02:30:56] [PASSED] test_lock
[02:30:56] [PASSED] test_lock_unlock
[02:30:56] [PASSED] test_duplicates
[02:30:56] [PASSED] test_prepare
[02:30:56] [PASSED] test_prepare_array
[02:30:56] [PASSED] test_multiple_loops
[02:30:56] ==================== [PASSED] drm_exec =====================
[02:30:56] =========== drm_format_helper_test (17 subtests) ===========
[02:30:56] ============== drm_test_fb_xrgb8888_to_gray8 ==============
[02:30:56] [PASSED] single_pixel_source_buffer
[02:30:56] [PASSED] single_pixel_clip_rectangle
[02:30:56] [PASSED] well_known_colors
[02:30:56] [PASSED] destination_pitch
[02:30:56] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ==========
[02:30:56] ============= drm_test_fb_xrgb8888_to_rgb332 ==============
[02:30:56] [PASSED] single_pixel_source_buffer
[02:30:56] [PASSED] single_pixel_clip_rectangle
[02:30:56] [PASSED] well_known_colors
[02:30:56] [PASSED] destination_pitch
[02:30:56] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ==========
[02:30:56] ============= drm_test_fb_xrgb8888_to_rgb565 ==============
[02:30:56] [PASSED] single_pixel_source_buffer
[02:30:56] [PASSED] single_pixel_clip_rectangle
[02:30:56] [PASSED] well_known_colors
[02:30:56] [PASSED] destination_pitch
[02:30:56] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ==========
[02:30:56] ============ drm_test_fb_xrgb8888_to_xrgb1555 =============
[02:30:56] [PASSED] single_pixel_source_buffer
[02:30:56] [PASSED] single_pixel_clip_rectangle
[02:30:56] [PASSED] well_known_colors
[02:30:56] [PASSED] destination_pitch
[02:30:56] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 =========
[02:30:56] ============ drm_test_fb_xrgb8888_to_argb1555 =============
[02:30:56] [PASSED] single_pixel_source_buffer
[02:30:56] [PASSED] single_pixel_clip_rectangle
[02:30:56] [PASSED] well_known_colors
[02:30:56] [PASSED] destination_pitch
[02:30:56] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 =========
[02:30:56] ============ drm_test_fb_xrgb8888_to_rgba5551 =============
[02:30:56] [PASSED] single_pixel_source_buffer
[02:30:56] [PASSED] single_pixel_clip_rectangle
[02:30:56] [PASSED] well_known_colors
[02:30:56] [PASSED] destination_pitch
[02:30:56] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 =========
[02:30:56] ============= drm_test_fb_xrgb8888_to_rgb888 ==============
[02:30:56] [PASSED] single_pixel_source_buffer
[02:30:56] [PASSED] single_pixel_clip_rectangle
[02:30:56] [PASSED] well_known_colors
[02:30:56] [PASSED] destination_pitch
[02:30:56] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ==========
[02:30:56] ============= drm_test_fb_xrgb8888_to_bgr888 ==============
[02:30:56] [PASSED] single_pixel_source_buffer
[02:30:56] [PASSED] single_pixel_clip_rectangle
[02:30:56] [PASSED] well_known_colors
[02:30:56] [PASSED] destination_pitch
[02:30:56] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ==========
[02:30:56] ============ drm_test_fb_xrgb8888_to_argb8888 =============
[02:30:56] [PASSED] single_pixel_source_buffer
[02:30:56] [PASSED] single_pixel_clip_rectangle
[02:30:56] [PASSED] well_known_colors
[02:30:56] [PASSED] destination_pitch
[02:30:56] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 =========
[02:30:56] =========== drm_test_fb_xrgb8888_to_xrgb2101010 ===========
[02:30:56] [PASSED] single_pixel_source_buffer
[02:30:56] [PASSED] single_pixel_clip_rectangle
[02:30:56] [PASSED] well_known_colors
[02:30:56] [PASSED] destination_pitch
[02:30:56] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 =======
[02:30:56] =========== drm_test_fb_xrgb8888_to_argb2101010 ===========
[02:30:56] [PASSED] single_pixel_source_buffer
[02:30:56] [PASSED] single_pixel_clip_rectangle
[02:30:56] [PASSED] well_known_colors
[02:30:56] [PASSED] destination_pitch
[02:30:56] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 =======
[02:30:56] ============== drm_test_fb_xrgb8888_to_mono ===============
[02:30:56] [PASSED] single_pixel_source_buffer
[02:30:56] [PASSED] single_pixel_clip_rectangle
[02:30:56] [PASSED] well_known_colors
[02:30:56] [PASSED] destination_pitch
[02:30:56] ========== [PASSED] drm_test_fb_xrgb8888_to_mono ===========
[02:30:56] ==================== drm_test_fb_swab =====================
[02:30:56] [PASSED] single_pixel_source_buffer
[02:30:56] [PASSED] single_pixel_clip_rectangle
[02:30:56] [PASSED] well_known_colors
[02:30:56] [PASSED] destination_pitch
[02:30:56] ================ [PASSED] drm_test_fb_swab =================
[02:30:56] ============ drm_test_fb_xrgb8888_to_xbgr8888 =============
[02:30:56] [PASSED] single_pixel_source_buffer
[02:30:56] [PASSED] single_pixel_clip_rectangle
[02:30:56] [PASSED] well_known_colors
[02:30:56] [PASSED] destination_pitch
[02:30:56] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 =========
[02:30:56] ============ drm_test_fb_xrgb8888_to_abgr8888 =============
[02:30:56] [PASSED] single_pixel_source_buffer
[02:30:56] [PASSED] single_pixel_clip_rectangle
[02:30:56] [PASSED] well_known_colors
[02:30:56] [PASSED] destination_pitch
[02:30:56] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 =========
[02:30:56] ================= drm_test_fb_clip_offset =================
[02:30:56] [PASSED] pass through
[02:30:56] [PASSED] horizontal offset
[02:30:56] [PASSED] vertical offset
[02:30:56] [PASSED] horizontal and vertical offset
[02:30:56] [PASSED] horizontal offset (custom pitch)
[02:30:56] [PASSED] vertical offset (custom pitch)
[02:30:56] [PASSED] horizontal and vertical offset (custom pitch)
[02:30:56] ============= [PASSED] drm_test_fb_clip_offset =============
[02:30:56] =================== drm_test_fb_memcpy ====================
[02:30:56] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258)
[02:30:56] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258)
[02:30:56] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559)
[02:30:56] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258)
[02:30:56] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258)
[02:30:56] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559)
[02:30:56] [PASSED] well_known_colors: XB24 little-endian (0x34324258)
[02:30:56] [PASSED] well_known_colors: XRA8 little-endian (0x38415258)
[02:30:56] [PASSED] well_known_colors: YU24 little-endian (0x34325559)
[02:30:56] [PASSED] destination_pitch: XB24 little-endian (0x34324258)
[02:30:56] [PASSED] destination_pitch: XRA8 little-endian (0x38415258)
[02:30:56] [PASSED] destination_pitch: YU24 little-endian (0x34325559)
[02:30:56] =============== [PASSED] drm_test_fb_memcpy ================
[02:30:56] ============= [PASSED] drm_format_helper_test ==============
[02:30:56] ================= drm_format (18 subtests) =================
[02:30:56] [PASSED] drm_test_format_block_width_invalid
[02:30:56] [PASSED] drm_test_format_block_width_one_plane
[02:30:56] [PASSED] drm_test_format_block_width_two_plane
[02:30:56] [PASSED] drm_test_format_block_width_three_plane
[02:30:56] [PASSED] drm_test_format_block_width_tiled
[02:30:56] [PASSED] drm_test_format_block_height_invalid
[02:30:56] [PASSED] drm_test_format_block_height_one_plane
[02:30:56] [PASSED] drm_test_format_block_height_two_plane
[02:30:56] [PASSED] drm_test_format_block_height_three_plane
[02:30:56] [PASSED] drm_test_format_block_height_tiled
[02:30:56] [PASSED] drm_test_format_min_pitch_invalid
[02:30:56] [PASSED] drm_test_format_min_pitch_one_plane_8bpp
[02:30:56] [PASSED] drm_test_format_min_pitch_one_plane_16bpp
[02:30:56] [PASSED] drm_test_format_min_pitch_one_plane_24bpp
[02:30:56] [PASSED] drm_test_format_min_pitch_one_plane_32bpp
[02:30:56] [PASSED] drm_test_format_min_pitch_two_plane
[02:30:56] [PASSED] drm_test_format_min_pitch_three_plane_8bpp
[02:30:56] [PASSED] drm_test_format_min_pitch_tiled
[02:30:56] =================== [PASSED] drm_format ====================
[02:30:56] ============== drm_framebuffer (10 subtests) ===============
[02:30:56] ========== drm_test_framebuffer_check_src_coords ==========
[02:30:56] [PASSED] Success: source fits into fb
[02:30:56] [PASSED] Fail: overflowing fb with x-axis coordinate
[02:30:56] [PASSED] Fail: overflowing fb with y-axis coordinate
[02:30:56] [PASSED] Fail: overflowing fb with source width
[02:30:56] [PASSED] Fail: overflowing fb with source height
[02:30:56] ====== [PASSED] drm_test_framebuffer_check_src_coords ======
[02:30:56] [PASSED] drm_test_framebuffer_cleanup
[02:30:56] =============== drm_test_framebuffer_create ===============
[02:30:56] [PASSED] ABGR8888 normal sizes
[02:30:56] [PASSED] ABGR8888 max sizes
[02:30:56] [PASSED] ABGR8888 pitch greater than min required
[02:30:56] [PASSED] ABGR8888 pitch less than min required
[02:30:56] [PASSED] ABGR8888 Invalid width
[02:30:56] [PASSED] ABGR8888 Invalid buffer handle
[02:30:56] [PASSED] No pixel format
[02:30:56] [PASSED] ABGR8888 Width 0
[02:30:56] [PASSED] ABGR8888 Height 0
[02:30:56] [PASSED] ABGR8888 Out of bound height * pitch combination
[02:30:56] [PASSED] ABGR8888 Large buffer offset
[02:30:56] [PASSED] ABGR8888 Buffer offset for inexistent plane
[02:30:56] [PASSED] ABGR8888 Invalid flag
[02:30:56] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers
[02:30:56] [PASSED] ABGR8888 Valid buffer modifier
[02:30:56] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE)
[02:30:56] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS
[02:30:56] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS
[02:30:56] [PASSED] NV12 Normal sizes
[02:30:56] [PASSED] NV12 Max sizes
[02:30:56] [PASSED] NV12 Invalid pitch
[02:30:56] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag
[02:30:56] [PASSED] NV12 different modifier per-plane
[02:30:56] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE
[02:30:56] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS
[02:30:56] [PASSED] NV12 Modifier for inexistent plane
[02:30:56] [PASSED] NV12 Handle for inexistent plane
[02:30:56] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS
[02:30:56] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier
[02:30:56] [PASSED] YVU420 Normal sizes
[02:30:56] [PASSED] YVU420 Max sizes
[02:30:56] [PASSED] YVU420 Invalid pitch
[02:30:56] [PASSED] YVU420 Different pitches
[02:30:56] [PASSED] YVU420 Different buffer offsets/pitches
[02:30:56] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS
[02:30:56] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS
[02:30:56] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS
[02:30:56] [PASSED] YVU420 Valid modifier
[02:30:56] [PASSED] YVU420 Different modifiers per plane
[02:30:56] [PASSED] YVU420 Modifier for inexistent plane
[02:30:56] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR)
[02:30:56] [PASSED] X0L2 Normal sizes
[02:30:56] [PASSED] X0L2 Max sizes
[02:30:56] [PASSED] X0L2 Invalid pitch
[02:30:56] [PASSED] X0L2 Pitch greater than minimum required
[02:30:56] [PASSED] X0L2 Handle for inexistent plane
[02:30:56] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set
[02:30:56] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set
[02:30:56] [PASSED] X0L2 Valid modifier
[02:30:56] [PASSED] X0L2 Modifier for inexistent plane
[02:30:56] =========== [PASSED] drm_test_framebuffer_create ===========
[02:30:56] [PASSED] drm_test_framebuffer_free
[02:30:56] [PASSED] drm_test_framebuffer_init
[02:30:56] [PASSED] drm_test_framebuffer_init_bad_format
[02:30:56] [PASSED] drm_test_framebuffer_init_dev_mismatch
[02:30:56] [PASSED] drm_test_framebuffer_lookup
[02:30:56] [PASSED] drm_test_framebuffer_lookup_inexistent
[02:30:56] [PASSED] drm_test_framebuffer_modifiers_not_supported
[02:30:56] ================= [PASSED] drm_framebuffer =================
[02:30:56] ================ drm_gem_shmem (8 subtests) ================
[02:30:56] [PASSED] drm_gem_shmem_test_obj_create
[02:30:56] [PASSED] drm_gem_shmem_test_obj_create_private
[02:30:56] [PASSED] drm_gem_shmem_test_pin_pages
[02:30:56] [PASSED] drm_gem_shmem_test_vmap
[02:30:56] [PASSED] drm_gem_shmem_test_get_sg_table
[02:30:56] [PASSED] drm_gem_shmem_test_get_pages_sgt
[02:30:56] [PASSED] drm_gem_shmem_test_madvise
[02:30:56] [PASSED] drm_gem_shmem_test_purge
[02:30:56] ================== [PASSED] drm_gem_shmem ==================
[02:30:56] === drm_atomic_helper_connector_hdmi_check (29 subtests) ===
[02:30:56] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode
[02:30:56] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1
[02:30:56] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode
[02:30:56] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1
[02:30:56] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode
[02:30:56] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1
[02:30:56] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 =======
[02:30:56] [PASSED] Automatic
[02:30:56] [PASSED] Full
[02:30:56] [PASSED] Limited 16:235
[02:30:56] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 ===
[02:30:56] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed
[02:30:56] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed
[02:30:56] [PASSED] drm_test_check_disable_connector
[02:30:56] [PASSED] drm_test_check_hdmi_funcs_reject_rate
[02:30:56] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb
[02:30:56] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420
[02:30:56] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422
[02:30:56] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420
[02:30:56] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420
[02:30:56] [PASSED] drm_test_check_output_bpc_crtc_mode_changed
[02:30:56] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed
[02:30:56] [PASSED] drm_test_check_output_bpc_dvi
[02:30:56] [PASSED] drm_test_check_output_bpc_format_vic_1
[02:30:56] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only
[02:30:56] [PASSED] drm_test_check_output_bpc_format_display_rgb_only
[02:30:56] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only
[02:30:56] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only
[02:30:56] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc
[02:30:56] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc
[02:30:56] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc
[02:30:56] ============ drm_test_check_hdmi_color_format =============
[02:30:56] [PASSED] AUTO -> RGB
[02:30:56] [PASSED] YCBCR422 -> YUV422
[02:30:56] [PASSED] YCBCR420 -> YUV420
[02:30:56] [PASSED] YCBCR444 -> YUV444
[02:30:56] [PASSED] RGB -> RGB
[02:30:56] ======== [PASSED] drm_test_check_hdmi_color_format =========
[02:30:56] ======== drm_test_check_hdmi_color_format_420_only ========
[02:30:56] [PASSED] RGB should fail
[02:30:56] [PASSED] YUV444 should fail
[02:30:56] [PASSED] YUV422 should fail
[02:30:56] [PASSED] YUV420 should work
[02:30:56] ==== [PASSED] drm_test_check_hdmi_color_format_420_only ====
[02:30:56] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ======
[02:30:56] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ====
[02:30:56] [PASSED] drm_test_check_broadcast_rgb_value
[02:30:56] [PASSED] drm_test_check_bpc_8_value
[02:30:56] [PASSED] drm_test_check_bpc_10_value
[02:30:56] [PASSED] drm_test_check_bpc_12_value
[02:30:56] [PASSED] drm_test_check_format_value
[02:30:56] [PASSED] drm_test_check_tmds_char_value
[02:30:56] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ======
[02:30:56] = drm_atomic_helper_connector_hdmi_mode_valid (7 subtests) =
[02:30:56] [PASSED] drm_test_check_mode_valid
[02:30:56] [PASSED] drm_test_check_mode_valid_reject
[02:30:56] [PASSED] drm_test_check_mode_valid_reject_rate
[02:30:56] [PASSED] drm_test_check_mode_valid_reject_max_clock
[02:30:56] [PASSED] drm_test_check_mode_valid_yuv420_only_max_clock
[02:30:56] [PASSED] drm_test_check_mode_valid_reject_yuv420_only_connector
[02:30:56] [PASSED] drm_test_check_mode_valid_accept_yuv420_also_connector_rgb
[02:30:56] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid ===
[02:30:56] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) =
[02:30:56] [PASSED] drm_test_check_infoframes
[02:30:56] [PASSED] drm_test_check_reject_avi_infoframe
[02:30:56] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8
[02:30:56] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10
[02:30:56] [PASSED] drm_test_check_reject_audio_infoframe
[02:30:56] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes ===
[02:30:56] ================= drm_managed (2 subtests) =================
[02:30:56] [PASSED] drm_test_managed_release_action
[02:30:56] [PASSED] drm_test_managed_run_action
[02:30:56] =================== [PASSED] drm_managed ===================
[02:30:56] =================== drm_mm (6 subtests) ====================
[02:30:56] [PASSED] drm_test_mm_init
[02:30:56] [PASSED] drm_test_mm_debug
[02:30:56] [PASSED] drm_test_mm_align32
[02:30:56] [PASSED] drm_test_mm_align64
[02:30:56] [PASSED] drm_test_mm_lowest
[02:30:56] [PASSED] drm_test_mm_highest
[02:30:56] ===================== [PASSED] drm_mm ======================
[02:30:56] ============= drm_modes_analog_tv (5 subtests) =============
[02:30:56] [PASSED] drm_test_modes_analog_tv_mono_576i
[02:30:56] [PASSED] drm_test_modes_analog_tv_ntsc_480i
[02:30:56] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined
[02:30:56] [PASSED] drm_test_modes_analog_tv_pal_576i
[02:30:56] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined
[02:30:56] =============== [PASSED] drm_modes_analog_tv ===============
[02:30:56] ============== drm_plane_helper (2 subtests) ===============
[02:30:56] =============== drm_test_check_plane_state ================
[02:30:56] [PASSED] clipping_simple
[02:30:56] [PASSED] clipping_rotate_reflect
[02:30:56] [PASSED] positioning_simple
[02:30:56] [PASSED] upscaling
[02:30:56] [PASSED] downscaling
[02:30:56] [PASSED] rounding1
[02:30:56] [PASSED] rounding2
[02:30:56] [PASSED] rounding3
[02:30:56] [PASSED] rounding4
[02:30:56] =========== [PASSED] drm_test_check_plane_state ============
[02:30:56] =========== drm_test_check_invalid_plane_state ============
[02:30:56] [PASSED] positioning_invalid
[02:30:56] [PASSED] upscaling_invalid
[02:30:56] [PASSED] downscaling_invalid
[02:30:56] ======= [PASSED] drm_test_check_invalid_plane_state ========
[02:30:56] ================ [PASSED] drm_plane_helper =================
[02:30:56] ====== drm_connector_helper_tv_get_modes (1 subtest) =======
[02:30:56] ====== drm_test_connector_helper_tv_get_modes_check =======
[02:30:56] [PASSED] None
[02:30:56] [PASSED] PAL
[02:30:56] [PASSED] NTSC
[02:30:56] [PASSED] Both, NTSC Default
[02:30:56] [PASSED] Both, PAL Default
[02:30:56] [PASSED] Both, NTSC Default, with PAL on command-line
[02:30:56] [PASSED] Both, PAL Default, with NTSC on command-line
[02:30:56] == [PASSED] drm_test_connector_helper_tv_get_modes_check ===
[02:30:56] ======== [PASSED] drm_connector_helper_tv_get_modes ========
[02:30:56] ================== drm_rect (9 subtests) ===================
[02:30:56] [PASSED] drm_test_rect_clip_scaled_div_by_zero
[02:30:56] [PASSED] drm_test_rect_clip_scaled_not_clipped
[02:30:56] [PASSED] drm_test_rect_clip_scaled_clipped
[02:30:56] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned
[02:30:56] ================= drm_test_rect_intersect =================
[02:30:56] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0
[02:30:56] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1
[02:30:56] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0
[02:30:56] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1
[02:30:56] [PASSED] right x left: 2x1+0+0 x 3x1+1+0
[02:30:56] [PASSED] left x right: 3x1+1+0 x 2x1+0+0
[02:30:56] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1
[02:30:56] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0
[02:30:56] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1
[02:30:56] [PASSED] touching side: 1x1+0+0 x 1x1+1+0
[02:30:56] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0
[02:30:56] [PASSED] inside another: 2x2+0+0 x 1x1+1+1
[02:30:56] [PASSED] far away: 1x1+0+0 x 1x1+3+6
[02:30:56] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10
[02:30:56] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10
[02:30:56] ============= [PASSED] drm_test_rect_intersect =============
[02:30:56] ================ drm_test_rect_calc_hscale ================
[02:30:56] [PASSED] normal use
[02:30:56] [PASSED] out of max range
[02:30:56] [PASSED] out of min range
[02:30:56] [PASSED] zero dst
[02:30:56] [PASSED] negative src
[02:30:56] [PASSED] negative dst
[02:30:56] ============ [PASSED] drm_test_rect_calc_hscale ============
[02:30:56] ================ drm_test_rect_calc_vscale ================
[02:30:56] [PASSED] normal use
[02:30:56] [PASSED] out of max range
[02:30:56] [PASSED] out of min range
[02:30:56] [PASSED] zero dst
[02:30:56] [PASSED] negative src
[02:30:56] [PASSED] negative dst
[02:30:56] ============ [PASSED] drm_test_rect_calc_vscale ============
[02:30:56] ================== drm_test_rect_rotate ===================
[02:30:56] [PASSED] reflect-x
[02:30:56] [PASSED] reflect-y
[02:30:56] [PASSED] rotate-0
[02:30:56] [PASSED] rotate-90
[02:30:56] [PASSED] rotate-180
[02:30:56] [PASSED] rotate-270
[02:30:56] ============== [PASSED] drm_test_rect_rotate ===============
[02:30:56] ================ drm_test_rect_rotate_inv =================
[02:30:56] [PASSED] reflect-x
[02:30:56] [PASSED] reflect-y
[02:30:56] [PASSED] rotate-0
[02:30:56] [PASSED] rotate-90
[02:30:56] [PASSED] rotate-180
[02:30:56] [PASSED] rotate-270
[02:30:56] ============ [PASSED] drm_test_rect_rotate_inv =============
[02:30:56] ==================== [PASSED] drm_rect =====================
[02:30:56] ============ drm_sysfb_modeset_test (1 subtest) ============
[02:30:56] ============ drm_test_sysfb_build_fourcc_list =============
[02:30:56] [PASSED] no native formats
[02:30:56] [PASSED] XRGB8888 as native format
[02:30:56] [PASSED] remove duplicates
[02:30:56] [PASSED] convert alpha formats
[02:30:56] [PASSED] random formats
[02:30:56] ======== [PASSED] drm_test_sysfb_build_fourcc_list =========
[02:30:56] ============= [PASSED] drm_sysfb_modeset_test ==============
[02:30:56] ================== drm_fixp (2 subtests) ===================
[02:30:56] [PASSED] drm_test_int2fixp
[02:30:56] [PASSED] drm_test_sm2fixp
[02:30:56] ==================== [PASSED] drm_fixp =====================
[02:30:56] ============================================================
[02:30:56] Testing complete. Ran 641 tests: passed: 641
[02:30:56] Elapsed time: 26.944s total, 1.851s configuring, 24.928s building, 0.142s running
+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig
[02:30:56] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[02:30:58] 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
[02:31:07] Starting KUnit Kernel (1/1)...
[02:31:07] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[02:31:08] ============= refcount_interrupt (4 subtests) ==============
[02:31:08] [PASSED] test_single_irq_change
[02:31:08] [PASSED] test_nested_irq_change
[02:31:08] [PASSED] test_multiple_irq_change
[02:31:08] [PASSED] test_irq_save
[02:31:08] =============== [PASSED] refcount_interrupt ================
[02:31:08] ================= ttm_device (5 subtests) ==================
[02:31:08] [PASSED] ttm_device_init_basic
[02:31:08] [PASSED] ttm_device_init_multiple
[02:31:08] [PASSED] ttm_device_fini_basic
[02:31:08] [PASSED] ttm_device_init_no_vma_man
[02:31:08] ================== ttm_device_init_pools ==================
[02:31:08] [PASSED] No DMA allocations, no DMA32 required
[02:31:08] [PASSED] DMA allocations, DMA32 required
[02:31:08] [PASSED] No DMA allocations, DMA32 required
[02:31:08] [PASSED] DMA allocations, no DMA32 required
[02:31:08] ============== [PASSED] ttm_device_init_pools ==============
[02:31:08] =================== [PASSED] ttm_device ====================
[02:31:08] ================== ttm_pool (8 subtests) ===================
[02:31:08] ================== ttm_pool_alloc_basic ===================
[02:31:08] [PASSED] One page
[02:31:08] [PASSED] More than one page
[02:31:08] [PASSED] Above the allocation limit
[02:31:08] [PASSED] One page, with coherent DMA mappings enabled
[02:31:08] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[02:31:08] ============== [PASSED] ttm_pool_alloc_basic ===============
[02:31:08] ============== ttm_pool_alloc_basic_dma_addr ==============
[02:31:08] [PASSED] One page
[02:31:08] [PASSED] More than one page
[02:31:08] [PASSED] Above the allocation limit
[02:31:08] [PASSED] One page, with coherent DMA mappings enabled
[02:31:08] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[02:31:08] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ==========
[02:31:08] [PASSED] ttm_pool_alloc_order_caching_match
[02:31:08] [PASSED] ttm_pool_alloc_caching_mismatch
[02:31:08] [PASSED] ttm_pool_alloc_order_mismatch
[02:31:08] [PASSED] ttm_pool_free_dma_alloc
[02:31:08] [PASSED] ttm_pool_free_no_dma_alloc
[02:31:08] [PASSED] ttm_pool_fini_basic
[02:31:08] ==================== [PASSED] ttm_pool =====================
[02:31:08] ================ ttm_resource (8 subtests) =================
[02:31:08] ================= ttm_resource_init_basic =================
[02:31:08] [PASSED] Init resource in TTM_PL_SYSTEM
[02:31:08] [PASSED] Init resource in TTM_PL_VRAM
[02:31:08] [PASSED] Init resource in a private placement
[02:31:08] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags
[02:31:08] ============= [PASSED] ttm_resource_init_basic =============
[02:31:08] [PASSED] ttm_resource_init_pinned
[02:31:08] [PASSED] ttm_resource_fini_basic
[02:31:08] [PASSED] ttm_resource_manager_init_basic
[02:31:08] [PASSED] ttm_resource_manager_usage_basic
[02:31:08] [PASSED] ttm_resource_manager_set_used_basic
[02:31:08] [PASSED] ttm_sys_man_alloc_basic
[02:31:08] [PASSED] ttm_sys_man_free_basic
[02:31:08] ================== [PASSED] ttm_resource ===================
[02:31:08] =================== ttm_tt (15 subtests) ===================
[02:31:08] ==================== ttm_tt_init_basic ====================
[02:31:08] [PASSED] Page-aligned size
[02:31:08] [PASSED] Extra pages requested
[02:31:08] ================ [PASSED] ttm_tt_init_basic ================
[02:31:08] [PASSED] ttm_tt_init_misaligned
[02:31:08] [PASSED] ttm_tt_fini_basic
[02:31:08] [PASSED] ttm_tt_fini_sg
[02:31:08] [PASSED] ttm_tt_fini_shmem
[02:31:08] [PASSED] ttm_tt_create_basic
[02:31:08] [PASSED] ttm_tt_create_invalid_bo_type
[02:31:08] [PASSED] ttm_tt_create_ttm_exists
[02:31:08] [PASSED] ttm_tt_create_failed
[02:31:08] [PASSED] ttm_tt_destroy_basic
[02:31:08] [PASSED] ttm_tt_populate_null_ttm
[02:31:08] [PASSED] ttm_tt_populate_populated_ttm
[02:31:08] [PASSED] ttm_tt_unpopulate_basic
[02:31:08] [PASSED] ttm_tt_unpopulate_empty_ttm
[02:31:08] [PASSED] ttm_tt_swapin_basic
[02:31:08] ===================== [PASSED] ttm_tt ======================
[02:31:08] =================== ttm_bo (14 subtests) ===================
[02:31:08] =========== ttm_bo_reserve_optimistic_no_ticket ===========
[02:31:08] [PASSED] Cannot be interrupted and sleeps
[02:31:08] [PASSED] Cannot be interrupted, locks straight away
[02:31:08] [PASSED] Can be interrupted, sleeps
[02:31:08] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket =======
[02:31:08] [PASSED] ttm_bo_reserve_locked_no_sleep
[02:31:08] [PASSED] ttm_bo_reserve_no_wait_ticket
[02:31:08] [PASSED] ttm_bo_reserve_double_resv
[02:31:08] [PASSED] ttm_bo_reserve_interrupted
[02:31:08] [PASSED] ttm_bo_reserve_deadlock
[02:31:08] [PASSED] ttm_bo_unreserve_basic
[02:31:08] [PASSED] ttm_bo_unreserve_pinned
[02:31:08] [PASSED] ttm_bo_unreserve_bulk
[02:31:08] [PASSED] ttm_bo_fini_basic
[02:31:08] [PASSED] ttm_bo_fini_shared_resv
[02:31:08] [PASSED] ttm_bo_pin_basic
[02:31:08] [PASSED] ttm_bo_pin_unpin_resource
[02:31:08] [PASSED] ttm_bo_multiple_pin_one_unpin
[02:31:08] ===================== [PASSED] ttm_bo ======================
[02:31:08] ============== ttm_bo_validate (22 subtests) ===============
[02:31:08] ============== ttm_bo_init_reserved_sys_man ===============
[02:31:08] [PASSED] Buffer object for userspace
[02:31:08] [PASSED] Kernel buffer object
[02:31:08] [PASSED] Shared buffer object
[02:31:08] ========== [PASSED] ttm_bo_init_reserved_sys_man ===========
[02:31:08] ============== ttm_bo_init_reserved_mock_man ==============
[02:31:08] [PASSED] Buffer object for userspace
[02:31:08] [PASSED] Kernel buffer object
[02:31:08] [PASSED] Shared buffer object
[02:31:08] ========== [PASSED] ttm_bo_init_reserved_mock_man ==========
[02:31:08] [PASSED] ttm_bo_init_reserved_resv
[02:31:08] ================== ttm_bo_validate_basic ==================
[02:31:08] [PASSED] Buffer object for userspace
[02:31:08] [PASSED] Kernel buffer object
[02:31:08] [PASSED] Shared buffer object
[02:31:08] ============== [PASSED] ttm_bo_validate_basic ==============
[02:31:08] [PASSED] ttm_bo_validate_invalid_placement
[02:31:08] ============= ttm_bo_validate_same_placement ==============
[02:31:08] [PASSED] System manager
[02:31:08] [PASSED] VRAM manager
[02:31:08] ========= [PASSED] ttm_bo_validate_same_placement ==========
[02:31:08] [PASSED] ttm_bo_validate_failed_alloc
[02:31:08] [PASSED] ttm_bo_validate_pinned
[02:31:08] [PASSED] ttm_bo_validate_busy_placement
[02:31:08] ================ ttm_bo_validate_multihop =================
[02:31:08] [PASSED] Buffer object for userspace
[02:31:08] [PASSED] Kernel buffer object
[02:31:08] [PASSED] Shared buffer object
[02:31:08] ============ [PASSED] ttm_bo_validate_multihop =============
[02:31:08] ========== ttm_bo_validate_no_placement_signaled ==========
[02:31:08] [PASSED] Buffer object in system domain, no page vector
[02:31:08] [PASSED] Buffer object in system domain with an existing page vector
[02:31:08] ====== [PASSED] ttm_bo_validate_no_placement_signaled ======
[02:31:08] ======== ttm_bo_validate_no_placement_not_signaled ========
[02:31:08] [PASSED] Buffer object for userspace
[02:31:08] [PASSED] Kernel buffer object
[02:31:08] [PASSED] Shared buffer object
[02:31:08] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ====
[02:31:08] [PASSED] ttm_bo_validate_move_fence_signaled
[02:31:08] ========= ttm_bo_validate_move_fence_not_signaled =========
[02:31:08] [PASSED] Waits for GPU
[02:31:08] [PASSED] Tries to lock straight away
[02:31:08] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled =====
[02:31:08] [PASSED] ttm_bo_validate_swapout
[02:31:08] [PASSED] ttm_bo_validate_happy_evict
[02:31:08] [PASSED] ttm_bo_validate_all_pinned_evict
[02:31:08] [PASSED] ttm_bo_validate_allowed_only_evict
[02:31:08] [PASSED] ttm_bo_validate_deleted_evict
[02:31:08] [PASSED] ttm_bo_validate_busy_domain_evict
[02:31:08] [PASSED] ttm_bo_validate_evict_gutting
[02:31:08] [PASSED] ttm_bo_validate_recrusive_evict
[02:31:08] ================= [PASSED] ttm_bo_validate =================
[02:31:08] ============================================================
[02:31:08] Testing complete. Ran 106 tests: passed: 106
[02:31:08] Elapsed time: 11.849s total, 1.731s configuring, 9.853s building, 0.227s running
+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/dma-buf/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/dma-buf/.kunitconfig
[02:31:08] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[02:31:10] 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
[02:31:18] Starting KUnit Kernel (1/1)...
[02:31:18] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[02:31:18] ============= refcount_interrupt (4 subtests) ==============
[02:31:18] [PASSED] test_single_irq_change
[02:31:18] [PASSED] test_nested_irq_change
[02:31:18] [PASSED] test_multiple_irq_change
[02:31:18] [PASSED] test_irq_save
[02:31:18] =============== [PASSED] refcount_interrupt ================
[02:31:18] =============== dma-buf-fence (12 subtests) ================
[02:31:18] [PASSED] test_sanitycheck
[02:31:18] [PASSED] test_signaling
[02:31:18] [PASSED] test_add_callback
[02:31:18] [PASSED] test_late_add_callback
[02:31:18] [PASSED] test_rm_callback
[02:31:18] [PASSED] test_late_rm_callback
[02:31:18] [PASSED] test_status
[02:31:18] [PASSED] test_error
[02:31:18] [PASSED] test_wait
[02:31:18] [PASSED] test_wait_timeout
[02:31:18] [PASSED] test_stub
[02:31:18] [SKIPPED] test_race_signal_callback (requires at least 2 CPUs)
[02:31:18] ================== [PASSED] dma-buf-fence ==================
[02:31:18] ============ dma-buf-fence-chain (11 subtests) =============
[02:31:18] [PASSED] test_sanitycheck
[02:31:18] [PASSED] test_find_seqno
[02:31:18] [PASSED] test_find_signaled
[02:31:18] [PASSED] test_find_out_of_order
[02:31:24] [PASSED] test_find_gap
[02:31:24] [PASSED] test_find_race
[02:31:24] [PASSED] test_signal_forward
[02:31:24] [PASSED] test_signal_backward
[02:31:24] [PASSED] test_wait_forward
[02:31:24] [PASSED] test_wait_backward
[02:31:24] [PASSED] test_wait_random
[02:31:24] =============== [PASSED] dma-buf-fence-chain ===============
[02:31:24] ============ dma-buf-fence-unwrap (10 subtests) ============
[02:31:24] [PASSED] test_sanitycheck
[02:31:24] [PASSED] test_unwrap_array
[02:31:24] [PASSED] test_unwrap_chain
[02:31:24] [PASSED] test_unwrap_chain_array
[02:31:24] [PASSED] test_unwrap_merge
[02:31:24] [PASSED] test_unwrap_merge_duplicate
[02:31:24] [PASSED] test_unwrap_merge_seqno
[02:31:24] [PASSED] test_unwrap_merge_order
[02:31:24] [PASSED] test_unwrap_merge_complex
[02:31:24] [PASSED] test_unwrap_merge_complex_seqno
[02:31:24] ============== [PASSED] dma-buf-fence-unwrap ===============
[02:31:24] ================ dma-buf-resv (5 subtests) =================
[02:31:24] [PASSED] test_sanitycheck
[02:31:24] ===================== test_signaling ======================
[02:31:24] [PASSED] kernel
[02:31:24] [PASSED] write
[02:31:24] [PASSED] read
[02:31:24] [PASSED] bookkeep
[02:31:24] ================= [PASSED] test_signaling ==================
[02:31:24] ====================== test_for_each ======================
[02:31:24] [PASSED] kernel
[02:31:24] [PASSED] write
[02:31:24] [PASSED] read
[02:31:24] [PASSED] bookkeep
[02:31:24] ================== [PASSED] test_for_each ==================
[02:31:24] ================= test_for_each_unlocked ==================
[02:31:24] [PASSED] kernel
[02:31:24] [PASSED] write
[02:31:24] [PASSED] read
[02:31:24] [PASSED] bookkeep
[02:31:24] ============= [PASSED] test_for_each_unlocked ==============
[02:31:24] ===================== test_get_fences =====================
[02:31:24] [PASSED] kernel
[02:31:24] [PASSED] write
[02:31:24] [PASSED] read
[02:31:24] [PASSED] bookkeep
[02:31:24] ================= [PASSED] test_get_fences =================
[02:31:24] ================== [PASSED] dma-buf-resv ===================
[02:31:24] ============================================================
[02:31:24] Testing complete. Ran 54 tests: passed: 53, skipped: 1
[02:31:24] Elapsed time: 15.855s total, 1.801s configuring, 8.682s building, 5.347s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
^ permalink raw reply [flat|nested] 41+ messages in thread
* Re: [PATCH v5 02/25] drm/xe: Add xe_migrate_update_pgtables_cpu_execute helper
2026-09-04 2:21 ` [PATCH v5 02/25] drm/xe: Add xe_migrate_update_pgtables_cpu_execute helper Matthew Brost
@ 2026-09-04 2:37 ` sashiko-bot
0 siblings, 0 replies; 41+ messages in thread
From: sashiko-bot @ 2026-09-04 2:37 UTC (permalink / raw)
To: Matthew Brost; +Cc: intel-xe
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] Defective sanity checks and unhandled null pointer dereference in debug assertions
--
commit e58d5ab50ce62f929a498f3193e4a6ff719f485b
Author: Matthew Brost <matthew.brost@intel.com>
drm/xe: Add xe_migrate_update_pgtables_cpu_execute helper
This commit adds the xe_migrate_update_pgtables_cpu_execute helper to perform
CPU-side page-table updates, supporting CPU binds. It extracts the logic from
xe_migrate_update_pgtables_cpu and adds basic sanity check assertions on the
function arguments.
Link: https://patch.msgid.link/20260228013501.106680-3-matthew.brost@intel.com
> diff --git a/drivers/gpu/drm/xe/xe_migrate.c b/drivers/gpu/drm/xe/xe_migrate.c
> index 149c5fa654e67..68a0b05f56ec9 100644
> --- a/drivers/gpu/drm/xe/xe_migrate.c
> +++ b/drivers/gpu/drm/xe/xe_migrate.c
> @@ -1819,6 +1819,38 @@ struct migrate_test_params {
> container_of(_priv, struct migrate_test_params, base)
> #endif
>
> +static void
> +xe_migrate_update_pgtables_cpu_execute(struct xe_vm *vm, struct xe_tile *tile,
> + const struct xe_migrate_pt_update_ops *ops,
> + struct xe_vm_pgtable_update_op *pt_op,
> + u32 num_ops)
> +{
> + u32 j, i;
> +
> + for (j = 0; j < num_ops; ++j, ++pt_op) {
> + for (i = 0; i < pt_op->num_entries; i++) {
> + const struct xe_vm_pgtable_update *update =
> + &pt_op->entries[i];
> +
> + xe_tile_assert(tile, update);
> + xe_tile_assert(tile, update->pt_bo);
> + xe_tile_assert(tile, !iosys_map_is_null(&update->pt_bo->vmap));
[Severity: Low]
Are these assertions operating as intended in
xe_migrate_update_pgtables_cpu_execute?
Because update is assigned the address of an array element, checking update
in xe_tile_assert is a tautology and will always evaluate to true.
Additionally, in the triggering condition where update->pt_bo is actually
NULL, the third assertion passes the address of vmap to iosys_map_is_null.
Since vmap is an offset from NULL, iosys_map_is_null will dereference an
invalid pointer when checking the is_iomem flag. This causes an immediate
kernel page fault rather than allowing the assertion to safely log a warning
and continue execution.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260904022207.3490018-1-matthew.brost@intel.com?part=2
^ permalink raw reply [flat|nested] 41+ messages in thread
* Re: [PATCH v5 17/25] drm/xe: Add device flag to enable PT mirroring across tiles
2026-09-04 2:21 ` [PATCH v5 17/25] drm/xe: Add device flag to enable PT mirroring across tiles Matthew Brost
@ 2026-09-04 2:43 ` sashiko-bot
2026-09-04 4:10 ` Matthew Brost
0 siblings, 1 reply; 41+ messages in thread
From: sashiko-bot @ 2026-09-04 2:43 UTC (permalink / raw)
To: Matthew Brost; +Cc: intel-xe
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [High] Unused page tables and scratch buffers are incorrectly allocated for secondary tiles when PT mirroring is disabled, wasting VRAM, and migration VMs are forced to use remote page tables.
- [Medium] Memory leak of page reclaim entries (`prl->entries`) on error paths or when TLB invalidation is bypassed for tiles with disabled page table mirroring.
--
commit 38fe6ff118093de1244d8bbcc84d59616c09c17c
Author: Matthew Brost <matthew.brost@intel.com>
drm/xe: Add device flag to enable PT mirroring across tiles
This commit introduces a device flag to enable or disable page-table
mirroring across tiles for memory-bandwidth reasons. The flag defaults
to the existing behavior on PVC but allows flexibility for other devices.
Link: https://patch.msgid.link/20260228013501.106680-18-matthew.brost@intel.com
> diff --git a/drivers/gpu/drm/xe/xe_pt.c b/drivers/gpu/drm/xe/xe_pt.c
> index 05bbac6c2632e..bf2cdef44179d 100644
> --- a/drivers/gpu/drm/xe/xe_pt.c
> +++ b/drivers/gpu/drm/xe/xe_pt.c
[ ... ]
> @@ -2541,9 +2552,21 @@ int xe_pt_update_ops_prepare(struct xe_device *xe, struct xe_vma_ops *vops)
> int id, err;
>
> for_each_tile(tile, xe, id) {
> + struct xe_vm_pgtable_update_ops *pt_update_ops =
> + &vops->pt_update_ops[id];
> +
> if (!vops->pt_update_ops[id].num_ops)
> continue;
>
> + if (pt_mirroring_disabled_for_tile(vops->vm, id)) {
> + struct xe_page_reclaim_list *prl = &pt_update_ops->prl;
> +
> + /* Transfer root PT update ops PRL to current */
> + *prl = vops->pt_update_ops[0].prl;
> + xe_page_reclaim_entries_get(prl->entries);
> + continue;
> + }
> +
> err = __xe_pt_update_ops_prepare(tile, vops);
> if (err)
> return err;
[ ... ]
> @@ -2924,6 +2953,9 @@ void xe_pt_update_ops_fini(struct xe_device *xe, struct xe_vma_ops *vops)
> if (!pt_update_ops->num_ops)
> continue;
>
> + if (pt_mirroring_disabled_for_tile(vops->vm, id))
> + continue;
> +
> xe_page_reclaim_entries_put(pt_update_ops->prl.entries);
[Severity: Medium]
Does this skip releasing the page reclaim entries for secondary tiles?
When PT mirroring is disabled, xe_pt_update_ops_prepare() takes an extra
reference to prl->entries for secondary tiles. If the operation succeeds but
TLB invalidation is bypassed (or if called on cleanup),
xe_pt_update_ops_fini() is executed. By checking
pt_mirroring_disabled_for_tile() and continuing, it skips the needed
xe_page_reclaim_entries_put() call, which can lead to a memory leak.
> }
> }
> @@ -2948,6 +2980,9 @@ void xe_pt_update_ops_abort(struct xe_device *xe, struct xe_vma_ops *vops)
> &vops->pt_update_ops[id];
> int i;
>
> + if (pt_mirroring_disabled_for_tile(vops->vm, id))
> + continue;
> +
> for (i = pt_update_ops->num_ops - 1; i >= 0; --i) {
[Severity: Medium]
Similar to the issue above in xe_pt_update_ops_fini(), does this leak the
page reclaim entries when an operation is aborted?
By skipping secondary tiles when mirroring is disabled,
xe_pt_update_ops_abort() also bypasses xe_pt_update_ops_fini() for those
tiles, meaning the reference acquired in xe_pt_update_ops_prepare() is
never put on error paths.
> struct xe_vm_pgtable_update_op *pt_op =
> to_pt_op(pt_update_ops, i);
[ ... ]
> diff --git a/drivers/gpu/drm/xe/xe_vm.c b/drivers/gpu/drm/xe/xe_vm.c
> index fbfc42afef8b1..795d0ebb10047 100644
> --- a/drivers/gpu/drm/xe/xe_vm.c
> +++ b/drivers/gpu/drm/xe/xe_vm.c
[ ... ]
> @@ -1738,7 +1748,8 @@ struct xe_vm *xe_vm_create(struct xe_device *xe, u32 flags, struct xe_file *xef)
>
> for_each_tile(tile, xe, id) {
> if (flags & XE_VM_FLAG_MIGRATION &&
> - tile->id != XE_VM_FLAG_TILE_ID(flags))
> + tile->id != XE_VM_FLAG_TILE_ID(flags) &&
> + (vm->xe->info.has_pt_mirror || id))
> continue;
>
> vm->pt_root[id] = xe_pt_create(vm, tile, xe->info.vm_max_level,
[Severity: High]
Does this allocate unused page tables and scratch buffers for secondary tiles
when PT mirroring is disabled?
When has_pt_mirror is false, the loop does not skip secondary tiles for
normal VMs, causing it to unconditionally allocate pt_root structures and
scratch pages for all of them.
Additionally, for migration VMs on secondary tiles, this allocates both
pt_root[0] and pt_root[tile_id]. Since xe_vm_pt_root() unconditionally
returns pt_root[0] when mirroring is disabled, this abandons the memory
allocated for secondary tiles and forces the migration engine to use
pt_root[0] over the cross-tile interconnect, defeating the locality benefits.
[ ... ]
> @@ -5072,3 +5083,21 @@ void xe_vm_remove_exec_queue(struct xe_vm *vm, struct xe_exec_queue *q)
> }
> up_write(&vm->exec_queues.lock);
> }
> +
> +/**
> + * xe_vm_pt_root() - Retrieve VM page-table root
> + * @vm: The VM.
> + * @tile_id: Tile ID
> + *
> + * Retrieve VM page-table root for a tile ID, used to abstract if PT mirroring is
> + * enabled across tiles.
> + *
> + * Return: VM page-table root for a tile ID
> + */
> +struct xe_pt *xe_vm_pt_root(struct xe_vm *vm, u8 tile_id)
> +{
> + if (vm->xe->info.has_pt_mirror)
> + return vm->pt_root[tile_id];
> +
> + return vm->pt_root[0];
> +}
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260904022207.3490018-1-matthew.brost@intel.com?part=17
^ permalink raw reply [flat|nested] 41+ messages in thread
* Re: [PATCH v5 05/25] drm/xe: Update xe_bo_put_deferred arguments to include writeback flag
2026-09-04 2:21 ` [PATCH v5 05/25] drm/xe: Update xe_bo_put_deferred arguments to include writeback flag Matthew Brost
@ 2026-09-04 2:44 ` sashiko-bot
0 siblings, 0 replies; 41+ messages in thread
From: sashiko-bot @ 2026-09-04 2:44 UTC (permalink / raw)
To: Matthew Brost; +Cc: intel-xe
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
Pre-existing issues:
- [Medium] Use-After-Free of VM dma_resv during synchronous page table BO destruction if memory allocation fails in TTM.
--
commit 2f5d2b6c59ef0884eb9c59daf808b992d5dbb2ec
Author: Matthew Brost <matthew.brost@intel.com>
Subject: drm/xe: Update xe_bo_put_deferred arguments to include writeback flag
Updates xe_bo_put_deferred() to accept an 'added' pointer which indicates
whether the buffer object was successfully added to the deferred list. This
enables callers to take specific actions if the BO is queued for deferred
release.
Link: https://patch.msgid.link/20260228013501.106680-6-matthew.brost@intel.com
> diff --git a/drivers/gpu/drm/xe/xe_bo.h b/drivers/gpu/drm/xe/xe_bo.h
> index e8081af5bfc18..6092f305ea8e5 100644
> --- a/drivers/gpu/drm/xe/xe_bo.h
> +++ b/drivers/gpu/drm/xe/xe_bo.h
[ ... ]
> @@ -514,7 +516,8 @@ void __xe_bo_release_dummy(struct kref *kref);
> * false otherwise.
> */
> static inline bool
> -xe_bo_put_deferred(struct xe_bo *bo, struct llist_head *deferred)
> +xe_bo_put_deferred(struct xe_bo *bo, struct llist_head *deferred,
> + bool *added)
> {
> if (!deferred) {
> xe_bo_put(bo);
> return false;
> }
[ ... ]
> diff --git a/drivers/gpu/drm/xe/xe_pt.c b/drivers/gpu/drm/xe/xe_pt.c
> index 854c0a59af719..3170df1f3fbf6 100644
> --- a/drivers/gpu/drm/xe/xe_pt.c
> +++ b/drivers/gpu/drm/xe/xe_pt.c
> @@ -213,7 +213,7 @@ void xe_pt_destroy(struct xe_pt *pt, u32 flags, struct llist_head *deferred)
>
> XE_WARN_ON(!list_empty(&pt->bo->ttm.base.gpuva.list));
> xe_bo_unpin(pt->bo);
> - xe_bo_put_deferred(pt->bo, deferred);
> + xe_bo_put_deferred(pt->bo, deferred, NULL);
[Severity: Medium]
This is a pre-existing issue, but could xe_pt_destroy() in
drivers/gpu/drm/xe/xe_pt.c trigger a Use-After-Free of the VM's dma_resv
during synchronous page table BO destruction?
During VM teardown, deferred can be NULL. In this case, xe_bo_put_deferred()
in drivers/gpu/drm/xe/xe_bo.h calls xe_bo_put() synchronously. If
ttm_bo_individualize_resv() fails due to memory pressure (-ENOMEM) in
ttm_bo_release(), TTM's fallback path leaves the BO sharing the VM's resv
but still queues VRAM BOs for delayed deletion.
Since deferred is NULL, any xe_vm_get() mitigation (which relies on the BO
being added to the deferred list) is bypassed. This allows the VM to be freed
concurrently. When the delayed delete worker runs, would it call
dma_resv_lock() on the freed VM's resv, causing a UAF?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260904022207.3490018-1-matthew.brost@intel.com?part=5
^ permalink raw reply [flat|nested] 41+ messages in thread
* Re: [PATCH v5 20/25] drm/xe: Add ULLS migration job support to migration layer
2026-09-04 2:22 ` [PATCH v5 20/25] drm/xe: Add ULLS migration job support to migration layer Matthew Brost
@ 2026-09-04 2:44 ` sashiko-bot
2026-09-04 4:11 ` Matthew Brost
0 siblings, 1 reply; 41+ messages in thread
From: sashiko-bot @ 2026-09-04 2:44 UTC (permalink / raw)
To: Matthew Brost; +Cc: intel-xe
Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider:
- [High] ULLS_EXIT_JIFFIES evaluates to 0 on HZ=100 configurations, causing a tight spin loop.
- [High] Deadlock caused by synchronous dma_fence_wait while holding reclaim-tainted job_mutex.
- [Medium] Asynchronous runtime PM put used during device teardown path.
--
commit 1b246ef0dc00023e2aba23868ed86c7ff7c9257a
Author: Matthew Brost <matthew.brost@intel.com>
drm/xe: Add ULLS migration job support to migration layer
Add function to enter ULLS mode for migration job and delayed worker to
exit (power saving). ULLS mode expected to entered upon page fault or
SVM prefetch. ULLS mode exit delay is currently set to 5ms.
Link: https://patch.msgid.link/20260228013501.106680-21-matthew.brost@intel.com
> diff --git a/drivers/gpu/drm/xe/xe_migrate.c b/drivers/gpu/drm/xe/xe_migrate.c
> index 471ae5741836e..588e1c9085f31 100644
> --- a/drivers/gpu/drm/xe/xe_migrate.c
> +++ b/drivers/gpu/drm/xe/xe_migrate.c
[ ... ]
> @@ -77,6 +80,14 @@ struct xe_migrate {
> struct dma_fence *fence;
> /** @min_chunk_size: For dgfx, Minimum chunk size */
> u64 min_chunk_size;
> + /** @ulls: ULLS support */
> + struct {
> + /** @ulls.enabled: ULLS is enabled */
> + bool enabled;
> +#define ULLS_EXIT_JIFFIES (HZ / 200) /* 5ms */
[Severity: High]
Does this calculation truncate to 0 when HZ=100?
If HZ < 200, ULLS_EXIT_JIFFIES evaluates to 0. When xe_migrate_ulls_exit
executes while the queue is not idle, it reschedules itself with a delay
of 0. This results in an immediate re-execution of the worker, creating a
tight spin loop and causing a soft lockup with 100% CPU utilization until
the queue becomes idle.
> + /** @ulls.exit_work: ULLS exit worker */
> + struct delayed_work exit_work;
> + } ulls;
> };
>
> #define MAX_PREEMPTDISABLE_TRANSFER SZ_8M /* Around 1ms. */
> @@ -98,6 +109,16 @@ struct xe_migrate {
> static void xe_migrate_fini(void *arg)
> {
> struct xe_migrate *m = arg;
> + struct xe_device *xe = tile_to_xe(m->tile);
> +
> + disable_delayed_work_sync(&m->ulls.exit_work);
> + mutex_lock(&m->job_mutex);
> + if (m->ulls.enabled) {
> + xe_force_wake_put(gt_to_fw(m->q->hwe->gt), m->q->hwe->domain);
> + xe_pm_runtime_put(xe);
[Severity: Medium]
Will this asynchronous put call in the teardown path be canceled by the
subsequent PM disable?
xe_migrate_fini acts as the devm cleanup action. It calls xe_pm_runtime_put
which queues an asynchronous suspend. However, during driver teardown,
pm_runtime_disable will cancel this pending async work before it executes,
leaving the hardware incorrectly in an active power state.
Should this be a synchronous pm_runtime_put_sync instead?
> + m->ulls.enabled = false;
> + }
> + mutex_unlock(&m->job_mutex);
>
> xe_vm_lock(m->q->vm, false);
> xe_bo_unpin(m->pt_bo);
[ ... ]
> +static void xe_migrate_ulls_exit(struct work_struct *work)
> +{
> + struct xe_migrate *m = container_of(work, struct xe_migrate,
> + ulls.exit_work.work);
[ ... ]
> + mutex_lock(&m->job_mutex);
> +
> + if (!xe_exec_queue_is_idle(m->q, 1))
> + goto unlock_exit;
> +
> + xe_sched_job_get(job);
> + xe_sched_job_arm(job);
> + job->is_ulls = true;
> + job->is_ulls_last = true;
> + fence = dma_fence_get(&job->drm.s_fence->finished);
> + xe_sched_job_push(job);
> +
> + /* Serialize force wake put */
> + dma_fence_wait(fence, false);
[Severity: High]
Does waiting on this dma-fence while holding the reclaim-tainted job_mutex
create a deadlock?
m->job_mutex is explicitly annotated as being part of the memory reclaim path
via fs_reclaim_acquire/release in xe_migrate_init. By synchronously
waiting on a dma-fence with dma_fence_wait while holding this mutex, a
circular dependency is created with the memory allocator.
If the system is under memory pressure and triggers reclaim while signaling
the fence, or if a GPU reset (which must allocate memory) is needed to signal
the fence, the reclaim path will attempt to acquire job_mutex and block
forever.
> + dma_fence_put(fence);
> +
> + m->ulls.enabled = false;
> +unlock_exit:
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260904022207.3490018-1-matthew.brost@intel.com?part=20
^ permalink raw reply [flat|nested] 41+ messages in thread
* Re: [PATCH v5 10/25] drm/xe: Update GuC submission backend to run PT jobs
2026-09-04 2:21 ` [PATCH v5 10/25] drm/xe: Update GuC submission backend to run PT jobs Matthew Brost
@ 2026-09-04 2:46 ` sashiko-bot
0 siblings, 0 replies; 41+ messages in thread
From: sashiko-bot @ 2026-09-04 2:46 UTC (permalink / raw)
To: Matthew Brost; +Cc: intel-xe
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Critical] PT jobs silently falsely report successful completion to the DRM scheduler when skipped due to a killed, banned, or wedged execution queue, or when the job has an error.
- [Medium] Memory leak of `pt_job_ops` when a PT job is canceled or destroyed before execution.
--
commit b19832ca384abf64ac2c629d5560dfa5eee4d788
Author: Matthew Brost <matthew.brost@intel.com>
drm/xe: Update GuC submission backend to run PT jobs
This commit updates the GuC submission backend to execute PT (page table)
jobs via the CPU. These jobs bypass normal GPU execution to program page
tables for the final step of a bind job.
Link: https://patch.msgid.link/20260228013501.106680-11-matthew.brost@intel.com
> diff --git a/drivers/gpu/drm/xe/xe_guc_submit.c b/drivers/gpu/drm/xe/xe_guc_submit.c
> index cf306568ef307..528869928c1d3 100644
> --- a/drivers/gpu/drm/xe/xe_guc_submit.c
> +++ b/drivers/gpu/drm/xe/xe_guc_submit.c
[ ... ]
> @@ -1261,14 +1277,25 @@ guc_exec_queue_run_job(struct drm_sched_job *drm_job)
[ ... ]
> job->restore_replay = false;
> }
>
> + if (is_pt_job(job)) {
[Severity: Critical]
Does returning NULL here cause PT jobs to silently report successful
completion to the DRM scheduler when they were actually skipped?
If the execution queue is killed, banned, or wedged, or if the job has
an error, the execution block earlier in guc_exec_queue_run_job() is
skipped. However, this check unconditionally returns NULL for PT jobs
even in those cases.
Could this regression result in physical memory being freed and reallocated
while the page tables were never updated by the CPU, potentially allowing
a different queue in the same VM to access the reallocated memory?
> + xe_pt_job_ops_put(job->pt_update[0].pt_job_ops);
[Severity: Medium]
Is there a potential memory leak of the xe_pt_job_ops structures if a
PT job is canceled or destroyed before it reaches this execution phase?
This drops the reference to pt_job_ops during the run_job execution phase.
If the DRM scheduler is torn down (e.g. due to queue destruction, wedge,
or driver unload) while jobs are pending, the backend free_job callback
is invoked instead, bypassing this execution path.
Does the teardown path in xe_sched_job_destroy() need to drop these
pt_job_ops references as well to prevent a regression?
> + dma_fence_put(job->fence); /* Drop ref from xe_sched_job_arm */
> + return NULL;
> + }
> +
> run_job_out:
>
> return job->fence;
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260904022207.3490018-1-matthew.brost@intel.com?part=10
^ permalink raw reply [flat|nested] 41+ messages in thread
* Re: [PATCH v5 09/25] drm/xe: Add struct xe_pt_job_ops
2026-09-04 2:21 ` [PATCH v5 09/25] drm/xe: Add struct xe_pt_job_ops Matthew Brost
@ 2026-09-04 2:48 ` sashiko-bot
0 siblings, 0 replies; 41+ messages in thread
From: sashiko-bot @ 2026-09-04 2:48 UTC (permalink / raw)
To: Matthew Brost; +Cc: intel-xe
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
Pre-existing issues:
- [Critical] Ignored return value of xe_pt_walk_shared() in xe_pt_stage_unbind() can cause partial unbinds leading to device memory Use-After-Free.
--
commit becaaccdc6df0bb083fdb6279921f5ee714da885
Author: Matthew Brost <matthew.brost@intel.com>
drm/xe: Add struct xe_pt_job_ops
Add struct xe_pt_job_ops, a dynamically refcounted object that contains
the information required to issue a CPU bind via a job after the initial
bind IOCTL returns.
Link: https://patch.msgid.link/20260228013501.106680-10-matthew.brost@intel.com
> diff --git a/drivers/gpu/drm/xe/xe_pt.c b/drivers/gpu/drm/xe/xe_pt.c
> index e560f167fdf1b..30127ebf1b605 100644
> --- a/drivers/gpu/drm/xe/xe_pt.c
> +++ b/drivers/gpu/drm/xe/xe_pt.c
[ ... ]
> @@ -2081,13 +2094,13 @@ xe_pt_commit_prepare_unbind(struct xe_vma *vma,
[Severity: Critical]
This is a pre-existing issue, but is it safe to ignore the return value of
xe_pt_walk_shared() in xe_pt_stage_unbind() just above this diff?
If memory allocation fails during VMA unbind, the page table walk is
prematurely aborted. The function casts the error to (void) and returns the
count of successfully processed entries:
drivers/gpu/drm/xe/xe_pt.c:xe_pt_stage_unbind() {
...
(void)xe_pt_walk_shared(&pt->base, pt->level, start, end,
&xe_walk.base);
...
}
If the caller proceeds to unbind only that subset of PTEs, does this allow
the physical memory backing the VMA to be freed and reallocated to another
process while the GPU retains a valid PTE mapping to it?
If an unprivileged user triggers this by allocating and unmapping memory
while intentionally applying memory pressure to force an allocation failure,
can this result in a use-after-free and memory corruption?
> static struct xe_vm_pgtable_update_op *
> to_pt_op(struct xe_vm_pgtable_update_ops *pt_update_ops, u32 op_idx)
> {
> - return &pt_update_ops->ops[op_idx];
> + return &pt_update_ops->pt_job_ops->ops[op_idx];
> }
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260904022207.3490018-1-matthew.brost@intel.com?part=9
^ permalink raw reply [flat|nested] 41+ messages in thread
* Re: [PATCH v5 22/25] drm/xe: Add ULLS migration job support to GuC submission
2026-09-04 2:22 ` [PATCH v5 22/25] drm/xe: Add ULLS migration job support to GuC submission Matthew Brost
@ 2026-09-04 2:49 ` sashiko-bot
2026-09-04 4:17 ` Matthew Brost
0 siblings, 1 reply; 41+ messages in thread
From: sashiko-bot @ 2026-09-04 2:49 UTC (permalink / raw)
To: Matthew Brost; +Cc: intel-xe
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [High] Missing MMIO readback to flush the posted write to RING_TAIL before signaling the ULLS semaphore in memory.
--
commit 454390e5dedb020c4422d2a8b279ed19fa3eb789
Author: Matthew Brost <matthew.brost@intel.com>
drm/xe: Add ULLS migration job support to GuC submission
This commit adds ULLS migration job support to the GuC submission backend.
It updates the migration queue max jobs, directly sets the hardware engine
tail via a MMIO write for ULLS jobs, and sets the ULLS semaphore for the
current job releasing the last job.
Link: https://patch.msgid.link/20260228013501.106680-24-matthew.brost@intel.com
> diff --git a/drivers/gpu/drm/xe/xe_guc_submit.c b/drivers/gpu/drm/xe/xe_guc_submit.c
> index dcb4b8a4f3b78..1578d80b01b82 100644
> --- a/drivers/gpu/drm/xe/xe_guc_submit.c
> +++ b/drivers/gpu/drm/xe/xe_guc_submit.c
> @@ -1207,6 +1207,11 @@ static void submit_exec_queue(struct xe_exec_queue *q, struct xe_sched_job *job)
> if (exec_queue_suspended(q))
> return;
>
> + if (job->is_ulls && !job->is_ulls_first) {
> + xe_hw_engine_write_ring_tail(q->hwe, lrc->ring.tail);
> + xe_lrc_set_ulls_semaphore(lrc, xe_sched_job_lrc_seqno(job));
[Severity: High]
Does this sequence miss an MMIO readback to flush the posted write?
A posted MMIO write is issued to the hardware engine's RING_TAIL via
xe_hw_engine_write_ring_tail(), and is immediately followed by a memory write
to signal the semaphore in xe_lrc_set_ulls_semaphore(). There is no
intermediate MMIO readback to flush the posted write.
If the CS wakes up from the semaphore wait before the MMIO RING_TAIL write
arrives, it can observe HEAD == TAIL, assume the ring is empty, and go idle.
The context is then switched out. When the delayed MMIO write eventually
arrives, it hits an idle engine (or worse, a different context), failing to
execute the submitted ULLS job and hanging the migration queue.
Because xe_migrate_ulls_exit would then hang indefinitely waiting for the
unexecuted job's fence, and the migration queue handles GPU page faults and
SVM prefetches, this can hang workloads utilizing SVM.
Does this violate PCIe ordering requirements for flushing posted writes before
dependent memory writes?
> + }
> +
> if (!exec_queue_enabled(q)) {
> action[len++] = XE_GUC_ACTION_SCHED_CONTEXT_MODE_SET;
> action[len++] = q->guc->id;
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260904022207.3490018-1-matthew.brost@intel.com?part=22
^ permalink raw reply [flat|nested] 41+ messages in thread
* Re: [PATCH v5 13/25] drm/xe: Enable CPU binds for jobs
2026-09-04 2:21 ` [PATCH v5 13/25] drm/xe: Enable CPU binds for jobs Matthew Brost
@ 2026-09-04 2:51 ` sashiko-bot
0 siblings, 0 replies; 41+ messages in thread
From: sashiko-bot @ 2026-09-04 2:51 UTC (permalink / raw)
To: Matthew Brost; +Cc: intel-xe
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [High] Missing handling for CPU-based PT jobs in the execlist backend causes the GPU to execute kernel pointers as a batch address and skips page table updates.
- [Medium] Leaked `xe_pt_job_ops` and `dma_fence` references when a PT job is canceled by the DRM scheduler before execution.
--
commit 9837aa81f0294a36920d4bcf8d6d4c00ce265778
Author: Matthew Brost <matthew.brost@intel.com>
drm/xe: Enable CPU binds for jobs
This commit transitions the driver to use CPU-based binds instead of the
GPU for page table updates. It formulates a PT job that issues the CPU
bind in the submission backend and removes previous GPU-based binding code.
Link: https://patch.msgid.link/20260228013501.106680-14-matthew.brost@intel.com
> diff --git a/drivers/gpu/drm/xe/xe_migrate.c b/drivers/gpu/drm/xe/xe_migrate.c
> index ba8e195afcc89..e5c46e0fa9607 100644
> --- a/drivers/gpu/drm/xe/xe_migrate.c
> +++ b/drivers/gpu/drm/xe/xe_migrate.c
[ ... ]
> @@ -2104,6 +1889,12 @@ __xe_migrate_update_pgtables(struct xe_migrate *m,
> if (is_migrate)
> mutex_lock(&m->job_mutex);
>
> + job->pt_update[0].vm = pt_update->vops->vm;
> + job->pt_update[0].tile = tile;
> + job->pt_update[0].ops = ops;
> + job->pt_update[0].pt_job_ops =
> + xe_pt_job_ops_get(pt_update_ops->pt_job_ops);
> +
[Severity: High]
Does this new CPU-based PT job cause the GPU to execute garbage when using
the execlist submission backend?
When GuC is disabled, the execlist backend processes the job. However,
execlist_run_job() in drivers/gpu/drm/xe/xe_execlist.c unconditionally
pushes jobs to the GPU without checking if it is a CPU-only PT job.
Because struct xe_sched_job uses a union for these arguments:
union {
/** @ptrs: per instance pointers. */
DECLARE_FLEX_ARRAY(struct xe_job_ptrs, ptrs);
/** @pt_update: PT update arguments */
DECLARE_FLEX_ARRAY(struct xe_pt_update_args, pt_update);
};
the execlist backend will interpret job->ptrs[0].batch_addr (which perfectly
aliases the pt_job_ops pointer) as a physical batch address. This emits the
kernel pointer to the hardware ring, leading to a GPU hang, invalid
instruction faults, and unexecuted page table updates.
[Severity: Medium]
Will the xe_pt_job_ops and dma_fence references leak if the PT job is
canceled by the DRM scheduler before execution?
When a PT job is canceled (e.g., due to process termination or a wedged
device), it bypasses .run_job (like guc_exec_queue_run_job, where cleanup
normally occurs) and directly goes to .free_job, which resolves to
xe_sched_job_destroy() in drivers/gpu/drm/xe/xe_sched_job.c.
The generic xe_sched_job_destroy() routine only drops a single fence
reference and lacks the logic to drop the xe_pt_job_ops reference acquired
here, permanently leaking both.
> xe_sched_job_arm(job);
> fence = dma_fence_get(&job->drm.s_fence->finished);
> xe_sched_job_push(job);
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260904022207.3490018-1-matthew.brost@intel.com?part=13
^ permalink raw reply [flat|nested] 41+ messages in thread
* ✓ Xe.CI.BAT: success for CPU binds and ULLS on migration queue (rev7)
2026-09-04 2:21 [PATCH v5 00/25] CPU binds and ULLS on migration queue Matthew Brost
` (26 preceding siblings ...)
2026-09-04 2:31 ` ✓ CI.KUnit: success " Patchwork
@ 2026-09-04 3:08 ` Patchwork
2026-09-04 15:21 ` ✗ Xe.CI.FULL: failure " Patchwork
28 siblings, 0 replies; 41+ messages in thread
From: Patchwork @ 2026-09-04 3:08 UTC (permalink / raw)
To: Matthew Brost; +Cc: intel-xe
[-- Attachment #1: Type: text/plain, Size: 4837 bytes --]
== Series Details ==
Series: CPU binds and ULLS on migration queue (rev7)
URL : https://patchwork.freedesktop.org/series/149888/
State : success
== Summary ==
CI Bug Log - changes from xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623_BAT -> xe-pw-149888v7_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (12 -> 13)
------------------------------
Additional (1): bat-bmg-2
Known issues
------------
Here are the changes found in xe-pw-149888v7_BAT that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@fbdev@write:
- bat-bmg-2: NOTRUN -> [SKIP][1] ([Intel XE#2134]) +4 other tests skip
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/bat-bmg-2/igt@fbdev@write.html
* igt@kms_addfb_basic@addfb25-y-tiled-small-legacy:
- bat-bmg-2: NOTRUN -> [SKIP][2] ([Intel XE#2233])
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/bat-bmg-2/igt@kms_addfb_basic@addfb25-y-tiled-small-legacy.html
* igt@kms_cursor_legacy@basic-flip-after-cursor-legacy:
- bat-bmg-2: NOTRUN -> [SKIP][3] ([Intel XE#2489] / [Intel XE#3419]) +13 other tests skip
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/bat-bmg-2/igt@kms_cursor_legacy@basic-flip-after-cursor-legacy.html
* igt@kms_flip@basic-flip-vs-modeset:
- bat-bmg-2: NOTRUN -> [SKIP][4] ([Intel XE#2482]) +3 other tests skip
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/bat-bmg-2/igt@kms_flip@basic-flip-vs-modeset.html
* igt@kms_frontbuffer_tracking@basic:
- bat-bmg-2: NOTRUN -> [SKIP][5] ([Intel XE#2434] / [Intel XE#2548] / [Intel XE#6314])
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/bat-bmg-2/igt@kms_frontbuffer_tracking@basic.html
* igt@kms_psr@psr-sprite-plane-onoff:
- bat-bmg-2: NOTRUN -> [SKIP][6] ([Intel XE#2234] / [Intel XE#2850]) +2 other tests skip
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/bat-bmg-2/igt@kms_psr@psr-sprite-plane-onoff.html
* igt@xe_exec_multi_queue@priority:
- bat-bmg-2: NOTRUN -> [SKIP][7] ([Intel XE#8364]) +13 other tests skip
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/bat-bmg-2/igt@xe_exec_multi_queue@priority.html
* igt@xe_live_ktest@xe_bo@xe_ccs_migrate_kunit:
- bat-bmg-2: NOTRUN -> [SKIP][8] ([Intel XE#2229])
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/bat-bmg-2/igt@xe_live_ktest@xe_bo@xe_ccs_migrate_kunit.html
* igt@xe_pat@pat-index-xehpc:
- bat-bmg-2: NOTRUN -> [SKIP][9] ([Intel XE#1420] / [Intel XE#7590])
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/bat-bmg-2/igt@xe_pat@pat-index-xehpc.html
* igt@xe_pat@pat-index-xelp:
- bat-bmg-2: NOTRUN -> [SKIP][10] ([Intel XE#2245] / [Intel XE#7590])
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/bat-bmg-2/igt@xe_pat@pat-index-xelp.html
* igt@xe_pat@pat-index-xelpg:
- bat-bmg-2: NOTRUN -> [SKIP][11] ([Intel XE#2236] / [Intel XE#7590])
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/bat-bmg-2/igt@xe_pat@pat-index-xelpg.html
[Intel XE#1420]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1420
[Intel XE#2134]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2134
[Intel XE#2229]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2229
[Intel XE#2233]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2233
[Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
[Intel XE#2236]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2236
[Intel XE#2245]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2245
[Intel XE#2434]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2434
[Intel XE#2482]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2482
[Intel XE#2489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2489
[Intel XE#2548]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2548
[Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
[Intel XE#3419]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3419
[Intel XE#6314]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6314
[Intel XE#7590]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7590
[Intel XE#8364]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8364
Build changes
-------------
* Linux: xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623 -> xe-pw-149888v7
IGT_9084: 9084
xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623: 71bc3b7cc55631a9b3807da98e2b2880838b9623
xe-pw-149888v7: 149888v7
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/index.html
[-- Attachment #2: Type: text/html, Size: 5749 bytes --]
^ permalink raw reply [flat|nested] 41+ messages in thread
* Re: [PATCH v5 17/25] drm/xe: Add device flag to enable PT mirroring across tiles
2026-09-04 2:43 ` sashiko-bot
@ 2026-09-04 4:10 ` Matthew Brost
0 siblings, 0 replies; 41+ messages in thread
From: Matthew Brost @ 2026-09-04 4:10 UTC (permalink / raw)
To: sashiko-reviews; +Cc: intel-xe
On Fri, Sep 04, 2026 at 02:43:47AM +0000, sashiko-bot@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
> - [High] Unused page tables and scratch buffers are incorrectly allocated for secondary tiles when PT mirroring is disabled, wasting VRAM, and migration VMs are forced to use remote page tables.
> - [Medium] Memory leak of page reclaim entries (`prl->entries`) on error paths or when TLB invalidation is bypassed for tiles with disabled page table mirroring.
> --
>
> commit 38fe6ff118093de1244d8bbcc84d59616c09c17c
> Author: Matthew Brost <matthew.brost@intel.com>
>
> drm/xe: Add device flag to enable PT mirroring across tiles
>
> This commit introduces a device flag to enable or disable page-table
> mirroring across tiles for memory-bandwidth reasons. The flag defaults
> to the existing behavior on PVC but allows flexibility for other devices.
>
> Link: https://patch.msgid.link/20260228013501.106680-18-matthew.brost@intel.com
>
> > diff --git a/drivers/gpu/drm/xe/xe_pt.c b/drivers/gpu/drm/xe/xe_pt.c
> > index 05bbac6c2632e..bf2cdef44179d 100644
> > --- a/drivers/gpu/drm/xe/xe_pt.c
> > +++ b/drivers/gpu/drm/xe/xe_pt.c
> [ ... ]
> > @@ -2541,9 +2552,21 @@ int xe_pt_update_ops_prepare(struct xe_device *xe, struct xe_vma_ops *vops)
> > int id, err;
> >
> > for_each_tile(tile, xe, id) {
> > + struct xe_vm_pgtable_update_ops *pt_update_ops =
> > + &vops->pt_update_ops[id];
> > +
> > if (!vops->pt_update_ops[id].num_ops)
> > continue;
> >
> > + if (pt_mirroring_disabled_for_tile(vops->vm, id)) {
> > + struct xe_page_reclaim_list *prl = &pt_update_ops->prl;
> > +
> > + /* Transfer root PT update ops PRL to current */
> > + *prl = vops->pt_update_ops[0].prl;
> > + xe_page_reclaim_entries_get(prl->entries);
> > + continue;
> > + }
> > +
> > err = __xe_pt_update_ops_prepare(tile, vops);
> > if (err)
> > return err;
> [ ... ]
> > @@ -2924,6 +2953,9 @@ void xe_pt_update_ops_fini(struct xe_device *xe, struct xe_vma_ops *vops)
> > if (!pt_update_ops->num_ops)
> > continue;
> >
> > + if (pt_mirroring_disabled_for_tile(vops->vm, id))
> > + continue;
> > +
> > xe_page_reclaim_entries_put(pt_update_ops->prl.entries);
>
> [Severity: Medium]
> Does this skip releasing the page reclaim entries for secondary tiles?
>
> When PT mirroring is disabled, xe_pt_update_ops_prepare() takes an extra
> reference to prl->entries for secondary tiles. If the operation succeeds but
> TLB invalidation is bypassed (or if called on cleanup),
> xe_pt_update_ops_fini() is executed. By checking
> pt_mirroring_disabled_for_tile() and continuing, it skips the needed
> xe_page_reclaim_entries_put() call, which can lead to a memory leak.
>
> > }
> > }
> > @@ -2948,6 +2980,9 @@ void xe_pt_update_ops_abort(struct xe_device *xe, struct xe_vma_ops *vops)
> > &vops->pt_update_ops[id];
> > int i;
> >
> > + if (pt_mirroring_disabled_for_tile(vops->vm, id))
> > + continue;
> > +
> > for (i = pt_update_ops->num_ops - 1; i >= 0; --i) {
>
> [Severity: Medium]
> Similar to the issue above in xe_pt_update_ops_fini(), does this leak the
> page reclaim entries when an operation is aborted?
>
> By skipping secondary tiles when mirroring is disabled,
> xe_pt_update_ops_abort() also bypasses xe_pt_update_ops_fini() for those
> tiles, meaning the reference acquired in xe_pt_update_ops_prepare() is
> never put on error paths.
>
Both of these are correct, pt_mirroring_disabled_for_tile should be
deleted from xe_pt_update_ops_fini.
Matt
> > struct xe_vm_pgtable_update_op *pt_op =
> > to_pt_op(pt_update_ops, i);
> [ ... ]
> > diff --git a/drivers/gpu/drm/xe/xe_vm.c b/drivers/gpu/drm/xe/xe_vm.c
> > index fbfc42afef8b1..795d0ebb10047 100644
> > --- a/drivers/gpu/drm/xe/xe_vm.c
> > +++ b/drivers/gpu/drm/xe/xe_vm.c
> [ ... ]
> > @@ -1738,7 +1748,8 @@ struct xe_vm *xe_vm_create(struct xe_device *xe, u32 flags, struct xe_file *xef)
> >
> > for_each_tile(tile, xe, id) {
> > if (flags & XE_VM_FLAG_MIGRATION &&
> > - tile->id != XE_VM_FLAG_TILE_ID(flags))
> > + tile->id != XE_VM_FLAG_TILE_ID(flags) &&
> > + (vm->xe->info.has_pt_mirror || id))
> > continue;
> >
> > vm->pt_root[id] = xe_pt_create(vm, tile, xe->info.vm_max_level,
>
> [Severity: High]
> Does this allocate unused page tables and scratch buffers for secondary tiles
> when PT mirroring is disabled?
>
> When has_pt_mirror is false, the loop does not skip secondary tiles for
> normal VMs, causing it to unconditionally allocate pt_root structures and
> scratch pages for all of them.
>
> Additionally, for migration VMs on secondary tiles, this allocates both
> pt_root[0] and pt_root[tile_id]. Since xe_vm_pt_root() unconditionally
> returns pt_root[0] when mirroring is disabled, this abandons the memory
> allocated for secondary tiles and forces the migration engine to use
> pt_root[0] over the cross-tile interconnect, defeating the locality benefits.
>
> [ ... ]
> > @@ -5072,3 +5083,21 @@ void xe_vm_remove_exec_queue(struct xe_vm *vm, struct xe_exec_queue *q)
> > }
> > up_write(&vm->exec_queues.lock);
> > }
> > +
> > +/**
> > + * xe_vm_pt_root() - Retrieve VM page-table root
> > + * @vm: The VM.
> > + * @tile_id: Tile ID
> > + *
> > + * Retrieve VM page-table root for a tile ID, used to abstract if PT mirroring is
> > + * enabled across tiles.
> > + *
> > + * Return: VM page-table root for a tile ID
> > + */
> > +struct xe_pt *xe_vm_pt_root(struct xe_vm *vm, u8 tile_id)
> > +{
> > + if (vm->xe->info.has_pt_mirror)
> > + return vm->pt_root[tile_id];
> > +
> > + return vm->pt_root[0];
> > +}
>
> --
> Sashiko AI review · https://sashiko.dev/#/patchset/20260904022207.3490018-1-matthew.brost@intel.com?part=17
^ permalink raw reply [flat|nested] 41+ messages in thread
* Re: [PATCH v5 20/25] drm/xe: Add ULLS migration job support to migration layer
2026-09-04 2:44 ` sashiko-bot
@ 2026-09-04 4:11 ` Matthew Brost
0 siblings, 0 replies; 41+ messages in thread
From: Matthew Brost @ 2026-09-04 4:11 UTC (permalink / raw)
To: sashiko-reviews; +Cc: intel-xe
On Fri, Sep 04, 2026 at 02:44:39AM +0000, sashiko-bot@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider:
> - [High] ULLS_EXIT_JIFFIES evaluates to 0 on HZ=100 configurations, causing a tight spin loop.
> - [High] Deadlock caused by synchronous dma_fence_wait while holding reclaim-tainted job_mutex.
> - [Medium] Asynchronous runtime PM put used during device teardown path.
> --
>
> commit 1b246ef0dc00023e2aba23868ed86c7ff7c9257a
> Author: Matthew Brost <matthew.brost@intel.com>
>
> drm/xe: Add ULLS migration job support to migration layer
>
> Add function to enter ULLS mode for migration job and delayed worker to
> exit (power saving). ULLS mode expected to entered upon page fault or
> SVM prefetch. ULLS mode exit delay is currently set to 5ms.
>
> Link: https://patch.msgid.link/20260228013501.106680-21-matthew.brost@intel.com
>
> > diff --git a/drivers/gpu/drm/xe/xe_migrate.c b/drivers/gpu/drm/xe/xe_migrate.c
> > index 471ae5741836e..588e1c9085f31 100644
> > --- a/drivers/gpu/drm/xe/xe_migrate.c
> > +++ b/drivers/gpu/drm/xe/xe_migrate.c
>
> [ ... ]
>
> > @@ -77,6 +80,14 @@ struct xe_migrate {
> > struct dma_fence *fence;
> > /** @min_chunk_size: For dgfx, Minimum chunk size */
> > u64 min_chunk_size;
> > + /** @ulls: ULLS support */
> > + struct {
> > + /** @ulls.enabled: ULLS is enabled */
> > + bool enabled;
> > +#define ULLS_EXIT_JIFFIES (HZ / 200) /* 5ms */
>
> [Severity: High]
> Does this calculation truncate to 0 when HZ=100?
>
> If HZ < 200, ULLS_EXIT_JIFFIES evaluates to 0. When xe_migrate_ulls_exit
> executes while the queue is not idle, it reschedules itself with a delay
> of 0. This results in an immediate re-execution of the worker, creating a
> tight spin loop and causing a soft lockup with 100% CPU utilization until
> the queue becomes idle.
>
Also right. Should be: ((5 * HZ) / MSEC_PER_SEC)
Matt
> > + /** @ulls.exit_work: ULLS exit worker */
> > + struct delayed_work exit_work;
> > + } ulls;
> > };
> >
> > #define MAX_PREEMPTDISABLE_TRANSFER SZ_8M /* Around 1ms. */
> > @@ -98,6 +109,16 @@ struct xe_migrate {
> > static void xe_migrate_fini(void *arg)
> > {
> > struct xe_migrate *m = arg;
> > + struct xe_device *xe = tile_to_xe(m->tile);
> > +
> > + disable_delayed_work_sync(&m->ulls.exit_work);
> > + mutex_lock(&m->job_mutex);
> > + if (m->ulls.enabled) {
> > + xe_force_wake_put(gt_to_fw(m->q->hwe->gt), m->q->hwe->domain);
> > + xe_pm_runtime_put(xe);
>
> [Severity: Medium]
> Will this asynchronous put call in the teardown path be canceled by the
> subsequent PM disable?
>
> xe_migrate_fini acts as the devm cleanup action. It calls xe_pm_runtime_put
> which queues an asynchronous suspend. However, during driver teardown,
> pm_runtime_disable will cancel this pending async work before it executes,
> leaving the hardware incorrectly in an active power state.
>
> Should this be a synchronous pm_runtime_put_sync instead?
>
> > + m->ulls.enabled = false;
> > + }
> > + mutex_unlock(&m->job_mutex);
> >
> > xe_vm_lock(m->q->vm, false);
> > xe_bo_unpin(m->pt_bo);
>
> [ ... ]
>
> > +static void xe_migrate_ulls_exit(struct work_struct *work)
> > +{
> > + struct xe_migrate *m = container_of(work, struct xe_migrate,
> > + ulls.exit_work.work);
>
> [ ... ]
>
> > + mutex_lock(&m->job_mutex);
> > +
> > + if (!xe_exec_queue_is_idle(m->q, 1))
> > + goto unlock_exit;
> > +
> > + xe_sched_job_get(job);
> > + xe_sched_job_arm(job);
> > + job->is_ulls = true;
> > + job->is_ulls_last = true;
> > + fence = dma_fence_get(&job->drm.s_fence->finished);
> > + xe_sched_job_push(job);
> > +
> > + /* Serialize force wake put */
> > + dma_fence_wait(fence, false);
>
> [Severity: High]
> Does waiting on this dma-fence while holding the reclaim-tainted job_mutex
> create a deadlock?
>
> m->job_mutex is explicitly annotated as being part of the memory reclaim path
> via fs_reclaim_acquire/release in xe_migrate_init. By synchronously
> waiting on a dma-fence with dma_fence_wait while holding this mutex, a
> circular dependency is created with the memory allocator.
>
> If the system is under memory pressure and triggers reclaim while signaling
> the fence, or if a GPU reset (which must allocate memory) is needed to signal
> the fence, the reclaim path will attempt to acquire job_mutex and block
> forever.
>
> > + dma_fence_put(fence);
> > +
> > + m->ulls.enabled = false;
> > +unlock_exit:
>
> --
> Sashiko AI review · https://sashiko.dev/#/patchset/20260904022207.3490018-1-matthew.brost@intel.com?part=20
^ permalink raw reply [flat|nested] 41+ messages in thread
* Re: [PATCH v5 22/25] drm/xe: Add ULLS migration job support to GuC submission
2026-09-04 2:49 ` sashiko-bot
@ 2026-09-04 4:17 ` Matthew Brost
0 siblings, 0 replies; 41+ messages in thread
From: Matthew Brost @ 2026-09-04 4:17 UTC (permalink / raw)
To: sashiko-reviews; +Cc: intel-xe
On Fri, Sep 04, 2026 at 02:49:34AM +0000, sashiko-bot@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
> - [High] Missing MMIO readback to flush the posted write to RING_TAIL before signaling the ULLS semaphore in memory.
> --
>
> commit 454390e5dedb020c4422d2a8b279ed19fa3eb789
> Author: Matthew Brost <matthew.brost@intel.com>
>
> drm/xe: Add ULLS migration job support to GuC submission
>
> This commit adds ULLS migration job support to the GuC submission backend.
> It updates the migration queue max jobs, directly sets the hardware engine
> tail via a MMIO write for ULLS jobs, and sets the ULLS semaphore for the
> current job releasing the last job.
>
> Link: https://patch.msgid.link/20260228013501.106680-24-matthew.brost@intel.com
>
> > diff --git a/drivers/gpu/drm/xe/xe_guc_submit.c b/drivers/gpu/drm/xe/xe_guc_submit.c
> > index dcb4b8a4f3b78..1578d80b01b82 100644
> > --- a/drivers/gpu/drm/xe/xe_guc_submit.c
> > +++ b/drivers/gpu/drm/xe/xe_guc_submit.c
> > @@ -1207,6 +1207,11 @@ static void submit_exec_queue(struct xe_exec_queue *q, struct xe_sched_job *job)
> > if (exec_queue_suspended(q))
> > return;
> >
> > + if (job->is_ulls && !job->is_ulls_first) {
> > + xe_hw_engine_write_ring_tail(q->hwe, lrc->ring.tail);
> > + xe_lrc_set_ulls_semaphore(lrc, xe_sched_job_lrc_seqno(job));
>
> [Severity: High]
> Does this sequence miss an MMIO readback to flush the posted write?
>
> A posted MMIO write is issued to the hardware engine's RING_TAIL via
> xe_hw_engine_write_ring_tail(), and is immediately followed by a memory write
> to signal the semaphore in xe_lrc_set_ulls_semaphore(). There is no
> intermediate MMIO readback to flush the posted write.
>
> If the CS wakes up from the semaphore wait before the MMIO RING_TAIL write
> arrives, it can observe HEAD == TAIL, assume the ring is empty, and go idle.
> The context is then switched out. When the delayed MMIO write eventually
> arrives, it hits an idle engine (or worse, a different context), failing to
> execute the submitted ULLS job and hanging the migration queue.
>
> Because xe_migrate_ulls_exit would then hang indefinitely waiting for the
> unexecuted job's fence, and the migration queue handles GPU page faults and
> SVM prefetches, this can hang workloads utilizing SVM.
>
> Does this violate PCIe ordering requirements for flushing posted writes before
> dependent memory writes?
>
Maybe. Again [1], it's something to keep an eye on, but I've never seen a
failure on BMG, and I've run `xe_exec_system_allocator` thousands of
times on this code over the past year.
I'd like to avoid adding a read unless we start seeing failures, as it
adds latency that we're trying very hard to avoid in this series.
If this does turn out to be an issue, we'll most likely move to a pure
memory-based model for ULLS with a single ring tail update. I have a
prototype of this, but it is significantly more invasive to the ring
operations and submission code than the changes in this series.
Matt
[1] https://patchwork.freedesktop.org/patch/750801/?series=149888&rev=6#comment_1383766
> > + }
> > +
> > if (!exec_queue_enabled(q)) {
> > action[len++] = XE_GUC_ACTION_SCHED_CONTEXT_MODE_SET;
> > action[len++] = q->guc->id;
>
> --
> Sashiko AI review · https://sashiko.dev/#/patchset/20260904022207.3490018-1-matthew.brost@intel.com?part=22
^ permalink raw reply [flat|nested] 41+ messages in thread
* ✗ Xe.CI.FULL: failure for CPU binds and ULLS on migration queue (rev7)
2026-09-04 2:21 [PATCH v5 00/25] CPU binds and ULLS on migration queue Matthew Brost
` (27 preceding siblings ...)
2026-09-04 3:08 ` ✓ Xe.CI.BAT: " Patchwork
@ 2026-09-04 15:21 ` Patchwork
28 siblings, 0 replies; 41+ messages in thread
From: Patchwork @ 2026-09-04 15:21 UTC (permalink / raw)
To: Matthew Brost; +Cc: intel-xe
[-- Attachment #1: Type: text/plain, Size: 97493 bytes --]
== Series Details ==
Series: CPU binds and ULLS on migration queue (rev7)
URL : https://patchwork.freedesktop.org/series/149888/
State : failure
== Summary ==
CI Bug Log - changes from xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623_FULL -> xe-pw-149888v7_FULL
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with xe-pw-149888v7_FULL absolutely need to be
verified manually.
If you think the reported changes have nothing to do with the changes
introduced in xe-pw-149888v7_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-149888v7_FULL:
### IGT changes ###
#### Possible regressions ####
* igt@xe_vm@bind-array-enobufs:
- shard-lnl: [PASS][1] -> [FAIL][2]
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-3/igt@xe_vm@bind-array-enobufs.html
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-2/igt@xe_vm@bind-array-enobufs.html
- shard-bmg: [PASS][3] -> [FAIL][4]
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-bmg-3/igt@xe_vm@bind-array-enobufs.html
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-bmg-2/igt@xe_vm@bind-array-enobufs.html
New tests
---------
New tests have been introduced between xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623_FULL and xe-pw-149888v7_FULL:
### New IGT tests (17) ###
* igt@kms_flip@basic-flip-vs-modeset@d-dp2:
- Statuses : 1 pass(s)
- Exec time: [0.79] s
* igt@kms_flip@basic-flip-vs-wf_vblank@d-dp2:
- Statuses : 1 pass(s)
- Exec time: [1.10] s
* igt@kms_plane_cursor@overlay@pipe-c-dp-2-size-128:
- Statuses : 1 pass(s)
- Exec time: [2.78] s
* igt@kms_plane_cursor@overlay@pipe-c-dp-2-size-256:
- Statuses : 1 pass(s)
- Exec time: [2.78] s
* igt@kms_plane_cursor@overlay@pipe-c-dp-2-size-64:
- Statuses : 1 pass(s)
- Exec time: [2.87] s
* igt@xe_drm_fdinfo@basic-mem:
- Statuses : 2 pass(s)
- Exec time: [0.02, 0.03] s
* igt@xe_drm_fdinfo@basic-utilization:
- Statuses :
- Exec time: [None] s
* igt@xe_drm_fdinfo@mem-active:
- Statuses : 2 pass(s)
- Exec time: [0.02, 0.04] s
* igt@xe_drm_fdinfo@mem-shared:
- Statuses : 2 pass(s)
- Exec time: [0.02, 0.04] s
* igt@xe_drm_fdinfo@mem-total-resident:
- Statuses : 2 pass(s)
- Exec time: [0.02, 0.03] s
* igt@xe_drm_fdinfo@utilization-all-full-load:
- Statuses : 1 pass(s)
- Exec time: [1.07] s
* igt@xe_drm_fdinfo@utilization-others-full-load:
- Statuses : 2 pass(s)
- Exec time: [5.20, 7.18] s
* igt@xe_drm_fdinfo@utilization-others-idle:
- Statuses : 2 pass(s)
- Exec time: [5.15, 7.12] s
* igt@xe_drm_fdinfo@utilization-single-full-load:
- Statuses : 2 pass(s)
- Exec time: [5.11, 7.12] s
* igt@xe_drm_fdinfo@utilization-single-full-load-destroy-queue:
- Statuses : 2 pass(s)
- Exec time: [5.12, 7.12] s
* igt@xe_drm_fdinfo@utilization-single-full-load-isolation:
- Statuses :
- Exec time: [None] s
* igt@xe_drm_fdinfo@utilization-single-idle:
- Statuses : 2 pass(s)
- Exec time: [5.10, 7.10] s
Known issues
------------
Here are the changes found in xe-pw-149888v7_FULL that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@core_hotunplug@unbind-rebind:
- shard-bmg: [PASS][5] -> [ABORT][6] ([Intel XE#8007])
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-bmg-5/igt@core_hotunplug@unbind-rebind.html
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-bmg-8/igt@core_hotunplug@unbind-rebind.html
* igt@fbdev@pan:
- shard-lnl: [PASS][7] -> [SKIP][8] ([Intel XE#2134])
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-4/igt@fbdev@pan.html
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@fbdev@pan.html
* igt@fbdev@read:
- shard-lnl: NOTRUN -> [SKIP][9] ([Intel XE#2134])
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@fbdev@read.html
* igt@kms_addfb_basic@invalid-smem-bo-on-discrete:
- shard-lnl: NOTRUN -> [SKIP][10] ([Intel XE#3157])
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_addfb_basic@invalid-smem-bo-on-discrete.html
* igt@kms_big_fb@4-tiled-32bpp-rotate-90:
- shard-bmg: NOTRUN -> [SKIP][11] ([Intel XE#2327]) +1 other test skip
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-bmg-6/igt@kms_big_fb@4-tiled-32bpp-rotate-90.html
* igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-180-hflip-async-flip:
- shard-lnl: NOTRUN -> [SKIP][12] ([Intel XE#3658] / [Intel XE#7360])
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-5/igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-180-hflip-async-flip.html
* igt@kms_big_fb@linear-32bpp-rotate-90:
- shard-lnl: NOTRUN -> [SKIP][13] ([Intel XE#1407]) +1 other test skip
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-5/igt@kms_big_fb@linear-32bpp-rotate-90.html
* igt@kms_big_fb@linear-max-hw-stride-64bpp-rotate-180-hflip:
- shard-lnl: NOTRUN -> [SKIP][14] ([Intel XE#7059] / [Intel XE#7085])
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-1/igt@kms_big_fb@linear-max-hw-stride-64bpp-rotate-180-hflip.html
* igt@kms_big_fb@y-tiled-32bpp-rotate-0:
- shard-lnl: NOTRUN -> [SKIP][15] ([Intel XE#1124]) +5 other tests skip
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-5/igt@kms_big_fb@y-tiled-32bpp-rotate-0.html
* igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-180-async-flip:
- shard-bmg: NOTRUN -> [SKIP][16] ([Intel XE#1124]) +2 other tests skip
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-bmg-6/igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-180-async-flip.html
* igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-180-async-flip:
- shard-lnl: NOTRUN -> [SKIP][17] ([Intel XE#9125]) +32 other tests skip
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-180-async-flip.html
* igt@kms_bw@connected-linear-tiling-3-displays-target-2160x1440p:
- shard-bmg: NOTRUN -> [SKIP][18] ([Intel XE#7679])
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-bmg-6/igt@kms_bw@connected-linear-tiling-3-displays-target-2160x1440p.html
* igt@kms_bw@linear-tiling-2-displays-target-3840x2160p:
- shard-bmg: NOTRUN -> [SKIP][19] ([Intel XE#367])
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-bmg-6/igt@kms_bw@linear-tiling-2-displays-target-3840x2160p.html
* igt@kms_ccs@crc-primary-basic-4-tiled-bmg-ccs@pipe-c-edp-1:
- shard-lnl: NOTRUN -> [SKIP][20] ([Intel XE#2669] / [Intel XE#7389]) +3 other tests skip
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-5/igt@kms_ccs@crc-primary-basic-4-tiled-bmg-ccs@pipe-c-edp-1.html
* igt@kms_ccs@crc-primary-basic-4-tiled-mtl-mc-ccs:
- shard-bmg: NOTRUN -> [SKIP][21] ([Intel XE#2887]) +1 other test skip
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-bmg-6/igt@kms_ccs@crc-primary-basic-4-tiled-mtl-mc-ccs.html
* igt@kms_ccs@crc-primary-suspend-4-tiled-mtl-rc-ccs:
- shard-lnl: NOTRUN -> [SKIP][22] ([Intel XE#3432])
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-5/igt@kms_ccs@crc-primary-suspend-4-tiled-mtl-rc-ccs.html
* igt@kms_ccs@missing-ccs-buffer-y-tiled-ccs:
- shard-lnl: NOTRUN -> [SKIP][23] ([Intel XE#2887]) +7 other tests skip
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-5/igt@kms_ccs@missing-ccs-buffer-y-tiled-ccs.html
* igt@kms_chamelium_audio@hdmi-audio-after-suspend:
- shard-lnl: NOTRUN -> [SKIP][24] ([Intel XE#2252])
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_chamelium_audio@hdmi-audio-after-suspend.html
* igt@kms_chamelium_color@degamma:
- shard-lnl: NOTRUN -> [SKIP][25] ([Intel XE#306] / [Intel XE#7358])
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-1/igt@kms_chamelium_color@degamma.html
* igt@kms_chamelium_color_pipeline@plane-lut1d:
- shard-bmg: NOTRUN -> [SKIP][26] ([Intel XE#7358])
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-bmg-6/igt@kms_chamelium_color_pipeline@plane-lut1d.html
* igt@kms_chamelium_edid@hdmi-edid-read:
- shard-lnl: NOTRUN -> [SKIP][27] ([Intel XE#373]) +5 other tests skip
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-5/igt@kms_chamelium_edid@hdmi-edid-read.html
* igt@kms_chamelium_hpd@hdmi-hpd-enable-disable-mode:
- shard-bmg: NOTRUN -> [SKIP][28] ([Intel XE#2252])
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-bmg-6/igt@kms_chamelium_hpd@hdmi-hpd-enable-disable-mode.html
* igt@kms_content_protection@dp-mst-lic-type-0:
- shard-lnl: NOTRUN -> [SKIP][29] ([Intel XE#307] / [Intel XE#6974])
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-5/igt@kms_content_protection@dp-mst-lic-type-0.html
* igt@kms_content_protection@legacy-hdcp14:
- shard-bmg: NOTRUN -> [FAIL][30] ([Intel XE#1178] / [Intel XE#3304] / [Intel XE#7374]) +1 other test fail
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-bmg-6/igt@kms_content_protection@legacy-hdcp14.html
* igt@kms_cursor_crc@cursor-onscreen-32x10:
- shard-bmg: NOTRUN -> [SKIP][31] ([Intel XE#2320])
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-bmg-6/igt@kms_cursor_crc@cursor-onscreen-32x10.html
* igt@kms_cursor_crc@cursor-random-512x170:
- shard-lnl: NOTRUN -> [SKIP][32] ([Intel XE#2321] / [Intel XE#7355])
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-5/igt@kms_cursor_crc@cursor-random-512x170.html
* igt@kms_cursor_crc@cursor-sliding-64x21:
- shard-lnl: NOTRUN -> [SKIP][33] ([Intel XE#1424]) +1 other test skip
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-5/igt@kms_cursor_crc@cursor-sliding-64x21.html
* igt@kms_cursor_edge_walk@256x256-right-edge:
- shard-lnl: [PASS][34] -> [SKIP][35] ([Intel XE#9125]) +25 other tests skip
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-2/igt@kms_cursor_edge_walk@256x256-right-edge.html
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_cursor_edge_walk@256x256-right-edge.html
* igt@kms_cursor_legacy@cursorb-vs-flipa-legacy:
- shard-lnl: NOTRUN -> [SKIP][36] ([Intel XE#309] / [Intel XE#7343]) +1 other test skip
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-5/igt@kms_cursor_legacy@cursorb-vs-flipa-legacy.html
* igt@kms_cursor_legacy@flip-vs-cursor-legacy:
- shard-bmg: [PASS][37] -> [FAIL][38] ([Intel XE#7809])
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-bmg-3/igt@kms_cursor_legacy@flip-vs-cursor-legacy.html
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-bmg-2/igt@kms_cursor_legacy@flip-vs-cursor-legacy.html
* igt@kms_dsc@dsc-with-bpc-formats:
- shard-lnl: NOTRUN -> [SKIP][39] ([Intel XE#8265]) +1 other test skip
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-5/igt@kms_dsc@dsc-with-bpc-formats.html
* igt@kms_fbc_dirty_rect@fbc-dirty-rectangle-dirtyfb-tests:
- shard-bmg: NOTRUN -> [SKIP][40] ([Intel XE#4422] / [Intel XE#7442]) +1 other test skip
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-bmg-5/igt@kms_fbc_dirty_rect@fbc-dirty-rectangle-dirtyfb-tests.html
* igt@kms_feature_discovery@display-4x:
- shard-lnl: NOTRUN -> [SKIP][41] ([Intel XE#1138] / [Intel XE#7344])
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_feature_discovery@display-4x.html
* igt@kms_flip@2x-flip-vs-suspend:
- shard-lnl: NOTRUN -> [SKIP][42] ([Intel XE#1421]) +3 other tests skip
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-5/igt@kms_flip@2x-flip-vs-suspend.html
* igt@kms_flip@blocking-absolute-wf_vblank:
- shard-lnl: NOTRUN -> [SKIP][43] ([Intel XE#2482]) +1 other test skip
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_flip@blocking-absolute-wf_vblank.html
* igt@kms_flip@busy-flip:
- shard-lnl: [PASS][44] -> [SKIP][45] ([Intel XE#2482]) +3 other tests skip
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-2/igt@kms_flip@busy-flip.html
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_flip@busy-flip.html
* igt@kms_flip_scaled_crc@flip-32bpp-xtile-to-64bpp-xtile-downscaling@pipe-a-default-mode:
- shard-lnl: NOTRUN -> [SKIP][46] ([Intel XE#1397] / [Intel XE#7385] / [Intel XE#9144])
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-7/igt@kms_flip_scaled_crc@flip-32bpp-xtile-to-64bpp-xtile-downscaling@pipe-a-default-mode.html
* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-downscaling:
- shard-lnl: NOTRUN -> [SKIP][47] ([Intel XE#7178] / [Intel XE#7351]) +3 other tests skip
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-5/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-downscaling.html
* igt@kms_flip_scaled_crc@flip-64bpp-4tile-to-32bpp-4tiledg2rcccs-downscaling:
- shard-lnl: NOTRUN -> [SKIP][48] ([Intel XE#7178] / [Intel XE#7349])
[48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-5/igt@kms_flip_scaled_crc@flip-64bpp-4tile-to-32bpp-4tiledg2rcccs-downscaling.html
* igt@kms_flip_scaled_crc@flip-64bpp-xtile-to-32bpp-xtile-upscaling:
- shard-lnl: NOTRUN -> [SKIP][49] ([Intel XE#1745] / [Intel XE#9144])
[49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_flip_scaled_crc@flip-64bpp-xtile-to-32bpp-xtile-upscaling.html
* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile-upscaling:
- shard-bmg: NOTRUN -> [SKIP][50] ([Intel XE#7178] / [Intel XE#7351])
[50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-bmg-6/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile-upscaling.html
* igt@kms_frontbuffer_tracking@drrshdr-1p-offscreen-pri-indfb-draw-render:
- shard-bmg: NOTRUN -> [SKIP][51] ([Intel XE#2311]) +9 other tests skip
[51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-bmg-6/igt@kms_frontbuffer_tracking@drrshdr-1p-offscreen-pri-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@drrshdr-1p-primscrn-spr-indfb-draw-mmap-wc:
- shard-lnl: NOTRUN -> [SKIP][52] ([Intel XE#6312]) +6 other tests skip
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-1/igt@kms_frontbuffer_tracking@drrshdr-1p-primscrn-spr-indfb-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@fbc-1p-offscreen-pri-indfb-draw-blt:
- shard-bmg: NOTRUN -> [SKIP][53] ([Intel XE#4141]) +5 other tests skip
[53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-bmg-6/igt@kms_frontbuffer_tracking@fbc-1p-offscreen-pri-indfb-draw-blt.html
* igt@kms_frontbuffer_tracking@fbc-shrfb-scaledprimary:
- shard-lnl: [PASS][54] -> [SKIP][55] ([Intel XE#2548] / [Intel XE#7779]) +7 other tests skip
[54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-4/igt@kms_frontbuffer_tracking@fbc-shrfb-scaledprimary.html
[55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_frontbuffer_tracking@fbc-shrfb-scaledprimary.html
* igt@kms_frontbuffer_tracking@fbc-tiling-y:
- shard-lnl: NOTRUN -> [SKIP][56] ([Intel XE#1469] / [Intel XE#7399])
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-5/igt@kms_frontbuffer_tracking@fbc-tiling-y.html
* igt@kms_frontbuffer_tracking@fbcdrrs-1p-primscrn-cur-indfb-draw-render:
- shard-lnl: NOTRUN -> [SKIP][57] ([Intel XE#6312] / [Intel XE#651]) +7 other tests skip
[57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-5/igt@kms_frontbuffer_tracking@fbcdrrs-1p-primscrn-cur-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbcdrrs-abgr161616f-draw-blt:
- shard-lnl: NOTRUN -> [SKIP][58] ([Intel XE#7061] / [Intel XE#7356]) +1 other test skip
[58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-5/igt@kms_frontbuffer_tracking@fbcdrrs-abgr161616f-draw-blt.html
* igt@kms_frontbuffer_tracking@fbchdr-abgr161616f-draw-mmap-wc:
- shard-lnl: NOTRUN -> [SKIP][59] ([Intel XE#7061]) +3 other tests skip
[59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-5/igt@kms_frontbuffer_tracking@fbchdr-abgr161616f-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@fbcpsr-indfb-scaledprimary:
- shard-bmg: NOTRUN -> [SKIP][60] ([Intel XE#2313]) +9 other tests skip
[60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-bmg-6/igt@kms_frontbuffer_tracking@fbcpsr-indfb-scaledprimary.html
* igt@kms_frontbuffer_tracking@fbcpsrhdr-1p-primscrn-cur-indfb-draw-blt:
- shard-lnl: NOTRUN -> [SKIP][61] ([Intel XE#7865]) +10 other tests skip
[61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-5/igt@kms_frontbuffer_tracking@fbcpsrhdr-1p-primscrn-cur-indfb-draw-blt.html
* igt@kms_frontbuffer_tracking@fbcpsrhdr-argb161616f-draw-blt:
- shard-bmg: NOTRUN -> [SKIP][62] ([Intel XE#7061])
[62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-bmg-6/igt@kms_frontbuffer_tracking@fbcpsrhdr-argb161616f-draw-blt.html
* igt@kms_frontbuffer_tracking@hdr-2p-primscrn-cur-indfb-draw-mmap-wc:
- shard-lnl: NOTRUN -> [SKIP][63] ([Intel XE#7905]) +23 other tests skip
[63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-5/igt@kms_frontbuffer_tracking@hdr-2p-primscrn-cur-indfb-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@psr-1p-primscrn-indfb-msflip-blt:
- shard-lnl: NOTRUN -> [SKIP][64] ([Intel XE#2548] / [Intel XE#7779]) +19 other tests skip
[64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_frontbuffer_tracking@psr-1p-primscrn-indfb-msflip-blt.html
* igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-indfb-draw-render:
- shard-lnl: NOTRUN -> [SKIP][65] ([Intel XE#656] / [Intel XE#7905]) +14 other tests skip
[65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-1/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@psrhdr-1p-primscrn-spr-indfb-draw-blt:
- shard-lnl: NOTRUN -> [SKIP][66] ([Intel XE#7779]) +23 other tests skip
[66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_frontbuffer_tracking@psrhdr-1p-primscrn-spr-indfb-draw-blt.html
* igt@kms_joiner@basic-force-ultra-joiner:
- shard-bmg: NOTRUN -> [SKIP][67] ([Intel XE#6911] / [Intel XE#7466])
[67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-bmg-6/igt@kms_joiner@basic-force-ultra-joiner.html
* igt@kms_joiner@invalid-modeset-ultra-joiner:
- shard-lnl: NOTRUN -> [SKIP][68] ([Intel XE#6900] / [Intel XE#7362])
[68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-5/igt@kms_joiner@invalid-modeset-ultra-joiner.html
* igt@kms_pipe_stress@stress-xrgb8888-ytiled:
- shard-bmg: NOTRUN -> [SKIP][69] ([Intel XE#4329] / [Intel XE#6912] / [Intel XE#7375])
[69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-bmg-6/igt@kms_pipe_stress@stress-xrgb8888-ytiled.html
* igt@kms_plane@pixel-format-4-tiled-mtl-rc-ccs-cc-modifier-source-clamping:
- shard-lnl: NOTRUN -> [SKIP][70] ([Intel XE#7283]) +2 other tests skip
[70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-1/igt@kms_plane@pixel-format-4-tiled-mtl-rc-ccs-cc-modifier-source-clamping.html
* igt@kms_plane@pixel-format-x-tiled-modifier:
- shard-lnl: NOTRUN -> [SKIP][71] ([Intel XE#7250] / [Intel XE#9128])
[71]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_plane@pixel-format-x-tiled-modifier.html
* igt@kms_plane@plane-panning-bottom-right-suspend:
- shard-lnl: [PASS][72] -> [SKIP][73] ([Intel XE#9128])
[72]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-2/igt@kms_plane@plane-panning-bottom-right-suspend.html
[73]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_plane@plane-panning-bottom-right-suspend.html
* igt@kms_plane_lowres@tiling-none@pipe-b-edp-1:
- shard-lnl: NOTRUN -> [SKIP][74] ([Intel XE#599] / [Intel XE#7382]) +2 other tests skip
[74]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-7/igt@kms_plane_lowres@tiling-none@pipe-b-edp-1.html
* igt@kms_plane_scaling@invalid-num-scalers:
- shard-lnl: [PASS][75] -> [SKIP][76] ([Intel XE#3307] / [Intel XE#7687] / [Intel XE#9125])
[75]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-4/igt@kms_plane_scaling@invalid-num-scalers.html
[76]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_plane_scaling@invalid-num-scalers.html
* igt@kms_plane_scaling@plane-scaler-with-clipping-clamping-pixel-formats:
- shard-lnl: NOTRUN -> [SKIP][77] ([Intel XE#2763] / [Intel XE#6886] / [Intel XE#7687] / [Intel XE#9125]) +3 other tests skip
[77]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_plane_scaling@plane-scaler-with-clipping-clamping-pixel-formats.html
* igt@kms_plane_scaling@plane-scaler-with-clipping-clamping-rotation:
- shard-lnl: [PASS][78] -> [SKIP][79] ([Intel XE#2763] / [Intel XE#6886] / [Intel XE#7687] / [Intel XE#9125]) +1 other test skip
[78]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-2/igt@kms_plane_scaling@plane-scaler-with-clipping-clamping-rotation.html
[79]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_plane_scaling@plane-scaler-with-clipping-clamping-rotation.html
* igt@kms_plane_scaling@plane-scaler-with-clipping-clamping-rotation@pipe-b:
- shard-lnl: [PASS][80] -> [SKIP][81] ([Intel XE#2763] / [Intel XE#6886]) +1 other test skip
[80]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-2/igt@kms_plane_scaling@plane-scaler-with-clipping-clamping-rotation@pipe-b.html
[81]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_plane_scaling@plane-scaler-with-clipping-clamping-rotation@pipe-b.html
* igt@kms_plane_scaling@planes-downscale-factor-0-5-unity-scaling:
- shard-lnl: NOTRUN -> [SKIP][82] ([Intel XE#2763] / [Intel XE#6886]) +7 other tests skip
[82]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-5/igt@kms_plane_scaling@planes-downscale-factor-0-5-unity-scaling.html
* igt@kms_pm_backlight@brightness-with-dpms:
- shard-lnl: [PASS][83] -> [SKIP][84] ([Intel XE#7760])
[83]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-4/igt@kms_pm_backlight@brightness-with-dpms.html
[84]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_pm_backlight@brightness-with-dpms.html
* igt@kms_pm_dc@dc5-psr:
- shard-bmg: NOTRUN -> [SKIP][85] ([Intel XE#7794])
[85]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-bmg-6/igt@kms_pm_dc@dc5-psr.html
* igt@kms_pm_dc@dc6-psr:
- shard-lnl: [PASS][86] -> [SKIP][87] ([Intel XE#7794])
[86]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-4/igt@kms_pm_dc@dc6-psr.html
[87]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_pm_dc@dc6-psr.html
* igt@kms_pm_rpm@modeset-non-lpsp-stress:
- shard-bmg: [PASS][88] -> [INCOMPLETE][89] ([Intel XE#6819])
[88]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-bmg-8/igt@kms_pm_rpm@modeset-non-lpsp-stress.html
[89]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-bmg-3/igt@kms_pm_rpm@modeset-non-lpsp-stress.html
* igt@kms_pm_rpm@universal-planes:
- shard-lnl: [PASS][90] -> [SKIP][91] ([Intel XE#4886])
[90]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-4/igt@kms_pm_rpm@universal-planes.html
[91]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_pm_rpm@universal-planes.html
* igt@kms_properties@colorop-properties-legacy:
- shard-lnl: NOTRUN -> [SKIP][92] ([Intel XE#9126])
[92]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_properties@colorop-properties-legacy.html
* igt@kms_psr2_sf@fbc-pr-cursor-plane-move-continuous-exceed-fully-sf:
- shard-lnl: NOTRUN -> [SKIP][93] ([Intel XE#2893] / [Intel XE#7304])
[93]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-5/igt@kms_psr2_sf@fbc-pr-cursor-plane-move-continuous-exceed-fully-sf.html
* igt@kms_psr2_sf@fbc-pr-overlay-plane-update-continuous-sf:
- shard-lnl: NOTRUN -> [SKIP][94] ([Intel XE#1489])
[94]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_psr2_sf@fbc-pr-overlay-plane-update-continuous-sf.html
* igt@kms_psr2_sf@fbc-psr2-overlay-plane-move-continuous-sf@pipe-a-edp-1:
- shard-lnl: NOTRUN -> [SKIP][95] ([Intel XE#4608]) +3 other tests skip
[95]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-4/igt@kms_psr2_sf@fbc-psr2-overlay-plane-move-continuous-sf@pipe-a-edp-1.html
* igt@kms_psr2_sf@fbc-psr2-overlay-plane-update-continuous-sf@pipe-b-edp-1:
- shard-lnl: NOTRUN -> [SKIP][96] ([Intel XE#4608] / [Intel XE#7304]) +3 other tests skip
[96]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-5/igt@kms_psr2_sf@fbc-psr2-overlay-plane-update-continuous-sf@pipe-b-edp-1.html
* igt@kms_psr2_sf@fbc-psr2-primary-plane-update-sf-dmg-area:
- shard-lnl: NOTRUN -> [SKIP][97] ([Intel XE#2893] / [Intel XE#4608] / [Intel XE#7304]) +1 other test skip
[97]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-1/igt@kms_psr2_sf@fbc-psr2-primary-plane-update-sf-dmg-area.html
* igt@kms_psr2_sf@pr-overlay-plane-update-continuous-sf:
- shard-bmg: NOTRUN -> [SKIP][98] ([Intel XE#1489])
[98]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-bmg-6/igt@kms_psr2_sf@pr-overlay-plane-update-continuous-sf.html
* igt@kms_psr2_su@page_flip-nv12:
- shard-lnl: NOTRUN -> [SKIP][99] ([Intel XE#1122] / [Intel XE#7429])
[99]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_psr2_su@page_flip-nv12.html
* igt@kms_psr@fbc-psr-sprite-render:
- shard-bmg: NOTRUN -> [SKIP][100] ([Intel XE#2234] / [Intel XE#2850])
[100]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-bmg-6/igt@kms_psr@fbc-psr-sprite-render.html
* igt@kms_psr@fbc-psr2-cursor-plane-onoff:
- shard-lnl: NOTRUN -> [SKIP][101] ([Intel XE#2850] / [Intel XE#929]) +2 other tests skip
[101]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_psr@fbc-psr2-cursor-plane-onoff.html
* igt@kms_psr@fbc-psr2-sprite-blt@edp-1:
- shard-lnl: NOTRUN -> [SKIP][102] ([Intel XE#1406] / [Intel XE#4609] / [Intel XE#7345])
[102]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-7/igt@kms_psr@fbc-psr2-sprite-blt@edp-1.html
* igt@kms_psr@pr-sprite-render:
- shard-lnl: NOTRUN -> [SKIP][103] ([Intel XE#1406]) +2 other tests skip
[103]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-1/igt@kms_psr@pr-sprite-render.html
* igt@kms_psr@psr-no-drrs:
- shard-lnl: [PASS][104] -> [SKIP][105] ([Intel XE#2850] / [Intel XE#929]) +2 other tests skip
[104]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-2/igt@kms_psr@psr-no-drrs.html
[105]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_psr@psr-no-drrs.html
* igt@kms_rotation_crc@primary-rotation-90:
- shard-lnl: NOTRUN -> [SKIP][106] ([Intel XE#3414] / [Intel XE#3904] / [Intel XE#7342]) +1 other test skip
[106]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-1/igt@kms_rotation_crc@primary-rotation-90.html
* igt@kms_sharpness_filter@invalid-filter-with-plane:
- shard-bmg: NOTRUN -> [SKIP][107] ([Intel XE#6503])
[107]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-bmg-6/igt@kms_sharpness_filter@invalid-filter-with-plane.html
* igt@sriov_basic@pf-unbind-with-vf-probed:
- shard-lnl: NOTRUN -> [SKIP][108] ([Intel XE#8866])
[108]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-1/igt@sriov_basic@pf-unbind-with-vf-probed.html
* igt@xe_ccs@vm-bind-decompress:
- shard-lnl: NOTRUN -> [SKIP][109] ([Intel XE#7644])
[109]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@xe_ccs@vm-bind-decompress.html
* igt@xe_compute@eu-busy-10s:
- shard-lnl: NOTRUN -> [SKIP][110] ([Intel XE#6592] / [Intel XE#6645] / [Intel XE#7391])
[110]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-5/igt@xe_compute@eu-busy-10s.html
* igt@xe_evict@evict-beng-large-external-cm:
- shard-lnl: NOTRUN -> [SKIP][111] ([Intel XE#6540] / [Intel XE#688]) +8 other tests skip
[111]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-1/igt@xe_evict@evict-beng-large-external-cm.html
* igt@xe_evict@evict-beng-mixed-many-threads-small:
- shard-bmg: [PASS][112] -> [INCOMPLETE][113] ([Intel XE#6321] / [Intel XE#8355])
[112]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-bmg-1/igt@xe_evict@evict-beng-mixed-many-threads-small.html
[113]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-bmg-4/igt@xe_evict@evict-beng-mixed-many-threads-small.html
* igt@xe_exec_balancer@once-cm-parallel-userptr-invalidate-race:
- shard-lnl: NOTRUN -> [SKIP][114] ([Intel XE#7482]) +14 other tests skip
[114]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@xe_exec_balancer@once-cm-parallel-userptr-invalidate-race.html
* igt@xe_exec_basic@multigpu-many-execqueues-many-vm-userptr-invalidate:
- shard-bmg: NOTRUN -> [SKIP][115] ([Intel XE#2322] / [Intel XE#7372])
[115]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-bmg-6/igt@xe_exec_basic@multigpu-many-execqueues-many-vm-userptr-invalidate.html
* igt@xe_exec_basic@multigpu-no-exec-userptr-invalidate:
- shard-lnl: NOTRUN -> [SKIP][116] ([Intel XE#1392]) +5 other tests skip
[116]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@xe_exec_basic@multigpu-no-exec-userptr-invalidate.html
* igt@xe_exec_fault_mode@many-multi-queue-rebind-prefetch:
- shard-bmg: NOTRUN -> [SKIP][117] ([Intel XE#8374]) +5 other tests skip
[117]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-bmg-6/igt@xe_exec_fault_mode@many-multi-queue-rebind-prefetch.html
* igt@xe_exec_fault_mode@once-multi-queue-invalid-fault:
- shard-lnl: NOTRUN -> [SKIP][118] ([Intel XE#8374]) +8 other tests skip
[118]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-1/igt@xe_exec_fault_mode@once-multi-queue-invalid-fault.html
* igt@xe_exec_multi_queue@many-execs-preempt-mode-fault-dyn-priority:
- shard-lnl: NOTRUN -> [SKIP][119] ([Intel XE#8364]) +22 other tests skip
[119]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-5/igt@xe_exec_multi_queue@many-execs-preempt-mode-fault-dyn-priority.html
* igt@xe_exec_multi_queue@many-execs-preempt-mode-fault-userptr-invalidate:
- shard-bmg: NOTRUN -> [SKIP][120] ([Intel XE#8364]) +9 other tests skip
[120]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-bmg-6/igt@xe_exec_multi_queue@many-execs-preempt-mode-fault-userptr-invalidate.html
* igt@xe_exec_reset@multi-queue-close-execqueues:
- shard-bmg: NOTRUN -> [SKIP][121] ([Intel XE#8369])
[121]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-bmg-6/igt@xe_exec_reset@multi-queue-close-execqueues.html
* igt@xe_exec_reset@multi-queue-close-fd:
- shard-lnl: NOTRUN -> [SKIP][122] ([Intel XE#8369])
[122]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-1/igt@xe_exec_reset@multi-queue-close-fd.html
* igt@xe_exec_system_allocator@pat-index-madvise-pat-idx-wt-multi-vma:
- shard-lnl: NOTRUN -> [SKIP][123] ([Intel XE#6196])
[123]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-1/igt@xe_exec_system_allocator@pat-index-madvise-pat-idx-wt-multi-vma.html
* igt@xe_exec_threads@threads-multi-queue-cm-rebind:
- shard-lnl: NOTRUN -> [SKIP][124] ([Intel XE#8378]) +7 other tests skip
[124]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-1/igt@xe_exec_threads@threads-multi-queue-cm-rebind.html
* igt@xe_exec_threads@threads-multi-queue-mixed-fd-userptr:
- shard-bmg: NOTRUN -> [SKIP][125] ([Intel XE#8378]) +1 other test skip
[125]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-bmg-6/igt@xe_exec_threads@threads-multi-queue-mixed-fd-userptr.html
* igt@xe_live_ktest@xe_bo@xe_bo_evict_kunit:
- shard-lnl: NOTRUN -> [SKIP][126] ([Intel XE#2229])
[126]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-5/igt@xe_live_ktest@xe_bo@xe_bo_evict_kunit.html
* igt@xe_madvise@atomic-global:
- shard-lnl: NOTRUN -> [SKIP][127] ([Intel XE#7980])
[127]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@xe_madvise@atomic-global.html
* igt@xe_multigpu_svm@mgpu-pagefault-conflict:
- shard-lnl: NOTRUN -> [SKIP][128] ([Intel XE#6964]) +3 other tests skip
[128]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-1/igt@xe_multigpu_svm@mgpu-pagefault-conflict.html
* igt@xe_multigpu_svm@mgpu-pagefault-prefetch:
- shard-bmg: NOTRUN -> [SKIP][129] ([Intel XE#6964])
[129]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-bmg-6/igt@xe_multigpu_svm@mgpu-pagefault-prefetch.html
* igt@xe_page_reclaim@binds-large-split:
- shard-lnl: NOTRUN -> [SKIP][130] ([Intel XE#7793]) +2 other tests skip
[130]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-5/igt@xe_page_reclaim@binds-large-split.html
* igt@xe_page_reclaim@prl-invalidate-full:
- shard-bmg: NOTRUN -> [SKIP][131] ([Intel XE#7793])
[131]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-bmg-6/igt@xe_page_reclaim@prl-invalidate-full.html
* igt@xe_pat@pat-index-xelp:
- shard-lnl: NOTRUN -> [SKIP][132] ([Intel XE#7590] / [Intel XE#977])
[132]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-5/igt@xe_pat@pat-index-xelp.html
* igt@xe_pat@pat-index-xelpg:
- shard-lnl: NOTRUN -> [SKIP][133] ([Intel XE#7590] / [Intel XE#979])
[133]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-1/igt@xe_pat@pat-index-xelpg.html
* igt@xe_peer2peer@write:
- shard-lnl: NOTRUN -> [SKIP][134] ([Intel XE#1061] / [Intel XE#7326] / [Intel XE#7353])
[134]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@xe_peer2peer@write.html
* igt@xe_pm@d3cold-mmap-vram:
- shard-lnl: NOTRUN -> [SKIP][135] ([Intel XE#2284] / [Intel XE#366] / [Intel XE#7370])
[135]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@xe_pm@d3cold-mmap-vram.html
* igt@xe_prefetch_fault@prefetch-fault:
- shard-bmg: NOTRUN -> [SKIP][136] ([Intel XE#7599])
[136]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-bmg-5/igt@xe_prefetch_fault@prefetch-fault.html
* igt@xe_pxp@pxp-stale-bo-exec-post-termination-irq:
- shard-bmg: NOTRUN -> [SKIP][137] ([Intel XE#4733] / [Intel XE#7417]) +1 other test skip
[137]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-bmg-6/igt@xe_pxp@pxp-stale-bo-exec-post-termination-irq.html
* igt@xe_query@multigpu-query-topology:
- shard-lnl: NOTRUN -> [SKIP][138] ([Intel XE#944]) +2 other tests skip
[138]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-5/igt@xe_query@multigpu-query-topology.html
* igt@xe_sriov_auto_provisioning@fair-allocation:
- shard-lnl: NOTRUN -> [SKIP][139] ([Intel XE#4130] / [Intel XE#7366]) +2 other tests skip
[139]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-5/igt@xe_sriov_auto_provisioning@fair-allocation.html
* igt@xe_sriov_scheduling@nonpreempt-engine-resets-normal-priority:
- shard-lnl: NOTRUN -> [SKIP][140] ([Intel XE#8339])
[140]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-5/igt@xe_sriov_scheduling@nonpreempt-engine-resets-normal-priority.html
* igt@xe_sriov_vram@vf-access-provisioned:
- shard-lnl: NOTRUN -> [SKIP][141] ([Intel XE#6376] / [Intel XE#7330] / [Intel XE#7422])
[141]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-1/igt@xe_sriov_vram@vf-access-provisioned.html
* igt@xe_vm@overcommit-fault-vram-lr:
- shard-lnl: NOTRUN -> [SKIP][142] ([Intel XE#7892])
[142]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-1/igt@xe_vm@overcommit-fault-vram-lr.html
#### Possible fixes ####
* igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs:
- shard-bmg: [INCOMPLETE][143] ([Intel XE#7084] / [Intel XE#8150]) -> [PASS][144] +1 other test pass
[143]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-bmg-4/igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs.html
[144]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-bmg-5/igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs.html
* igt@kms_color@deep-color:
- shard-lnl: [SKIP][145] ([Intel XE#1511] / [Intel XE#3297]) -> [PASS][146]
[145]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_color@deep-color.html
[146]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-4/igt@kms_color@deep-color.html
* igt@kms_color@legacy-gamma-reset:
- shard-lnl: [SKIP][147] ([Intel XE#3297]) -> [PASS][148]
[147]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_color@legacy-gamma-reset.html
[148]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-2/igt@kms_color@legacy-gamma-reset.html
* igt@kms_color_pipeline@plane-lut1d-lut1d:
- shard-lnl: [SKIP][149] ([Intel XE#7006]) -> [PASS][150]
[149]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_color_pipeline@plane-lut1d-lut1d.html
[150]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-7/igt@kms_color_pipeline@plane-lut1d-lut1d.html
* igt@kms_fb_coherency@memset-crc:
- shard-lnl: [SKIP][151] -> [PASS][152]
[151]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_fb_coherency@memset-crc.html
[152]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-2/igt@kms_fb_coherency@memset-crc.html
* igt@kms_flip@basic-flip-vs-modeset:
- shard-lnl: [SKIP][153] ([Intel XE#2482]) -> [PASS][154] +2 other tests pass
[153]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_flip@basic-flip-vs-modeset.html
[154]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-4/igt@kms_flip@basic-flip-vs-modeset.html
* igt@kms_flip@flip-vs-dpms-on-nop:
- shard-lnl: [SKIP][155] ([Intel XE#9132]) -> [PASS][156]
[155]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_flip@flip-vs-dpms-on-nop.html
[156]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-7/igt@kms_flip@flip-vs-dpms-on-nop.html
* igt@kms_flip_scaled_crc@flip-32bpp-xtile-to-64bpp-xtile-upscaling:
- shard-lnl: [SKIP][157] ([Intel XE#1745] / [Intel XE#9144]) -> [PASS][158]
[157]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_flip_scaled_crc@flip-32bpp-xtile-to-64bpp-xtile-upscaling.html
[158]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-4/igt@kms_flip_scaled_crc@flip-32bpp-xtile-to-64bpp-xtile-upscaling.html
* igt@kms_frontbuffer_tracking@fbc-1p-offscreen-pri-shrfb-draw-render:
- shard-lnl: [SKIP][159] ([Intel XE#7779]) -> [PASS][160]
[159]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_frontbuffer_tracking@fbc-1p-offscreen-pri-shrfb-draw-render.html
[160]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-4/igt@kms_frontbuffer_tracking@fbc-1p-offscreen-pri-shrfb-draw-render.html
* igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-indfb-draw-render:
- shard-lnl: [SKIP][161] ([Intel XE#2548] / [Intel XE#7779]) -> [PASS][162] +12 other tests pass
[161]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-indfb-draw-render.html
[162]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-2/igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-indfb-draw-render.html
* igt@kms_hdr@invalid-hdr:
- shard-bmg: [SKIP][163] ([Intel XE#1503]) -> [PASS][164]
[163]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-bmg-9/igt@kms_hdr@invalid-hdr.html
[164]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-bmg-7/igt@kms_hdr@invalid-hdr.html
* igt@kms_lease@lease-unleased-crtc:
- shard-lnl: [SKIP][165] ([Intel XE#9125]) -> [PASS][166] +35 other tests pass
[165]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_lease@lease-unleased-crtc.html
[166]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-4/igt@kms_lease@lease-unleased-crtc.html
* igt@kms_plane@planar-pixel-format-settings:
- shard-lnl: [SKIP][167] ([Intel XE#7780] / [Intel XE#9125]) -> [PASS][168]
[167]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_plane@planar-pixel-format-settings.html
[168]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-4/igt@kms_plane@planar-pixel-format-settings.html
* igt@kms_plane@plane-panning-top-left:
- shard-lnl: [SKIP][169] ([Intel XE#9128]) -> [PASS][170]
[169]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_plane@plane-panning-top-left.html
[170]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-7/igt@kms_plane@plane-panning-top-left.html
* igt@kms_plane_scaling@plane-downscale-factor-0-75-with-rotation@pipe-a:
- shard-lnl: [SKIP][171] ([Intel XE#2763] / [Intel XE#6886]) -> [PASS][172] +5 other tests pass
[171]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_plane_scaling@plane-downscale-factor-0-75-with-rotation@pipe-a.html
[172]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-4/igt@kms_plane_scaling@plane-downscale-factor-0-75-with-rotation@pipe-a.html
* igt@kms_plane_scaling@plane-downscale-factor-0-75-with-rotation@pipe-c:
- shard-lnl: [SKIP][173] ([Intel XE#2763] / [Intel XE#6886] / [Intel XE#7687] / [Intel XE#9125]) -> [PASS][174] +5 other tests pass
[173]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_plane_scaling@plane-downscale-factor-0-75-with-rotation@pipe-c.html
[174]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-4/igt@kms_plane_scaling@plane-downscale-factor-0-75-with-rotation@pipe-c.html
* igt@kms_pm_dc@dc5-pageflip-negative:
- shard-lnl: [SKIP][175] ([Intel XE#6927] / [Intel XE#8854]) -> [PASS][176]
[175]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_pm_dc@dc5-pageflip-negative.html
[176]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-2/igt@kms_pm_dc@dc5-pageflip-negative.html
* igt@kms_pm_rpm@drm-resources-equal:
- shard-lnl: [SKIP][177] ([Intel XE#7106]) -> [PASS][178]
[177]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_pm_rpm@drm-resources-equal.html
[178]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-4/igt@kms_pm_rpm@drm-resources-equal.html
* igt@kms_psr2_sf@psr2-overlay-plane-update-sf-dmg-area:
- shard-lnl: [SKIP][179] ([Intel XE#1489]) -> [PASS][180] +1 other test pass
[179]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_psr2_sf@psr2-overlay-plane-update-sf-dmg-area.html
[180]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-7/igt@kms_psr2_sf@psr2-overlay-plane-update-sf-dmg-area.html
* igt@kms_psr@psr-dpms:
- shard-lnl: [SKIP][181] ([Intel XE#2850] / [Intel XE#929]) -> [PASS][182] +4 other tests pass
[181]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_psr@psr-dpms.html
[182]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-2/igt@kms_psr@psr-dpms.html
* igt@kms_psr_stress_test@flip-primary-invalidate-overlay:
- shard-lnl: [SKIP][183] ([Intel XE#7795]) -> [PASS][184]
[183]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_psr_stress_test@flip-primary-invalidate-overlay.html
[184]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-7/igt@kms_psr_stress_test@flip-primary-invalidate-overlay.html
* igt@kms_setmode@basic:
- shard-lnl: [SKIP][185] ([Intel XE#1435] / [Intel XE#9142]) -> [PASS][186]
[185]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_setmode@basic.html
[186]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-7/igt@kms_setmode@basic.html
* igt@xe_evict@evict-mixed-many-threads-small:
- shard-bmg: [INCOMPLETE][187] ([Intel XE#6321] / [Intel XE#8355]) -> [PASS][188]
[187]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-bmg-1/igt@xe_evict@evict-mixed-many-threads-small.html
[188]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-bmg-10/igt@xe_evict@evict-mixed-many-threads-small.html
#### Warnings ####
* igt@kms_atomic_transition@plane-all-modeset-transition:
- shard-lnl: [SKIP][189] ([Intel XE#9125]) -> [SKIP][190] ([Intel XE#3279])
[189]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_atomic_transition@plane-all-modeset-transition.html
[190]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-4/igt@kms_atomic_transition@plane-all-modeset-transition.html
* igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-180-hflip:
- shard-lnl: [SKIP][191] ([Intel XE#9125]) -> [SKIP][192] ([Intel XE#1407]) +5 other tests skip
[191]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-180-hflip.html
[192]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-4/igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-180-hflip.html
* igt@kms_big_fb@linear-16bpp-rotate-90:
- shard-lnl: [SKIP][193] ([Intel XE#1407]) -> [SKIP][194] ([Intel XE#9125]) +1 other test skip
[193]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-4/igt@kms_big_fb@linear-16bpp-rotate-90.html
[194]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_big_fb@linear-16bpp-rotate-90.html
* igt@kms_big_fb@linear-max-hw-stride-64bpp-rotate-0-hflip:
- shard-lnl: [SKIP][195] ([Intel XE#9125]) -> [SKIP][196] ([Intel XE#7059] / [Intel XE#7085])
[195]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_big_fb@linear-max-hw-stride-64bpp-rotate-0-hflip.html
[196]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-2/igt@kms_big_fb@linear-max-hw-stride-64bpp-rotate-0-hflip.html
* igt@kms_big_fb@yf-tiled-16bpp-rotate-270:
- shard-lnl: [SKIP][197] ([Intel XE#1124]) -> [SKIP][198] ([Intel XE#9125]) +4 other tests skip
[197]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-4/igt@kms_big_fb@yf-tiled-16bpp-rotate-270.html
[198]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_big_fb@yf-tiled-16bpp-rotate-270.html
* igt@kms_big_fb@yf-tiled-8bpp-rotate-0:
- shard-lnl: [SKIP][199] ([Intel XE#9125]) -> [SKIP][200] ([Intel XE#1124]) +8 other tests skip
[199]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_big_fb@yf-tiled-8bpp-rotate-0.html
[200]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-7/igt@kms_big_fb@yf-tiled-8bpp-rotate-0.html
* igt@kms_big_fb@yf-tiled-addfb-size-overflow:
- shard-lnl: [SKIP][201] ([Intel XE#1428] / [Intel XE#7387]) -> [SKIP][202] ([Intel XE#9125])
[201]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-4/igt@kms_big_fb@yf-tiled-addfb-size-overflow.html
[202]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_big_fb@yf-tiled-addfb-size-overflow.html
* igt@kms_bw@connected-linear-tiling-2-displays-target-2560x1440p:
- shard-lnl: [SKIP][203] ([Intel XE#7679]) -> [SKIP][204] ([Intel XE#9125])
[203]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-4/igt@kms_bw@connected-linear-tiling-2-displays-target-2560x1440p.html
[204]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_bw@connected-linear-tiling-2-displays-target-2560x1440p.html
* igt@kms_bw@connected-linear-tiling-3-displays-target-2560x1440p:
- shard-lnl: [SKIP][205] ([Intel XE#9125]) -> [SKIP][206] ([Intel XE#7679])
[205]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_bw@connected-linear-tiling-3-displays-target-2560x1440p.html
[206]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-4/igt@kms_bw@connected-linear-tiling-3-displays-target-2560x1440p.html
* igt@kms_bw@connected-linear-tiling-4-displays-target-1920x1080p:
- shard-lnl: [SKIP][207] ([Intel XE#9125]) -> [SKIP][208] ([Intel XE#8365]) +1 other test skip
[207]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_bw@connected-linear-tiling-4-displays-target-1920x1080p.html
[208]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-2/igt@kms_bw@connected-linear-tiling-4-displays-target-1920x1080p.html
* igt@kms_bw@connected-linear-tiling-4-displays-target-2160x1440p:
- shard-lnl: [SKIP][209] ([Intel XE#8365]) -> [SKIP][210] ([Intel XE#9125]) +1 other test skip
[209]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-2/igt@kms_bw@connected-linear-tiling-4-displays-target-2160x1440p.html
[210]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_bw@connected-linear-tiling-4-displays-target-2160x1440p.html
* igt@kms_bw@linear-tiling-3-displays-target-3840x2160p:
- shard-lnl: [SKIP][211] ([Intel XE#9125]) -> [SKIP][212] ([Intel XE#367])
[211]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_bw@linear-tiling-3-displays-target-3840x2160p.html
[212]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-2/igt@kms_bw@linear-tiling-3-displays-target-3840x2160p.html
* igt@kms_ccs@bad-pixel-format-4-tiled-mtl-rc-ccs-cc:
- shard-lnl: [SKIP][213] ([Intel XE#9125]) -> [SKIP][214] ([Intel XE#2887]) +11 other tests skip
[213]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_ccs@bad-pixel-format-4-tiled-mtl-rc-ccs-cc.html
[214]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-4/igt@kms_ccs@bad-pixel-format-4-tiled-mtl-rc-ccs-cc.html
* igt@kms_ccs@bad-rotation-90-4-tiled-bmg-ccs:
- shard-lnl: [SKIP][215] ([Intel XE#2669] / [Intel XE#7389]) -> [SKIP][216] ([Intel XE#9125])
[215]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-2/igt@kms_ccs@bad-rotation-90-4-tiled-bmg-ccs.html
[216]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_ccs@bad-rotation-90-4-tiled-bmg-ccs.html
* igt@kms_ccs@crc-primary-suspend-y-tiled-gen12-rc-ccs:
- shard-lnl: [SKIP][217] ([Intel XE#9125]) -> [SKIP][218] ([Intel XE#3432]) +1 other test skip
[217]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_ccs@crc-primary-suspend-y-tiled-gen12-rc-ccs.html
[218]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-7/igt@kms_ccs@crc-primary-suspend-y-tiled-gen12-rc-ccs.html
* igt@kms_ccs@crc-primary-suspend-y-tiled-gen12-rc-ccs-cc:
- shard-lnl: [SKIP][219] ([Intel XE#3432]) -> [SKIP][220] ([Intel XE#9125])
[219]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-4/igt@kms_ccs@crc-primary-suspend-y-tiled-gen12-rc-ccs-cc.html
[220]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_ccs@crc-primary-suspend-y-tiled-gen12-rc-ccs-cc.html
* igt@kms_ccs@crc-sprite-planes-basic-4-tiled-mtl-mc-ccs:
- shard-lnl: [SKIP][221] ([Intel XE#2887]) -> [SKIP][222] ([Intel XE#9125]) +6 other tests skip
[221]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-2/igt@kms_ccs@crc-sprite-planes-basic-4-tiled-mtl-mc-ccs.html
[222]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_ccs@crc-sprite-planes-basic-4-tiled-mtl-mc-ccs.html
* igt@kms_color_pipeline@plane-lut3d-green-only:
- shard-lnl: [SKIP][223] ([Intel XE#6969] / [Intel XE#7006]) -> [SKIP][224] ([Intel XE#7006])
[223]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-2/igt@kms_color_pipeline@plane-lut3d-green-only.html
[224]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_color_pipeline@plane-lut3d-green-only.html
* igt@kms_content_protection@dp-mst-lic-type-1:
- shard-lnl: [SKIP][225] ([Intel XE#9125]) -> [SKIP][226] ([Intel XE#307] / [Intel XE#6974])
[225]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_content_protection@dp-mst-lic-type-1.html
[226]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-7/igt@kms_content_protection@dp-mst-lic-type-1.html
* igt@kms_content_protection@dp-mst-type-0-hdcp14:
- shard-lnl: [SKIP][227] ([Intel XE#6974]) -> [SKIP][228] ([Intel XE#9125])
[227]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-2/igt@kms_content_protection@dp-mst-type-0-hdcp14.html
[228]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_content_protection@dp-mst-type-0-hdcp14.html
* igt@kms_content_protection@srm:
- shard-lnl: [SKIP][229] ([Intel XE#9125]) -> [SKIP][230] ([Intel XE#7642])
[229]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_content_protection@srm.html
[230]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-4/igt@kms_content_protection@srm.html
* igt@kms_content_protection@uevent:
- shard-lnl: [SKIP][231] ([Intel XE#7642]) -> [SKIP][232] ([Intel XE#9125]) +1 other test skip
[231]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-4/igt@kms_content_protection@uevent.html
[232]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_content_protection@uevent.html
* igt@kms_cursor_crc@cursor-onscreen-128x42:
- shard-lnl: [SKIP][233] ([Intel XE#1424]) -> [SKIP][234] ([Intel XE#9125]) +1 other test skip
[233]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-2/igt@kms_cursor_crc@cursor-onscreen-128x42.html
[234]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_cursor_crc@cursor-onscreen-128x42.html
* igt@kms_cursor_crc@cursor-onscreen-512x170:
- shard-lnl: [SKIP][235] ([Intel XE#9125]) -> [SKIP][236] ([Intel XE#2321] / [Intel XE#7355]) +1 other test skip
[235]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_cursor_crc@cursor-onscreen-512x170.html
[236]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-7/igt@kms_cursor_crc@cursor-onscreen-512x170.html
* igt@kms_cursor_crc@cursor-random-512x512:
- shard-lnl: [SKIP][237] ([Intel XE#2321] / [Intel XE#7355]) -> [SKIP][238] ([Intel XE#9125])
[237]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-2/igt@kms_cursor_crc@cursor-random-512x512.html
[238]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_cursor_crc@cursor-random-512x512.html
* igt@kms_cursor_crc@cursor-rapid-movement-256x85:
- shard-lnl: [SKIP][239] ([Intel XE#9125]) -> [SKIP][240] ([Intel XE#1424])
[239]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_cursor_crc@cursor-rapid-movement-256x85.html
[240]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-4/igt@kms_cursor_crc@cursor-rapid-movement-256x85.html
* igt@kms_cursor_legacy@cursora-vs-flipb-atomic-transitions-varying-size:
- shard-lnl: [SKIP][241] ([Intel XE#309] / [Intel XE#7343]) -> [SKIP][242] ([Intel XE#9125]) +3 other tests skip
[241]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-4/igt@kms_cursor_legacy@cursora-vs-flipb-atomic-transitions-varying-size.html
[242]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_cursor_legacy@cursora-vs-flipb-atomic-transitions-varying-size.html
* igt@kms_cursor_legacy@short-busy-flip-before-cursor-atomic-transitions-varying-size:
- shard-lnl: [SKIP][243] ([Intel XE#9125]) -> [SKIP][244] ([Intel XE#323] / [Intel XE#6035])
[243]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_cursor_legacy@short-busy-flip-before-cursor-atomic-transitions-varying-size.html
[244]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-4/igt@kms_cursor_legacy@short-busy-flip-before-cursor-atomic-transitions-varying-size.html
* igt@kms_dirtyfb@drrs-dirtyfb-ioctl:
- shard-lnl: [SKIP][245] ([Intel XE#1508]) -> [SKIP][246] ([Intel XE#9125])
[245]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-4/igt@kms_dirtyfb@drrs-dirtyfb-ioctl.html
[246]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_dirtyfb@drrs-dirtyfb-ioctl.html
* igt@kms_dp_link_training@uhbr-mst:
- shard-lnl: [SKIP][247] ([Intel XE#9125]) -> [SKIP][248] ([Intel XE#4354] / [Intel XE#7386])
[247]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_dp_link_training@uhbr-mst.html
[248]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-4/igt@kms_dp_link_training@uhbr-mst.html
* igt@kms_dsc@dsc-with-output-formats-ultrajoiner:
- shard-lnl: [SKIP][249] ([Intel XE#8265]) -> [SKIP][250] ([Intel XE#9125])
[249]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-2/igt@kms_dsc@dsc-with-output-formats-ultrajoiner.html
[250]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_dsc@dsc-with-output-formats-ultrajoiner.html
* igt@kms_dsc@dsc-with-output-formats-with-bpc-bigjoiner:
- shard-lnl: [SKIP][251] ([Intel XE#9125]) -> [SKIP][252] ([Intel XE#8265]) +2 other tests skip
[251]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_dsc@dsc-with-output-formats-with-bpc-bigjoiner.html
[252]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-4/igt@kms_dsc@dsc-with-output-formats-with-bpc-bigjoiner.html
* igt@kms_flip_scaled_crc@flip-32bpp-xtile-to-64bpp-xtile-downscaling:
- shard-lnl: [SKIP][253] ([Intel XE#1745] / [Intel XE#9144]) -> [SKIP][254] ([Intel XE#1397] / [Intel XE#1745] / [Intel XE#7385] / [Intel XE#9144])
[253]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_flip_scaled_crc@flip-32bpp-xtile-to-64bpp-xtile-downscaling.html
[254]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-7/igt@kms_flip_scaled_crc@flip-32bpp-xtile-to-64bpp-xtile-downscaling.html
* igt@kms_flip_scaled_crc@flip-64bpp-linear-to-32bpp-linear-downscaling:
- shard-lnl: [SKIP][255] ([Intel XE#1397] / [Intel XE#1745] / [Intel XE#7385] / [Intel XE#9144]) -> [SKIP][256] ([Intel XE#1745] / [Intel XE#9144])
[255]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-2/igt@kms_flip_scaled_crc@flip-64bpp-linear-to-32bpp-linear-downscaling.html
[256]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_flip_scaled_crc@flip-64bpp-linear-to-32bpp-linear-downscaling.html
* igt@kms_frontbuffer_tracking@drrs-1p-offscreen-pri-shrfb-draw-mmap-wc:
- shard-lnl: [SKIP][257] ([Intel XE#7779]) -> [SKIP][258] ([Intel XE#6312]) +5 other tests skip
[257]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_frontbuffer_tracking@drrs-1p-offscreen-pri-shrfb-draw-mmap-wc.html
[258]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-2/igt@kms_frontbuffer_tracking@drrs-1p-offscreen-pri-shrfb-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@drrs-argb161616f-draw-mmap-wc:
- shard-lnl: [SKIP][259] ([Intel XE#7779]) -> [SKIP][260] ([Intel XE#7061] / [Intel XE#7356]) +4 other tests skip
[259]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_frontbuffer_tracking@drrs-argb161616f-draw-mmap-wc.html
[260]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-4/igt@kms_frontbuffer_tracking@drrs-argb161616f-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@drrs-suspend:
- shard-lnl: [SKIP][261] ([Intel XE#6312] / [Intel XE#651]) -> [SKIP][262] ([Intel XE#2548] / [Intel XE#7779]) +8 other tests skip
[261]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-4/igt@kms_frontbuffer_tracking@drrs-suspend.html
[262]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_frontbuffer_tracking@drrs-suspend.html
* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-indfb-pgflip-blt:
- shard-lnl: [SKIP][263] ([Intel XE#656] / [Intel XE#7905]) -> [SKIP][264] ([Intel XE#2548] / [Intel XE#7779]) +21 other tests skip
[263]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-4/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-indfb-pgflip-blt.html
[264]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-indfb-pgflip-blt.html
* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-pri-shrfb-draw-blt:
- shard-lnl: [SKIP][265] ([Intel XE#2548] / [Intel XE#7779]) -> [SKIP][266] ([Intel XE#656] / [Intel XE#7905]) +33 other tests skip
[265]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-pri-shrfb-draw-blt.html
[266]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-4/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-pri-shrfb-draw-blt.html
* igt@kms_frontbuffer_tracking@fbcdrrs-1p-offscreen-pri-indfb-draw-blt:
- shard-lnl: [SKIP][267] ([Intel XE#6312]) -> [SKIP][268] ([Intel XE#7779]) +6 other tests skip
[267]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-4/igt@kms_frontbuffer_tracking@fbcdrrs-1p-offscreen-pri-indfb-draw-blt.html
[268]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_frontbuffer_tracking@fbcdrrs-1p-offscreen-pri-indfb-draw-blt.html
* igt@kms_frontbuffer_tracking@fbcdrrs-rgb101010-draw-blt:
- shard-lnl: [SKIP][269] ([Intel XE#2548] / [Intel XE#7779]) -> [SKIP][270] ([Intel XE#6312] / [Intel XE#651]) +9 other tests skip
[269]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_frontbuffer_tracking@fbcdrrs-rgb101010-draw-blt.html
[270]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-7/igt@kms_frontbuffer_tracking@fbcdrrs-rgb101010-draw-blt.html
* igt@kms_frontbuffer_tracking@fbchdr-2p-primscrn-pri-indfb-draw-render:
- shard-lnl: [SKIP][271] ([Intel XE#7779]) -> [SKIP][272] ([Intel XE#7905]) +33 other tests skip
[271]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_frontbuffer_tracking@fbchdr-2p-primscrn-pri-indfb-draw-render.html
[272]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-7/igt@kms_frontbuffer_tracking@fbchdr-2p-primscrn-pri-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbcpsr-argb161616f-draw-mmap-wc:
- shard-lnl: [SKIP][273] ([Intel XE#7061] / [Intel XE#7356]) -> [SKIP][274] ([Intel XE#7779]) +1 other test skip
[273]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-4/igt@kms_frontbuffer_tracking@fbcpsr-argb161616f-draw-mmap-wc.html
[274]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_frontbuffer_tracking@fbcpsr-argb161616f-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@fbcpsr-tiling-y:
- shard-lnl: [SKIP][275] ([Intel XE#1469] / [Intel XE#7399]) -> [SKIP][276] ([Intel XE#2548] / [Intel XE#7779])
[275]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-2/igt@kms_frontbuffer_tracking@fbcpsr-tiling-y.html
[276]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_frontbuffer_tracking@fbcpsr-tiling-y.html
* igt@kms_frontbuffer_tracking@fbcpsrhdr-1p-primscrn-cur-indfb-draw-mmap-wc:
- shard-lnl: [SKIP][277] ([Intel XE#7779]) -> [SKIP][278] ([Intel XE#7865]) +22 other tests skip
[277]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_frontbuffer_tracking@fbcpsrhdr-1p-primscrn-cur-indfb-draw-mmap-wc.html
[278]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-2/igt@kms_frontbuffer_tracking@fbcpsrhdr-1p-primscrn-cur-indfb-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@fbcpsrhdr-1p-rte:
- shard-lnl: [SKIP][279] ([Intel XE#7865]) -> [SKIP][280] ([Intel XE#7779]) +12 other tests skip
[279]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-4/igt@kms_frontbuffer_tracking@fbcpsrhdr-1p-rte.html
[280]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_frontbuffer_tracking@fbcpsrhdr-1p-rte.html
* igt@kms_frontbuffer_tracking@fbcpsrhdr-2p-primscrn-pri-shrfb-draw-render:
- shard-lnl: [SKIP][281] ([Intel XE#7905]) -> [SKIP][282] ([Intel XE#7779]) +24 other tests skip
[281]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-2/igt@kms_frontbuffer_tracking@fbcpsrhdr-2p-primscrn-pri-shrfb-draw-render.html
[282]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_frontbuffer_tracking@fbcpsrhdr-2p-primscrn-pri-shrfb-draw-render.html
* igt@kms_frontbuffer_tracking@psrhdr-argb161616f-draw-blt:
- shard-lnl: [SKIP][283] ([Intel XE#7779]) -> [SKIP][284] ([Intel XE#7061]) +4 other tests skip
[283]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_frontbuffer_tracking@psrhdr-argb161616f-draw-blt.html
[284]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-4/igt@kms_frontbuffer_tracking@psrhdr-argb161616f-draw-blt.html
* igt@kms_hdr@static-toggle:
- shard-lnl: [SKIP][285] ([Intel XE#1503]) -> [SKIP][286] ([Intel XE#9125]) +1 other test skip
[285]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-2/igt@kms_hdr@static-toggle.html
[286]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_hdr@static-toggle.html
* igt@kms_mst@mst-suspend-read-crc:
- shard-lnl: [SKIP][287] ([Intel XE#8348]) -> [SKIP][288] ([Intel XE#9125])
[287]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-4/igt@kms_mst@mst-suspend-read-crc.html
[288]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_mst@mst-suspend-read-crc.html
* igt@kms_plane_lowres@tiling-none:
- shard-lnl: [SKIP][289] ([Intel XE#9125]) -> [SKIP][290] ([Intel XE#599] / [Intel XE#7382])
[289]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_plane_lowres@tiling-none.html
[290]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-7/igt@kms_plane_lowres@tiling-none.html
* igt@kms_plane_lowres@tiling-x:
- shard-lnl: [SKIP][291] ([Intel XE#599] / [Intel XE#7382]) -> [SKIP][292] ([Intel XE#9125])
[291]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-2/igt@kms_plane_lowres@tiling-x.html
[292]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_plane_lowres@tiling-x.html
* igt@kms_plane_lowres@tiling-y:
- shard-lnl: [SKIP][293] ([Intel XE#599]) -> [SKIP][294] ([Intel XE#9125])
[293]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-4/igt@kms_plane_lowres@tiling-y.html
[294]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_plane_lowres@tiling-y.html
* igt@kms_plane_multiple@2x-tiling-y:
- shard-lnl: [SKIP][295] ([Intel XE#4596] / [Intel XE#5854]) -> [SKIP][296] ([Intel XE#9125]) +1 other test skip
[295]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-4/igt@kms_plane_multiple@2x-tiling-y.html
[296]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_plane_multiple@2x-tiling-y.html
* igt@kms_plane_multiple@2x-tiling-yf:
- shard-lnl: [SKIP][297] ([Intel XE#9125]) -> [SKIP][298] ([Intel XE#4596] / [Intel XE#5854])
[297]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_plane_multiple@2x-tiling-yf.html
[298]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-7/igt@kms_plane_multiple@2x-tiling-yf.html
* igt@kms_plane_scaling@plane-downscale-factor-0-5-with-modifiers:
- shard-lnl: [SKIP][299] ([Intel XE#2763] / [Intel XE#6886] / [Intel XE#7687] / [Intel XE#9125]) -> [SKIP][300] ([Intel XE#2763] / [Intel XE#6886]) +3 other tests skip
[299]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_plane_scaling@plane-downscale-factor-0-5-with-modifiers.html
[300]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-7/igt@kms_plane_scaling@plane-downscale-factor-0-5-with-modifiers.html
* igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-75:
- shard-lnl: [SKIP][301] ([Intel XE#2763] / [Intel XE#6886]) -> [SKIP][302] ([Intel XE#2763] / [Intel XE#6886] / [Intel XE#7687] / [Intel XE#9125]) +1 other test skip
[301]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-2/igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-75.html
[302]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-75.html
* igt@kms_pm_dc@deep-pkgc:
- shard-lnl: [FAIL][303] ([Intel XE#2029] / [Intel XE#7395]) -> [SKIP][304] ([Intel XE#7778])
[303]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-2/igt@kms_pm_dc@deep-pkgc.html
[304]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_pm_dc@deep-pkgc.html
* igt@kms_psr2_sf@fbc-psr2-cursor-plane-update-sf:
- shard-lnl: [SKIP][305] ([Intel XE#1489]) -> [SKIP][306] ([Intel XE#2893] / [Intel XE#4608] / [Intel XE#7304]) +1 other test skip
[305]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_psr2_sf@fbc-psr2-cursor-plane-update-sf.html
[306]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-2/igt@kms_psr2_sf@fbc-psr2-cursor-plane-update-sf.html
* igt@kms_psr2_sf@pr-overlay-plane-move-continuous-sf:
- shard-lnl: [SKIP][307] ([Intel XE#2893] / [Intel XE#7304]) -> [SKIP][308] ([Intel XE#1489]) +2 other tests skip
[307]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-2/igt@kms_psr2_sf@pr-overlay-plane-move-continuous-sf.html
[308]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_psr2_sf@pr-overlay-plane-move-continuous-sf.html
* igt@kms_psr2_sf@pr-overlay-plane-update-sf-dmg-area:
- shard-lnl: [SKIP][309] ([Intel XE#1489]) -> [SKIP][310] ([Intel XE#2893] / [Intel XE#7304]) +2 other tests skip
[309]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_psr2_sf@pr-overlay-plane-update-sf-dmg-area.html
[310]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-2/igt@kms_psr2_sf@pr-overlay-plane-update-sf-dmg-area.html
* igt@kms_psr2_su@page_flip-xrgb8888:
- shard-lnl: [SKIP][311] ([Intel XE#1128] / [Intel XE#7413]) -> [SKIP][312] ([Intel XE#1122] / [Intel XE#7429])
[311]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-4/igt@kms_psr2_su@page_flip-xrgb8888.html
[312]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_psr2_su@page_flip-xrgb8888.html
* igt@kms_psr@fbc-psr2-primary-page-flip:
- shard-lnl: [SKIP][313] ([Intel XE#1406] / [Intel XE#7345]) -> [SKIP][314] ([Intel XE#2850] / [Intel XE#929])
[313]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-4/igt@kms_psr@fbc-psr2-primary-page-flip.html
[314]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_psr@fbc-psr2-primary-page-flip.html
* igt@kms_psr@fbc-psr2-sprite-blt:
- shard-lnl: [SKIP][315] ([Intel XE#2850] / [Intel XE#929]) -> [SKIP][316] ([Intel XE#1406] / [Intel XE#7345])
[315]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_psr@fbc-psr2-sprite-blt.html
[316]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-7/igt@kms_psr@fbc-psr2-sprite-blt.html
* igt@kms_psr@pr-basic:
- shard-lnl: [SKIP][317] ([Intel XE#1406]) -> [SKIP][318] ([Intel XE#2850] / [Intel XE#929]) +1 other test skip
[317]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-2/igt@kms_psr@pr-basic.html
[318]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_psr@pr-basic.html
* igt@kms_psr@pr-cursor-plane-move:
- shard-lnl: [SKIP][319] ([Intel XE#2850] / [Intel XE#929]) -> [SKIP][320] ([Intel XE#1406]) +2 other tests skip
[319]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_psr@pr-cursor-plane-move.html
[320]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-2/igt@kms_psr@pr-cursor-plane-move.html
* igt@kms_rotation_crc@primary-rotation-270:
- shard-lnl: [SKIP][321] ([Intel XE#9125]) -> [SKIP][322] ([Intel XE#3414] / [Intel XE#3904] / [Intel XE#7342]) +1 other test skip
[321]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_rotation_crc@primary-rotation-270.html
[322]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-7/igt@kms_rotation_crc@primary-rotation-270.html
* igt@kms_rotation_crc@primary-yf-tiled-reflect-x-0:
- shard-lnl: [SKIP][323] ([Intel XE#9125]) -> [SKIP][324] ([Intel XE#1127] / [Intel XE#5813])
[323]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-6/igt@kms_rotation_crc@primary-yf-tiled-reflect-x-0.html
[324]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-2/igt@kms_rotation_crc@primary-yf-tiled-reflect-x-0.html
* igt@kms_rotation_crc@primary-yf-tiled-reflect-x-270:
- shard-lnl: [SKIP][325] ([Intel XE#3414] / [Intel XE#3904] / [Intel XE#7342]) -> [SKIP][326] ([Intel XE#9125])
[325]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-2/igt@kms_rotation_crc@primary-yf-tiled-reflect-x-270.html
[326]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-6/igt@kms_rotation_crc@primary-yf-tiled-reflect-x-270.html
* igt@kms_tiled_display@basic-test-pattern-with-chamelium:
- shard-bmg: [SKIP][327] ([Intel XE#2509] / [Intel XE#7437]) -> [SKIP][328] ([Intel XE#2426] / [Intel XE#5848])
[327]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-bmg-5/igt@kms_tiled_display@basic-test-pattern-with-chamelium.html
[328]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-bmg-9/igt@kms_tiled_display@basic-test-pattern-with-chamelium.html
* igt@xe_exec_reset@gt-reset-fault-injection:
- shard-bmg: [ABORT][329] ([Intel XE#9131] / [Intel XE#9145]) -> [DMESG-WARN][330] ([Intel XE#9130])
[329]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-bmg-4/igt@xe_exec_reset@gt-reset-fault-injection.html
[330]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-bmg-6/igt@xe_exec_reset@gt-reset-fault-injection.html
- shard-lnl: [ABORT][331] ([Intel XE#9140] / [Intel XE#9145]) -> [ABORT][332] ([Intel XE#9145])
[331]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623/shard-lnl-1/igt@xe_exec_reset@gt-reset-fault-injection.html
[332]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/shard-lnl-5/igt@xe_exec_reset@gt-reset-fault-injection.html
[Intel XE#1061]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1061
[Intel XE#1122]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1122
[Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
[Intel XE#1127]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1127
[Intel XE#1128]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1128
[Intel XE#1138]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1138
[Intel XE#1178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1178
[Intel XE#1392]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1392
[Intel XE#1397]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1397
[Intel XE#1406]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1406
[Intel XE#1407]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1407
[Intel XE#1421]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1421
[Intel XE#1424]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1424
[Intel XE#1428]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1428
[Intel XE#1435]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1435
[Intel XE#1469]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1469
[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#1508]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1508
[Intel XE#1511]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1511
[Intel XE#1745]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1745
[Intel XE#2029]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2029
[Intel XE#2134]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2134
[Intel XE#2229]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2229
[Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
[Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
[Intel XE#2284]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2284
[Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311
[Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313
[Intel XE#2320]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2320
[Intel XE#2321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2321
[Intel XE#2322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2322
[Intel XE#2327]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2327
[Intel XE#2426]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2426
[Intel XE#2482]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2482
[Intel XE#2509]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2509
[Intel XE#2548]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2548
[Intel XE#2669]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2669
[Intel XE#2763]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2763
[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#2893]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2893
[Intel XE#306]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/306
[Intel XE#307]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/307
[Intel XE#309]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/309
[Intel XE#3157]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3157
[Intel XE#323]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/323
[Intel XE#3279]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3279
[Intel XE#3297]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3297
[Intel XE#3304]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3304
[Intel XE#3307]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3307
[Intel XE#3414]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3414
[Intel XE#3432]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3432
[Intel XE#3658]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3658
[Intel XE#366]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/366
[Intel XE#367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/367
[Intel XE#373]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/373
[Intel XE#3904]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3904
[Intel XE#4130]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4130
[Intel XE#4141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4141
[Intel XE#4329]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4329
[Intel XE#4354]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4354
[Intel XE#4422]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4422
[Intel XE#4596]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4596
[Intel XE#4608]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4608
[Intel XE#4609]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4609
[Intel XE#4733]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4733
[Intel XE#4886]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4886
[Intel XE#5813]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5813
[Intel XE#5848]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5848
[Intel XE#5854]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5854
[Intel XE#599]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/599
[Intel XE#6035]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6035
[Intel XE#6196]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6196
[Intel XE#6312]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6312
[Intel XE#6321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6321
[Intel XE#6376]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6376
[Intel XE#6503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6503
[Intel XE#651]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/651
[Intel XE#6540]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6540
[Intel XE#656]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/656
[Intel XE#6592]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6592
[Intel XE#6645]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6645
[Intel XE#6819]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6819
[Intel XE#688]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/688
[Intel XE#6886]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6886
[Intel XE#6900]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6900
[Intel XE#6911]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6911
[Intel XE#6912]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6912
[Intel XE#6927]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6927
[Intel XE#6964]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6964
[Intel XE#6969]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6969
[Intel XE#6974]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6974
[Intel XE#7006]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7006
[Intel XE#7059]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7059
[Intel XE#7061]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7061
[Intel XE#7084]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7084
[Intel XE#7085]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7085
[Intel XE#7106]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7106
[Intel XE#7178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7178
[Intel XE#7250]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7250
[Intel XE#7283]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7283
[Intel XE#7304]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7304
[Intel XE#7326]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7326
[Intel XE#7330]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7330
[Intel XE#7342]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7342
[Intel XE#7343]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7343
[Intel XE#7344]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7344
[Intel XE#7345]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7345
[Intel XE#7349]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7349
[Intel XE#7351]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7351
[Intel XE#7353]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7353
[Intel XE#7355]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7355
[Intel XE#7356]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7356
[Intel XE#7358]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7358
[Intel XE#7360]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7360
[Intel XE#7362]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7362
[Intel XE#7366]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7366
[Intel XE#7370]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7370
[Intel XE#7372]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7372
[Intel XE#7374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7374
[Intel XE#7375]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7375
[Intel XE#7382]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7382
[Intel XE#7385]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7385
[Intel XE#7386]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7386
[Intel XE#7387]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7387
[Intel XE#7389]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7389
[Intel XE#7391]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7391
[Intel XE#7395]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7395
[Intel XE#7399]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7399
[Intel XE#7413]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7413
[Intel XE#7417]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7417
[Intel XE#7422]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7422
[Intel XE#7429]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7429
[Intel XE#7437]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7437
[Intel XE#7442]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7442
[Intel XE#7466]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7466
[Intel XE#7482]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7482
[Intel XE#7590]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7590
[Intel XE#7599]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7599
[Intel XE#7642]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7642
[Intel XE#7644]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7644
[Intel XE#7679]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7679
[Intel XE#7687]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7687
[Intel XE#7760]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7760
[Intel XE#7778]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7778
[Intel XE#7779]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7779
[Intel XE#7780]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7780
[Intel XE#7793]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7793
[Intel XE#7794]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7794
[Intel XE#7795]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7795
[Intel XE#7809]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7809
[Intel XE#7865]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7865
[Intel XE#7892]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7892
[Intel XE#7905]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7905
[Intel XE#7980]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7980
[Intel XE#8007]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8007
[Intel XE#8150]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8150
[Intel XE#8265]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8265
[Intel XE#8339]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8339
[Intel XE#8348]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8348
[Intel XE#8355]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8355
[Intel XE#8364]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8364
[Intel XE#8365]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8365
[Intel XE#8369]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8369
[Intel XE#8374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8374
[Intel XE#8378]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8378
[Intel XE#8854]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8854
[Intel XE#8866]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8866
[Intel XE#9125]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9125
[Intel XE#9126]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9126
[Intel XE#9128]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9128
[Intel XE#9130]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9130
[Intel XE#9131]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9131
[Intel XE#9132]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9132
[Intel XE#9140]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9140
[Intel XE#9142]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9142
[Intel XE#9144]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9144
[Intel XE#9145]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9145
[Intel XE#929]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/929
[Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944
[Intel XE#977]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/977
[Intel XE#979]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/979
Build changes
-------------
* Linux: xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623 -> xe-pw-149888v7
IGT_9084: 9084
xe-5690-71bc3b7cc55631a9b3807da98e2b2880838b9623: 71bc3b7cc55631a9b3807da98e2b2880838b9623
xe-pw-149888v7: 149888v7
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149888v7/index.html
[-- Attachment #2: Type: text/html, Size: 120154 bytes --]
^ permalink raw reply [flat|nested] 41+ messages in thread
end of thread, other threads:[~2026-09-04 15:21 UTC | newest]
Thread overview: 41+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-04 2:21 [PATCH v5 00/25] CPU binds and ULLS on migration queue Matthew Brost
2026-09-04 2:21 ` [PATCH v5 01/25] drm/xe: Drop struct xe_migrate_pt_update argument from populate/clear vfuns Matthew Brost
2026-09-04 2:21 ` [PATCH v5 02/25] drm/xe: Add xe_migrate_update_pgtables_cpu_execute helper Matthew Brost
2026-09-04 2:37 ` sashiko-bot
2026-09-04 2:21 ` [PATCH v5 03/25] drm/xe: Decouple exec queue idle check from LRC Matthew Brost
2026-09-04 2:21 ` [PATCH v5 04/25] drm/xe: Add job count to GuC exec queue snapshot Matthew Brost
2026-09-04 2:21 ` [PATCH v5 05/25] drm/xe: Update xe_bo_put_deferred arguments to include writeback flag Matthew Brost
2026-09-04 2:44 ` sashiko-bot
2026-09-04 2:21 ` [PATCH v5 06/25] drm/xe: Add XE_BO_FLAG_PUT_VM_ASYNC Matthew Brost
2026-09-04 2:21 ` [PATCH v5 07/25] drm/xe: Update scheduler job layer to support PT jobs Matthew Brost
2026-09-04 2:21 ` [PATCH v5 08/25] drm/xe: Add helpers to access PT ops Matthew Brost
2026-09-04 2:21 ` [PATCH v5 09/25] drm/xe: Add struct xe_pt_job_ops Matthew Brost
2026-09-04 2:48 ` sashiko-bot
2026-09-04 2:21 ` [PATCH v5 10/25] drm/xe: Update GuC submission backend to run PT jobs Matthew Brost
2026-09-04 2:46 ` sashiko-bot
2026-09-04 2:21 ` [PATCH v5 11/25] drm/xe: Store level in struct xe_vm_pgtable_update Matthew Brost
2026-09-04 2:21 ` [PATCH v5 12/25] drm/xe: Don't use migrate exec queue for page fault binds Matthew Brost
2026-09-04 2:21 ` [PATCH v5 13/25] drm/xe: Enable CPU binds for jobs Matthew Brost
2026-09-04 2:51 ` sashiko-bot
2026-09-04 2:21 ` [PATCH v5 14/25] drm/xe: Remove unused arguments from xe_migrate_pt_update_ops Matthew Brost
2026-09-04 2:21 ` [PATCH v5 15/25] drm/xe: Make bind queues operate cross-tile Matthew Brost
2026-09-04 2:21 ` [PATCH v5 16/25] drm/xe: Add CPU bind layer Matthew Brost
2026-09-04 2:21 ` [PATCH v5 17/25] drm/xe: Add device flag to enable PT mirroring across tiles Matthew Brost
2026-09-04 2:43 ` sashiko-bot
2026-09-04 4:10 ` Matthew Brost
2026-09-04 2:22 ` [PATCH v5 18/25] drm/xe: Add xe_hw_engine_write_ring_tail Matthew Brost
2026-09-04 2:22 ` [PATCH v5 19/25] drm/xe: Add ULLS support to LRC Matthew Brost
2026-09-04 2:22 ` [PATCH v5 20/25] drm/xe: Add ULLS migration job support to migration layer Matthew Brost
2026-09-04 2:44 ` sashiko-bot
2026-09-04 4:11 ` Matthew Brost
2026-09-04 2:22 ` [PATCH v5 21/25] drm/xe: Add ULLS migration job support to ring ops Matthew Brost
2026-09-04 2:22 ` [PATCH v5 22/25] drm/xe: Add ULLS migration job support to GuC submission Matthew Brost
2026-09-04 2:49 ` sashiko-bot
2026-09-04 4:17 ` Matthew Brost
2026-09-04 2:22 ` [PATCH v5 23/25] drm/xe: Enter ULLS for migration jobs upon page fault or SVM prefetch Matthew Brost
2026-09-04 2:22 ` [PATCH v5 24/25] drm/xe: Add modparam to enable / disable ULLS on migrate queue Matthew Brost
2026-09-04 2:22 ` [PATCH v5 25/25] drm/xe: Document ULLS for migration jobs Matthew Brost
2026-09-04 2:29 ` ✗ CI.checkpatch: warning for CPU binds and ULLS on migration queue (rev7) Patchwork
2026-09-04 2:31 ` ✓ CI.KUnit: success " Patchwork
2026-09-04 3:08 ` ✓ Xe.CI.BAT: " Patchwork
2026-09-04 15:21 ` ✗ Xe.CI.FULL: failure " Patchwork
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox