drm/xe: Fix VM teardown and migration queue recovery
Subsystems (2)
cover drm/xe: Fix VM teardown and migration queue recovery
On BMG, terminating a process with Ctrl+C while GPU work is running under VRAM pressure can cause an RCS page fault followed by a migration queue timeout on BCS8 (guc_id 0). The driver resets the GT, but the pending migration job can time out again and eventually wedge the device.
BCS8 is reserved for paging and runs migration and VM bind work. The exact hardware link between the RCS fault and the BCS8 stall is still under investigation. This series addresses the teardown and recovery problems found while debugging this failure.
During file close, exec queue cleanup starts asynchronously, but the VM mappings can be removed before that cleanup finishes. A missed wakeup in the GuC disable-completion handler can also turn a completed operation into a five-second timeout and an unnecessary GT reset.
The reset replay path rewinds the software ring tail to the oldest pending job, but leaves the LRC head at its saved position. This leaves different starting positions for replay.
The four patches address these paths:
1. Clear pending-disable state before waking waiters, so a completed disable does not appear to time out.
2. Mark VMs as closing before queue cleanup. Reject new work and page faults on closing VMs, while allowing existing SVM invalidation to drain mappings.
3. Keep VM mappings alive until queue cleanup completes. File close uses one five-second queue-wait budget across all VMs, then defers any remaining teardown. VM destroy defers without waiting. Device references protect deferred close and final VM destruction on the module-lifetime destroy workqueue.
4. Set the software tail and LRC head and tail to the oldest pending job before resubmitting jobs after a GT reset.
The five-second budget applies only to the new queue-cleanup wait. Existing teardown waits are unchanged.
Arvind Yadav (5):
drm/xe: Hold a device reference across deferred VM destruction drm/xe/guc: Wake disable waiters after clearing pending state drm/xe: Mark VMs as closing before queue cleanup drm/xe: Defer VM teardown until exec queue cleanup completes drm/xe/guc: Reset LRC ring pointers before replay
drivers/gpu/drm/xe/xe_device.c | 25 +++- drivers/gpu/drm/xe/xe_exec_queue.c | 22 +++- drivers/gpu/drm/xe/xe_guc_submit.c | 60 +++++---- drivers/gpu/drm/xe/xe_module.c | 6 +- drivers/gpu/drm/xe/xe_pagefault.c | 2 +- drivers/gpu/drm/xe/xe_svm.c | 3 +- drivers/gpu/drm/xe/xe_vm.c | 205 +++++++++++++++++++++++++---- drivers/gpu/drm/xe/xe_vm.h | 14 +- drivers/gpu/drm/xe/xe_vm_types.h | 16 +++ 9 files changed, 289 insertions(+), 64 deletions(-)
Signature · 1 line
2.43.0
PATCH 1/5 drm/xe: Hold a device reference across deferred VM destruction
xe_vm_free() is the drm_gpuvm vm_free callback. It hands the final teardown to vm_destroy_work_func() on a workqueue and returns.
drm_gpuvm_free() drops its device reference immediately after the callback returns:
gpuvm->ops->vm_free(gpuvm); drm_dev_put(drm);
vm_destroy_work_func() then keeps using device state: xe_pm_runtime_put() for an LR mode VM, ttm_lru_bulk_move_fini() on xe->ttm, and the tile iteration. If the freed VM held the last device reference, the work runs against a released xe_device.
Take a device reference in xe_vm_free() and drop it once vm_destroy_work_func() has finished using the device.
--- drivers/gpu/drm/xe/xe_vm.c | 9 +++++++++ 1 file changed, 9 insertions(+)
drivers/gpu/drm/xe/xe_vm.c +9 -0
@@ -2054,12 +2054,21 @@ static void vm_destroy_work_func(struct work_struct *w)xe_file_put (vm->xef);kfree (vm); + +drm_dev_put (&xe->drm); }static void xe_vm_free (struct drm_gpuvm *gpuvm) { struct xe_vm *vm = container_of(gpuvm, struct xe_vm, gpuvm); +/* +* drm_gpuvm drops its device reference as soon as this callback +* returns, but vm_destroy_work_func() still uses device state. Hold a +* reference across the deferred work. +*/ +drm_dev_get (&vm->xe->drm); +/* To destroy the VM we need to be able to sleep */ queue_work (system_dfl_wq, &vm->destroy_work); }
Signature · 1 line
2.43.0
Re: [PATCH 1/5] drm/xe: Hold a device reference across deferred VM destruction
Quoted 14 lines · Arvind Yadav
xe_vm_free()is thedrm_gpuvmvm_freecallback. It hands the final teardown tovm_destroy_work_func()on a workqueue and returns.
drm_gpuvm_free()drops its device reference immediately after the callback returns:gpuvm->ops->vm_free(gpuvm); drm_dev_put(drm);
vm_destroy_work_func()then keeps using device state:xe_pm_runtime_put()for an LR mode VM,ttm_lru_bulk_move_fini()onxe->ttm, and the tile iteration. If the freed VM held the last device reference, the work runs against a releasedxe_device.
Quoted 4 lines
Take a device reference in
xe_vm_free()and drop it oncevm_destroy_work_func()has finished using the device.Cc Matthew Brost <[email protected]>
This is a fix, IMO. Ideally, we should probably push the delayed-destroy semantics into gpuvm if they are really needed. I'm also questioning whether the VM destroy worker is actually required. This dates back to the very early days of Xe, and I doubt we've ever revisited whether it is necessary.
Let's follow up with one of the following:
- Introduce async destroy in gpuvm and have it own the drm_dev_get/put.
- Drop delayed destroy entirely in Xe.
As a temporary fix that can be backported, this looks good to me, so with a Fixes tag:
Quoted 38 lines
Cc Thomas Hellström <[email protected]>Cc Himal Prasad Ghimiray <[email protected]>Cc Rodrigo Vivi <[email protected]>Assisted-by Claude:claude-opus-4-8Signed-off-by Arvind Yadav <[email protected]>--- drivers/gpu/drm/xe/xe_vm.c | 9 +++++++++ 1 file changed, 9 insertions(+)drivers/gpu/drm/xe/xe_vm.c +9
-0@@ -2054,12 +2054,21 @@ static void vm_destroy_work_func(struct work_struct *w)xe_file_put (vm->xef);kfree (vm); + +drm_dev_put (&xe->drm); }static void xe_vm_free (struct drm_gpuvm *gpuvm) { struct xe_vm *vm = container_of(gpuvm, struct xe_vm, gpuvm); +/* +* drm_gpuvm drops its device reference as soon as this callback +* returns, but vm_destroy_work_func() still uses device state. Hold a +* reference across the deferred work. +*/ +drm_dev_get (&vm->xe->drm); +/* To destroy the VM we need to be able to sleep */ queue_work (system_dfl_wq, &vm->destroy_work); }Signature · 1 line
2.43.0
Thomas Hellström
maintainerRe: [PATCH 1/5] drm/xe: Hold a device reference across deferred VM destruction
Quoted 32 lines · Matthew Brost
Quoted 17 lines · Arvind Yadav
xe_vm_free()is thedrm_gpuvmvm_freecallback. It hands the final teardown tovm_destroy_work_func()on a workqueue and returns.
drm_gpuvm_free()drops its device reference immediately after the callback returns:gpuvm->ops->vm_free(gpuvm); drm_dev_put(drm);
vm_destroy_work_func()then keeps using device state:xe_pm_runtime_put()
for an LR mode VM,ttm_lru_bulk_move_fini()onxe->ttm, and the tile
iteration. If the freed VM held the last device reference, the work runs
against a releasedxe_device.Quoted 4 lines
Take a device reference in
xe_vm_free()and drop it oncevm_destroy_work_func()has finished using the device.Cc Matthew Brost <[email protected]>This is a fix, IMO. Ideally, we should probably push the delayed- destroy
semantics into gpuvm if they are really needed. I'm also questioning whether the VM destroy worker is actually required. This dates back to
the very early days of Xe, and I doubt we've ever revisited whether it
is necessary.
Quoted 4 lines
Let's follow up with one of the following:
- Introduce async destroy in gpuvm and have it own the drm_dev_get/put.
- Drop delayed destroy entirely in Xe.
We need to keep in mind that the drm file keeps a reference on the Xe module. So once the last close() callback has executed, the module can typically be unloaded, causing execution UAF. It's therefore not really recommended to keep file-related structures around with a refcount after close.
Device references however typically don't necessarily keep the module pinned. I had a series to fix this for xe only, (Got stalled) [1], but in general we should be careful about leaking that assumption into DRM code.
[1] https://patchwork.freedesktop.org/series/163298/
Thanks,
Thomas
Quoted 49 lines
As a temporary fix that can be backported, this looks good to me, so with a Fixes tag:
Reviewed-by Matthew Brost <[email protected]>Quoted 43 lines
Cc Thomas Hellström <[email protected]>Cc Himal Prasad Ghimiray <[email protected]>Cc Rodrigo Vivi <[email protected]>Assisted-by Claude:claude-opus-4-8Signed-off-by Arvind Yadav <[email protected]>---
drivers/gpu/drm/xe/xe_vm.c | 9 +++++++++1 file changed, 9 insertions(+)drivers/gpu/drm/xe/xe_vm.c +0
-0@@ -2054,12 +2054,21 @@ static void vm_destroy_work_func(struct work_struct *w) xe_file_put(vm->xef);
kfree(vm);drivers/gpu/drm/xe/xe_vm.c +2
-0+ +drm_dev_put (&xe->drm);}
static voidxe_vm_free(struct drm_gpuvm *gpuvm)
{
structxe_vm*vm =container_of(gpuvm, struct xe_vm, gpuvm);drivers/gpu/drm/xe/xe_vm.c +2
-0+/* +* drm_gpuvm drops its device reference as soon as this callback
drivers/gpu/drm/xe/xe_vm.c +1
-0+* returns, but vm_destroy_work_func() still uses device state. Hold a
drivers/gpu/drm/xe/xe_vm.c +4
-0+* reference across the deferred work. +*/ +drm_dev_get (&vm->xe->drm); +/* To destroy the VM we need to be able to sleep */
queue_work(system_dfl_wq, &vm->destroy_work); }Signature · 1 line
2.43.0
Matthew Brost
maintainerRe: [PATCH 1/5] drm/xe: Hold a device reference across deferred VM destruction
Quoted 33 lines · Thomas Hellström
Quoted 32 lines · Matthew Brost
Quoted 17 lines · Arvind Yadav
xe_vm_free()is thedrm_gpuvmvm_freecallback. It hands the final teardown tovm_destroy_work_func()on a workqueue and returns.
drm_gpuvm_free()drops its device reference immediately after the callback returns:gpuvm->ops->vm_free(gpuvm); drm_dev_put(drm);
vm_destroy_work_func()then keeps using device state:xe_pm_runtime_put()
for an LR mode VM,ttm_lru_bulk_move_fini()onxe->ttm, and the tile
iteration. If the freed VM held the last device reference, the work runs
against a releasedxe_device.Quoted 4 lines
Take a device reference in
xe_vm_free()and drop it oncevm_destroy_work_func()has finished using the device.Cc Matthew Brost <[email protected]>This is a fix, IMO. Ideally, we should probably push the delayed- destroy
semantics into gpuvm if they are really needed. I'm also questioning whether the VM destroy worker is actually required. This dates back to
the very early days of Xe, and I doubt we've ever revisited whether it
is necessary.
Quoted 7 lines
Quoted 4 lines
Let's follow up with one of the following:
- Introduce async destroy in gpuvm and have it own the drm_dev_get/put.
- Drop delayed destroy entirely in Xe.We need to keep in mind that the drm file keeps a reference on the Xe module. So once the last
close()callback has executed, the module can
Yikes, so drm_dev_get won't prevent the module from unloading? Different issue, right?
Quoted 9 lines
typically be unloaded, causing execution UAF. It's therefore not really recommended to keep file-related structures around with a refcount after close.
Device references however typically don't necessarily keep the module pinned. I had a series to fix this for xe only, (Got stalled) [1], but in general we should be careful about leaking that assumption into DRM code.
So what is the fix here? I believe gpuvm has a drm_dev_ ref and it async teardown which breaks drm_dev_ assumption. I don't see an issue with this patch or my suggest follow up.
Quoted 1 line
Should we push on this? I don't really see an issue with series as long as 'rmmod xe' works if display isn't holding a module ref.
Matt
Quoted 54 lines
Thanks,
ThomasQuoted 49 lines
As a temporary fix that can be backported, this looks good to me, so with a Fixes tag:
Reviewed-by Matthew Brost <[email protected]>Quoted 43 lines
Cc Thomas Hellström <[email protected]>Cc Himal Prasad Ghimiray <[email protected]>Cc Rodrigo Vivi <[email protected]>Assisted-by Claude:claude-opus-4-8Signed-off-by Arvind Yadav <[email protected]>---
drivers/gpu/drm/xe/xe_vm.c | 9 +++++++++1 file changed, 9 insertions(+)drivers/gpu/drm/xe/xe_vm.c +0
-0@@ -2054,12 +2054,21 @@ static void vm_destroy_work_func(struct work_struct *w) xe_file_put(vm->xef);
kfree(vm);drivers/gpu/drm/xe/xe_vm.c +2
-0+ +drm_dev_put (&xe->drm);}
static voidxe_vm_free(struct drm_gpuvm *gpuvm)
{
structxe_vm*vm =container_of(gpuvm, struct xe_vm, gpuvm);drivers/gpu/drm/xe/xe_vm.c +2
-0+/* +* drm_gpuvm drops its device reference as soon as this callback
drivers/gpu/drm/xe/xe_vm.c +1
-0+* returns, but vm_destroy_work_func() still uses device state. Hold a
drivers/gpu/drm/xe/xe_vm.c +4
-0+* reference across the deferred work. +*/ +drm_dev_get (&vm->xe->drm); +/* To destroy the VM we need to be able to sleep */
queue_work(system_dfl_wq, &vm->destroy_work); }Signature · 1 line
2.43.0
Thomas Hellström
maintainerRe: [PATCH 1/5] drm/xe: Hold a device reference across deferred VM destruction
Quoted 45 lines · Matthew Brost
Quoted 44 lines · Thomas Hellström
Quoted 42 lines · Matthew Brost
Quoted 20 lines · Arvind Yadav
xe_vm_free()is thedrm_gpuvmvm_freecallback. It hands the final
teardown tovm_destroy_work_func()on a workqueue and returns.
drm_gpuvm_free()drops its device reference immediately after the
callback returns:gpuvm->ops->vm_free(gpuvm); drm_dev_put(drm);
vm_destroy_work_func()then keeps using device state:xe_pm_runtime_put()
for an LR mode VM,ttm_lru_bulk_move_fini()onxe->ttm, and the tile
iteration. If the freed VM held the last device reference, the work
runs
against a releasedxe_device.Quoted 4 lines
Take a device reference in
xe_vm_free()and drop it oncevm_destroy_work_func()has finished using the device.Cc Matthew Brost <[email protected]>This is a fix, IMO. Ideally, we should probably push the delayed- destroy
semantics into gpuvm if they are really needed. I'm also questioning
whether the VM destroy worker is actually required. This dates back
to
the very early days of Xe, and I doubt we've ever revisited whether
it
is necessary.Let's follow up with one of the following:
- Introduce async destroy in gpuvm and have it own the drm_dev_get/put.
- Drop delayed destroy entirely in Xe.
Quoted 6 lines
Quoted 4 lines
We need to keep in mind that the drm file keeps a reference on the Xe
module. So once the lastclose()callback has executed, the module canYikes, so
drm_dev_getwon't prevent the module from unloading?
Exactly.
Quoted 2 lines
Different
issue, right?
Yes, but if we move into GPUVM it would affect other drivers. I believe the issue is fixable on a per-driver basis.
Quoted 15 lines
Quoted 6 lines
typically be unloaded, causing execution UAF. It's therefore not really
recommended to keep file-related structures around with a refcount after close.Quoted 8 lines
Device references however typically don't necessarily keep the module
pinned. I had a series to fix this for xe only, (Got stalled) [1], but
in general we should be careful about leaking that assumption into DRM
code.
Quoted 4 lines
So what is the fix here? I believe gpuvm has a
drm_dev_ref and it async
teardown which breaksdrm_dev_assumption. I don't see an issue with this patch or my suggest follow up.
While the fix for xe is the below series, And I will respin that, If we move more device refcounts into GPUVM, that will affect other drivers that aren't yet fixed. Note drm_pagemap handles this with the dev unhold work, not sure if that is applicable also with GPUVM.
Either way, I don't want to block the series due to a fix missing. Just want us to keep this in mind since it increases the probability of the real bug hitting.
Quoted 6 lines
Quoted 2 lines
Should we push on this? I don't really see an issue with series as long
as 'rmmod xe' works if display isn't holding a module ref.
Yes, I'll respin.
Thanks,
Thomas
Quoted 60 lines
Matt
Quoted 57 lines
Thanks,
ThomasQuoted 52 lines
As a temporary fix that can be backported, this looks good to me, so
with a Fixes tag:Reviewed-by Matthew Brost <[email protected]>Quoted 45 lines
Cc Thomas Hellström <[email protected]>Cc Himal Prasad Ghimiray <[email protected]>Cc Rodrigo Vivi <[email protected]>Assisted-by Claude:claude-opus-4-8Signed-off-by Arvind Yadav <[email protected]>---
drivers/gpu/drm/xe/xe_vm.c | 9 +++++++++1 file changed, 9 insertions(+)drivers/gpu/drm/xe/xe_vm.c +0
-0@@ -2054,12 +2054,21 @@ static void vm_destroy_work_func(struct work_struct *w) xe_file_put(vm->xef);
kfree(vm);drivers/gpu/drm/xe/xe_vm.c +2
-0+ +drm_dev_put (&xe->drm);}
static voidxe_vm_free(struct drm_gpuvm *gpuvm)
{
structxe_vm*vm =container_of(gpuvm, struct xe_vm, gpuvm);drivers/gpu/drm/xe/xe_vm.c +2
-0+/* +* drm_gpuvm drops its device reference as soon as this
callbackdrivers/gpu/drm/xe/xe_vm.c +1
-0+* returns, but vm_destroy_work_func() still uses device
state. Hold adrivers/gpu/drm/xe/xe_vm.c +4
-0+* reference across the deferred work. +*/ +drm_dev_get (&vm->xe->drm); +/* To destroy the VM we need to be able to sleep */
queue_work(system_dfl_wq, &vm->destroy_work); }Signature · 1 line
2.43.0
PATCH 2/5 drm/xe/guc: Wake disable waiters after clearing pending state
In reply to Arvind Yadavdisable_scheduling_deregister() waits for any pending scheduling operation to complete before destroying an exec queue.
For a disable completion, handle_sched_done() can wake the waiter before clearing pending_disable, or not wake it at all. The waiter can then miss a completed operation and expire after five seconds. This causes a spurious GT reset and immediate TDR.
Clear pending_disable before waking the waitqueue on every completion path. Sample the destroyed state before clearing the pending state, as required by the existing destroy protocol.
Also wake CT waiters after a suspend completion.
The queue remains alive until deregistration completes, so waking waiters before sending the deregister request does not release it.
--- drivers/gpu/drm/xe/xe_guc_submit.c | 42 +++++++++++++++++------------- 1 file changed, 24 insertions(+), 18 deletions(-)
drivers/gpu/drm/xe/xe_guc_submit.c +24 -18
@@ -3265,26 +3265,32 @@ static void handle_sched_done(struct xe_guc *guc, struct xe_exec_queue *q,if (q->guc->suspend_pending) {clear_exec_queue_pending_disable (q);suspend_fence_signal (q); + +/* +* Publish the cleared state before waking waiters. +*/ +smp_wmb (); +wake_up_all (&guc->ct.wq); }else { -if (exec_queue_banned (q)) { -smp_wmb (); -wake_up_all (&guc->ct.wq); - } -if (exec_queue_destroyed (q)) { -/* -* Make sure to clear the pending_disable only -* after sampling the destroyed state. We want -* to ensure we don't trigger the unregister too -* early with something intending to only -* disable scheduling. The caller doing the -* destroy must wait for an ongoing -* pending_disable before marking as destroyed. -*/ -clear_exec_queue_pending_disable (q); +bool destroyed =exec_queue_destroyed (q); + +/* +* Make sure to clear pending_disable only after sampling +* the destroyed state. The caller doing the destroy must +* wait for an ongoing disable before marking the queue +* destroyed. +*/ +clear_exec_queue_pending_disable (q); + +/* +* Publish the cleared state before waking waiters. +*/ +smp_wmb (); +wake_up_all (&guc->ct.wq); + +/* The queue remains alive until DEREGISTER_DONE. */ +if (destroyed)deregister_exec_queue (guc, q); - }else { -clear_exec_queue_pending_disable (q); - } } } }
Signature · 1 line
2.43.0
Matthew Brost
maintainerRe: [PATCH 2/5] drm/xe/guc: Wake disable waiters after clearing pending state
Quoted 12 lines · Arvind Yadav
disable_scheduling_deregister()waits for any pending scheduling operation to complete before destroying an exec queue.For a disable completion,
handle_sched_done()can wake the waiter before clearingpending_disable, or not wake it at all. The waiter can then miss a completed operation and expire after five seconds. This causes a spurious GT reset and immediate TDR.Clear
pending_disablebefore waking the waitqueue on every completion path. Sample the destroyed state before clearing the pending state, as required by the existing destroy protocol.
Quoted 8 lines
Also wake CT waiters after a suspend completion.
The queue remains alive until deregistration completes, so waking waiters before sending the deregister request does not release it.Cc Matthew Brost <[email protected]>Cc Thomas Hellström <[email protected]>Cc Himal Prasad Ghimiray <[email protected]>Cc Rodrigo Vivi <[email protected]>
I feel like this is an independent fix (like patch 1) that can be sent on its own with a Fixes tag and CC'd to stable. This also looks very similar to [1].
Can you coordinate with the author of [1]? Alternatively, if that patch looks good to you, could you give it an RB?
Matt
[1] https://patchwork.freedesktop.org/patch/753791/?series=174199&rev=1
Quoted 64 lines
Assisted-by Claude:claude-opus-4-8Signed-off-by Arvind Yadav <[email protected]>--- drivers/gpu/drm/xe/xe_guc_submit.c | 42 +++++++++++++++++------------- 1 file changed, 24 insertions(+), 18 deletions(-)drivers/gpu/drm/xe/xe_guc_submit.c +24
-18@@ -3265,26 +3265,32 @@ static void handle_sched_done(struct xe_guc *guc, struct xe_exec_queue *q,if (q->guc->suspend_pending) {clear_exec_queue_pending_disable (q);suspend_fence_signal (q); + +/* +* Publish the cleared state before waking waiters. +*/ +smp_wmb (); +wake_up_all (&guc->ct.wq); }else { -if (exec_queue_banned (q)) { -smp_wmb (); -wake_up_all (&guc->ct.wq); - } -if (exec_queue_destroyed (q)) { -/* -* Make sure to clear the pending_disable only -* after sampling the destroyed state. We want -* to ensure we don't trigger the unregister too -* early with something intending to only -* disable scheduling. The caller doing the -* destroy must wait for an ongoing -* pending_disable before marking as destroyed. -*/ -clear_exec_queue_pending_disable (q); +bool destroyed =exec_queue_destroyed (q); + +/* +* Make sure to clear pending_disable only after sampling +* the destroyed state. The caller doing the destroy must +* wait for an ongoing disable before marking the queue +* destroyed. +*/ +clear_exec_queue_pending_disable (q); + +/* +* Publish the cleared state before waking waiters. +*/ +smp_wmb (); +wake_up_all (&guc->ct.wq); + +/* The queue remains alive until DEREGISTER_DONE. */ +if (destroyed)deregister_exec_queue (guc, q); - }else { -clear_exec_queue_pending_disable (q); - } } } }Signature · 1 line
2.43.0
Re: [PATCH 2/5] drm/xe/guc: Wake disable waiters after clearing pending state
Quoted 21 lines · Matthew Brost
Quoted 12 lines · Arvind Yadav
disable_scheduling_deregister()waits for any pending scheduling operation to complete before destroying an exec queue.For a disable completion,
handle_sched_done()can wake the waiter before clearingpending_disable, or not wake it at all. The waiter can then miss a completed operation and expire after five seconds. This causes a spurious GT reset and immediate TDR.Clear
pending_disablebefore waking the waitqueue on every completion path. Sample the destroyed state before clearing the pending state, as required by the existing destroy protocol.Quoted 8 lines
Also wake CT waiters after a suspend completion.
The queue remains alive until deregistration completes, so waking waiters before sending the deregister request does not release it.Cc Matthew Brost <[email protected]>Cc Thomas Hellström <[email protected]>Cc Himal Prasad Ghimiray <[email protected]>Cc Rodrigo Vivi <[email protected]>
Quoted 6 lines
I feel like this is an independent fix (like patch 1) that can be sent on its own with a Fixes tag and CC'd to stable. This also looks very similar to [1].
Can you coordinate with the author of [1]? Alternatively, if that patch looks good to you, could you give it an RB?
Thank you for review.
Noted,
Arvind
Quoted 69 lines
Matt
[1] https://patchwork.freedesktop.org/patch/753791/?series=174199&rev=1
Quoted 64 lines
Assisted-by Claude:claude-opus-4-8Signed-off-by Arvind Yadav <[email protected]>--- drivers/gpu/drm/xe/xe_guc_submit.c | 42 +++++++++++++++++------------- 1 file changed, 24 insertions(+), 18 deletions(-)drivers/gpu/drm/xe/xe_guc_submit.c +24
-18@@ -3265,26 +3265,32 @@ static void handle_sched_done(struct xe_guc *guc, struct xe_exec_queue *q,if (q->guc->suspend_pending) {clear_exec_queue_pending_disable (q);suspend_fence_signal (q); + +/* +* Publish the cleared state before waking waiters. +*/ +smp_wmb (); +wake_up_all (&guc->ct.wq); }else { -if (exec_queue_banned (q)) { -smp_wmb (); -wake_up_all (&guc->ct.wq); - } -if (exec_queue_destroyed (q)) { -/* -* Make sure to clear the pending_disable only -* after sampling the destroyed state. We want -* to ensure we don't trigger the unregister too -* early with something intending to only -* disable scheduling. The caller doing the -* destroy must wait for an ongoing -* pending_disable before marking as destroyed. -*/ -clear_exec_queue_pending_disable (q); +bool destroyed =exec_queue_destroyed (q); + +/* +* Make sure to clear pending_disable only after sampling +* the destroyed state. The caller doing the destroy must +* wait for an ongoing disable before marking the queue +* destroyed. +*/ +clear_exec_queue_pending_disable (q); + +/* +* Publish the cleared state before waking waiters. +*/ +smp_wmb (); +wake_up_all (&guc->ct.wq); + +/* The queue remains alive until DEREGISTER_DONE. */ +if (destroyed)deregister_exec_queue (guc, q); - }else { -clear_exec_queue_pending_disable (q); - } } } }Signature · 1 line
2.43.0
PATCH 3/5 drm/xe: Mark VMs as closing before queue cleanup
In reply to Arvind YadavQueue cleanup is asynchronous. New VM work can therefore race with file close or VM destroy while cleanup is starting.
Add a closing state and set it before starting queue cleanup. Treat a closing VM as unavailable for new exec, bind, rebind and page-fault work.
Keep vm->size valid while the VM is closing so SVM invalidation can still drain existing mappings.
--- drivers/gpu/drm/xe/xe_device.c | 4 ++++ drivers/gpu/drm/xe/xe_pagefault.c | 2 +- drivers/gpu/drm/xe/xe_svm.c | 3 ++- drivers/gpu/drm/xe/xe_vm.c | 18 +++++++++++++++++- drivers/gpu/drm/xe/xe_vm.h | 9 ++++++++- drivers/gpu/drm/xe/xe_vm_types.h | 1 + 6 files changed, 33 insertions(+), 4 deletions(-)
drivers/gpu/drm/xe/xe_device.c +4 -0
@@ -179,6 +179,10 @@ static void xe_file_close(struct drm_device *dev, struct drm_file *file)guard (xe_pm_runtime)(xe); +/* Block new VM work before starting asynchronous queue teardown. */ +xa_for_each (&xef->vm.xa, idx, vm) +xe_vm_close_start (vm); +/* * No need for exec_queue.lock here as there is no contention for it * when FD is closing as IOCTLs presumably can't be modifying the
drivers/gpu/drm/xe/xe_pagefault.c +1 -1
@@ -265,7 +265,7 @@ static int xe_pagefault_service(struct xe_pagefault *pf)down_read (&vm->lock); -if (xe_vm_is_closed (vm)) { +if (xe_vm_is_closed_or_banned (vm)) { err = -ENOENT ; goto unlock_vm; }
drivers/gpu/drm/xe/xe_svm.c +2 -1
@@ -218,7 +218,8 @@ xe_svm_range_notifier_event_end(struct xe_vm *vm, struct drm_gpusvm_range *r,drm_gpusvm_unmap_pages (&vm->svm.gpusvm, &(to_xe_range (r)->pages),drm_gpusvm_range_size (r) >>PAGE_SHIFT , &ctx); -if (!xe_vm_is_closed (vm) && mmu_range->event ==MMU_NOTIFY_UNMAP ) +if (!xe_vm_is_closed (vm) && !xe_vm_is_closing (vm) && + mmu_range->event ==MMU_NOTIFY_UNMAP )xe_svm_garbage_collector_add_range (vm,to_xe_range (r), mmu_range); }
drivers/gpu/drm/xe/xe_vm.c +17 -1
@@ -1913,6 +1913,20 @@ static void xe_vm_close(struct xe_vm *vm)drm_dev_exit (idx); } +void xe_vm_close_start (struct xe_vm *vm) +{ +down_write (&vm->lock); +if (xe_vm_in_fault_mode (vm)) +xe_svm_notifier_lock (vm); + +/* Keep size valid so SVM invalidation still performs its full drain. */ + vm->flags |=XE_VM_FLAG_CLOSING ; + +if (xe_vm_in_fault_mode (vm)) +xe_svm_notifier_unlock (vm); +up_write (&vm->lock); +} +void xe_vm_close_and_put (struct xe_vm *vm) {LIST_HEAD (contested);
@@ -2214,8 +2228,10 @@ int xe_vm_destroy_ioctl(struct drm_device *dev, void *data,xa_erase (&xef->vm.xa, args->vm_id);mutex_unlock (&xef->vm.lock); -if (!err) +if (!err) { +xe_vm_close_start (vm);xe_vm_close_and_put (vm); + }return err; }
drivers/gpu/drm/xe/xe_vm.h +8 -1
@@ -59,6 +59,11 @@ static inline bool xe_vm_is_closed(struct xe_vm *vm)return !vm->size; } +static inline bool xe_vm_is_closing (struct xe_vm *vm) +{ +return vm->flags &XE_VM_FLAG_CLOSING ; +} +static inline bool xe_vm_is_banned (struct xe_vm *vm) {return vm->flags &XE_VM_FLAG_BANNED ;
@@ -67,7 +72,8 @@ static inline bool xe_vm_is_banned(struct xe_vm *vm)static inline bool xe_vm_is_closed_or_banned (struct xe_vm *vm) {lockdep_assert_held (&vm->lock); -return xe_vm_is_closed (vm) ||xe_vm_is_banned (vm); +return xe_vm_is_closed (vm) ||xe_vm_is_banned (vm) || +xe_vm_is_closing (vm); } struct xe_vma *
@@ -214,6 +220,7 @@ int xe_vm_get_property_ioctl(struct drm_device *dev, void *data, struct drm_file *file);void xe_vm_close_and_put (struct xe_vm *vm); +void xe_vm_close_start (struct xe_vm *vm);static inline bool xe_vm_in_fault_mode (struct xe_vm *vm) {
drivers/gpu/drm/xe/xe_vm_types.h +1 -0
@@ -286,6 +286,7 @@ struct xe_vm {#define XE_VM_FLAG_SET_TILE_ID (tile) FIELD_PREP(GENMASK(7, 6), (tile)->id)#define XE_VM_FLAG_GSC BIT(8)#define XE_VM_FLAG_NO_VM_OVERCOMMIT BIT(9) +#define XE_VM_FLAG_CLOSING BIT(10)unsigned long flags;/**
Signature · 1 line
2.43.0
RE: [PATCH 3/5] drm/xe: Mark VMs as closing before queue cleanup
Quoted 59 lines
-----Original Message-----
From: Intel-xe <[email protected]> On Behalf Of Arvind Yadav
Sent: 16 September 2026 15:24
To: [email protected]; [email protected]
Cc: Vivi, Rodrigo <[email protected]>; Brost, Matthew <[email protected]>; Ghimiray, Himal Prasad <[email protected]>; [email protected]
Subject: [PATCH 3/5] drm/xe: Mark VMs as closing before queue cleanupQueue cleanup is asynchronous. New VM work can therefore race with file close or VM destroy while cleanup is starting.
Add a closing state and set it before starting queue cleanup. Treat a closing VM as unavailable for new exec, bind, rebind and page-fault work.
Keep
vm->sizevalid while the VM is closing so SVM invalidation can still drain existing mappings.Cc Matthew Brost <[email protected]>Cc Thomas Hellström <[email protected]>Cc Himal Prasad Ghimiray <[email protected]>Cc Rodrigo Vivi <[email protected]>Assisted-by Claude:claude-opus-4-8Signed-off-by Arvind Yadav <[email protected]>--- drivers/gpu/drm/xe/xe_device.c | 4 ++++ drivers/gpu/drm/xe/xe_pagefault.c | 2 +- drivers/gpu/drm/xe/xe_svm.c | 3 ++- drivers/gpu/drm/xe/xe_vm.c | 18 +++++++++++++++++- drivers/gpu/drm/xe/xe_vm.h | 9 ++++++++- drivers/gpu/drm/xe/xe_vm_types.h | 1 + 6 files changed, 33 insertions(+), 4 deletions(-)drivers/gpu/drm/xe/xe_device.c +4
-0@@ -179,6 +179,10 @@ static void xe_file_close(struct drm_device *dev, struct drm_file *file)guard (xe_pm_runtime )(xe ); +/* Block new VM work before starting asynchronous queue teardown. */ +xa_for_each (&xef->vm.xa, idx, vm) +xe_vm_close_start (vm); +/* drivers/gpu/drm/xe/xe_device.c +0
-1* No need for exec_queue.lock here as there is no contention for it * when FD is closing as IOCTLs presumably can't be modifying the diff --git a/drivers/gpu/drm/xe/xe_pagefault.c
b/drivers/gpu/drm/xe/xe_pagefault.c
indexaeb56ff5d58e..4bdd714b9f88100644
drivers/gpu/drm/xe/xe_pagefault.c static int xe_pagefault_service(struct xe_pagefault · line 269
Quoted 6 lines
drivers/gpu/drm/xe/xe_pagefault.c +1
-1@@ -265,7 +265,7 @@ static int xe_pagefault_service(struct xe_pagefault *pf)down_read (&vm->lock); -if (xe_vm_is_closed (vm)) { +if (xe_vm_is_closed_or_banned (vm)) {
Isnt still it a concern for cached faults, as far as I understand, some ranges are cached and if same is cache hit, it will not reach here and response successful. Context may then keep running and more faults if VM which is closing removing related mappings during execution, may get cat error worse?
Can we check VM state somehow while responding cached faults?
Tejas
Quoted 101 lines
drivers/gpu/drm/xe/xe_pagefault.c +0
-0err = -ENOENT ; goto unlock_vm;drivers/gpu/drm/xe/xe_pagefault.c +0
-0}drivers/gpu/drm/xe/xe_svm.c +2
-1@@ -218,7 +218,8 @@ xe_svm_range_notifier_event_end(struct xe_vm *vm, struct drm_gpusvm_range *r,drm_gpusvm_unmap_pages (&vm->svm.gpusvm, &(to_xe_range (r)- >pages),drm_gpusvm_range_size (r) >>PAGE_SHIFT , &ctx); -if (!xe_vm_is_closed (vm) && mmu_range->event == MMU_NOTIFY_UNMAP) +if (!xe_vm_is_closed (vm) && !xe_vm_is_closing (vm) && + mmu_range->event ==MMU_NOTIFY_UNMAP )drivers/gpu/drm/xe/xe_svm.c +0
-0xe_svm_garbage_collector_add_range (vm,to_xe_range (r), mmu_range); }drivers/gpu/drm/xe/xe_vm.c index renamed from drivers/gpu/drm/xe/xe_vm.c +0
-0
264bdab75de2..5d0b616a27b3100644drivers/gpu/drm/xe/xe_vm.c +16
-1@@ -1913,6 +1913,20 @@ static void xe_vm_close(struct xe_vm *vm)drm_dev_exit (idx); } +void xe_vm_close_start (struct xe_vm *vm) { +down_write (&vm->lock); +if (xe_vm_in_fault_mode (vm)) +xe_svm_notifier_lock (vm); + +/* Keep size valid so SVM invalidation still performs its full drain. */ + vm->flags |=XE_VM_FLAG_CLOSING ; + +if (xe_vm_in_fault_mode (vm)) +xe_svm_notifier_unlock (vm); +up_write (&vm->lock); +} +void xe_vm_close_and_put (struct xe_vm *vm) {LIST_HEAD (contested);@@ -2214,8 +2228,10 @@ int xe_vm_destroy_ioctl(struct drm_device *dev,void *data, xa_erase(&xef->vm.xa, args->vm_id);mutex_unlock (&xef->vm.lock); -if (!err) +if (!err) { +xe_vm_close_start (vm);xe_vm_close_and_put (vm); + }return err;}
drivers/gpu/drm/xe/xe_vm.h index renamed from drivers/gpu/drm/xe/xe_vm.h +0
-0
c5b900f38ded..70456ffe27e2100644drivers/gpu/drm/xe/xe_vm.h +6
-1@@ -59,6 +59,11 @@ static inline bool xe_vm_is_closed(struct xe_vm *vm)return !vm->size; } +static inline bool xe_vm_is_closing (struct xe_vm *vm) { +return vm->flags &XE_VM_FLAG_CLOSING ; } +static inline bool xe_vm_is_banned (struct xe_vm *vm) {return vm->flags &XE_VM_FLAG_BANNED ;@@ -67,7 +72,8 @@ static inline bool xe_vm_is_banned(struct xe_vm *vm)static inline bool xe_vm_is_closed_or_banned (struct xe_vm *vm) {lockdep_assert_held (&vm->lock); -return xe_vm_is_closed (vm) ||xe_vm_is_banned (vm); +return xe_vm_is_closed (vm) ||xe_vm_is_banned (vm) || +xe_vm_is_closing (vm); } struct xe_vma *@@ -214,6 +220,7 @@ int xe_vm_get_property_ioctl(struct drm_device *dev, void *data, struct drm_file *file);void xe_vm_close_and_put (struct xe_vm *vm); +void xe_vm_close_start (struct xe_vm *vm); static inline bool xe_vm_in_fault_mode(struct xe_vm *vm) { diff --git
a/drivers/gpu/drm/xe/xe_vm_types.hb/drivers/gpu/drm/xe/xe_vm_types.hindex648031e64145..16b051a0cf10100644drivers/gpu/drm/xe/xe_vm_types.h +1
-0@@ -286,6 +286,7 @@ struct xe_vm {#define XE_VM_FLAG_SET_TILE_ID (tile) FIELD_PREP(GENMASK(7, 6), (tile)->id)#define XE_VM_FLAG_GSC BIT(8)#define XE_VM_FLAG_NO_VM_OVERCOMMIT BIT(9) +#define XE_VM_FLAG_CLOSING BIT(10)unsigned long flags;/**
--
2.43.0
Re: [PATCH 3/5] drm/xe: Mark VMs as closing before queue cleanup
Quoted 60 lines · Tejas
Quoted 60 lines
-----Original Message-----
From: Intel-xe <[email protected]> On Behalf Of Arvind Yadav
Sent: 16 September 2026 15:24
To: [email protected]; [email protected]
Cc: Vivi, Rodrigo <[email protected]>; Brost, Matthew <[email protected]>; Ghimiray, Himal Prasad <[email protected]>; [email protected]
Subject: [PATCH 3/5] drm/xe: Mark VMs as closing before queue cleanupQueue cleanup is asynchronous. New VM work can therefore race with file close or VM destroy while cleanup is starting.
Add a closing state and set it before starting queue cleanup. Treat a closing VM as unavailable for new exec, bind, rebind and page-fault work.
Keep
vm->sizevalid while the VM is closing so SVM invalidation can still drain existing mappings.Cc Matthew Brost <[email protected]>Cc Thomas Hellström <[email protected]>Cc Himal Prasad Ghimiray <[email protected]>Cc Rodrigo Vivi <[email protected]>Assisted-by Claude:claude-opus-4-8Signed-off-by Arvind Yadav <[email protected]>--- drivers/gpu/drm/xe/xe_device.c | 4 ++++ drivers/gpu/drm/xe/xe_pagefault.c | 2 +- drivers/gpu/drm/xe/xe_svm.c | 3 ++- drivers/gpu/drm/xe/xe_vm.c | 18 +++++++++++++++++- drivers/gpu/drm/xe/xe_vm.h | 9 ++++++++- drivers/gpu/drm/xe/xe_vm_types.h | 1 + 6 files changed, 33 insertions(+), 4 deletions(-)drivers/gpu/drm/xe/xe_device.c +4
-0@@ -179,6 +179,10 @@ static void xe_file_close(struct drm_device *dev, struct drm_file *file)guard (xe_pm_runtime )(xe ); +/* Block new VM work before starting asynchronous queue teardown. */ +xa_for_each (&xef->vm.xa, idx, vm) +xe_vm_close_start (vm); +/* * No need for exec_queue.lock here as there is no contention for it
* when FD is closing as IOCTLs presumably can't be modifying the diff
--gita/drivers/gpu/drm/xe/xe_pagefault.cb/drivers/gpu/drm/xe/xe_pagefault.c
indexaeb56ff5d58e..4bdd714b9f88100644drivers/gpu/drm/xe/xe_pagefault.c +0
-0@@ -265,7 +265,7 @@ static int xe_pagefault_service(struct xe_pagefault *pf)
Quoted 7 lines
drivers/gpu/drm/xe/xe_pagefault.c static int xe_pagefault_service(struct xe_pagefault *pf) · line 268
Quoted 4 lines
drivers/gpu/drm/xe/xe_pagefault.c +1
-1down_read (&vm->lock); -if (xe_vm_is_closed (vm)) { +if (xe_vm_is_closed_or_banned (vm)) {Isnt still it a concern for cached faults, as far as I understand, some ranges are cached and if same is cache hit, it will not reach here and response successful. Context may then keep running and more faults if VM which is closing removing related mappings during execution, may get cat error worse?
Can we check VM state somehow while responding cached faults?
Thank you for pointing this.
Yes, you are right. The cached-fault path can skip xe_pagefault_service() so this check does not cover all successful responses.
Thanks,
Arvind
Quoted 103 lines
Tejas
Quoted 101 lines
drivers/gpu/drm/xe/xe_pagefault.c +0
-0err = -ENOENT ; goto unlock_vm;}drivers/gpu/drm/xe/xe_svm.c +2
-1@@ -218,7 +218,8 @@ xe_svm_range_notifier_event_end(struct xe_vm *vm, struct drm_gpusvm_range *r,drm_gpusvm_unmap_pages (&vm->svm.gpusvm, &(to_xe_range (r)- > pages),drm_gpusvm_range_size (r) >>PAGE_SHIFT , &ctx); -if (!xe_vm_is_closed (vm) && mmu_range->event == MMU_NOTIFY_UNMAP) +if (!xe_vm_is_closed (vm) && !xe_vm_is_closing (vm) && + mmu_range->event ==MMU_NOTIFY_UNMAP )xe_svm_garbage_collector_add_range(vm, to_xe_range(r), mmu_range); }drivers/gpu/drm/xe/xe_vm.c index renamed from drivers/gpu/drm/xe/xe_vm.c +0
-0
264bdab75de2..5d0b616a27b3100644drivers/gpu/drm/xe/xe_vm.c +16
-1@@ -1913,6 +1913,20 @@ static void xe_vm_close(struct xe_vm *vm)drm_dev_exit (idx); } +void xe_vm_close_start (struct xe_vm *vm) { +down_write (&vm->lock); +if (xe_vm_in_fault_mode (vm)) +xe_svm_notifier_lock (vm); + +/* Keep size valid so SVM invalidation still performs its full drain. */ + vm->flags |=XE_VM_FLAG_CLOSING ; + +if (xe_vm_in_fault_mode (vm)) +xe_svm_notifier_unlock (vm); +up_write (&vm->lock); +} +void xe_vm_close_and_put (struct xe_vm *vm) {LIST_HEAD (contested);@@ -2214,8 +2228,10 @@ int xe_vm_destroy_ioctl(struct drm_device *dev,void *data, xa_erase(&xef->vm.xa, args->vm_id);mutex_unlock (&xef->vm.lock); -if (!err) +if (!err) { +xe_vm_close_start (vm);xe_vm_close_and_put (vm); + }return err;}drivers/gpu/drm/xe/xe_vm.h index renamed from drivers/gpu/drm/xe/xe_vm.h +0
-0
c5b900f38ded..70456ffe27e2100644drivers/gpu/drm/xe/xe_vm.h +6
-1@@ -59,6 +59,11 @@ static inline bool xe_vm_is_closed(struct xe_vm *vm)return !vm->size; } +static inline bool xe_vm_is_closing (struct xe_vm *vm) { +return vm->flags &XE_VM_FLAG_CLOSING ; } +static inline bool xe_vm_is_banned (struct xe_vm *vm) {return vm->flags &XE_VM_FLAG_BANNED ;@@ -67,7 +72,8 @@ static inline bool xe_vm_is_banned(struct xe_vm *vm)static inline bool xe_vm_is_closed_or_banned (struct xe_vm *vm) {lockdep_assert_held (&vm->lock); -return xe_vm_is_closed (vm) ||xe_vm_is_banned (vm); +return xe_vm_is_closed (vm) ||xe_vm_is_banned (vm) || +xe_vm_is_closing (vm); } struct xe_vma *@@ -214,6 +220,7 @@ int xe_vm_get_property_ioctl(struct drm_device *dev, void *data, struct drm_file *file);void xe_vm_close_and_put (struct xe_vm *vm); +void xe_vm_close_start (struct xe_vm *vm); static inline bool xe_vm_in_fault_mode(struct xe_vm *vm) { diff --git
a/drivers/gpu/drm/xe/xe_vm_types.hb/drivers/gpu/drm/xe/xe_vm_types.hindex648031e64145..16b051a0cf10100644drivers/gpu/drm/xe/xe_vm_types.h +1
-0@@ -286,6 +286,7 @@ struct xe_vm {#define XE_VM_FLAG_SET_TILE_ID (tile) FIELD_PREP(GENMASK(7, 6), (tile)->id)#define XE_VM_FLAG_GSC BIT(8)#define XE_VM_FLAG_NO_VM_OVERCOMMIT BIT(9) +#define XE_VM_FLAG_CLOSING BIT(10)unsigned long flags;/**
--
2.43.0
PATCH 4/5 drm/xe: Defer VM teardown until exec queue cleanup completes
In reply to Arvind YadavExec queue destruction is asynchronous. Closing a VM immediately after killing its queues can remove mappings before GuC cleanup has finished.
Track the queues using each VM and keep the bind queue's user_vm reference until final queue destruction. Start queue cleanup before removing the VM mappings.
The count includes VM-owned bind queues. Release the VM's references to these queues before waiting for their asynchronous cleanup.
During file close, use one five-second wait budget across all VMs. If queues remain, defer VM close until the last queue is removed. The existing runtime-PM reference remains held during this wait.
VM destroy does not wait for queue cleanup. If user exec queues still reference the VM, its mappings remain after the ioctl returns until those queues finish cleanup. Userspace must destroy the remaining queue handles or close the DRM file to release them.
The five-second budget limits the new queue wait, not the lifetime of the retained mappings. Recovery continues through the existing GuC reset and teardown paths.
Run deferred close and final VM destruction on the module-lifetime destroy workqueue. Hold an extra VM reference until the close worker has released its PM and unplug guards. Final VM destruction retains the device reference until cleanup finishes.
--- drivers/gpu/drm/xe/xe_device.c | 21 +++- drivers/gpu/drm/xe/xe_exec_queue.c | 22 ++-- drivers/gpu/drm/xe/xe_module.c | 6 +- drivers/gpu/drm/xe/xe_vm.c | 178 +++++++++++++++++++++++++---- drivers/gpu/drm/xe/xe_vm.h | 5 + drivers/gpu/drm/xe/xe_vm_types.h | 15 +++ 6 files changed, 214 insertions(+), 33 deletions(-)
drivers/gpu/drm/xe/xe_device.c +20 -1
@@ -8,6 +8,7 @@#include <linux/aperture.h> #include <linux/delay.h> #include <linux/fault-inject.h> +#include <linux/jiffies.h> #include <linux/units.h> #include <drm/drm_client.h>
@@ -175,6 +176,8 @@ static void xe_file_close(struct drm_device *dev, struct drm_file *file)struct xe_file *xef = file->driver_priv;struct xe_vm *vm;struct xe_exec_queue *q; +bool close_deferred = false; +unsigned long deadline;unsigned long idx;guard (xe_pm_runtime)(xe);
@@ -195,8 +198,24 @@ static void xe_file_close(struct drm_device *dev, struct drm_file *file)xe_exec_queue_kill (q);xe_exec_queue_put (q); } + +/* Start all bind queue teardown before spending the shared wait budget. */ xa_for_each (&xef->vm.xa, idx, vm) -xe_vm_close_and_put (vm); +xe_vm_kill_bind_queues (vm); + + deadline = jiffies +HZ *5 ; +xa_for_each (&xef->vm.xa, idx, vm) { +unsigned long now = jiffies; +unsigned long timeout = +time_before (now, deadline) ? deadline - now :0 ; + + close_deferred |= +xe_vm_close_and_put_deferred (vm, timeout); + } + +if (close_deferred) +drm_dbg (&xe->drm, +"VM teardown deferred while exec queues are being stopped\n" ); scoped_guard(mutex, &xef->mmio_gem.lock) {if (xef->mmio_gem.pci_barrier) {
drivers/gpu/drm/xe/xe_exec_queue.c +15 -7
@@ -154,9 +154,16 @@ static void __xe_exec_queue_free(struct xe_exec_queue *q)if (q->vm) {xe_vm_remove_exec_queue (q->vm, q); +if (q->vm->xef) +xe_vm_remove_close_queue (q->vm);xe_vm_put (q->vm); } +if (q->user_vm) { +xe_vm_remove_close_queue (q->user_vm); +xe_vm_put (q->user_vm); + } +if (q->xef)xe_file_put (q->xef);
@@ -250,8 +257,12 @@ static struct xe_exec_queue *__xe_exec_queue_alloc(struct xe_device *xe, } } -if (vm) +if (vm) { q->vm =xe_vm_get (vm); +/* vm->xef stays unchanged until final VM destruction. */ +if (vm->xef) +xe_vm_add_close_queue (vm); + }if (extensions) {/*
@@ -617,8 +628,10 @@ struct xe_exec_queue *xe_exec_queue_create_bind(struct xe_device *xe,return ERR_PTR (err); } -if (user_vm) +if (user_vm) { q->user_vm =xe_vm_get (user_vm); +xe_vm_add_close_queue (user_vm); + } }return q;
@@ -657,11 +670,6 @@ void xe_exec_queue_destroy(struct kref *ref)xe_exec_queue_put (eq); } -if (q->user_vm) { -xe_vm_put (q->user_vm); - q->user_vm =NULL ; - } - q->ops->destroy (q); }
drivers/gpu/drm/xe/xe_module.c +3 -3
@@ -114,9 +114,9 @@ static void xe_destroy_wq_module_exit(void)* xe_destroy_wq_queue() - Queue work on the destroy workqueue * @work: work item to queue * -* The destroy workqueue has module lifetime and is used for GuC exec queue -* teardown that can outlive a single xe_device. SVM pagemap destroy uses the -* per-device xe->destroy_wq instead. +* Queue and VM cleanup can drop the last DRM device reference. This workqueue +* has module lifetime so device teardown cannot destroy a worker's own queue. +* SVM pagemap destroy uses the per-device xe->destroy_wq instead. * * Return: %true if @work was queued, %false if it was already pending. */
drivers/gpu/drm/xe/xe_vm.c +156 -22
220 lines not on this page · raw message
drivers/gpu/drm/xe/xe_vm.h +5 -0
@@ -221,6 +221,11 @@ int xe_vm_get_property_ioctl(struct drm_device *dev, void *data,void xe_vm_close_and_put (struct xe_vm *vm);void xe_vm_close_start (struct xe_vm *vm); +bool xe_vm_close_and_put_deferred (struct xe_vm *vm,unsigned long timeout); +void xe_vm_kill_bind_queues (struct xe_vm *vm); + +void xe_vm_add_close_queue (struct xe_vm *vm); +void xe_vm_remove_close_queue (struct xe_vm *vm);static inline bool xe_vm_in_fault_mode (struct xe_vm *vm) {
drivers/gpu/drm/xe/xe_vm_types.h +15 -0
@@ -14,6 +14,7 @@#include <linux/kref.h> #include <linux/mmu_notifier.h> #include <linux/scatterlist.h> +#include <linux/wait.h> #include "xe_device_types.h" #include "xe_pt_types.h"
@@ -314,6 +315,20 @@ struct xe_vm {*/ struct work_struct destroy_work; +/** @close: State used to defer VM teardown until exec queues are gone. */ +struct { +/** @close.num_exec_queues: Queues which can access this VM. */ +atomic_t num_exec_queues; +/** @close.wq: Waitqueue for exec queue teardown. */ +wait_queue_head_t wq; +/** @close.lock: Protects deferred and work scheduling. */ +spinlock_t lock; +/** @close.deferred: VM close is waiting for queue teardown. */ +bool deferred; +/** @close.work: Completes a deferred VM close. */ +struct work_struct work; + } close; +/** * @rftree: range fence tree to track updates to page table structure. * Used to implement conflict tracking between independent bind engines.
Signature · 1 line
2.43.0
RE: [PATCH 4/5] drm/xe: Defer VM teardown until exec queue cleanup completes
Quoted 81 lines
-----Original Message-----
From: Intel-xe <[email protected]> On Behalf Of Arvind Yadav
Sent: 16 September 2026 15:24
To: [email protected]; [email protected]
Cc: Vivi, Rodrigo <[email protected]>; Brost, Matthew <[email protected]>; Ghimiray, Himal Prasad <[email protected]>; [email protected]
Subject: [PATCH 4/5] drm/xe: Defer VM teardown until exec queue cleanup completesExec queue destruction is asynchronous. Closing a VM immediately after killing its queues can remove mappings before GuC cleanup has finished.
Track the queues using each VM and keep the bind queue's
user_vmreference until final queue destruction. Start queue cleanup before removing the VM mappings.The count includes VM-owned bind queues. Release the VM's references to these queues before waiting for their asynchronous cleanup.
During file close, use one five-second wait budget across all VMs. If queues remain, defer VM close until the last queue is removed. The existing runtime-PM reference remains held during this wait.
VM destroy does not wait for queue cleanup. If user exec queues still reference the VM, its mappings remain after the ioctl returns until those queues finish cleanup. Userspace must destroy the remaining queue handles or close the DRM file to release them.
The five-second budget limits the new queue wait, not the lifetime of the retained mappings. Recovery continues through the existing GuC reset and teardown paths.
Run deferred close and final VM destruction on the module-lifetime destroy workqueue. Hold an extra VM reference until the close worker has released its PM and unplug guards. Final VM destruction retains the device reference until cleanup finishes.
Cc Matthew Brost <[email protected]>Cc Thomas Hellström <[email protected]>Cc Himal Prasad Ghimiray <[email protected]>Cc Rodrigo Vivi <[email protected]>Assisted-by Claude:claude-opus-4-8Signed-off-by Arvind Yadav <[email protected]>--- drivers/gpu/drm/xe/xe_device.c | 21 +++- drivers/gpu/drm/xe/xe_exec_queue.c | 22 ++-- drivers/gpu/drm/xe/xe_module.c | 6 +- drivers/gpu/drm/xe/xe_vm.c | 178 +++++++++++++++++++++++++---- drivers/gpu/drm/xe/xe_vm.h | 5 + drivers/gpu/drm/xe/xe_vm_types.h | 15 +++ 6 files changed, 214 insertions(+), 33 deletions(-)drivers/gpu/drm/xe/xe_device.c +3
-0@@ -8,6 +8,7 @@#include <linux/aperture.h> #include <linux/delay.h> #include <linux/fault-inject.h> +#include <linux/jiffies.h> #include <linux/units.h> #include <drm/drm_client.h> @@ -175,6 +176,8 @@ static void xe_file_close(struct drm_device *dev, struct drm_file *file)struct xe_file *xef = file->driver_priv;struct xe_vm *vm;struct xe_exec_queue *q; +bool close_deferred = false; +unsigned long deadline;unsigned long idx;drivers/gpu/drm/xe/xe_device.c +0
-0guard (xe_pm_runtime)(xe);@@ -195,8 +198,24 @@ static void xe_file_close(struct drm_device *dev, struct drm_file *file)xe_exec_queue_kill (q );
drivers/gpu/drm/xe/xe_device.c static void xe_file_close(struct drm_device *dev, · line 208
Quoted 10 lines
drivers/gpu/drm/xe/xe_device.c +6
-1xe_exec_queue_put (q); } + +/* Start all bind queue teardown before spending the shared wait +budget. */ xa_for_each (&xef->vm.xa, idx, vm) -xe_vm_close_and_put (vm); +xe_vm_kill_bind_queues (vm); + + deadline = jiffies +HZ *5 ;
Overall approach looks ok to me but I think this is more of testing driven setting. What is the basis of using this timeout? Also did we test zero wait, does it create memory crunch later?
drivers/gpu/drm/xe/xe_device.c static void xe_file_close(struct drm_device *dev, struct drm_file *file)
Quoted 13 lines
drivers/gpu/drm/xe/xe_device.c +12
-0+xa_for_each (&xef->vm.xa, idx, vm) { +unsigned long now = jiffies; +unsigned long timeout = +time_before (now, deadline) ? deadline - now :0 ; + + close_deferred |= +xe_vm_close_and_put_deferred (vm, timeout); + } + +if (close_deferred) +drm_dbg (&xe->drm, +"VM teardown deferred while exec queues are being stopped\n");
What if queue never return/stuck or something?
Tejas
Quoted 382 lines
drivers/gpu/drm/xe/xe_device.c +0
-0scoped_guard(mutex, &xef->mmio_gem.lock) {if (xef->mmio_gem.pci_barrier) {drivers/gpu/drm/xe/xe_exec_queue.c +12
-1@@ -154,9 +154,16 @@ static void __xe_exec_queue_free(struct xe_exec_queue *q)if (q->vm) {xe_vm_remove_exec_queue (q->vm, q); +if (q->vm->xef) +xe_vm_remove_close_queue (q->vm);xe_vm_put (q->vm); } +if (q->user_vm) { +xe_vm_remove_close_queue (q->user_vm); +xe_vm_put (q->user_vm); + } +if (q->xef)xe_file_put (q->xef);@@ -250,8 +257,12 @@ static struct xe_exec_queue *__xe_exec_queue_alloc(struct xe_device *xe, } } - if (vm) + if (vm) { q->vm = xe_vm_get(vm); + /* vm->xef stays unchanged until final VM destruction. */ + if (vm->xef) + xe_vm_add_close_queue(vm); + } if (extensions) {drivers/gpu/drm/xe/xe_exec_queue.c +3
-1/* @@ -617,8 +628,10 @@ struct xe_exec_queue *xe_exec_queue_create_bind(struct xe_device *xe, return ERR_PTR(err); } -if (user_vm) +if (user_vm) { q->user_vm =xe_vm_get (user_vm); +xe_vm_add_close_queue (user_vm); + } }drivers/gpu/drm/xe/xe_exec_queue.c +0
-5return q;@@ -657,11 +670,6 @@ void xe_exec_queue_destroy(struct kref *ref)xe_exec_queue_put (eq); } -if (q->user_vm) { -xe_vm_put (q->user_vm); - q->user_vm =NULL ; - } - q->ops->destroy (q); }(quoted diff) +0
-0
b/drivers/gpu/drm/xe/xe_module.cindex4bc28dfc1992..4e500156ed9b100644drivers/gpu/drm/xe/xe_module.c +0
-2@@ -114,9 +114,9 @@ static void xe_destroy_wq_module_exit(void)* xe_destroy_wq_queue() - Queue work on the destroy workqueue * @work: work item to queue * -* The destroy workqueue has module lifetime and is used for GuC exec queue -* teardown that can outlive a single xe_device. SVM pagemap destroy uses the
- * per-devicexe->destroy_wqinstead.
+ * Queue and VM cleanup can drop the last DRM device reference. This
+ workqueue
+ * has module lifetime so device teardown cannot destroy a worker's own queue.
+ * SVM pagemap destroy uses the per-devicexe->destroy_wqinstead. *
* Return: %true if @work was queued, %false if it was already pending. */drivers/gpu/drm/xe/xe_vm.c index renamed from drivers/gpu/drm/xe/xe_vm.c +0
-0
5d0b616a27b3..152540a4741b100644drivers/gpu/drm/xe/xe_vm.c +6
-0@@ -29,6 +29,7 @@#include "xe_exec_queue.h" #include "xe_gt.h" #include "xe_migrate.h" +#include "xe_module.h" #include "xe_pat.h" #include "xe_pm.h" #include "xe_preempt_fence.h" @@ -1558,6 +1559,7 @@ static const struct xe_pt_ops xelp_pt_ops = { .pde_encode_bo = xelp_pde_encode_bo, }; +static void vm_close_work_func (struct work_struct *w);static void vm_destroy_work_func (struct work_struct *w);/** @@ -1701,6 +1703,10 @@ struct xe_vm *xe_vm_create(struct xe_device *xe, u32 flags, struct xe_file *xef) ttm_lru_bulk_move_init(&vm->lru_bulk_move);INIT_WORK (&vm->destroy_work, vm_destroy_work_func); +atomic_set (&vm->close.num_exec_queues,0 ); +init_waitqueue_head (&vm->close.wq); +spin_lock_init (&vm->close.lock); +INIT_WORK (&vm->close.work, vm_close_work_func);INIT_LIST_HEAD (&vm->preempt.exec_queues);for (id = 0; id <
XE_MAX_TILES_PER_DEVICE*XE_MAX_GT_PER_TILE;
++id) @@ -1948,25 +1954,7 @@ voidxe_vm_close_and_put(struct xe_vm *vm)drivers/gpu/drm/xe/xe_vm.c +0
-8if (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; - -xe_exec_queue_last_fence_put (vm->q[id], vm); -for_each_tlb_inval (i) - xe_exec_queue_tlb_inval_last_fence_put(vm-Quoted 1 line
q[id], vm, i);
drivers/gpu/drm/xe/xe_vm.c +7
-11- } - } -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_vm_kill_bind_queues (vm);down_write (&vm->lock);xe_vm_lock (vm, false);@@ -2038,6 +2026,148 @@ void xe_vm_close_and_put(struct xe_vm *vm)xe_vm_put (vm); } +static void vm_close_work_func (struct work_struct *w) { + struct xe_vm *vm = container_of(w, struct xe_vm, close.work); +struct xe_device *xe = vm->xe; +int idx; + +/* Keep the VM and device alive until the PM and unplug guards unwind. */
drivers/gpu/drm/xe/xe_vm.c +10
-0+xe_vm_get (vm); + +if (drm_dev_enter (&xe->drm, &idx)) { +xe_pm_runtime_get (xe); +xe_vm_close_and_put (vm); +xe_pm_runtime_put (xe); +drm_dev_exit (idx); + }else { +/* +* The device is gone. Drop the VM without a runtime PM reference.
drivers/gpu/drm/xe/xe_vm.c +29
-0+* xe_vm_close() guards its own register access. +*/ +xe_vm_close_and_put (vm); + } + +xe_vm_put (vm); +} + +/** +* xe_vm_kill_bind_queues() - Kill and release the VM bind queues +* @vm: The VM whose bind queues should be stopped +* +* Callers must serialize teardown of @vm. Later calls are harmless +because +* the first call clears the VM bind queue pointers. +*/ +void xe_vm_kill_bind_queues (struct xe_vm *vm) { +struct xe_device *xe = vm->xe; +struct xe_tile *tile; +u8 id; + +down_write (&vm->lock); +for_each_tile (tile, xe, id) { +if (vm->q[id]) { +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-Quoted 1 line
q[id],
drivers/gpu/drm/xe/xe_vm.c +58
-0+ 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_vm_add_close_queue() - Track an exec queue using the VM +* @vm: The VM used by the exec queue +* +* The queue is tracked until its asynchronous destruction completes. +*/ +void xe_vm_add_close_queue (struct xe_vm *vm) { +atomic_inc (&vm->close.num_exec_queues); +} + +/** +* xe_vm_remove_close_queue() - Stop tracking an exec queue +* @vm: The VM used by the exec queue +* +* If this is the last tracked queue and VM close was deferred, +schedule +* the deferred VM close. +*/ +void xe_vm_remove_close_queue (struct xe_vm *vm) { +bool queue_close = false; + +if (!atomic_dec_and_test (&vm->close.num_exec_queues)) +return ; + +wake_up_all (&vm->close.wq); + +spin_lock (&vm->close.lock); +if (vm->close.deferred) { + vm->close.deferred = false; + queue_close = true; + } +spin_unlock (&vm->close.lock); + +if (queue_close) +xe_destroy_wq_queue (&vm->close.work); +} + +/** +* xe_vm_close_and_put_deferred() - Close a VM immediately or defer the +close +* @vm: The VM reference to consume +* @timeout: Maximum time to wait for VM queues, in jiffies +* +* The VM must already be marked closing, and callers must serialize teardown.
+ * Release the VM-owned bind queues before waiting for queue cleanup.drivers/gpu/drm/xe/xe_vm.c +15
-0+Callers +* may release them earlier to start cleanup for several VMs before waiting. +* +* If queues remain after @timeout, keep the mappings and finish VM +close +* after the last tracked queue is freed. This consumes the caller's VM +* reference on both the immediate and deferred paths. +* +* Return: %true if VM close was deferred, or %false if it completed now. +*/ +bool xe_vm_close_and_put_deferred (struct xe_vm *vm,unsigned long +timeout) { +bool queue_close = false; + +/* Drop VM-owned queue references before waiting for their final free. */
drivers/gpu/drm/xe/xe_vm.c +25
-2+xe_vm_kill_bind_queues (vm); + +if (!atomic_read (&vm->close.num_exec_queues) || +wait_event_timeout (vm->close.wq, + !atomic_read (&vm->close.num_exec_queues), + timeout)) { +xe_vm_close_and_put (vm); +return false; + } + +spin_lock (&vm->close.lock); + vm->close.deferred = true; +if (!atomic_read (&vm->close.num_exec_queues)) { + vm->close.deferred = false; + queue_close = true; + } +spin_unlock (&vm->close.lock); + +if (queue_close) +xe_destroy_wq_queue (&vm->close.work); + +return true; +} +static void vm_destroy_work_func (struct work_struct *w) { struct xe_vm *vm =@@ -2083,8 +2213,7 @@ static void xe_vm_free(struct drm_gpuvm*gpuvm) */ drm_dev_get (&vm->xe->drm); -/* To destroy the VM we need to be able to sleep */ -queue_work (system_dfl_wq, &vm->destroy_work); +xe_destroy_wq_queue (&vm->destroy_work); }struct
xe_vm*xe_vm_lookup(structxe_file*xef, u32 id) @@ -2230,7
+2359,12 @@ int xe_vm_destroy_ioctl(structdrm_device*dev, void *data,drivers/gpu/drm/xe/xe_vm.c +6
-1if (!err) {xe_vm_close_start (vm); -xe_vm_close_and_put (vm); + +/* +* User exec queues can outlive the VM handle. Do not wait for +* queues which this ioctl does not destroy. +*/ +xe_vm_close_and_put_deferred (vm,0 ); }return err;drivers/gpu/drm/xe/xe_vm.h index renamed from drivers/gpu/drm/xe/xe_vm.h +0
-0
70456ffe27e2..efa427651c47100644drivers/gpu/drm/xe/xe_vm.h +5
-0@@ -221,6 +221,11 @@ int xe_vm_get_property_ioctl(struct drm_device *dev, void *data, void xe_vm_close_and_put(struct xe_vm *vm); voidxe_vm_close_start (struct xe_vm *vm); +bool xe_vm_close_and_put_deferred (struct xe_vm *vm,unsigned long +timeout);void xe_vm_kill_bind_queues (struct xe_vm *vm); + +void xe_vm_add_close_queue (struct xe_vm *vm);void +xe_vm_remove_close_queue (struct xe_vm *vm); static inline bool xe_vm_in_fault_mode(struct xe_vm *vm) { diff --git
a/drivers/gpu/drm/xe/xe_vm_types.hb/drivers/gpu/drm/xe/xe_vm_types.hindex16b051a0cf10..a3802f4fd00b100644drivers/gpu/drm/xe/xe_vm_types.h +2
-0@@ -14,6 +14,7 @@#include <linux/kref.h> #include <linux/mmu_notifier.h> #include <linux/scatterlist.h> +#include <linux/wait.h> #include "xe_device_types.h" #include "xe_pt_types.h" @@ -314,6 +315,20 @@ struct xe_vm {*/ struct work_struct destroy_work; +/** @close: State used to defer VM teardown until exec queues are gone. */
drivers/gpu/drm/xe/xe_vm_types.h +2
-0+struct { +/** @close.num_exec_queues: Queues which can access this VM. */
drivers/gpu/drm/xe/xe_vm_types.h +6
-0+atomic_t num_exec_queues; +/** @close.wq: Waitqueue for exec queue teardown. */ +wait_queue_head_t wq; +/** @close.lock: Protects deferred and work scheduling. */ +spinlock_t lock; +/** @close.deferred: VM close is waiting for queue teardown. */
drivers/gpu/drm/xe/xe_vm_types.h +5
-0+bool deferred; +/** @close.work: Completes a deferred VM close. */ +struct work_struct work; + } close; +/** * @rftree: range fence tree to track updates to page table structure. * Used to implement conflict tracking between independent bind engines.
--
2.43.0
Re: [PATCH 4/5] drm/xe: Defer VM teardown until exec queue cleanup completes
Quoted 76 lines · Tejas
Quoted 76 lines
-----Original Message-----
From: Intel-xe <[email protected]> On Behalf Of Arvind Yadav
Sent: 16 September 2026 15:24
To: [email protected]; [email protected]
Cc: Vivi, Rodrigo <[email protected]>; Brost, Matthew <[email protected]>; Ghimiray, Himal Prasad <[email protected]>; [email protected]
Subject: [PATCH 4/5] drm/xe: Defer VM teardown until exec queue cleanup completesExec queue destruction is asynchronous. Closing a VM immediately after killing its queues can remove mappings before GuC cleanup has finished.
Track the queues using each VM and keep the bind queue's
user_vmreference until final queue destruction. Start queue cleanup before removing the VM mappings.The count includes VM-owned bind queues. Release the VM's references to these queues before waiting for their asynchronous cleanup.
During file close, use one five-second wait budget across all VMs. If queues remain, defer VM close until the last queue is removed. The existing runtime-PM reference remains held during this wait.
VM destroy does not wait for queue cleanup. If user exec queues still reference the VM, its mappings remain after the ioctl returns until those queues finish cleanup. Userspace must destroy the remaining queue handles or close the DRM file to release them.
The five-second budget limits the new queue wait, not the lifetime of the retained mappings. Recovery continues through the existing GuC reset and teardown paths.
Run deferred close and final VM destruction on the module-lifetime destroy workqueue. Hold an extra VM reference until the close worker has released its PM and unplug guards. Final VM destruction retains the device reference until cleanup finishes.
Cc Matthew Brost <[email protected]>Cc Thomas Hellström <[email protected]>Cc Himal Prasad Ghimiray <[email protected]>Cc Rodrigo Vivi <[email protected]>Assisted-by Claude:claude-opus-4-8Signed-off-by Arvind Yadav <[email protected]>--- drivers/gpu/drm/xe/xe_device.c | 21 +++- drivers/gpu/drm/xe/xe_exec_queue.c | 22 ++-- drivers/gpu/drm/xe/xe_module.c | 6 +- drivers/gpu/drm/xe/xe_vm.c | 178 +++++++++++++++++++++++++---- drivers/gpu/drm/xe/xe_vm.h | 5 + drivers/gpu/drm/xe/xe_vm_types.h | 15 +++ 6 files changed, 214 insertions(+), 33 deletions(-)drivers/gpu/drm/xe/xe_device.c +3
-0@@ -8,6 +8,7 @@#include <linux/aperture.h> #include <linux/delay.h> #include <linux/fault-inject.h> +#include <linux/jiffies.h> #include <linux/units.h> #include <drm/drm_client.h> @@ -175,6 +176,8 @@ static void xe_file_close(struct drm_device *dev, struct drm_file *file)struct xe_file *xef = file->driver_priv;struct xe_vm *vm;struct xe_exec_queue *q; +bool close_deferred = false; +unsigned long deadline;unsigned long idx;
Quoted 15 lines
Quoted 4 lines
guard(xe_pm_runtime)(xe);drivers/gpu/drm/xe/xe_device.c +0
-0@@ -195,8 +198,24 @@ static void xe_file_close(struct drm_device *dev, struct drm_file *file)xe_exec_queue_kill (q );drivers/gpu/drm/xe/xe_device.c static void xe_file_close(struct drm_device *dev, · line 208
Quoted 10 lines
drivers/gpu/drm/xe/xe_device.c +6
-1xe_exec_queue_put (q); } + +/* Start all bind queue teardown before spending the shared wait +budget. */ xa_for_each (&xef->vm.xa, idx, vm) -xe_vm_close_and_put (vm); +xe_vm_kill_bind_queues (vm); + + deadline = jiffies +HZ *5 ;Overall approach looks ok to me but I think this is more of testing driven setting. What is the basis of using this timeout? Also did we test zero wait, does it create memory crunch later?
I used 5 seconds to match the existing GuC enable/disable wait budget. The wait ends earlier if cleanup finishes. I have not tested zero wait yet. I can test update the result. We have test it under repeated close and VRAM pressure. It did not created any memory crunch till now.
Quoted 15 lines
Quoted 4 lines
drivers/gpu/drm/xe/xe_device.c +3
-0+xa_for_each (&xef->vm.xa, idx, vm) { +unsigned long now = jiffies; + unsigned long timeout =drivers/gpu/drm/xe/xe_device.c static void xe_file_close(struct drm_device *dev, struct drm_file *file)
Quoted 10 lines
drivers/gpu/drm/xe/xe_device.c +9
-0+time_before (now, deadline) ? deadline - now :0 ; + + close_deferred |= +xe_vm_close_and_put_deferred (vm, timeout); + } + +if (close_deferred) +drm_dbg (&xe->drm, +"VM teardown deferred while exec queues are being stopped\n");What if queue never return/stuck or something?
If queue cleanup never finishes, the VM mappings remain allocated. The timeout only bounds the close wait. I will check that reset, wedge and device removal release all tracked queues. Any path that leaves a queue behind needs fixing.
Thanks,
Arvind
Quoted 383 lines
Tejas
Quoted 381 lines
drivers/gpu/drm/xe/xe_device.c +0
-0scoped_guard(mutex, &xef->mmio_gem.lock) {if (xef->mmio_gem.pci_barrier) {drivers/gpu/drm/xe/xe_exec_queue.c +12
-1@@ -154,9 +154,16 @@ static void __xe_exec_queue_free(struct xe_exec_queue *q)if (q->vm) {xe_vm_remove_exec_queue (q->vm, q); +if (q->vm->xef) +xe_vm_remove_close_queue (q->vm);xe_vm_put (q->vm); } +if (q->user_vm) { +xe_vm_remove_close_queue (q->user_vm); +xe_vm_put (q->user_vm); + } +if (q->xef)xe_file_put (q->xef);@@ -250,8 +257,12 @@ static struct xe_exec_queue *__xe_exec_queue_alloc(struct xe_device *xe, } } - if (vm) + if (vm) { q->vm = xe_vm_get(vm); + /* vm->xef stays unchanged until final VM destruction. */ + if (vm->xef) + xe_vm_add_close_queue(vm); + } if (extensions) {/*
drivers/gpu/drm/xe/xe_exec_queue.c +3
-1@@ -617,8 +628,10 @@ struct xe_exec_queue *xe_exec_queue_create_bind(struct xe_device *xe, return ERR_PTR(err); } -if (user_vm) +if (user_vm) { q->user_vm =xe_vm_get (user_vm); +xe_vm_add_close_queue (user_vm); + } }return q;
drivers/gpu/drm/xe/xe_exec_queue.c +0
-5@@ -657,11 +670,6 @@ void xe_exec_queue_destroy(struct kref *ref)xe_exec_queue_put (eq); } -if (q->user_vm) { -xe_vm_put (q->user_vm); - q->user_vm =NULL ; - } - q->ops->destroy (q); }(quoted diff) +0
-0
b/drivers/gpu/drm/xe/xe_module.cindex4bc28dfc1992..4e500156ed9b100644drivers/gpu/drm/xe/xe_module.c +0
-2@@ -114,9 +114,9 @@ static void xe_destroy_wq_module_exit(void)* xe_destroy_wq_queue() - Queue work on the destroy workqueue * @work: work item to queue * -* The destroy workqueue has module lifetime and is used for GuC exec queue -* teardown that can outlive a single xe_device. SVM pagemap destroy uses the
- * per-devicexe->destroy_wqinstead.
+ * Queue and VM cleanup can drop the last DRM device reference. This
+ workqueue
+ * has module lifetime so device teardown cannot destroy a worker's own queue.
+ * SVM pagemap destroy uses the per-devicexe->destroy_wqinstead. *
* Return: %true if @work was queued, %false if it was already pending. */drivers/gpu/drm/xe/xe_vm.c index renamed from drivers/gpu/drm/xe/xe_vm.c +0
-0
5d0b616a27b3..152540a4741b100644drivers/gpu/drm/xe/xe_vm.c +6
-0@@ -29,6 +29,7 @@#include "xe_exec_queue.h" #include "xe_gt.h" #include "xe_migrate.h" +#include "xe_module.h" #include "xe_pat.h" #include "xe_pm.h" #include "xe_preempt_fence.h" @@ -1558,6 +1559,7 @@ static const struct xe_pt_ops xelp_pt_ops = { .pde_encode_bo = xelp_pde_encode_bo, }; +static void vm_close_work_func (struct work_struct *w);static void vm_destroy_work_func (struct work_struct *w);/** @@ -1701,6 +1703,10 @@ struct xe_vm *xe_vm_create(struct xe_device *xe, u32 flags, struct xe_file *xef) ttm_lru_bulk_move_init(&vm->lru_bulk_move);INIT_WORK (&vm->destroy_work, vm_destroy_work_func); +atomic_set (&vm->close.num_exec_queues,0 ); +init_waitqueue_head (&vm->close.wq); +spin_lock_init (&vm->close.lock); +INIT_WORK (&vm->close.work, vm_close_work_func);INIT_LIST_HEAD (&vm->preempt.exec_queues);for (id = 0; id <
XE_MAX_TILES_PER_DEVICE*XE_MAX_GT_PER_TILE;
++id) @@ -1948,25 +1954,7 @@ voidxe_vm_close_and_put(struct xe_vm *vm)
if (xe_vm_in_fault_mode(vm))
xe_svm_close(vm);drivers/gpu/drm/xe/xe_vm.c +0
-8-down_write (&vm->lock); -for_each_tile (tile, xe, id) { -if (vm->q[id]) { -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-Quoted 1 line
q[id], vm, i);
drivers/gpu/drm/xe/xe_vm.c +7
-11- } - } -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_vm_kill_bind_queues (vm);down_write (&vm->lock);xe_vm_lock (vm, false);@@ -2038,6 +2026,148 @@ void xe_vm_close_and_put(struct xe_vm *vm)xe_vm_put (vm); } +static void vm_close_work_func (struct work_struct *w) { + struct xe_vm *vm = container_of(w, struct xe_vm, close.work); +struct xe_device *xe = vm->xe; +int idx; + +/* Keep the VM and device alive until the PM and unplug guards unwind. */
drivers/gpu/drm/xe/xe_vm.c +10
-0+xe_vm_get (vm); + +if (drm_dev_enter (&xe->drm, &idx)) { +xe_pm_runtime_get (xe); +xe_vm_close_and_put (vm); +xe_pm_runtime_put (xe); +drm_dev_exit (idx); + }else { +/* +* The device is gone. Drop the VM without a runtime PM reference.
drivers/gpu/drm/xe/xe_vm.c +29
-0+* xe_vm_close() guards its own register access. +*/ +xe_vm_close_and_put (vm); + } + +xe_vm_put (vm); +} + +/** +* xe_vm_kill_bind_queues() - Kill and release the VM bind queues +* @vm: The VM whose bind queues should be stopped +* +* Callers must serialize teardown of @vm. Later calls are harmless +because +* the first call clears the VM bind queue pointers. +*/ +void xe_vm_kill_bind_queues (struct xe_vm *vm) { +struct xe_device *xe = vm->xe; +struct xe_tile *tile; +u8 id; + +down_write (&vm->lock); +for_each_tile (tile, xe, id) { +if (vm->q[id]) { +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-Quoted 1 line
q[id],
drivers/gpu/drm/xe/xe_vm.c +58
-0+ 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_vm_add_close_queue() - Track an exec queue using the VM +* @vm: The VM used by the exec queue +* +* The queue is tracked until its asynchronous destruction completes. +*/ +void xe_vm_add_close_queue (struct xe_vm *vm) { +atomic_inc (&vm->close.num_exec_queues); +} + +/** +* xe_vm_remove_close_queue() - Stop tracking an exec queue +* @vm: The VM used by the exec queue +* +* If this is the last tracked queue and VM close was deferred, +schedule +* the deferred VM close. +*/ +void xe_vm_remove_close_queue (struct xe_vm *vm) { +bool queue_close = false; + +if (!atomic_dec_and_test (&vm->close.num_exec_queues)) +return ; + +wake_up_all (&vm->close.wq); + +spin_lock (&vm->close.lock); +if (vm->close.deferred) { + vm->close.deferred = false; + queue_close = true; + } +spin_unlock (&vm->close.lock); + +if (queue_close) +xe_destroy_wq_queue (&vm->close.work); +} + +/** +* xe_vm_close_and_put_deferred() - Close a VM immediately or defer the +close +* @vm: The VM reference to consume +* @timeout: Maximum time to wait for VM queues, in jiffies +* +* The VM must already be marked closing, and callers must serialize teardown.
+ * Release the VM-owned bind queues before waiting for queue cleanup.drivers/gpu/drm/xe/xe_vm.c +15
-0+Callers +* may release them earlier to start cleanup for several VMs before waiting. +* +* If queues remain after @timeout, keep the mappings and finish VM +close +* after the last tracked queue is freed. This consumes the caller's VM +* reference on both the immediate and deferred paths. +* +* Return: %true if VM close was deferred, or %false if it completed now. +*/ +bool xe_vm_close_and_put_deferred (struct xe_vm *vm,unsigned long +timeout) { +bool queue_close = false; + +/* Drop VM-owned queue references before waiting for their final free. */
drivers/gpu/drm/xe/xe_vm.c +25
-2+xe_vm_kill_bind_queues (vm); + +if (!atomic_read (&vm->close.num_exec_queues) || +wait_event_timeout (vm->close.wq, + !atomic_read (&vm->close.num_exec_queues), + timeout)) { +xe_vm_close_and_put (vm); +return false; + } + +spin_lock (&vm->close.lock); + vm->close.deferred = true; +if (!atomic_read (&vm->close.num_exec_queues)) { + vm->close.deferred = false; + queue_close = true; + } +spin_unlock (&vm->close.lock); + +if (queue_close) +xe_destroy_wq_queue (&vm->close.work); + +return true; +} +static void vm_destroy_work_func (struct work_struct *w) { struct xe_vm *vm =@@ -2083,8 +2213,7 @@ static void xe_vm_free(struct drm_gpuvm*gpuvm) */ drm_dev_get (&vm->xe->drm); -/* To destroy the VM we need to be able to sleep */ -queue_work (system_dfl_wq, &vm->destroy_work); +xe_destroy_wq_queue (&vm->destroy_work); }struct
xe_vm*xe_vm_lookup(structxe_file*xef, u32 id) @@ -2230,7
+2359,12 @@ int xe_vm_destroy_ioctl(structdrm_device*dev, void *data,if (!err) { xe_vm_close_start(vm);drivers/gpu/drm/xe/xe_vm.c +6
-1-xe_vm_close_and_put (vm); + +/* +* User exec queues can outlive the VM handle. Do not wait for +* queues which this ioctl does not destroy. +*/ +xe_vm_close_and_put_deferred (vm,0 ); }return err;drivers/gpu/drm/xe/xe_vm.h index renamed from drivers/gpu/drm/xe/xe_vm.h +0
-0
70456ffe27e2..efa427651c47100644drivers/gpu/drm/xe/xe_vm.h +5
-0@@ -221,6 +221,11 @@ int xe_vm_get_property_ioctl(struct drm_device *dev, void *data, void xe_vm_close_and_put(struct xe_vm *vm); voidxe_vm_close_start (struct xe_vm *vm); +bool xe_vm_close_and_put_deferred (struct xe_vm *vm,unsigned long +timeout);void xe_vm_kill_bind_queues (struct xe_vm *vm); + +void xe_vm_add_close_queue (struct xe_vm *vm);void +xe_vm_remove_close_queue (struct xe_vm *vm); static inline bool xe_vm_in_fault_mode(struct xe_vm *vm) { diff --git
a/drivers/gpu/drm/xe/xe_vm_types.hb/drivers/gpu/drm/xe/xe_vm_types.hindex16b051a0cf10..a3802f4fd00b100644drivers/gpu/drm/xe/xe_vm_types.h +2
-0@@ -14,6 +14,7 @@#include <linux/kref.h> #include <linux/mmu_notifier.h> #include <linux/scatterlist.h> +#include <linux/wait.h> #include "xe_device_types.h" #include "xe_pt_types.h" @@ -314,6 +315,20 @@ struct xe_vm {*/ struct work_struct destroy_work; +/** @close: State used to defer VM teardown until exec queues are gone. */
drivers/gpu/drm/xe/xe_vm_types.h +2
-0+struct { +/** @close.num_exec_queues: Queues which can access this VM. */
drivers/gpu/drm/xe/xe_vm_types.h +6
-0+atomic_t num_exec_queues; +/** @close.wq: Waitqueue for exec queue teardown. */ +wait_queue_head_t wq; +/** @close.lock: Protects deferred and work scheduling. */ +spinlock_t lock; +/** @close.deferred: VM close is waiting for queue teardown. */
drivers/gpu/drm/xe/xe_vm_types.h +5
-0+bool deferred; +/** @close.work: Completes a deferred VM close. */ +struct work_struct work; + } close; +/** * @rftree: range fence tree to track updates to page table structure. * Used to implement conflict tracking between independent bind engines.
--
2.43.0
PATCH 5/5 drm/xe/guc: Reset LRC ring pointers before replay
In reply to Arvind YadavA GT reset can stop a context after the LRC head has advanced past the start of the oldest pending job.
The replay path rewinds the software ring tail to the job's recorded start so the pending jobs are written again. However, it leaves the LRC head at its saved later position and initializes the LRC tail from that position.
The hardware and software ring positions can therefore use different replay starting points.
Before resubmitting the queue, set the software tail and both LRC ring pointers to the start of the oldest pending job. Update the pointers while the context is unregistered, before resubmitting pending jobs.
--- drivers/gpu/drm/xe/xe_guc_submit.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)
drivers/gpu/drm/xe/xe_guc_submit.c +9 -9
@@ -2984,17 +2984,17 @@ static void guc_exec_queue_start(struct xe_exec_queue *q)trace_xe_exec_queue_resubmit (q);if (job) {for (i =0 ; i < q->width; ++i) { +u32 replay_head = job->ptrs[i].head; +/* -* The GuC context is unregistered at this point -* time, adjusting software ring tail ensures -* jobs are rewritten in original placement, -* adjusting LRC tail ensures the newly loaded -* GuC / contexts only view the LRC tail -* increasing as jobs are written out. +* A started job may have advanced the saved LRC +* head past its original ring position. Rewind +* both head and tail before rewriting and +* replaying the pending jobs. */ - q->lrc[i]->ring.tail = job->ptrs[i].head; -xe_lrc_set_ring_tail (q->lrc[i], -xe_lrc_ring_head (q->lrc[i])); + q->lrc[i]->ring.tail = replay_head; +xe_lrc_set_ring_head (q->lrc[i], replay_head); +xe_lrc_set_ring_tail (q->lrc[i], replay_head); } }xe_sched_resubmit_jobs (sched);
Signature · 1 line
2.43.0
Patchwork
CI✓ CI.KUnit: success for drm/xe: Fix VM teardown and migration queue recovery
In reply to Arvind Yadav== Series Details ==
== Series Details ==
Series: drm/xe: Fix VM teardown and migration queue recovery
URL : https://patchwork.freedesktop.org/series/174252/
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
[09:59:42] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [09:59:47] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [10:00:07] Starting KUnit Kernel (1/1)... [10:00:07] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [10:00:07] ============= refcount_interrupt (4 subtests) ============== [10:00:07] [PASSED] test_single_irq_change [10:00:07] [PASSED] test_nested_irq_change [10:00:07] [PASSED] test_multiple_irq_change [10:00:07] [PASSED] test_irq_save [10:00:07] =============== [PASSED] refcount_interrupt ================ [10:00:07] ================= gpu_buddy (14 subtests) ================== [10:00:07] [PASSED] gpu_test_buddy_alloc_limit [10:00:07] [PASSED] gpu_test_buddy_alloc_optimistic [10:00:07] [PASSED] gpu_test_buddy_alloc_pessimistic [10:00:07] [PASSED] gpu_test_buddy_alloc_pathological [10:00:07] [PASSED] gpu_test_buddy_alloc_contiguous [10:00:07] [PASSED] gpu_test_buddy_alloc_clear [10:00:07] [PASSED] gpu_test_buddy_alloc_range [10:00:08] [PASSED] gpu_test_buddy_alloc_range_bias [10:00:08] [PASSED] gpu_test_buddy_fragmentation_performance [10:00:09] [PASSED] gpu_test_buddy_dirty_tracker_performance [10:00:09] [PASSED] gpu_test_buddy_alloc_exceeds_max_order [10:00:09] [PASSED] gpu_test_buddy_offset_aligned_allocation [10:00:09] [PASSED] gpu_test_buddy_subtree_offset_alignment_stress [10:00:09] [PASSED] gpu_test_buddy_addr_to_block [10:00:09] ==================== [PASSED] gpu_buddy ==================== [10:00:09] ============================================================ [10:00:09] Testing complete. Ran 18 tests: passed: 18 [10:00:09] Elapsed time: 26.739s total, 4.371s configuring, 20.350s building, 1.961s running
+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/drm/xe/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig [10:00:09] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [10:00:11] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [10:00:45] Starting KUnit Kernel (1/1)... [10:00:45] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [10:00:46] ============= refcount_interrupt (4 subtests) ============== [10:00:46] [PASSED] test_single_irq_change [10:00:46] [PASSED] test_nested_irq_change [10:00:46] [PASSED] test_multiple_irq_change [10:00:46] [PASSED] test_irq_save [10:00:46] =============== [PASSED] refcount_interrupt ================ [10:00:46] ================== guc_buf (11 subtests) =================== [10:00:46] [PASSED] test_smallest [10:00:46] [PASSED] test_largest [10:00:46] [PASSED] test_granular [10:00:46] [PASSED] test_unique [10:00:46] [PASSED] test_overlap [10:00:46] [PASSED] test_reusable [10:00:46] [PASSED] test_too_big [10:00:46] [PASSED] test_flush [10:00:46] [PASSED] test_lookup [10:00:46] [PASSED] test_data [10:00:46] [PASSED] test_class [10:00:46] ===================== [PASSED] guc_buf ===================== [10:00:46] =================== guc_dbm (7 subtests) =================== [10:00:46] [PASSED] test_empty [10:00:46] [PASSED] test_default [10:00:46] ======================== test_size ======================== [10:00:46] [PASSED] 4 [10:00:46] [PASSED] 8 [10:00:46] [PASSED] 32 [10:00:46] [PASSED] 256 [10:00:46] ==================== [PASSED] test_size ==================== [10:00:46] ======================= test_reuse ======================== [10:00:46] [PASSED] 4 [10:00:46] [PASSED] 8 [10:00:46] [PASSED] 32 [10:00:46] [PASSED] 256 [10:00:46] =================== [PASSED] test_reuse ==================== [10:00:46] =================== test_range_overlap ==================== [10:00:46] [PASSED] 4 [10:00:46] [PASSED] 8 [10:00:46] [PASSED] 32 [10:00:46] [PASSED] 256 [10:00:46] =============== [PASSED] test_range_overlap ================ [10:00:46] =================== test_range_compact ==================== [10:00:46] [PASSED] 4 [10:00:46] [PASSED] 8 [10:00:46] [PASSED] 32 [10:00:46] [PASSED] 256 [10:00:46] =============== [PASSED] test_range_compact ================ [10:00:46] ==================== test_range_spare ===================== [10:00:46] [PASSED] 4 [10:00:46] [PASSED] 8 [10:00:46] [PASSED] 32 [10:00:46] [PASSED] 256 [10:00:46] ================ [PASSED] test_range_spare ================= [10:00:46] ===================== [PASSED] guc_dbm ===================== [10:00:46] =================== guc_idm (6 subtests) =================== [10:00:46] [PASSED] bad_init [10:00:46] [PASSED] no_init [10:00:46] [PASSED] init_fini [10:00:46] [PASSED] check_used [10:00:46] [PASSED] check_quota [10:00:46] [PASSED] check_all [10:00:46] ===================== [PASSED] guc_idm ===================== [10:00:46] =============== guc_klv_helpers (9 subtests) =============== [10:00:46] [PASSED] test_count [10:00:46] [PASSED] test_encode_u32 [10:00:46] [PASSED] test_encode_u64 [10:00:46] [PASSED] test_encode_string [10:00:46] [PASSED] test_encode_object_raw [10:00:46] [PASSED] test_encode_object_klv [10:00:46] [PASSED] test_encode_object_nested [10:00:46] [PASSED] test_encode_object_basic [10:00:46] [PASSED] test_print [10:00:46] ================= [PASSED] guc_klv_helpers ================= [10:00:46] =================== xe_log (4 subtests) ==================== [10:00:46] [PASSED] demo_cper [10:00:46] [PASSED] demo_dmesg [10:00:46] ======================= test_dmesg ======================== [10:00:46] [PASSED] test_fatal [10:00:46] [PASSED] test_fatal_tile [10:00:46] [PASSED] test_fatal_gt [10:00:46] [PASSED] test_fatal_comp [10:00:46] [PASSED] test_fatal_comp_tile [10:00:46] [PASSED] test_fatal_comp_gt [10:00:46] [PASSED] test_fatal_all [10:00:46] [PASSED] test_recoverable [10:00:46] [PASSED] test_recoverable_tile [10:00:46] [PASSED] test_recoverable_gt [10:00:46] [PASSED] test_recoverable_comp [10:00:46] [PASSED] test_recoverable_comp_tile [10:00:46] [PASSED] test_recoverable_comp_gt [10:00:46] [PASSED] test_recoverable_all [10:00:46] [PASSED] test_info [10:00:46] [PASSED] test_info_tile [10:00:46] [PASSED] test_info_gt [10:00:46] [PASSED] test_info_err [10:00:46] [PASSED] test_info_comp [10:00:46] [PASSED] test_info_comp_tile [10:00:46] [PASSED] test_info_comp_gt [10:00:46] [PASSED] test_info_all [10:00:46] [PASSED] test_hw_fatal [10:00:46] [PASSED] test_hw_recoverable [10:00:46] [PASSED] test_hw_corrected [10:00:46] [PASSED] test_hw_informational [10:00:46] =================== [PASSED] test_dmesg ==================== [10:00:46] ====================== test_invalid ======================= [10:00:46] [SKIPPED] no-component no-location no-warn (requires CONFIG_DRM_XE_DEBUG) [10:00:46] [SKIPPED] reserved location (requires CONFIG_DRM_XE_DEBUG) [10:00:46] [SKIPPED] unknown location (requires CONFIG_DRM_XE_DEBUG) [10:00:46] [SKIPPED] nonzero-device-id location (requires CONFIG_DRM_XE_DEBUG) [10:00:46] [SKIPPED] invalid-tile-id location (requires CONFIG_DRM_XE_DEBUG) [10:00:46] [SKIPPED] invalid-gt-id location (requires CONFIG_DRM_XE_DEBUG) [10:00:46] [SKIPPED] unknown component class (requires CONFIG_DRM_XE_DEBUG) [10:00:46] [SKIPPED] unknown system component (requires CONFIG_DRM_XE_DEBUG) [10:00:46] [SKIPPED] unknown hardware component (requires CONFIG_DRM_XE_DEBUG) [10:00:46] [SKIPPED] unknown component and location (requires CONFIG_DRM_XE_DEBUG) [10:00:46] ================== [SKIPPED] test_invalid ================== [10:00:46] ===================== [PASSED] xe_log ====================== [10:00:46] ================== no_relay (3 subtests) =================== [10:00:46] [PASSED] xe_drops_guc2pf_if_not_ready [10:00:46] [PASSED] xe_drops_guc2vf_if_not_ready [10:00:46] [PASSED] xe_rejects_send_if_not_ready [10:00:46] ==================== [PASSED] no_relay ===================== [10:00:46] ================== pf_relay (14 subtests) ================== [10:00:46] [PASSED] pf_rejects_guc2pf_too_short [10:00:46] [PASSED] pf_rejects_guc2pf_too_long [10:00:46] [PASSED] pf_rejects_guc2pf_no_payload [10:00:46] [PASSED] pf_fails_no_payload [10:00:46] [PASSED] pf_fails_bad_origin [10:00:46] [PASSED] pf_fails_bad_type [10:00:46] [PASSED] pf_txn_reports_error [10:00:46] [PASSED] pf_txn_sends_pf2guc [10:00:46] [PASSED] pf_sends_pf2guc [10:00:46] [SKIPPED] pf_loopback_nop (requires CONFIG_DRM_XE_DEBUG_SRIOV) [10:00:46] [SKIPPED] pf_loopback_echo (requires CONFIG_DRM_XE_DEBUG_SRIOV) [10:00:46] [SKIPPED] pf_loopback_fail (requires CONFIG_DRM_XE_DEBUG_SRIOV) [10:00:46] [SKIPPED] pf_loopback_busy (requires CONFIG_DRM_XE_DEBUG_SRIOV) [10:00:46] [SKIPPED] pf_loopback_retry (requires CONFIG_DRM_XE_DEBUG_SRIOV) [10:00:46] ==================== [PASSED] pf_relay ===================== [10:00:46] ================== vf_relay (3 subtests) =================== [10:00:46] [PASSED] vf_rejects_guc2vf_too_short [10:00:46] [PASSED] vf_rejects_guc2vf_too_long [10:00:46] [PASSED] vf_rejects_guc2vf_no_payload [10:00:46] ==================== [PASSED] vf_relay ===================== [10:00:46] ================ pf_gt_config (9 subtests) ================= [10:00:46] [PASSED] fair_contexts_1vf [10:00:46] [PASSED] fair_doorbells_1vf [10:00:46] [PASSED] fair_ggtt_1vf [10:00:46] ====================== fair_vram_1vf ====================== [10:00:46] [PASSED] 3.50 GiB [10:00:46] [PASSED] 11.5 GiB [10:00:46] [PASSED] 15.5 GiB [10:00:46] [PASSED] 31.5 GiB [10:00:46] [PASSED] 63.5 GiB [10:00:46] [PASSED] 1.91 GiB [10:00:46] ================== [PASSED] fair_vram_1vf ================== [10:00:46] ================ fair_vram_1vf_admin_only ================= [10:00:46] [PASSED] 3.50 GiB [10:00:46] [PASSED] 11.5 GiB [10:00:46] [PASSED] 15.5 GiB [10:00:46] [PASSED] 31.5 GiB [10:00:46] [PASSED] 63.5 GiB [10:00:46] [PASSED] 1.91 GiB [10:00:46] ============ [PASSED] fair_vram_1vf_admin_only ============= [10:00:46] ====================== fair_contexts ====================== [10:00:46] [PASSED] 1 VF [10:00:46] [PASSED] 2 VFs [10:00:46] [PASSED] 3 VFs [10:00:46] [PASSED] 4 VFs [10:00:46] [PASSED] 5 VFs [10:00:46] [PASSED] 6 VFs [10:00:46] [PASSED] 7 VFs [10:00:46] [PASSED] 8 VFs [10:00:46] [PASSED] 9 VFs [10:00:46] [PASSED] 10 VFs [10:00:46] [PASSED] 11 VFs [10:00:46] [PASSED] 12 VFs [10:00:46] [PASSED] 13 VFs [10:00:46] [PASSED] 14 VFs [10:00:46] [PASSED] 15 VFs [10:00:46] [PASSED] 16 VFs [10:00:46] [PASSED] 17 VFs [10:00:46] [PASSED] 18 VFs [10:00:46] [PASSED] 19 VFs [10:00:46] [PASSED] 20 VFs [10:00:46] [PASSED] 21 VFs [10:00:46] [PASSED] 22 VFs [10:00:46] [PASSED] 23 VFs [10:00:46] [PASSED] 24 VFs [10:00:46] [PASSED] 25 VFs [10:00:46] [PASSED] 26 VFs [10:00:46] [PASSED] 27 VFs [10:00:46] [PASSED] 28 VFs [10:00:46] [PASSED] 29 VFs [10:00:46] [PASSED] 30 VFs [10:00:46] [PASSED] 31 VFs [10:00:46] [PASSED] 32 VFs [10:00:46] [PASSED] 33 VFs [10:00:46] [PASSED] 34 VFs [10:00:46] [PASSED] 35 VFs [10:00:46] [PASSED] 36 VFs [10:00:46] [PASSED] 37 VFs [10:00:46] [PASSED] 38 VFs [10:00:46] [PASSED] 39 VFs [10:00:46] [PASSED] 40 VFs [10:00:46] [PASSED] 41 VFs [10:00:46] [PASSED] 42 VFs [10:00:46] [PASSED] 43 VFs [10:00:46] [PASSED] 44 VFs [10:00:46] [PASSED] 45 VFs [10:00:46] [PASSED] 46 VFs [10:00:46] [PASSED] 47 VFs [10:00:46] [PASSED] 48 VFs [10:00:46] [PASSED] 49 VFs [10:00:46] [PASSED] 50 VFs [10:00:46] [PASSED] 51 VFs [10:00:46] [PASSED] 52 VFs [10:00:46] [PASSED] 53 VFs [10:00:46] [PASSED] 54 VFs [10:00:46] [PASSED] 55 VFs [10:00:46] [PASSED] 56 VFs [10:00:46] [PASSED] 57 VFs [10:00:46] [PASSED] 58 VFs [10:00:46] [PASSED] 59 VFs [10:00:46] [PASSED] 60 VFs [10:00:46] [PASSED] 61 VFs [10:00:46] [PASSED] 62 VFs [10:00:46] [PASSED] 63 VFs [10:00:46] ================== [PASSED] fair_contexts ================== [10:00:46] ===================== fair_doorbells ====================== [10:00:46] [PASSED] 1 VF [10:00:46] [PASSED] 2 VFs [10:00:46] [PASSED] 3 VFs [10:00:46] [PASSED] 4 VFs [10:00:46] [PASSED] 5 VFs [10:00:46] [PASSED] 6 VFs [10:00:46] [PASSED] 7 VFs [10:00:46] [PASSED] 8 VFs [10:00:46] [PASSED] 9 VFs [10:00:46] [PASSED] 10 VFs [10:00:46] [PASSED] 11 VFs [10:00:46] [PASSED] 12 VFs [10:00:46] [PASSED] 13 VFs [10:00:46] [PASSED] 14 VFs [10:00:46] [PASSED] 15 VFs [10:00:46] [PASSED] 16 VFs [10:00:46] [PASSED] 17 VFs [10:00:46] [PASSED] 18 VFs [10:00:46] [PASSED] 19 VFs [10:00:46] [PASSED] 20 VFs [10:00:46] [PASSED] 21 VFs [10:00:46] [PASSED] 22 VFs [10:00:46] [PASSED] 23 VFs [10:00:46] [PASSED] 24 VFs [10:00:46] [PASSED] 25 VFs [10:00:46] [PASSED] 26 VFs [10:00:46] [PASSED] 27 VFs [10:00:46] [PASSED] 28 VFs [10:00:46] [PASSED] 29 VFs [10:00:46] [PASSED] 30 VFs [10:00:46] [PASSED] 31 VFs [10:00:46] [PASSED] 32 VFs [10:00:46] [PASSED] 33 VFs [10:00:46] [PASSED] 34 VFs [10:00:46] [PASSED] 35 VFs [10:00:46] [PASSED] 36 VFs [10:00:46] [PASSED] 37 VFs [10:00:46] [PASSED] 38 VFs [10:00:46] [PASSED] 39 VFs [10:00:46] [PASSED] 40 VFs [10:00:46] [PASSED] 41 VFs [10:00:46] [PASSED] 42 VFs [10:00:46] [PASSED] 43 VFs [10:00:46] [PASSED] 44 VFs [10:00:46] [PASSED] 45 VFs [10:00:46] [PASSED] 46 VFs [10:00:46] [PASSED] 47 VFs [10:00:46] [PASSED] 48 VFs [10:00:46] [PASSED] 49 VFs [10:00:46] [PASSED] 50 VFs [10:00:46] [PASSED] 51 VFs [10:00:46] [PASSED] 52 VFs [10:00:46] [PASSED] 53 VFs [10:00:46] [PASSED] 54 VFs [10:00:46] [PASSED] 55 VFs [10:00:46] [PASSED] 56 VFs [10:00:46] [PASSED] 57 VFs [10:00:46] [PASSED] 58 VFs [10:00:46] [PASSED] 59 VFs [10:00:46] [PASSED] 60 VFs [10:00:46] [PASSED] 61 VFs [10:00:46] [PASSED] 62 VFs [10:00:46] [PASSED] 63 VFs [10:00:46] ================= [PASSED] fair_doorbells ================== [10:00:46] ======================== fair_ggtt ======================== [10:00:46] [PASSED] 1 VF [10:00:46] [PASSED] 2 VFs [10:00:46] [PASSED] 3 VFs [10:00:46] [PASSED] 4 VFs [10:00:46] [PASSED] 5 VFs [10:00:46] [PASSED] 6 VFs [10:00:46] [PASSED] 7 VFs [10:00:46] [PASSED] 8 VFs [10:00:46] [PASSED] 9 VFs [10:00:46] [PASSED] 10 VFs [10:00:46] [PASSED] 11 VFs [10:00:46] [PASSED] 12 VFs [10:00:46] [PASSED] 13 VFs [10:00:46] [PASSED] 14 VFs [10:00:46] [PASSED] 15 VFs [10:00:46] [PASSED] 16 VFs [10:00:46] [PASSED] 17 VFs [10:00:46] [PASSED] 18 VFs [10:00:46] [PASSED] 19 VFs [10:00:46] [PASSED] 20 VFs [10:00:46] [PASSED] 21 VFs [10:00:46] [PASSED] 22 VFs [10:00:46] [PASSED] 23 VFs [10:00:46] [PASSED] 24 VFs [10:00:46] [PASSED] 25 VFs [10:00:46] [PASSED] 26 VFs [10:00:46] [PASSED] 27 VFs [10:00:46] [PASSED] 28 VFs [10:00:46] [PASSED] 29 VFs [10:00:46] [PASSED] 30 VFs [10:00:46] [PASSED] 31 VFs [10:00:46] [PASSED] 32 VFs [10:00:46] [PASSED] 33 VFs [10:00:46] [PASSED] 34 VFs [10:00:46] [PASSED] 35 VFs [10:00:46] [PASSED] 36 VFs [10:00:46] [PASSED] 37 VFs [10:00:46] [PASSED] 38 VFs [10:00:46] [PASSED] 39 VFs [10:00:46] [PASSED] 40 VFs [10:00:46] [PASSED] 41 VFs [10:00:46] [PASSED] 42 VFs [10:00:46] [PASSED] 43 VFs [10:00:46] [PASSED] 44 VFs [10:00:46] [PASSED] 45 VFs [10:00:46] [PASSED] 46 VFs [10:00:46] [PASSED] 47 VFs [10:00:46] [PASSED] 48 VFs [10:00:46] [PASSED] 49 VFs [10:00:46] [PASSED] 50 VFs [10:00:46] [PASSED] 51 VFs [10:00:46] [PASSED] 52 VFs [10:00:46] [PASSED] 53 VFs [10:00:46] [PASSED] 54 VFs [10:00:46] [PASSED] 55 VFs [10:00:46] [PASSED] 56 VFs [10:00:46] [PASSED] 57 VFs [10:00:46] [PASSED] 58 VFs [10:00:46] [PASSED] 59 VFs [10:00:46] [PASSED] 60 VFs [10:00:46] [PASSED] 61 VFs [10:00:46] [PASSED] 62 VFs [10:00:46] [PASSED] 63 VFs [10:00:46] ==================== [PASSED] fair_ggtt ==================== [10:00:46] ======================== fair_vram ======================== [10:00:46] [PASSED] 1 VF [10:00:46] [PASSED] 2 VFs [10:00:46] [PASSED] 3 VFs [10:00:46] [PASSED] 4 VFs [10:00:46] [PASSED] 5 VFs [10:00:46] [PASSED] 6 VFs [10:00:46] [PASSED] 7 VFs [10:00:46] [PASSED] 8 VFs [10:00:46] [PASSED] 9 VFs [10:00:46] [PASSED] 10 VFs [10:00:46] [PASSED] 11 VFs [10:00:46] [PASSED] 12 VFs [10:00:46] [PASSED] 13 VFs [10:00:46] [PASSED] 14 VFs [10:00:46] [PASSED] 15 VFs [10:00:46] [PASSED] 16 VFs [10:00:46] [PASSED] 17 VFs [10:00:46] [PASSED] 18 VFs [10:00:46] [PASSED] 19 VFs [10:00:46] [PASSED] 20 VFs [10:00:46] [PASSED] 21 VFs [10:00:46] [PASSED] 22 VFs [10:00:46] [PASSED] 23 VFs [10:00:46] [PASSED] 24 VFs [10:00:46] [PASSED] 25 VFs [10:00:46] [PASSED] 26 VFs [10:00:46] [PASSED] 27 VFs [10:00:46] [PASSED] 28 VFs [10:00:46] [PASSED] 29 VFs [10:00:46] [PASSED] 30 VFs [10:00:46] [PASSED] 31 VFs [10:00:46] [PASSED] 32 VFs [10:00:46] [PASSED] 33 VFs [10:00:46] [PASSED] 34 VFs [10:00:46] [PASSED] 35 VFs [10:00:46] [PASSED] 36 VFs [10:00:46] [PASSED] 37 VFs [10:00:46] [PASSED] 38 VFs [10:00:46] [PASSED] 39 VFs [10:00:46] [PASSED] 40 VFs [10:00:46] [PASSED] 41 VFs [10:00:46] [PASSED] 42 VFs [10:00:46] [PASSED] 43 VFs [10:00:46] [PASSED] 44 VFs [10:00:46] [PASSED] 45 VFs [10:00:46] [PASSED] 46 VFs [10:00:46] [PASSED] 47 VFs [10:00:46] [PASSED] 48 VFs [10:00:46] [PASSED] 49 VFs [10:00:46] [PASSED] 50 VFs [10:00:46] [PASSED] 51 VFs [10:00:46] [PASSED] 52 VFs [10:00:46] [PASSED] 53 VFs [10:00:46] [PASSED] 54 VFs [10:00:46] [PASSED] 55 VFs [10:00:46] [PASSED] 56 VFs [10:00:46] [PASSED] 57 VFs [10:00:46] [PASSED] 58 VFs [10:00:46] [PASSED] 59 VFs [10:00:46] [PASSED] 60 VFs [10:00:46] [PASSED] 61 VFs [10:00:46] [PASSED] 62 VFs [10:00:46] [PASSED] 63 VFs [10:00:46] ==================== [PASSED] fair_vram ==================== [10:00:46] ================== [PASSED] pf_gt_config =================== [10:00:46] ===================== lmtt (1 subtest) ===================== [10:00:46] ======================== test_ops ========================= [10:00:46] [PASSED] 2-level [10:00:46] [PASSED] multi-level [10:00:46] ==================== [PASSED] test_ops ===================== [10:00:46] ====================== [PASSED] lmtt ======================= [10:00:46] ================= sriov_packet (1 subtest) ================= [10:00:46] [PASSED] test_descriptor_init [10:00:46] ================== [PASSED] sriov_packet =================== [10:00:46] ================= pf_service (11 subtests) ================= [10:00:46] [PASSED] pf_negotiate_any [10:00:46] [PASSED] pf_negotiate_base_match [10:00:46] [PASSED] pf_negotiate_base_newer [10:00:46] [PASSED] pf_negotiate_base_next [10:00:46] [SKIPPED] pf_negotiate_base_older (no older minor) [10:00:46] [PASSED] pf_negotiate_base_prev [10:00:46] [PASSED] pf_negotiate_latest_match [10:00:46] [PASSED] pf_negotiate_latest_newer [10:00:46] [PASSED] pf_negotiate_latest_next [10:00:46] [SKIPPED] pf_negotiate_latest_older (no older minor) [10:00:46] [SKIPPED] pf_negotiate_latest_prev (no prev major) [10:00:46] =================== [PASSED] pf_service ==================== [10:00:46] ================= xe_guc_g2g (2 subtests) ================== [10:00:46] ============== xe_live_guc_g2g_kunit_default ============== [10:00:46] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ========== [10:00:46] ============== xe_live_guc_g2g_kunit_allmem =============== [10:00:46] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ========== [10:00:46] =================== [SKIPPED] xe_guc_g2g =================== [10:00:46] =================== xe_mocs (2 subtests) =================== [10:00:46] ================ xe_live_mocs_kernel_kunit ================ [10:00:46] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============ [10:00:46] ================ xe_live_mocs_reset_kunit ================= [10:00:46] ============ [SKIPPED] xe_live_mocs_reset_kunit ============ [10:00:46] ==================== [SKIPPED] xe_mocs ===================== [10:00:46] ================= xe_migrate (2 subtests) ================== [10:00:46] ================= xe_migrate_sanity_kunit ================= [10:00:46] ============ [SKIPPED] xe_migrate_sanity_kunit ============= [10:00:46] ================== xe_validate_ccs_kunit ================== [10:00:46] ============= [SKIPPED] xe_validate_ccs_kunit ============== [10:00:46] =================== [SKIPPED] xe_migrate =================== [10:00:46] ================== xe_dma_buf (1 subtest) ================== [10:00:46] ==================== xe_dma_buf_kunit ===================== [10:00:46] ================ [SKIPPED] xe_dma_buf_kunit ================ [10:00:46] =================== [SKIPPED] xe_dma_buf =================== [10:00:46] ================= xe_bo_shrink (1 subtest) ================= [10:00:46] =================== xe_bo_shrink_kunit ==================== [10:00:46] =============== [SKIPPED] xe_bo_shrink_kunit =============== [10:00:46] ================== [SKIPPED] xe_bo_shrink ================== [10:00:46] ==================== xe_bo (2 subtests) ==================== [10:00:46] ================== xe_ccs_migrate_kunit =================== [10:00:46] ============== [SKIPPED] xe_ccs_migrate_kunit ============== [10:00:46] ==================== xe_bo_evict_kunit ==================== [10:00:46] =============== [SKIPPED] xe_bo_evict_kunit ================ [10:00:46] ===================== [SKIPPED] xe_bo ====================== [10:00:46] =================== xe_any (9 subtests) ==================== [10:00:46] [PASSED] test_to_xe [10:00:46] [PASSED] test_to_dev [10:00:46] [PASSED] test_to_pdev [10:00:46] [PASSED] test_to_drm [10:00:46] [PASSED] test_if_pdev [10:00:46] [PASSED] test_if_xe [10:00:46] [PASSED] test_if_tile [10:00:46] [PASSED] test_if_gt [10:00:46] [PASSED] test_to_id [10:00:46] ===================== [PASSED] xe_any ====================== [10:00:46] ==================== args (13 subtests) ==================== [10:00:46] [PASSED] count_args_test [10:00:46] [PASSED] call_args_example [10:00:46] [PASSED] call_args_test [10:00:46] [PASSED] drop_first_arg_example [10:00:46] [PASSED] drop_first_arg_test [10:00:46] [PASSED] first_arg_example [10:00:46] [PASSED] first_arg_test [10:00:46] [PASSED] last_arg_example [10:00:46] [PASSED] last_arg_test [10:00:46] [PASSED] pick_arg_example [10:00:46] [PASSED] if_args_example [10:00:46] [PASSED] if_args_test [10:00:46] [PASSED] sep_comma_example [10:00:46] ====================== [PASSED] args ======================= [10:00:46] =================== xe_pci (3 subtests) ==================== [10:00:46] ==================== check_graphics_ip ==================== [10:00:46] [PASSED] 12.00 Xe_LP [10:00:46] [PASSED] 12.10 Xe_LP+ [10:00:46] [PASSED] 12.55 Xe_HPG [10:00:46] [PASSED] 12.60 Xe_HPC [10:00:46] [PASSED] 12.70 Xe_LPG [10:00:46] [PASSED] 12.71 Xe_LPG [10:00:46] [PASSED] 12.74 Xe_LPG+ [10:00:46] [PASSED] 20.01 Xe2_HPG [10:00:46] [PASSED] 20.02 Xe2_HPG [10:00:46] [PASSED] 20.04 Xe2_LPG [10:00:46] [PASSED] 30.00 Xe3_LPG [10:00:46] [PASSED] 30.01 Xe3_LPG [10:00:46] [PASSED] 30.03 Xe3_LPG [10:00:46] [PASSED] 30.04 Xe3_LPG [10:00:46] [PASSED] 30.05 Xe3_LPG [10:00:46] [PASSED] 35.10 Xe3p_LPG [10:00:46] [PASSED] 35.11 Xe3p_XPC [10:00:46] ================ [PASSED] check_graphics_ip ================ [10:00:46] ===================== check_media_ip ====================== [10:00:46] [PASSED] 12.00 Xe_M [10:00:46] [PASSED] 12.55 Xe_HPM [10:00:46] [PASSED] 13.00 Xe_LPM+ [10:00:46] [PASSED] 13.01 Xe2_HPM [10:00:46] [PASSED] 20.00 Xe2_LPM [10:00:46] [PASSED] 30.00 Xe3_LPM [10:00:46] [PASSED] 30.02 Xe3_LPM [10:00:46] [PASSED] 35.00 Xe3p_LPM [10:00:46] [PASSED] 35.03 Xe3p_HPM [10:00:46] ================= [PASSED] check_media_ip ================== [10:00:46] =================== check_platform_desc =================== [10:00:46] [PASSED] 0x9A60 (TIGERLAKE) [10:00:46] [PASSED] 0x9A68 (TIGERLAKE) [10:00:46] [PASSED] 0x9A70 (TIGERLAKE) [10:00:46] [PASSED] 0x9A40 (TIGERLAKE) [10:00:46] [PASSED] 0x9A49 (TIGERLAKE) [10:00:46] [PASSED] 0x9A59 (TIGERLAKE) [10:00:46] [PASSED] 0x9A78 (TIGERLAKE) [10:00:46] [PASSED] 0x9AC0 (TIGERLAKE) [10:00:46] [PASSED] 0x9AC9 (TIGERLAKE) [10:00:46] [PASSED] 0x9AD9 (TIGERLAKE) [10:00:46] [PASSED] 0x9AF8 (TIGERLAKE) [10:00:46] [PASSED] 0x4C80 (ROCKETLAKE) [10:00:46] [PASSED] 0x4C8A (ROCKETLAKE) [10:00:46] [PASSED] 0x4C8B (ROCKETLAKE) [10:00:46] [PASSED] 0x4C8C (ROCKETLAKE) [10:00:46] [PASSED] 0x4C90 (ROCKETLAKE) [10:00:46] [PASSED] 0x4C9A (ROCKETLAKE) [10:00:46] [PASSED] 0x4680 (ALDERLAKE_S) [10:00:46] [PASSED] 0x4682 (ALDERLAKE_S) [10:00:46] [PASSED] 0x4688 (ALDERLAKE_S) [10:00:46] [PASSED] 0x468A (ALDERLAKE_S) [10:00:46] [PASSED] 0x468B (ALDERLAKE_S) [10:00:46] [PASSED] 0x4690 (ALDERLAKE_S) [10:00:46] [PASSED] 0x4692 (ALDERLAKE_S) [10:00:46] [PASSED] 0x4693 (ALDERLAKE_S) [10:00:46] [PASSED] 0x46A0 (ALDERLAKE_P) [10:00:46] [PASSED] 0x46A1 (ALDERLAKE_P) [10:00:46] [PASSED] 0x46A2 (ALDERLAKE_P) [10:00:46] [PASSED] 0x46A3 (ALDERLAKE_P) [10:00:46] [PASSED] 0x46A6 (ALDERLAKE_P) [10:00:46] [PASSED] 0x46A8 (ALDERLAKE_P) [10:00:46] [PASSED] 0x46AA (ALDERLAKE_P) [10:00:46] [PASSED] 0x462A (ALDERLAKE_P) [10:00:46] [PASSED] 0x4626 (ALDERLAKE_P) [10:00:46] [PASSED] 0x4628 (ALDERLAKE_P) [10:00:46] [PASSED] 0x46B0 (ALDERLAKE_P) [10:00:46] [PASSED] 0x46B1 (ALDERLAKE_P) [10:00:46] [PASSED] 0x46B2 (ALDERLAKE_P) [10:00:46] [PASSED] 0x46B3 (ALDERLAKE_P) [10:00:46] [PASSED] 0x46C0 (ALDERLAKE_P) [10:00:46] [PASSED] 0x46C1 (ALDERLAKE_P) [10:00:46] [PASSED] 0x46C2 (ALDERLAKE_P) [10:00:46] [PASSED] 0x46C3 (ALDERLAKE_P) [10:00:46] [PASSED] 0x46D0 (ALDERLAKE_N) [10:00:46] [PASSED] 0x46D1 (ALDERLAKE_N) [10:00:46] [PASSED] 0x46D2 (ALDERLAKE_N) [10:00:46] [PASSED] 0x46D3 (ALDERLAKE_N) [10:00:46] [PASSED] 0x46D4 (ALDERLAKE_N) [10:00:46] [PASSED] 0xA721 (ALDERLAKE_P) [10:00:46] [PASSED] 0xA7A1 (ALDERLAKE_P) [10:00:46] [PASSED] 0xA7A9 (ALDERLAKE_P) [10:00:46] [PASSED] 0xA7AC (ALDERLAKE_P) [10:00:46] [PASSED] 0xA7AD (ALDERLAKE_P) [10:00:46] [PASSED] 0xA720 (ALDERLAKE_P) [10:00:46] [PASSED] 0xA7A0 (ALDERLAKE_P) [10:00:46] [PASSED] 0xA7A8 (ALDERLAKE_P) [10:00:46] [PASSED] 0xA7AA (ALDERLAKE_P) [10:00:46] [PASSED] 0xA7AB (ALDERLAKE_P) [10:00:46] [PASSED] 0xA780 (ALDERLAKE_S) [10:00:46] [PASSED] 0xA781 (ALDERLAKE_S) [10:00:46] [PASSED] 0xA782 (ALDERLAKE_S) [10:00:46] [PASSED] 0xA783 (ALDERLAKE_S) [10:00:46] [PASSED] 0xA788 (ALDERLAKE_S) [10:00:46] [PASSED] 0xA789 (ALDERLAKE_S) [10:00:46] [PASSED] 0xA78A (ALDERLAKE_S) [10:00:46] [PASSED] 0xA78B (ALDERLAKE_S) [10:00:46] [PASSED] 0x4905 (DG1) [10:00:46] [PASSED] 0x4906 (DG1) [10:00:46] [PASSED] 0x4907 (DG1) [10:00:46] [PASSED] 0x4908 (DG1) [10:00:46] [PASSED] 0x4909 (DG1) [10:00:46] [PASSED] 0x56C0 (DG2) [10:00:46] [PASSED] 0x56C2 (DG2) [10:00:46] [PASSED] 0x56C1 (DG2) [10:00:46] [PASSED] 0x7D51 (METEORLAKE) [10:00:46] [PASSED] 0x7DD1 (METEORLAKE) [10:00:46] [PASSED] 0x7D41 (METEORLAKE) [10:00:46] [PASSED] 0x7D67 (METEORLAKE) [10:00:46] [PASSED] 0xB640 (METEORLAKE) [10:00:46] [PASSED] 0x56A0 (DG2) [10:00:46] [PASSED] 0x56A1 (DG2) [10:00:46] [PASSED] 0x56A2 (DG2) [10:00:46] [PASSED] 0x56BE (DG2) [10:00:46] [PASSED] 0x56BF (DG2) [10:00:46] [PASSED] 0x5690 (DG2) [10:00:46] [PASSED] 0x5691 (DG2) [10:00:46] [PASSED] 0x5692 (DG2) [10:00:46] [PASSED] 0x56A5 (DG2) [10:00:46] [PASSED] 0x56A6 (DG2) [10:00:46] [PASSED] 0x56B0 (DG2) [10:00:46] [PASSED] 0x56B1 (DG2) [10:00:46] [PASSED] 0x56BA (DG2) [10:00:46] [PASSED] 0x56BB (DG2) [10:00:46] [PASSED] 0x56BC (DG2) [10:00:46] [PASSED] 0x56BD (DG2) [10:00:46] [PASSED] 0x5693 (DG2) [10:00:46] [PASSED] 0x5694 (DG2) [10:00:46] [PASSED] 0x5695 (DG2) [10:00:46] [PASSED] 0x56A3 (DG2) [10:00:46] [PASSED] 0x56A4 (DG2) [10:00:46] [PASSED] 0x56B2 (DG2) [10:00:46] [PASSED] 0x56B3 (DG2) [10:00:46] [PASSED] 0x5696 (DG2) [10:00:46] [PASSED] 0x5697 (DG2) [10:00:46] [PASSED] 0xB69 (PVC) [10:00:46] [PASSED] 0xB6E (PVC) [10:00:46] [PASSED] 0xBD4 (PVC) [10:00:46] [PASSED] 0xBD5 (PVC) [10:00:46] [PASSED] 0xBD6 (PVC) [10:00:46] [PASSED] 0xBD7 (PVC) [10:00:46] [PASSED] 0xBD8 (PVC) [10:00:46] [PASSED] 0xBD9 (PVC) [10:00:46] [PASSED] 0xBDA (PVC) [10:00:46] [PASSED] 0xBDB (PVC) [10:00:46] [PASSED] 0xBE0 (PVC) [10:00:46] [PASSED] 0xBE1 (PVC) [10:00:46] [PASSED] 0xBE5 (PVC) [10:00:46] [PASSED] 0x7D40 (METEORLAKE) [10:00:46] [PASSED] 0x7D45 (METEORLAKE) [10:00:46] [PASSED] 0x7D55 (METEORLAKE) [10:00:46] [PASSED] 0x7D60 (METEORLAKE) [10:00:46] [PASSED] 0x7DD5 (METEORLAKE) [10:00:46] [PASSED] 0x6420 (LUNARLAKE) [10:00:46] [PASSED] 0x64A0 (LUNARLAKE) [10:00:46] [PASSED] 0x64B0 (LUNARLAKE) [10:00:46] [PASSED] 0xE202 (BATTLEMAGE) [10:00:46] [PASSED] 0xE209 (BATTLEMAGE) [10:00:46] [PASSED] 0xE20B (BATTLEMAGE) [10:00:46] [PASSED] 0xE20C (BATTLEMAGE) [10:00:46] [PASSED] 0xE20D (BATTLEMAGE) [10:00:46] [PASSED] 0xE210 (BATTLEMAGE) [10:00:46] [PASSED] 0xE211 (BATTLEMAGE) [10:00:46] [PASSED] 0xE212 (BATTLEMAGE) [10:00:46] [PASSED] 0xE216 (BATTLEMAGE) [10:00:46] [PASSED] 0xE220 (BATTLEMAGE) [10:00:46] [PASSED] 0xE221 (BATTLEMAGE) [10:00:46] [PASSED] 0xE222 (BATTLEMAGE) [10:00:46] [PASSED] 0xE223 (BATTLEMAGE) [10:00:46] [PASSED] 0xB080 (PANTHERLAKE) [10:00:46] [PASSED] 0xB081 (PANTHERLAKE) [10:00:46] [PASSED] 0xB082 (PANTHERLAKE) [10:00:46] [PASSED] 0xB083 (PANTHERLAKE) [10:00:46] [PASSED] 0xB084 (PANTHERLAKE) [10:00:46] [PASSED] 0xB085 (PANTHERLAKE) [10:00:46] [PASSED] 0xB086 (PANTHERLAKE) [10:00:46] [PASSED] 0xB087 (PANTHERLAKE) [10:00:46] [PASSED] 0xB08F (PANTHERLAKE) [10:00:46] [PASSED] 0xB090 (PANTHERLAKE) [10:00:46] [PASSED] 0xB0A0 (PANTHERLAKE) [10:00:46] [PASSED] 0xB0B0 (PANTHERLAKE) [10:00:46] [PASSED] 0xFD80 (PANTHERLAKE) [10:00:46] [PASSED] 0xFD81 (PANTHERLAKE) [10:00:46] [PASSED] 0xD740 (NOVALAKE_S) [10:00:46] [PASSED] 0xD741 (NOVALAKE_S) [10:00:46] [PASSED] 0xD742 (NOVALAKE_S) [10:00:46] [PASSED] 0xD743 (NOVALAKE_S) [10:00:46] [PASSED] 0xD745 (NOVALAKE_S) [10:00:46] [PASSED] 0xD74A (NOVALAKE_S) [10:00:46] [PASSED] 0xD74B (NOVALAKE_S) [10:00:46] [PASSED] 0x674C (CRESCENTISLAND) [10:00:46] [PASSED] 0x674D (CRESCENTISLAND) [10:00:46] [PASSED] 0x674E (CRESCENTISLAND) [10:00:46] [PASSED] 0x674F (CRESCENTISLAND) [10:00:46] [PASSED] 0x6750 (CRESCENTISLAND) [10:00:46] [PASSED] 0xD750 (NOVALAKE_P) [10:00:46] [PASSED] 0xD751 (NOVALAKE_P) [10:00:46] [PASSED] 0xD752 (NOVALAKE_P) [10:00:46] [PASSED] 0xD753 (NOVALAKE_P) [10:00:46] [PASSED] 0xD754 (NOVALAKE_P) [10:00:46] [PASSED] 0xD755 (NOVALAKE_P) [10:00:46] [PASSED] 0xD756 (NOVALAKE_P) [10:00:46] [PASSED] 0xD757 (NOVALAKE_P) [10:00:46] [PASSED] 0xD75F (NOVALAKE_P) [10:00:46] =============== [PASSED] check_platform_desc =============== [10:00:46] ===================== [PASSED] xe_pci ====================== [10:00:46] ============= xe_rtp_tables_test (5 subtests) ============== [10:00:46] ================== xe_rtp_table_gt_test =================== [10:00:46] [PASSED] gt_was/14011060649 [10:00:46] [PASSED] gt_was/14011059788 [10:00:46] [PASSED] gt_was/14015795083 [10:00:46] [PASSED] gt_was/16021867713 [10:00:46] [PASSED] gt_was/14019449301 [10:00:46] [PASSED] gt_was/16028005424 [10:00:46] [PASSED] gt_was/14026578760 [10:00:46] [PASSED] gt_was/1409420604 [10:00:46] [PASSED] gt_was/1408615072 [10:00:46] [PASSED] gt_was/22010523718 [10:00:46] [PASSED] gt_was/14011006942 [10:00:46] [PASSED] gt_was/14014830051 [10:00:46] [PASSED] gt_was/18018781329 [10:00:46] [PASSED] gt_was/1509235366 [10:00:46] [PASSED] gt_was/18018781329 [10:00:46] [PASSED] gt_was/16016694945 [10:00:46] [PASSED] gt_was/14018575942 [10:00:46] [PASSED] gt_was/22016670082 [10:00:46] [PASSED] gt_was/22016670082 [10:00:46] [PASSED] gt_was/14017421178 [10:00:46] [PASSED] gt_was/16025250150 [10:00:46] [PASSED] gt_was/14021871409 [10:00:46] [PASSED] gt_was/16021865536 [10:00:46] [PASSED] gt_was/14021486841 [10:00:46] [PASSED] gt_was/14025160223 [10:00:46] [PASSED] gt_was/14026144927, 16029437861, 14026127056 [10:00:46] [PASSED] gt_was/14025635424 [10:00:46] [PASSED] gt_was/16028005424 [10:00:46] ============== [PASSED] xe_rtp_table_gt_test =============== [10:00:46] ================== xe_rtp_table_gt_test =================== [10:00:46] [PASSED] gt_tunings/Tuning: Blend Fill Caching Optimization Disable [10:00:46] [PASSED] gt_tunings/Tuning: 32B Access Enable [10:00:46] [PASSED] gt_tunings/Tuning: L3 cache [10:00:46] [PASSED] gt_tunings/Tuning: L3 cache - media [10:00:46] [PASSED] gt_tunings/Tuning: Compression Overfetch [10:00:46] [PASSED] gt_tunings/Tuning: Compression Overfetch - media [10:00:46] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 [10:00:46] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 - media [10:00:46] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only [10:00:46] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only - media [10:00:46] [PASSED] gt_tunings/Tuning: Stateless compression control [10:00:46] [PASSED] gt_tunings/Tuning: Stateless compression control - media [10:00:46] [PASSED] gt_tunings/Tuning: L3 RW flush all Cache [10:00:46] [PASSED] gt_tunings/Tuning: L3 RW flush all cache - media [10:00:46] [PASSED] gt_tunings/Tuning: Set STLB Bank Hash Mode to 4KB [10:00:46] ============== [PASSED] xe_rtp_table_gt_test =============== [10:00:46] ================== xe_rtp_table_oob_test ================== [10:00:46] [PASSED] oob_was/1607983814 [10:00:46] [PASSED] oob_was/16010904313 [10:00:46] [PASSED] oob_was/18022495364 [10:00:46] [PASSED] oob_was/22012773006 [10:00:46] [PASSED] oob_was/14014475959 [10:00:46] [PASSED] oob_was/22011391025 [10:00:46] [PASSED] oob_was/22012727170 [10:00:46] [PASSED] oob_was/22012727685 [10:00:46] [PASSED] oob_was/22016596838 [10:00:46] [PASSED] oob_was/18020744125 [10:00:46] [PASSED] oob_was/1409600907 [10:00:46] [PASSED] oob_was/22014953428 [10:00:46] [PASSED] oob_was/16017236439 [10:00:46] [PASSED] oob_was/14019821291 [10:00:46] [PASSED] oob_was/14015076503 [10:00:46] [PASSED] oob_was/14018913170 [10:00:46] [PASSED] oob_was/14018094691 [10:00:46] [PASSED] oob_was/18024947630 [10:00:46] [PASSED] oob_was/16022287689 [10:00:46] [PASSED] oob_was/13011645652 [10:00:46] [PASSED] oob_was/14022293748 [10:00:46] [PASSED] oob_was/22019794406 [10:00:46] [PASSED] oob_was/22019338487 [10:00:46] [PASSED] oob_was/16023588340 [10:00:46] [PASSED] oob_was/14019789679 [10:00:46] [PASSED] oob_was/14022866841 [10:00:46] [PASSED] oob_was/16021333562 [10:00:46] [PASSED] oob_was/14016712196 [10:00:46] [PASSED] oob_was/14015568240 [10:00:46] [PASSED] oob_was/18013179988 [10:00:46] [PASSED] oob_was/1508761755 [10:00:46] [PASSED] oob_was/16023105232 [10:00:46] [PASSED] oob_was/16026508708 [10:00:46] [PASSED] oob_was/14020001231 [10:00:46] [PASSED] oob_was/16023683509 [10:00:46] [PASSED] oob_was/14025515070 [10:00:46] [PASSED] oob_was/15015404425_disable [10:00:46] [PASSED] oob_was/16026007364 [10:00:46] [PASSED] oob_was/14020316580 [10:00:46] [PASSED] oob_was/14025883347 [10:00:46] [PASSED] oob_was/16029380221 [10:00:46] [PASSED] oob_was/22022079272 [10:00:46] [PASSED] oob_was/16029897822 [10:00:46] [PASSED] oob_was/14027054324 [10:00:46] ============== [PASSED] xe_rtp_table_oob_test ============== [10:00:46] ================ xe_rtp_table_dev_oob_test ================ [10:00:46] [PASSED] device_oob_was/22010954014 [10:00:46] [PASSED] device_oob_was/15015404425 [10:00:46] [PASSED] device_oob_was/22019338487_display [10:00:46] [PASSED] device_oob_was/14022085890 [10:00:46] [PASSED] device_oob_was/14026539277 [10:00:46] [PASSED] device_oob_was/14026633728 [10:00:46] [PASSED] device_oob_was/14026746987 [10:00:46] [PASSED] device_oob_was/14026779378 [10:00:46] ============ [PASSED] xe_rtp_table_dev_oob_test ============ [10:00:46] ========== xe_rtp_table_missing_upper_bound_test ========== [10:00:46] [PASSED] register_whitelist/WaAllowPMDepthAndInvocationCountAccessFromUMD, 1408556865 [10:00:46] [PASSED] register_whitelist/1508744258, 14012131227, 1808121037 [10:00:46] [PASSED] register_whitelist/1806527549 [10:00:46] [PASSED] register_whitelist/allow_read_ctx_timestamp [10:00:46] [PASSED] register_whitelist/allow_read_queue_timestamp [10:00:46] [PASSED] register_whitelist/16014440446 [10:00:46] [PASSED] register_whitelist/16017236439 [10:00:46] [PASSED] register_whitelist/16020183090 [10:00:46] [PASSED] register_whitelist/14024997852 [10:00:46] [PASSED] register_whitelist/14024997852 [10:00:46] ====== [PASSED] xe_rtp_table_missing_upper_bound_test ====== [10:00:46] =============== [PASSED] xe_rtp_tables_test ================ [10:00:46] =================== xe_rtp (3 subtests) ==================== [10:00:46] =================== xe_rtp_rules_tests ==================== [10:00:46] [PASSED] no [10:00:46] [PASSED] yes [10:00:46] [PASSED] no-and-no [10:00:46] [PASSED] no-and-yes [10:00:46] [PASSED] yes-and-no [10:00:46] [PASSED] yes-and-yes [10:00:46] [PASSED] no-or-no [10:00:46] [PASSED] no-or-yes [10:00:46] [PASSED] yes-or-no [10:00:46] [PASSED] yes-or-yes [10:00:46] [PASSED] no-yes-or-yes-no [10:00:46] [PASSED] no-yes-or-yes-yes [10:00:46] [PASSED] yes-yes-or-no-yes [10:00:46] [PASSED] yes-yes-or-yes-yes [10:00:46] [PASSED] no-no-or-yes-or-no [10:00:46] [PASSED] or [10:00:46] [PASSED] or-yes [10:00:46] [PASSED] or-no [10:00:46] [PASSED] yes-or [10:00:46] [PASSED] no-or [10:00:46] [PASSED] no-or-or-yes [10:00:46] [PASSED] yes-or-or-no [10:00:46] [PASSED] no-or-or-no [10:00:46] [PASSED] missing-context-engine-class [10:00:46] [PASSED] missing-context-engine-class-or-yes [10:00:46] [PASSED] missing-context-engine-class-or-or-yes [10:00:46] =============== [PASSED] xe_rtp_rules_tests ================ [10:00:46] =============== xe_rtp_process_to_sr_tests ================ [10:00:46] [PASSED] coalesce-same-reg [10:00:46] [PASSED] coalesce-same-reg-literal-and-func [10:00:46] [PASSED] no-match-no-add [10:00:46] [PASSED] two-regs-two-entries [10:00:46] [PASSED] clr-one-set-other [10:00:46] [PASSED] set-field [10:00:46] [PASSED] conflict-duplicate [10:00:46] [PASSED] conflict-not-disjoint [10:00:46] [PASSED] conflict-not-disjoint-literal-and-func [10:00:46] [PASSED] conflict-reg-type [10:00:46] [PASSED] bad-mcr-reg-forced-to-regular [10:00:46] [PASSED] bad-regular-reg-forced-to-mcr [10:00:46] =========== [PASSED] xe_rtp_process_to_sr_tests ============ [10:00:46] ================== xe_rtp_process_tests =================== [10:00:46] [PASSED] active1 [10:00:46] [PASSED] active2 [10:00:46] [PASSED] active-inactive [10:00:46] [PASSED] inactive-active [10:00:46] [PASSED] inactive-active-inactive [10:00:46] [PASSED] inactive-inactive-inactive [10:00:46] ============== [PASSED] xe_rtp_process_tests =============== [10:00:46] ===================== [PASSED] xe_rtp ====================== [10:00:46] ==================== xe_wa (1 subtest) ===================== [10:00:46] ======================== xe_wa_gt ========================= [10:00:46] [PASSED] TIGERLAKE B0 [10:00:46] [PASSED] DG1 A0 [10:00:46] [PASSED] DG1 B0 [10:00:46] [PASSED] ALDERLAKE_S A0 [10:00:46] [PASSED] ALDERLAKE_S B0 [10:00:46] [PASSED] ALDERLAKE_S C0 [10:00:46] [PASSED] ALDERLAKE_S D0 [10:00:46] [PASSED] ALDERLAKE_P A0 [10:00:46] [PASSED] ALDERLAKE_P B0 [10:00:46] [PASSED] ALDERLAKE_P C0 [10:00:46] [PASSED] ALDERLAKE_S RPLS D0 [10:00:46] [PASSED] ALDERLAKE_P RPLU E0 [10:00:46] [PASSED] DG2 G10 C0 [10:00:46] [PASSED] DG2 G11 B1 [10:00:46] [PASSED] DG2 G12 A1 [10:00:46] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0 [10:00:46] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0 [10:00:46] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0 [10:00:46] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0 [10:00:46] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0 [10:00:46] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1 [10:00:46] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0 [10:00:46] ==================== [PASSED] xe_wa_gt ===================== [10:00:46] ====================== [PASSED] xe_wa ====================== [10:00:46] ============================================================ [10:00:46] Testing complete. Ran 793 tests: passed: 765, skipped: 28 [10:00:46] Elapsed time: 36.803s total, 1.829s configuring, 34.209s building, 0.717s running
+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/drm/tests/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig [10:00:46] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [10:00:48] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [10:01:13] Starting KUnit Kernel (1/1)... [10:01:13] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [10:01:13] ============= refcount_interrupt (4 subtests) ============== [10:01:13] [PASSED] test_single_irq_change [10:01:13] [PASSED] test_nested_irq_change [10:01:13] [PASSED] test_multiple_irq_change [10:01:13] [PASSED] test_irq_save [10:01:13] =============== [PASSED] refcount_interrupt ================ [10:01:13] ============ drm_test_pick_cmdline (2 subtests) ============ [10:01:13] [PASSED] drm_test_pick_cmdline_res_1920_1080_60 [10:01:13] =============== drm_test_pick_cmdline_named =============== [10:01:13] [PASSED] NTSC [10:01:13] [PASSED] NTSC-J [10:01:13] [PASSED] PAL [10:01:13] [PASSED] PAL-M [10:01:13] =========== [PASSED] drm_test_pick_cmdline_named =========== [10:01:13] ============== [PASSED] drm_test_pick_cmdline ============== [10:01:13] == drm_test_atomic_get_connector_for_encoder (1 subtest) === [10:01:13] [PASSED] drm_test_drm_atomic_get_connector_for_encoder [10:01:13] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ==== [10:01:13] =========== drm_validate_clone_mode (2 subtests) =========== [10:01:13] ============== drm_test_check_in_clone_mode =============== [10:01:13] [PASSED] in_clone_mode [10:01:13] [PASSED] not_in_clone_mode [10:01:13] ========== [PASSED] drm_test_check_in_clone_mode =========== [10:01:13] =============== drm_test_check_valid_clones =============== [10:01:13] [PASSED] not_in_clone_mode [10:01:13] [PASSED] valid_clone [10:01:13] [PASSED] invalid_clone [10:01:13] =========== [PASSED] drm_test_check_valid_clones =========== [10:01:13] ============= [PASSED] drm_validate_clone_mode ============= [10:01:13] ============= drm_validate_modeset (1 subtest) ============= [10:01:13] [PASSED] drm_test_check_connector_changed_modeset [10:01:13] ============== [PASSED] drm_validate_modeset =============== [10:01:13] ====== drm_test_bridge_get_current_state (1 subtest) ======= [10:01:13] [PASSED] drm_test_drm_bridge_get_current_state_atomic [10:01:13] ======== [PASSED] drm_test_bridge_get_current_state ======== [10:01:13] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ====== [10:01:13] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic [10:01:13] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled [10:01:13] [PASSED] drm_test_drm_bridge_helper_hdmi_output_bus_fmts [10:01:13] ======== [PASSED] drm_test_bridge_helper_reset_crtc ======== [10:01:13] ============== drm_bridge_alloc (2 subtests) =============== [10:01:13] [PASSED] drm_test_drm_bridge_alloc_basic [10:01:13] [PASSED] drm_test_drm_bridge_alloc_get_put [10:01:13] ================ [PASSED] drm_bridge_alloc ================= [10:01:13] ============= drm_bridge_bus_fmt (5 subtests) ============== [10:01:13] [PASSED] drm_test_bridge_rgb_yuv_rgb [10:01:13] [PASSED] drm_test_bridge_must_convert_to_yuv444 [10:01:13] [PASSED] drm_test_bridge_hdmi_auto_rgb [10:01:13] [PASSED] drm_test_bridge_auto_first [10:01:13] [PASSED] drm_test_bridge_rgb_yuv_no_path [10:01:13] =============== [PASSED] drm_bridge_bus_fmt ================ [10:01:13] ============= drm_cmdline_parser (40 subtests) ============= [10:01:13] [PASSED] drm_test_cmdline_force_d_only [10:01:13] [PASSED] drm_test_cmdline_force_D_only_dvi [10:01:13] [PASSED] drm_test_cmdline_force_D_only_hdmi [10:01:13] [PASSED] drm_test_cmdline_force_D_only_not_digital [10:01:13] [PASSED] drm_test_cmdline_force_e_only [10:01:13] [PASSED] drm_test_cmdline_res [10:01:13] [PASSED] drm_test_cmdline_res_vesa [10:01:13] [PASSED] drm_test_cmdline_res_vesa_rblank [10:01:13] [PASSED] drm_test_cmdline_res_rblank [10:01:13] [PASSED] drm_test_cmdline_res_bpp [10:01:13] [PASSED] drm_test_cmdline_res_refresh [10:01:13] [PASSED] drm_test_cmdline_res_bpp_refresh [10:01:13] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced [10:01:13] [PASSED] drm_test_cmdline_res_bpp_refresh_margins [10:01:13] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off [10:01:13] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on [10:01:13] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog [10:01:13] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital [10:01:13] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on [10:01:13] [PASSED] drm_test_cmdline_res_margins_force_on [10:01:13] [PASSED] drm_test_cmdline_res_vesa_margins [10:01:13] [PASSED] drm_test_cmdline_name [10:01:13] [PASSED] drm_test_cmdline_name_bpp [10:01:13] [PASSED] drm_test_cmdline_name_option [10:01:13] [PASSED] drm_test_cmdline_name_bpp_option [10:01:13] [PASSED] drm_test_cmdline_rotate_0 [10:01:13] [PASSED] drm_test_cmdline_rotate_90 [10:01:13] [PASSED] drm_test_cmdline_rotate_180 [10:01:13] [PASSED] drm_test_cmdline_rotate_270 [10:01:13] [PASSED] drm_test_cmdline_hmirror [10:01:13] [PASSED] drm_test_cmdline_vmirror [10:01:13] [PASSED] drm_test_cmdline_margin_options [10:01:13] [PASSED] drm_test_cmdline_multiple_options [10:01:13] [PASSED] drm_test_cmdline_bpp_extra_and_option [10:01:13] [PASSED] drm_test_cmdline_extra_and_option [10:01:13] [PASSED] drm_test_cmdline_freestanding_options [10:01:13] [PASSED] drm_test_cmdline_freestanding_force_e_and_options [10:01:13] [PASSED] drm_test_cmdline_panel_orientation [10:01:13] ================ drm_test_cmdline_invalid ================= [10:01:13] [PASSED] margin_only [10:01:13] [PASSED] interlace_only [10:01:13] [PASSED] res_missing_x [10:01:13] [PASSED] res_missing_y [10:01:13] [PASSED] res_bad_y [10:01:13] [PASSED] res_missing_y_bpp [10:01:13] [PASSED] res_bad_bpp [10:01:13] [PASSED] res_bad_refresh [10:01:13] [PASSED] res_bpp_refresh_force_on_off [10:01:13] [PASSED] res_invalid_mode [10:01:13] [PASSED] res_bpp_wrong_place_mode [10:01:13] [PASSED] name_bpp_refresh [10:01:13] [PASSED] name_refresh [10:01:13] [PASSED] name_refresh_wrong_mode [10:01:13] [PASSED] name_refresh_invalid_mode [10:01:13] [PASSED] rotate_multiple [10:01:13] [PASSED] rotate_invalid_val [10:01:13] [PASSED] rotate_truncated [10:01:13] [PASSED] invalid_option [10:01:13] [PASSED] invalid_tv_option [10:01:13] [PASSED] truncated_tv_option [10:01:13] ============ [PASSED] drm_test_cmdline_invalid ============= [10:01:13] =============== drm_test_cmdline_tv_options =============== [10:01:13] [PASSED] NTSC [10:01:13] [PASSED] NTSC_443 [10:01:13] [PASSED] NTSC_J [10:01:13] [PASSED] PAL [10:01:13] [PASSED] PAL_M [10:01:13] [PASSED] PAL_N [10:01:13] [PASSED] SECAM [10:01:13] [PASSED] MONO_525 [10:01:13] [PASSED] MONO_625 [10:01:13] =========== [PASSED] drm_test_cmdline_tv_options =========== [10:01:13] =============== [PASSED] drm_cmdline_parser ================ [10:01:13] ========== drmm_connector_hdmi_init (20 subtests) ========== [10:01:13] [PASSED] drm_test_connector_hdmi_init_valid [10:01:13] [PASSED] drm_test_connector_hdmi_init_bpc_8 [10:01:13] [PASSED] drm_test_connector_hdmi_init_bpc_10 [10:01:13] [PASSED] drm_test_connector_hdmi_init_bpc_12 [10:01:13] [PASSED] drm_test_connector_hdmi_init_bpc_invalid [10:01:13] [PASSED] drm_test_connector_hdmi_init_bpc_null [10:01:13] [PASSED] drm_test_connector_hdmi_init_formats_empty [10:01:13] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb [10:01:13] === drm_test_connector_hdmi_init_formats_yuv420_allowed === [10:01:13] [PASSED] supported_formats=0x9 yuv420_allowed=1 [10:01:13] [PASSED] supported_formats=0x9 yuv420_allowed=0 [10:01:13] [PASSED] supported_formats=0x5 yuv420_allowed=1 [10:01:13] [PASSED] supported_formats=0x5 yuv420_allowed=0 [10:01:13] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed === [10:01:13] [PASSED] drm_test_connector_hdmi_init_null_ddc [10:01:13] [PASSED] drm_test_connector_hdmi_init_null_product [10:01:13] [PASSED] drm_test_connector_hdmi_init_null_vendor [10:01:13] [PASSED] drm_test_connector_hdmi_init_product_length_exact [10:01:13] [PASSED] drm_test_connector_hdmi_init_product_length_too_long [10:01:13] [PASSED] drm_test_connector_hdmi_init_product_valid [10:01:13] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact [10:01:13] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long [10:01:13] [PASSED] drm_test_connector_hdmi_init_vendor_valid [10:01:13] ========= drm_test_connector_hdmi_init_type_valid ========= [10:01:13] [PASSED] HDMI-A [10:01:13] [PASSED] HDMI-B [10:01:13] ===== [PASSED] drm_test_connector_hdmi_init_type_valid ===== [10:01:13] ======== drm_test_connector_hdmi_init_type_invalid ======== [10:01:13] [PASSED] Unknown [10:01:13] [PASSED] VGA [10:01:13] [PASSED] DVI-I [10:01:13] [PASSED] DVI-D [10:01:13] [PASSED] DVI-A [10:01:13] [PASSED] Composite [10:01:13] [PASSED] SVIDEO [10:01:13] [PASSED] LVDS [10:01:13] [PASSED] Component [10:01:13] [PASSED] DIN [10:01:13] [PASSED] DP [10:01:13] [PASSED] TV [10:01:13] [PASSED] eDP [10:01:13] [PASSED] Virtual [10:01:13] [PASSED] DSI [10:01:13] [PASSED] DPI [10:01:13] [PASSED] Writeback [10:01:13] [PASSED] SPI [10:01:13] [PASSED] USB [10:01:13] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ==== [10:01:13] ============ [PASSED] drmm_connector_hdmi_init ============= [10:01:13] ============= drmm_connector_init (3 subtests) ============= [10:01:13] [PASSED] drm_test_drmm_connector_init [10:01:13] [PASSED] drm_test_drmm_connector_init_null_ddc [10:01:13] ========= drm_test_drmm_connector_init_type_valid ========= [10:01:13] [PASSED] Unknown [10:01:13] [PASSED] VGA [10:01:13] [PASSED] DVI-I [10:01:13] [PASSED] DVI-D [10:01:13] [PASSED] DVI-A [10:01:13] [PASSED] Composite [10:01:13] [PASSED] SVIDEO [10:01:13] [PASSED] LVDS [10:01:13] [PASSED] Component [10:01:13] [PASSED] DIN [10:01:13] [PASSED] DP [10:01:13] [PASSED] HDMI-A [10:01:13] [PASSED] HDMI-B [10:01:13] [PASSED] TV [10:01:13] [PASSED] eDP [10:01:13] [PASSED] Virtual [10:01:13] [PASSED] DSI [10:01:13] [PASSED] DPI [10:01:13] [PASSED] Writeback [10:01:13] [PASSED] SPI [10:01:13] [PASSED] USB [10:01:13] ===== [PASSED] drm_test_drmm_connector_init_type_valid ===== [10:01:13] =============== [PASSED] drmm_connector_init =============== [10:01:13] ========= drm_connector_dynamic_init (6 subtests) ========== [10:01:13] [PASSED] drm_test_drm_connector_dynamic_init [10:01:13] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc [10:01:13] [PASSED] drm_test_drm_connector_dynamic_init_not_added [10:01:13] [PASSED] drm_test_drm_connector_dynamic_init_properties [10:01:13] ===== drm_test_drm_connector_dynamic_init_type_valid ====== [10:01:13] [PASSED] Unknown [10:01:13] [PASSED] VGA [10:01:13] [PASSED] DVI-I [10:01:13] [PASSED] DVI-D [10:01:13] [PASSED] DVI-A [10:01:13] [PASSED] Composite [10:01:13] [PASSED] SVIDEO [10:01:13] [PASSED] LVDS [10:01:13] [PASSED] Component [10:01:13] [PASSED] DIN [10:01:13] [PASSED] DP [10:01:13] [PASSED] HDMI-A [10:01:13] [PASSED] HDMI-B [10:01:13] [PASSED] TV [10:01:13] [PASSED] eDP [10:01:13] [PASSED] Virtual [10:01:13] [PASSED] DSI [10:01:13] [PASSED] DPI [10:01:13] [PASSED] Writeback [10:01:13] [PASSED] SPI [10:01:13] [PASSED] USB [10:01:13] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid == [10:01:13] ======== drm_test_drm_connector_dynamic_init_name ========= [10:01:13] [PASSED] Unknown [10:01:13] [PASSED] VGA [10:01:13] [PASSED] DVI-I [10:01:13] [PASSED] DVI-D [10:01:13] [PASSED] DVI-A [10:01:13] [PASSED] Composite [10:01:13] [PASSED] SVIDEO [10:01:13] [PASSED] LVDS [10:01:13] [PASSED] Component [10:01:13] [PASSED] DIN [10:01:13] [PASSED] DP [10:01:13] [PASSED] HDMI-A [10:01:13] [PASSED] HDMI-B [10:01:13] [PASSED] TV [10:01:13] [PASSED] eDP [10:01:13] [PASSED] Virtual [10:01:13] [PASSED] DSI [10:01:13] [PASSED] DPI [10:01:13] [PASSED] Writeback [10:01:13] [PASSED] SPI [10:01:13] [PASSED] USB [10:01:13] ==== [PASSED] drm_test_drm_connector_dynamic_init_name ===== [10:01:13] =========== [PASSED] drm_connector_dynamic_init ============ [10:01:13] ==== drm_connector_dynamic_register_early (4 subtests) ===== [10:01:13] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list [10:01:13] [PASSED] drm_test_drm_connector_dynamic_register_early_defer [10:01:13] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init [10:01:13] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object [10:01:13] ====== [PASSED] drm_connector_dynamic_register_early ======= [10:01:13] ======= drm_connector_dynamic_register (7 subtests) ======== [10:01:13] [PASSED] drm_test_drm_connector_dynamic_register_on_list [10:01:13] [PASSED] drm_test_drm_connector_dynamic_register_no_defer [10:01:13] [PASSED] drm_test_drm_connector_dynamic_register_no_init [10:01:13] [PASSED] drm_test_drm_connector_dynamic_register_mode_object [10:01:13] [PASSED] drm_test_drm_connector_dynamic_register_sysfs [10:01:13] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name [10:01:13] [PASSED] drm_test_drm_connector_dynamic_register_debugfs [10:01:13] ========= [PASSED] drm_connector_dynamic_register ========== [10:01:13] = drm_connector_attach_broadcast_rgb_property (2 subtests) = [10:01:13] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property [10:01:13] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector [10:01:13] === [PASSED] drm_connector_attach_broadcast_rgb_property === [10:01:13] ========== drm_get_tv_mode_from_name (2 subtests) ========== [10:01:13] ========== drm_test_get_tv_mode_from_name_valid =========== [10:01:13] [PASSED] NTSC [10:01:13] [PASSED] NTSC-443 [10:01:13] [PASSED] NTSC-J [10:01:13] [PASSED] PAL [10:01:13] [PASSED] PAL-M [10:01:13] [PASSED] PAL-N [10:01:13] [PASSED] SECAM [10:01:13] [PASSED] Mono [10:01:13] ====== [PASSED] drm_test_get_tv_mode_from_name_valid ======= [10:01:13] [PASSED] drm_test_get_tv_mode_from_name_truncated [10:01:13] ============ [PASSED] drm_get_tv_mode_from_name ============ [10:01:13] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) = [10:01:13] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb [10:01:13] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc [10:01:13] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1 [10:01:13] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc [10:01:13] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1 [10:01:13] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double [10:01:13] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid = [10:01:13] [PASSED] VIC 96 [10:01:13] [PASSED] VIC 97 [10:01:13] [PASSED] VIC 101 [10:01:13] [PASSED] VIC 102 [10:01:13] [PASSED] VIC 106 [10:01:13] [PASSED] VIC 107 [10:01:13] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid === [10:01:13] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc [10:01:13] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc [10:01:13] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc [10:01:13] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc [10:01:13] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc [10:01:13] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ==== [10:01:13] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) == [10:01:13] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ==== [10:01:13] [PASSED] Automatic [10:01:13] [PASSED] Full [10:01:13] [PASSED] Limited 16:235 [10:01:13] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name === [10:01:13] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid [10:01:13] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ==== [10:01:13] == drm_hdmi_connector_get_output_format_name (2 subtests) == [10:01:13] === drm_test_drm_hdmi_connector_get_output_format_name ==== [10:01:13] [PASSED] RGB [10:01:13] [PASSED] YUV 4:2:0 [10:01:13] [PASSED] YUV 4:2:2 [10:01:13] [PASSED] YUV 4:4:4 [10:01:13] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name === [10:01:13] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid [10:01:13] ==== [PASSED] drm_hdmi_connector_get_output_format_name ==== [10:01:13] ============= drm_damage_helper (21 subtests) ============== [10:01:13] [PASSED] drm_test_damage_iter_no_damage [10:01:13] [PASSED] drm_test_damage_iter_no_damage_fractional_src [10:01:13] [PASSED] drm_test_damage_iter_no_damage_src_moved [10:01:13] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved [10:01:13] [PASSED] drm_test_damage_iter_no_damage_not_visible [10:01:13] [PASSED] drm_test_damage_iter_no_damage_no_crtc [10:01:13] [PASSED] drm_test_damage_iter_no_damage_no_fb [10:01:13] [PASSED] drm_test_damage_iter_simple_damage [10:01:13] [PASSED] drm_test_damage_iter_single_damage [10:01:13] [PASSED] drm_test_damage_iter_single_damage_intersect_src [10:01:13] [PASSED] drm_test_damage_iter_single_damage_outside_src [10:01:13] [PASSED] drm_test_damage_iter_single_damage_fractional_src [10:01:13] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src [10:01:13] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src [10:01:13] [PASSED] drm_test_damage_iter_single_damage_src_moved [10:01:13] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved [10:01:13] [PASSED] drm_test_damage_iter_damage [10:01:13] [PASSED] drm_test_damage_iter_damage_one_intersect [10:01:13] [PASSED] drm_test_damage_iter_damage_one_outside [10:01:13] [PASSED] drm_test_damage_iter_damage_src_moved [10:01:13] [PASSED] drm_test_damage_iter_damage_not_visible [10:01:13] ================ [PASSED] drm_damage_helper ================ [10:01:13] ============== drm_dp_mst_helper (3 subtests) ============== [10:01:13] ============== drm_test_dp_mst_calc_pbn_mode ============== [10:01:13] [PASSED] Clock 154000 BPP 30 DSC disabled [10:01:13] [PASSED] Clock 234000 BPP 30 DSC disabled [10:01:13] [PASSED] Clock 297000 BPP 24 DSC disabled [10:01:13] [PASSED] Clock 332880 BPP 24 DSC enabled [10:01:13] [PASSED] Clock 324540 BPP 24 DSC enabled [10:01:13] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ========== [10:01:13] ============== drm_test_dp_mst_calc_pbn_div =============== [10:01:13] [PASSED] Link rate 2000000 lane count 4 [10:01:13] [PASSED] Link rate 2000000 lane count 2 [10:01:13] [PASSED] Link rate 2000000 lane count 1 [10:01:13] [PASSED] Link rate 1350000 lane count 4 [10:01:13] [PASSED] Link rate 1350000 lane count 2 [10:01:13] [PASSED] Link rate 1350000 lane count 1 [10:01:13] [PASSED] Link rate 1000000 lane count 4 [10:01:13] [PASSED] Link rate 1000000 lane count 2 [10:01:13] [PASSED] Link rate 1000000 lane count 1 [10:01:13] [PASSED] Link rate 810000 lane count 4 [10:01:13] [PASSED] Link rate 810000 lane count 2 [10:01:13] [PASSED] Link rate 810000 lane count 1 [10:01:13] [PASSED] Link rate 540000 lane count 4 [10:01:13] [PASSED] Link rate 540000 lane count 2 [10:01:13] [PASSED] Link rate 540000 lane count 1 [10:01:13] [PASSED] Link rate 270000 lane count 4 [10:01:13] [PASSED] Link rate 270000 lane count 2 [10:01:13] [PASSED] Link rate 270000 lane count 1 [10:01:13] [PASSED] Link rate 162000 lane count 4 [10:01:13] [PASSED] Link rate 162000 lane count 2 [10:01:13] [PASSED] Link rate 162000 lane count 1 [10:01:13] ========== [PASSED] drm_test_dp_mst_calc_pbn_div =========== [10:01:13] ========= drm_test_dp_mst_sideband_msg_req_decode ========= [10:01:13] [PASSED] DP_ENUM_PATH_RESOURCES with port number [10:01:13] [PASSED] DP_POWER_UP_PHY with port number [10:01:13] [PASSED] DP_POWER_DOWN_PHY with port number [10:01:13] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks [10:01:13] [PASSED] DP_ALLOCATE_PAYLOAD with port number [10:01:13] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI [10:01:13] [PASSED] DP_ALLOCATE_PAYLOAD with PBN [10:01:13] [PASSED] DP_QUERY_PAYLOAD with port number [10:01:13] [PASSED] DP_QUERY_PAYLOAD with VCPI [10:01:13] [PASSED] DP_REMOTE_DPCD_READ with port number [10:01:13] [PASSED] DP_REMOTE_DPCD_READ with DPCD address [10:01:13] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes [10:01:13] [PASSED] DP_REMOTE_DPCD_WRITE with port number [10:01:13] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address [10:01:13] [PASSED] DP_REMOTE_DPCD_WRITE with data array [10:01:13] [PASSED] DP_REMOTE_I2C_READ with port number [10:01:13] [PASSED] DP_REMOTE_I2C_READ with I2C device ID [10:01:13] [PASSED] DP_REMOTE_I2C_READ with transactions array [10:01:13] [PASSED] DP_REMOTE_I2C_WRITE with port number [10:01:13] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID [10:01:13] [PASSED] DP_REMOTE_I2C_WRITE with data array [10:01:13] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID [10:01:13] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID [10:01:13] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event [10:01:13] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event [10:01:13] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior [10:01:13] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior [10:01:13] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode ===== [10:01:13] ================ [PASSED] drm_dp_mst_helper ================ [10:01:13] ================== drm_exec (7 subtests) =================== [10:01:13] [PASSED] sanitycheck [10:01:13] [PASSED] test_lock [10:01:13] [PASSED] test_lock_unlock [10:01:13] [PASSED] test_duplicates [10:01:13] [PASSED] test_prepare [10:01:13] [PASSED] test_prepare_array [10:01:13] [PASSED] test_multiple_loops [10:01:13] ==================== [PASSED] drm_exec ===================== [10:01:13] =========== drm_format_helper_test (17 subtests) =========== [10:01:13] ============== drm_test_fb_xrgb8888_to_gray8 ============== [10:01:13] [PASSED] single_pixel_source_buffer [10:01:13] [PASSED] single_pixel_clip_rectangle [10:01:13] [PASSED] well_known_colors [10:01:13] [PASSED] destination_pitch [10:01:13] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ========== [10:01:13] ============= drm_test_fb_xrgb8888_to_rgb332 ============== [10:01:13] [PASSED] single_pixel_source_buffer [10:01:13] [PASSED] single_pixel_clip_rectangle [10:01:13] [PASSED] well_known_colors [10:01:13] [PASSED] destination_pitch [10:01:13] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ========== [10:01:13] ============= drm_test_fb_xrgb8888_to_rgb565 ============== [10:01:13] [PASSED] single_pixel_source_buffer [10:01:13] [PASSED] single_pixel_clip_rectangle [10:01:13] [PASSED] well_known_colors [10:01:13] [PASSED] destination_pitch [10:01:13] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ========== [10:01:13] ============ drm_test_fb_xrgb8888_to_xrgb1555 ============= [10:01:13] [PASSED] single_pixel_source_buffer [10:01:13] [PASSED] single_pixel_clip_rectangle [10:01:13] [PASSED] well_known_colors [10:01:13] [PASSED] destination_pitch [10:01:13] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 ========= [10:01:13] ============ drm_test_fb_xrgb8888_to_argb1555 ============= [10:01:13] [PASSED] single_pixel_source_buffer [10:01:13] [PASSED] single_pixel_clip_rectangle [10:01:13] [PASSED] well_known_colors [10:01:13] [PASSED] destination_pitch [10:01:13] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 ========= [10:01:13] ============ drm_test_fb_xrgb8888_to_rgba5551 ============= [10:01:13] [PASSED] single_pixel_source_buffer [10:01:13] [PASSED] single_pixel_clip_rectangle [10:01:13] [PASSED] well_known_colors [10:01:13] [PASSED] destination_pitch [10:01:13] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 ========= [10:01:13] ============= drm_test_fb_xrgb8888_to_rgb888 ============== [10:01:13] [PASSED] single_pixel_source_buffer [10:01:13] [PASSED] single_pixel_clip_rectangle [10:01:13] [PASSED] well_known_colors [10:01:13] [PASSED] destination_pitch [10:01:13] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ========== [10:01:13] ============= drm_test_fb_xrgb8888_to_bgr888 ============== [10:01:13] [PASSED] single_pixel_source_buffer [10:01:13] [PASSED] single_pixel_clip_rectangle [10:01:13] [PASSED] well_known_colors [10:01:13] [PASSED] destination_pitch [10:01:13] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ========== [10:01:13] ============ drm_test_fb_xrgb8888_to_argb8888 ============= [10:01:13] [PASSED] single_pixel_source_buffer [10:01:13] [PASSED] single_pixel_clip_rectangle [10:01:13] [PASSED] well_known_colors [10:01:13] [PASSED] destination_pitch [10:01:13] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 ========= [10:01:13] =========== drm_test_fb_xrgb8888_to_xrgb2101010 =========== [10:01:13] [PASSED] single_pixel_source_buffer [10:01:13] [PASSED] single_pixel_clip_rectangle [10:01:13] [PASSED] well_known_colors [10:01:13] [PASSED] destination_pitch [10:01:13] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 ======= [10:01:13] =========== drm_test_fb_xrgb8888_to_argb2101010 =========== [10:01:13] [PASSED] single_pixel_source_buffer [10:01:13] [PASSED] single_pixel_clip_rectangle [10:01:13] [PASSED] well_known_colors [10:01:13] [PASSED] destination_pitch [10:01:13] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 ======= [10:01:13] ============== drm_test_fb_xrgb8888_to_mono =============== [10:01:13] [PASSED] single_pixel_source_buffer [10:01:13] [PASSED] single_pixel_clip_rectangle [10:01:13] [PASSED] well_known_colors [10:01:13] [PASSED] destination_pitch [10:01:13] ========== [PASSED] drm_test_fb_xrgb8888_to_mono =========== [10:01:13] ==================== drm_test_fb_swab ===================== [10:01:13] [PASSED] single_pixel_source_buffer [10:01:13] [PASSED] single_pixel_clip_rectangle [10:01:13] [PASSED] well_known_colors [10:01:13] [PASSED] destination_pitch [10:01:13] ================ [PASSED] drm_test_fb_swab ================= [10:01:13] ============ drm_test_fb_xrgb8888_to_xbgr8888 ============= [10:01:13] [PASSED] single_pixel_source_buffer [10:01:13] [PASSED] single_pixel_clip_rectangle [10:01:13] [PASSED] well_known_colors [10:01:13] [PASSED] destination_pitch [10:01:13] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 ========= [10:01:13] ============ drm_test_fb_xrgb8888_to_abgr8888 ============= [10:01:13] [PASSED] single_pixel_source_buffer [10:01:13] [PASSED] single_pixel_clip_rectangle [10:01:13] [PASSED] well_known_colors [10:01:13] [PASSED] destination_pitch [10:01:13] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 ========= [10:01:13] ================= drm_test_fb_clip_offset ================= [10:01:13] [PASSED] pass through [10:01:13] [PASSED] horizontal offset [10:01:13] [PASSED] vertical offset [10:01:13] [PASSED] horizontal and vertical offset [10:01:13] [PASSED] horizontal offset (custom pitch) [10:01:13] [PASSED] vertical offset (custom pitch) [10:01:13] [PASSED] horizontal and vertical offset (custom pitch) [10:01:13] ============= [PASSED] drm_test_fb_clip_offset ============= [10:01:13] =================== drm_test_fb_memcpy ==================== [10:01:13] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258) [10:01:13] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258) [10:01:13] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559) [10:01:13] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258) [10:01:13] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258) [10:01:13] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559) [10:01:13] [PASSED] well_known_colors: XB24 little-endian (0x34324258) [10:01:13] [PASSED] well_known_colors: XRA8 little-endian (0x38415258) [10:01:13] [PASSED] well_known_colors: YU24 little-endian (0x34325559) [10:01:13] [PASSED] destination_pitch: XB24 little-endian (0x34324258) [10:01:13] [PASSED] destination_pitch: XRA8 little-endian (0x38415258) [10:01:13] [PASSED] destination_pitch: YU24 little-endian (0x34325559) [10:01:13] =============== [PASSED] drm_test_fb_memcpy ================ [10:01:13] ============= [PASSED] drm_format_helper_test ============== [10:01:13] ================= drm_format (18 subtests) ================= [10:01:13] [PASSED] drm_test_format_block_width_invalid [10:01:13] [PASSED] drm_test_format_block_width_one_plane [10:01:13] [PASSED] drm_test_format_block_width_two_plane [10:01:13] [PASSED] drm_test_format_block_width_three_plane [10:01:13] [PASSED] drm_test_format_block_width_tiled [10:01:13] [PASSED] drm_test_format_block_height_invalid [10:01:13] [PASSED] drm_test_format_block_height_one_plane [10:01:13] [PASSED] drm_test_format_block_height_two_plane [10:01:13] [PASSED] drm_test_format_block_height_three_plane [10:01:13] [PASSED] drm_test_format_block_height_tiled [10:01:13] [PASSED] drm_test_format_min_pitch_invalid [10:01:13] [PASSED] drm_test_format_min_pitch_one_plane_8bpp [10:01:13] [PASSED] drm_test_format_min_pitch_one_plane_16bpp [10:01:13] [PASSED] drm_test_format_min_pitch_one_plane_24bpp [10:01:13] [PASSED] drm_test_format_min_pitch_one_plane_32bpp [10:01:13] [PASSED] drm_test_format_min_pitch_two_plane [10:01:13] [PASSED] drm_test_format_min_pitch_three_plane_8bpp [10:01:13] [PASSED] drm_test_format_min_pitch_tiled [10:01:13] =================== [PASSED] drm_format ==================== [10:01:13] ============== drm_framebuffer (10 subtests) =============== [10:01:13] ========== drm_test_framebuffer_check_src_coords ========== [10:01:13] [PASSED] Success: source fits into fb [10:01:13] [PASSED] Fail: overflowing fb with x-axis coordinate [10:01:13] [PASSED] Fail: overflowing fb with y-axis coordinate [10:01:13] [PASSED] Fail: overflowing fb with source width [10:01:13] [PASSED] Fail: overflowing fb with source height [10:01:13] ====== [PASSED] drm_test_framebuffer_check_src_coords ====== [10:01:13] [PASSED] drm_test_framebuffer_cleanup [10:01:13] =============== drm_test_framebuffer_create =============== [10:01:13] [PASSED] ABGR8888 normal sizes [10:01:13] [PASSED] ABGR8888 max sizes [10:01:13] [PASSED] ABGR8888 pitch greater than min required [10:01:13] [PASSED] ABGR8888 pitch less than min required [10:01:13] [PASSED] ABGR8888 Invalid width [10:01:13] [PASSED] ABGR8888 Invalid buffer handle [10:01:13] [PASSED] No pixel format [10:01:13] [PASSED] ABGR8888 Width 0 [10:01:13] [PASSED] ABGR8888 Height 0 [10:01:13] [PASSED] ABGR8888 Out of bound height * pitch combination [10:01:13] [PASSED] ABGR8888 Large buffer offset [10:01:13] [PASSED] ABGR8888 Buffer offset for inexistent plane [10:01:13] [PASSED] ABGR8888 Invalid flag [10:01:13] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers [10:01:13] [PASSED] ABGR8888 Valid buffer modifier [10:01:13] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE) [10:01:13] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS [10:01:13] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS [10:01:13] [PASSED] NV12 Normal sizes [10:01:13] [PASSED] NV12 Max sizes [10:01:13] [PASSED] NV12 Invalid pitch [10:01:13] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag [10:01:13] [PASSED] NV12 different modifier per-plane [10:01:13] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE [10:01:13] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS [10:01:13] [PASSED] NV12 Modifier for inexistent plane [10:01:13] [PASSED] NV12 Handle for inexistent plane [10:01:13] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS [10:01:13] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier [10:01:13] [PASSED] YVU420 Normal sizes [10:01:13] [PASSED] YVU420 Max sizes [10:01:13] [PASSED] YVU420 Invalid pitch [10:01:13] [PASSED] YVU420 Different pitches [10:01:13] [PASSED] YVU420 Different buffer offsets/pitches [10:01:13] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS [10:01:13] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS [10:01:13] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS [10:01:13] [PASSED] YVU420 Valid modifier [10:01:13] [PASSED] YVU420 Different modifiers per plane [10:01:13] [PASSED] YVU420 Modifier for inexistent plane [10:01:13] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR) [10:01:13] [PASSED] X0L2 Normal sizes [10:01:13] [PASSED] X0L2 Max sizes [10:01:13] [PASSED] X0L2 Invalid pitch [10:01:13] [PASSED] X0L2 Pitch greater than minimum required [10:01:13] [PASSED] X0L2 Handle for inexistent plane [10:01:13] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set [10:01:13] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set [10:01:13] [PASSED] X0L2 Valid modifier [10:01:13] [PASSED] X0L2 Modifier for inexistent plane [10:01:13] =========== [PASSED] drm_test_framebuffer_create =========== [10:01:13] [PASSED] drm_test_framebuffer_free [10:01:13] [PASSED] drm_test_framebuffer_init [10:01:13] [PASSED] drm_test_framebuffer_init_bad_format [10:01:13] [PASSED] drm_test_framebuffer_init_dev_mismatch [10:01:13] [PASSED] drm_test_framebuffer_lookup [10:01:13] [PASSED] drm_test_framebuffer_lookup_inexistent [10:01:13] [PASSED] drm_test_framebuffer_modifiers_not_supported [10:01:13] ================= [PASSED] drm_framebuffer ================= [10:01:13] ================ drm_gem_shmem (8 subtests) ================ [10:01:13] [PASSED] drm_gem_shmem_test_obj_create [10:01:13] [PASSED] drm_gem_shmem_test_obj_create_private [10:01:13] [PASSED] drm_gem_shmem_test_pin_pages [10:01:13] [PASSED] drm_gem_shmem_test_vmap [10:01:13] [PASSED] drm_gem_shmem_test_get_sg_table [10:01:13] [PASSED] drm_gem_shmem_test_get_pages_sgt [10:01:13] [PASSED] drm_gem_shmem_test_madvise [10:01:13] [PASSED] drm_gem_shmem_test_purge [10:01:13] ================== [PASSED] drm_gem_shmem ================== [10:01:13] === drm_atomic_helper_connector_hdmi_check (29 subtests) === [10:01:13] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode [10:01:13] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1 [10:01:13] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode [10:01:13] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1 [10:01:13] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode [10:01:13] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1 [10:01:13] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 ======= [10:01:13] [PASSED] Automatic [10:01:13] [PASSED] Full [10:01:13] [PASSED] Limited 16:235 [10:01:13] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 === [10:01:13] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed [10:01:13] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed [10:01:13] [PASSED] drm_test_check_disable_connector [10:01:13] [PASSED] drm_test_check_hdmi_funcs_reject_rate [10:01:13] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb [10:01:13] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420 [10:01:13] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422 [10:01:13] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420 [10:01:13] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420 [10:01:13] [PASSED] drm_test_check_output_bpc_crtc_mode_changed [10:01:13] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed [10:01:13] [PASSED] drm_test_check_output_bpc_dvi [10:01:13] [PASSED] drm_test_check_output_bpc_format_vic_1 [10:01:13] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only [10:01:13] [PASSED] drm_test_check_output_bpc_format_display_rgb_only [10:01:13] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only [10:01:13] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only [10:01:13] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc [10:01:13] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc [10:01:13] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc [10:01:13] ============ drm_test_check_hdmi_color_format ============= [10:01:13] [PASSED] AUTO -> RGB [10:01:13] [PASSED] YCBCR422 -> YUV422 [10:01:13] [PASSED] YCBCR420 -> YUV420 [10:01:13] [PASSED] YCBCR444 -> YUV444 [10:01:13] [PASSED] RGB -> RGB [10:01:13] ======== [PASSED] drm_test_check_hdmi_color_format ========= [10:01:13] ======== drm_test_check_hdmi_color_format_420_only ======== [10:01:13] [PASSED] RGB should fail [10:01:13] [PASSED] YUV444 should fail [10:01:13] [PASSED] YUV422 should fail [10:01:13] [PASSED] YUV420 should work [10:01:13] ==== [PASSED] drm_test_check_hdmi_color_format_420_only ==== [10:01:13] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ====== [10:01:13] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ==== [10:01:13] [PASSED] drm_test_check_broadcast_rgb_value [10:01:13] [PASSED] drm_test_check_bpc_8_value [10:01:13] [PASSED] drm_test_check_bpc_10_value [10:01:13] [PASSED] drm_test_check_bpc_12_value [10:01:13] [PASSED] drm_test_check_format_value [10:01:13] [PASSED] drm_test_check_tmds_char_value [10:01:13] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ====== [10:01:13] = drm_atomic_helper_connector_hdmi_mode_valid (7 subtests) = [10:01:13] [PASSED] drm_test_check_mode_valid [10:01:13] [PASSED] drm_test_check_mode_valid_reject [10:01:13] [PASSED] drm_test_check_mode_valid_reject_rate [10:01:13] [PASSED] drm_test_check_mode_valid_reject_max_clock [10:01:13] [PASSED] drm_test_check_mode_valid_yuv420_only_max_clock [10:01:13] [PASSED] drm_test_check_mode_valid_reject_yuv420_only_connector [10:01:13] [PASSED] drm_test_check_mode_valid_accept_yuv420_also_connector_rgb [10:01:13] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid === [10:01:13] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) = [10:01:13] [PASSED] drm_test_check_infoframes [10:01:13] [PASSED] drm_test_check_reject_avi_infoframe [10:01:13] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8 [10:01:13] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10 [10:01:13] [PASSED] drm_test_check_reject_audio_infoframe [10:01:13] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes === [10:01:13] ================= drm_managed (2 subtests) ================= [10:01:13] [PASSED] drm_test_managed_release_action [10:01:13] [PASSED] drm_test_managed_run_action [10:01:13] =================== [PASSED] drm_managed =================== [10:01:13] =================== drm_mm (6 subtests) ==================== [10:01:13] [PASSED] drm_test_mm_init [10:01:13] [PASSED] drm_test_mm_debug [10:01:13] [PASSED] drm_test_mm_align32 [10:01:13] [PASSED] drm_test_mm_align64 [10:01:13] [PASSED] drm_test_mm_lowest [10:01:13] [PASSED] drm_test_mm_highest [10:01:13] ===================== [PASSED] drm_mm ====================== [10:01:13] ============= drm_modes_analog_tv (5 subtests) ============= [10:01:13] [PASSED] drm_test_modes_analog_tv_mono_576i [10:01:13] [PASSED] drm_test_modes_analog_tv_ntsc_480i [10:01:13] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined [10:01:13] [PASSED] drm_test_modes_analog_tv_pal_576i [10:01:13] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined [10:01:13] =============== [PASSED] drm_modes_analog_tv =============== [10:01:13] ============== drm_plane_helper (2 subtests) =============== [10:01:13] =============== drm_test_check_plane_state ================ [10:01:13] [PASSED] clipping_simple [10:01:13] [PASSED] clipping_rotate_reflect [10:01:13] [PASSED] positioning_simple [10:01:13] [PASSED] upscaling [10:01:13] [PASSED] downscaling [10:01:13] [PASSED] rounding1 [10:01:13] [PASSED] rounding2 [10:01:13] [PASSED] rounding3 [10:01:13] [PASSED] rounding4 [10:01:13] =========== [PASSED] drm_test_check_plane_state ============ [10:01:13] =========== drm_test_check_invalid_plane_state ============ [10:01:13] [PASSED] positioning_invalid [10:01:13] [PASSED] upscaling_invalid [10:01:13] [PASSED] downscaling_invalid [10:01:13] ======= [PASSED] drm_test_check_invalid_plane_state ======== [10:01:13] ================ [PASSED] drm_plane_helper ================= [10:01:13] ====== drm_connector_helper_tv_get_modes (1 subtest) ======= [10:01:13] ====== drm_test_connector_helper_tv_get_modes_check ======= [10:01:13] [PASSED] None [10:01:13] [PASSED] PAL [10:01:13] [PASSED] NTSC [10:01:13] [PASSED] Both, NTSC Default [10:01:13] [PASSED] Both, PAL Default [10:01:13] [PASSED] Both, NTSC Default, with PAL on command-line [10:01:13] [PASSED] Both, PAL Default, with NTSC on command-line [10:01:13] == [PASSED] drm_test_connector_helper_tv_get_modes_check === [10:01:13] ======== [PASSED] drm_connector_helper_tv_get_modes ======== [10:01:13] ================== drm_rect (9 subtests) =================== [10:01:13] [PASSED] drm_test_rect_clip_scaled_div_by_zero [10:01:13] [PASSED] drm_test_rect_clip_scaled_not_clipped [10:01:13] [PASSED] drm_test_rect_clip_scaled_clipped [10:01:13] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned [10:01:13] ================= drm_test_rect_intersect ================= [10:01:13] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0 [10:01:13] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1 [10:01:13] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0 [10:01:13] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1 [10:01:13] [PASSED] right x left: 2x1+0+0 x 3x1+1+0 [10:01:13] [PASSED] left x right: 3x1+1+0 x 2x1+0+0 [10:01:13] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1 [10:01:13] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0 [10:01:13] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1 [10:01:13] [PASSED] touching side: 1x1+0+0 x 1x1+1+0 [10:01:13] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0 [10:01:13] [PASSED] inside another: 2x2+0+0 x 1x1+1+1 [10:01:13] [PASSED] far away: 1x1+0+0 x 1x1+3+6 [10:01:13] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10 [10:01:13] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10 [10:01:13] ============= [PASSED] drm_test_rect_intersect ============= [10:01:13] ================ drm_test_rect_calc_hscale ================ [10:01:13] [PASSED] normal use [10:01:13] [PASSED] out of max range [10:01:13] [PASSED] out of min range [10:01:13] [PASSED] zero dst [10:01:13] [PASSED] negative src [10:01:13] [PASSED] negative dst [10:01:13] ============ [PASSED] drm_test_rect_calc_hscale ============ [10:01:13] ================ drm_test_rect_calc_vscale ================ [10:01:13] [PASSED] normal use [10:01:13] [PASSED] out of max range [10:01:13] [PASSED] out of min range [10:01:13] [PASSED] zero dst [10:01:13] [PASSED] negative src [10:01:13] [PASSED] negative dst [10:01:13] ============ [PASSED] drm_test_rect_calc_vscale ============ [10:01:13] ================== drm_test_rect_rotate =================== [10:01:13] [PASSED] reflect-x [10:01:13] [PASSED] reflect-y [10:01:13] [PASSED] rotate-0 [10:01:13] [PASSED] rotate-90 [10:01:13] [PASSED] rotate-180 [10:01:13] [PASSED] rotate-270 [10:01:13] ============== [PASSED] drm_test_rect_rotate =============== [10:01:13] ================ drm_test_rect_rotate_inv ================= [10:01:13] [PASSED] reflect-x [10:01:13] [PASSED] reflect-y [10:01:13] [PASSED] rotate-0 [10:01:13] [PASSED] rotate-90 [10:01:13] [PASSED] rotate-180 [10:01:13] [PASSED] rotate-270 [10:01:13] ============ [PASSED] drm_test_rect_rotate_inv ============= [10:01:13] ==================== [PASSED] drm_rect ===================== [10:01:13] ============ drm_sysfb_modeset_test (1 subtest) ============ [10:01:13] ============ drm_test_sysfb_build_fourcc_list ============= [10:01:13] [PASSED] no native formats [10:01:13] [PASSED] XRGB8888 as native format [10:01:13] [PASSED] remove duplicates [10:01:13] [PASSED] convert alpha formats [10:01:13] [PASSED] random formats [10:01:13] ======== [PASSED] drm_test_sysfb_build_fourcc_list ========= [10:01:13] ============= [PASSED] drm_sysfb_modeset_test ============== [10:01:13] ================== drm_fixp (2 subtests) =================== [10:01:13] [PASSED] drm_test_int2fixp [10:01:13] [PASSED] drm_test_sm2fixp [10:01:13] ==================== [PASSED] drm_fixp ===================== [10:01:13] ============================================================ [10:01:13] Testing complete. Ran 641 tests: passed: 641 [10:01:13] Elapsed time: 27.005s total, 1.845s configuring, 24.992s building, 0.140s running
+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig [10:01:13] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [10:01:15] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [10:01:25] Starting KUnit Kernel (1/1)... [10:01:25] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [10:01:25] ============= refcount_interrupt (4 subtests) ============== [10:01:25] [PASSED] test_single_irq_change [10:01:25] [PASSED] test_nested_irq_change [10:01:25] [PASSED] test_multiple_irq_change [10:01:25] [PASSED] test_irq_save [10:01:25] =============== [PASSED] refcount_interrupt ================ [10:01:25] ================= ttm_device (5 subtests) ================== [10:01:25] [PASSED] ttm_device_init_basic [10:01:25] [PASSED] ttm_device_init_multiple [10:01:25] [PASSED] ttm_device_fini_basic [10:01:25] [PASSED] ttm_device_init_no_vma_man [10:01:25] ================== ttm_device_init_pools ================== [10:01:25] [PASSED] No DMA allocations, no DMA32 required [10:01:25] [PASSED] DMA allocations, DMA32 required [10:01:25] [PASSED] No DMA allocations, DMA32 required [10:01:25] [PASSED] DMA allocations, no DMA32 required [10:01:25] ============== [PASSED] ttm_device_init_pools ============== [10:01:25] =================== [PASSED] ttm_device ==================== [10:01:25] ================== ttm_pool (8 subtests) =================== [10:01:25] ================== ttm_pool_alloc_basic =================== [10:01:25] [PASSED] One page [10:01:25] [PASSED] More than one page [10:01:25] [PASSED] Above the allocation limit [10:01:25] [PASSED] One page, with coherent DMA mappings enabled [10:01:25] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [10:01:25] ============== [PASSED] ttm_pool_alloc_basic =============== [10:01:25] ============== ttm_pool_alloc_basic_dma_addr ============== [10:01:25] [PASSED] One page [10:01:25] [PASSED] More than one page [10:01:25] [PASSED] Above the allocation limit [10:01:25] [PASSED] One page, with coherent DMA mappings enabled [10:01:25] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [10:01:25] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ========== [10:01:25] [PASSED] ttm_pool_alloc_order_caching_match [10:01:25] [PASSED] ttm_pool_alloc_caching_mismatch [10:01:25] [PASSED] ttm_pool_alloc_order_mismatch [10:01:25] [PASSED] ttm_pool_free_dma_alloc [10:01:25] [PASSED] ttm_pool_free_no_dma_alloc [10:01:25] [PASSED] ttm_pool_fini_basic [10:01:25] ==================== [PASSED] ttm_pool ===================== [10:01:25] ================ ttm_resource (8 subtests) ================= [10:01:25] ================= ttm_resource_init_basic ================= [10:01:25] [PASSED] Init resource in TTM_PL_SYSTEM [10:01:25] [PASSED] Init resource in TTM_PL_VRAM [10:01:25] [PASSED] Init resource in a private placement [10:01:25] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags [10:01:25] ============= [PASSED] ttm_resource_init_basic ============= [10:01:25] [PASSED] ttm_resource_init_pinned [10:01:25] [PASSED] ttm_resource_fini_basic [10:01:25] [PASSED] ttm_resource_manager_init_basic [10:01:25] [PASSED] ttm_resource_manager_usage_basic [10:01:25] [PASSED] ttm_resource_manager_set_used_basic [10:01:25] [PASSED] ttm_sys_man_alloc_basic [10:01:25] [PASSED] ttm_sys_man_free_basic [10:01:25] ================== [PASSED] ttm_resource =================== [10:01:25] =================== ttm_tt (15 subtests) =================== [10:01:25] ==================== ttm_tt_init_basic ==================== [10:01:25] [PASSED] Page-aligned size [10:01:25] [PASSED] Extra pages requested [10:01:25] ================ [PASSED] ttm_tt_init_basic ================ [10:01:25] [PASSED] ttm_tt_init_misaligned [10:01:25] [PASSED] ttm_tt_fini_basic [10:01:25] [PASSED] ttm_tt_fini_sg [10:01:25] [PASSED] ttm_tt_fini_shmem [10:01:25] [PASSED] ttm_tt_create_basic [10:01:25] [PASSED] ttm_tt_create_invalid_bo_type [10:01:25] [PASSED] ttm_tt_create_ttm_exists [10:01:25] [PASSED] ttm_tt_create_failed [10:01:25] [PASSED] ttm_tt_destroy_basic [10:01:25] [PASSED] ttm_tt_populate_null_ttm [10:01:25] [PASSED] ttm_tt_populate_populated_ttm [10:01:25] [PASSED] ttm_tt_unpopulate_basic [10:01:25] [PASSED] ttm_tt_unpopulate_empty_ttm [10:01:25] [PASSED] ttm_tt_swapin_basic [10:01:25] ===================== [PASSED] ttm_tt ====================== [10:01:25] =================== ttm_bo (14 subtests) =================== [10:01:25] =========== ttm_bo_reserve_optimistic_no_ticket =========== [10:01:25] [PASSED] Cannot be interrupted and sleeps [10:01:25] [PASSED] Cannot be interrupted, locks straight away [10:01:25] [PASSED] Can be interrupted, sleeps [10:01:25] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket ======= [10:01:25] [PASSED] ttm_bo_reserve_locked_no_sleep [10:01:25] [PASSED] ttm_bo_reserve_no_wait_ticket [10:01:25] [PASSED] ttm_bo_reserve_double_resv [10:01:25] [PASSED] ttm_bo_reserve_interrupted [10:01:25] [PASSED] ttm_bo_reserve_deadlock [10:01:25] [PASSED] ttm_bo_unreserve_basic [10:01:25] [PASSED] ttm_bo_unreserve_pinned [10:01:25] [PASSED] ttm_bo_unreserve_bulk [10:01:25] [PASSED] ttm_bo_fini_basic [10:01:25] [PASSED] ttm_bo_fini_shared_resv [10:01:25] [PASSED] ttm_bo_pin_basic [10:01:25] [PASSED] ttm_bo_pin_unpin_resource [10:01:25] [PASSED] ttm_bo_multiple_pin_one_unpin [10:01:25] ===================== [PASSED] ttm_bo ====================== [10:01:25] ============== ttm_bo_validate (22 subtests) =============== [10:01:25] ============== ttm_bo_init_reserved_sys_man =============== [10:01:25] [PASSED] Buffer object for userspace [10:01:25] [PASSED] Kernel buffer object [10:01:25] [PASSED] Shared buffer object [10:01:25] ========== [PASSED] ttm_bo_init_reserved_sys_man =========== [10:01:25] ============== ttm_bo_init_reserved_mock_man ============== [10:01:25] [PASSED] Buffer object for userspace [10:01:25] [PASSED] Kernel buffer object [10:01:25] [PASSED] Shared buffer object [10:01:25] ========== [PASSED] ttm_bo_init_reserved_mock_man ========== [10:01:25] [PASSED] ttm_bo_init_reserved_resv [10:01:25] ================== ttm_bo_validate_basic ================== [10:01:25] [PASSED] Buffer object for userspace [10:01:25] [PASSED] Kernel buffer object [10:01:25] [PASSED] Shared buffer object [10:01:25] ============== [PASSED] ttm_bo_validate_basic ============== [10:01:25] [PASSED] ttm_bo_validate_invalid_placement [10:01:25] ============= ttm_bo_validate_same_placement ============== [10:01:25] [PASSED] System manager [10:01:25] [PASSED] VRAM manager [10:01:25] ========= [PASSED] ttm_bo_validate_same_placement ========== [10:01:25] [PASSED] ttm_bo_validate_failed_alloc [10:01:25] [PASSED] ttm_bo_validate_pinned [10:01:25] [PASSED] ttm_bo_validate_busy_placement [10:01:25] ================ ttm_bo_validate_multihop ================= [10:01:25] [PASSED] Buffer object for userspace [10:01:25] [PASSED] Kernel buffer object [10:01:25] [PASSED] Shared buffer object [10:01:25] ============ [PASSED] ttm_bo_validate_multihop ============= [10:01:25] ========== ttm_bo_validate_no_placement_signaled ========== [10:01:25] [PASSED] Buffer object in system domain, no page vector [10:01:25] [PASSED] Buffer object in system domain with an existing page vector [10:01:25] ====== [PASSED] ttm_bo_validate_no_placement_signaled ====== [10:01:25] ======== ttm_bo_validate_no_placement_not_signaled ======== [10:01:25] [PASSED] Buffer object for userspace [10:01:25] [PASSED] Kernel buffer object [10:01:25] [PASSED] Shared buffer object [10:01:25] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ==== [10:01:25] [PASSED] ttm_bo_validate_move_fence_signaled [10:01:25] ========= ttm_bo_validate_move_fence_not_signaled ========= [10:01:25] [PASSED] Waits for GPU [10:01:25] [PASSED] Tries to lock straight away [10:01:25] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled ===== [10:01:25] [PASSED] ttm_bo_validate_swapout [10:01:25] [PASSED] ttm_bo_validate_happy_evict [10:01:25] [PASSED] ttm_bo_validate_all_pinned_evict [10:01:25] [PASSED] ttm_bo_validate_allowed_only_evict [10:01:25] [PASSED] ttm_bo_validate_deleted_evict [10:01:25] [PASSED] ttm_bo_validate_busy_domain_evict [10:01:25] [PASSED] ttm_bo_validate_evict_gutting [10:01:25] [PASSED] ttm_bo_validate_recrusive_evict [10:01:25] ================= [PASSED] ttm_bo_validate ================= [10:01:25] ============================================================ [10:01:25] Testing complete. Ran 106 tests: passed: 106 [10:01:25] Elapsed time: 12.077s total, 1.815s configuring, 10.047s building, 0.184s running
+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/dma-buf/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/dma-buf/.kunitconfig [10:01:26] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [10:01:27] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [10:01:36] Starting KUnit Kernel (1/1)... [10:01:36] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [10:01:36] ============= refcount_interrupt (4 subtests) ============== [10:01:36] [PASSED] test_single_irq_change [10:01:36] [PASSED] test_nested_irq_change [10:01:36] [PASSED] test_multiple_irq_change [10:01:36] [PASSED] test_irq_save [10:01:36] =============== [PASSED] refcount_interrupt ================ [10:01:36] =============== dma-buf-fence (12 subtests) ================ [10:01:36] [PASSED] test_sanitycheck [10:01:36] [PASSED] test_signaling [10:01:36] [PASSED] test_add_callback [10:01:36] [PASSED] test_late_add_callback [10:01:36] [PASSED] test_rm_callback [10:01:36] [PASSED] test_late_rm_callback [10:01:36] [PASSED] test_status [10:01:36] [PASSED] test_error [10:01:36] [PASSED] test_wait [10:01:36] [PASSED] test_wait_timeout [10:01:36] [PASSED] test_stub [10:01:36] [SKIPPED] test_race_signal_callback (requires at least 2 CPUs) [10:01:36] ================== [PASSED] dma-buf-fence ================== [10:01:36] ============ dma-buf-fence-chain (11 subtests) ============= [10:01:36] [PASSED] test_sanitycheck [10:01:36] [PASSED] test_find_seqno [10:01:36] [PASSED] test_find_signaled [10:01:36] [PASSED] test_find_out_of_order [10:01:41] [PASSED] test_find_gap [10:01:41] [PASSED] test_find_race [10:01:41] [PASSED] test_signal_forward [10:01:41] [PASSED] test_signal_backward [10:01:41] [PASSED] test_wait_forward [10:01:41] [PASSED] test_wait_backward [10:01:41] [PASSED] test_wait_random [10:01:41] =============== [PASSED] dma-buf-fence-chain =============== [10:01:41] ============ dma-buf-fence-unwrap (10 subtests) ============ [10:01:41] [PASSED] test_sanitycheck [10:01:41] [PASSED] test_unwrap_array [10:01:41] [PASSED] test_unwrap_chain [10:01:41] [PASSED] test_unwrap_chain_array [10:01:41] [PASSED] test_unwrap_merge [10:01:41] [PASSED] test_unwrap_merge_duplicate [10:01:41] [PASSED] test_unwrap_merge_seqno [10:01:41] [PASSED] test_unwrap_merge_order [10:01:41] [PASSED] test_unwrap_merge_complex [10:01:41] [PASSED] test_unwrap_merge_complex_seqno [10:01:41] ============== [PASSED] dma-buf-fence-unwrap =============== [10:01:41] ================ dma-buf-resv (5 subtests) ================= [10:01:41] [PASSED] test_sanitycheck [10:01:41] ===================== test_signaling ====================== [10:01:41] [PASSED] kernel [10:01:41] [PASSED] write [10:01:41] [PASSED] read [10:01:41] [PASSED] bookkeep [10:01:41] ================= [PASSED] test_signaling ================== [10:01:41] ====================== test_for_each ====================== [10:01:41] [PASSED] kernel [10:01:41] [PASSED] write [10:01:41] [PASSED] read [10:01:41] [PASSED] bookkeep [10:01:41] ================== [PASSED] test_for_each ================== [10:01:41] ================= test_for_each_unlocked ================== [10:01:41] [PASSED] kernel [10:01:41] [PASSED] write [10:01:41] [PASSED] read [10:01:41] [PASSED] bookkeep [10:01:41] ============= [PASSED] test_for_each_unlocked ============== [10:01:41] ===================== test_get_fences ===================== [10:01:41] [PASSED] kernel [10:01:41] [PASSED] write [10:01:41] [PASSED] read [10:01:41] [PASSED] bookkeep [10:01:41] ================= [PASSED] test_get_fences ================= [10:01:41] ================== [PASSED] dma-buf-resv =================== [10:01:41] ============================================================ [10:01:41] Testing complete. Ran 54 tests: passed: 53, skipped: 1 [10:01:41] Elapsed time: 15.783s total, 1.788s configuring, 8.723s building, 5.266s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
Patchwork
CI✓ Xe.CI.BAT: success for drm/xe: Fix VM teardown and migration queue recovery
In reply to Arvind Yadav== Series Details ==
== Series Details ==
Series: drm/xe: Fix VM teardown and migration queue recovery
URL : https://patchwork.freedesktop.org/series/174252/
State : success
== Summary ==
CI Bug Log - changes from xe-5755-0fb8d1900f1a6b9d21aadbfa5f784979b950bcf8_BAT -> xe-pw-174252v1_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (15 -> 15)
------------------------------
No changes in participating hosts
Known issues
------------
Here are the changes found in xe-pw-174252v1_BAT that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@core_hotunplug@unbind-rebind:
- bat-nvls-1: [PASS][1] -> [DMESG-WARN][2] ([Intel XE#8762] / [Intel XE#9069])
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5755-0fb8d1900f1a6b9d21aadbfa5f784979b950bcf8/bat-nvls-1/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/bat-nvls-1/igt@[email protected]
[Intel XE#8762]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8762
[Intel XE#9069]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9069
Build changes
-------------
* IGT: IGT_9098 -> IGT_9099
* Linux: xe-5755-0fb8d1900f1a6b9d21aadbfa5f784979b950bcf8 -> xe-pw-174252v1
IGT_9098: 9098
IGT_9099: 9099
xe-5755-0fb8d1900f1a6b9d21aadbfa5f784979b950bcf8: 0fb8d1900f1a6b9d21aadbfa5f784979b950bcf8
xe-pw-174252v1: 174252v1
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/index.html
Patchwork
CI✓ Xe.CI.FULL: success for drm/xe: Fix VM teardown and migration queue recovery
In reply to Arvind Yadav== Series Details ==
== Series Details ==
Series: drm/xe: Fix VM teardown and migration queue recovery
URL : https://patchwork.freedesktop.org/series/174252/
State : success
== Summary ==
CI Bug Log - changes from xe-5755-0fb8d1900f1a6b9d21aadbfa5f784979b950bcf8_FULL -> xe-pw-174252v1_FULL
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (2 -> 2)
------------------------------
No changes in participating hosts
Known issues
------------
Here are the changes found in xe-pw-174252v1_FULL that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@intel_hwmon@hwmon-write:
- shard-lnl: NOTRUN -> [SKIP][1] ([Intel XE#1125] / [Intel XE#7312])
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-8/igt@[email protected]
* igt@kms_addfb_basic@addfb25-y-tiled-small-legacy:
- shard-lnl: NOTRUN -> [SKIP][2] ([Intel XE#1466])
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-1/igt@[email protected]
* igt@kms_atomic_transition@plane-all-modeset-transition-fencing:
- shard-lnl: NOTRUN -> [SKIP][3] ([Intel XE#3279]) +1 other test skip
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-7/igt@[email protected]
* igt@kms_atomic_transition@plane-all-modeset-transition-internal-panels:
- shard-bmg: NOTRUN -> [SKIP][4] ([Intel XE#2370])
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-bmg-3/igt@kms_atomic_transition@plane-all-modeset-transition-internal-panels.html
* igt@kms_big_fb@4-tiled-8bpp-rotate-270:
- shard-lnl: NOTRUN -> [SKIP][5] ([Intel XE#1407]) +4 other tests skip
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-1/igt@[email protected]
* igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-0-hflip-async-flip:
- shard-lnl: NOTRUN -> [SKIP][6] ([Intel XE#3658] / [Intel XE#7360]) +1 other test skip
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-2/igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-0-hflip-async-flip.html
* igt@kms_big_fb@linear-max-hw-stride-64bpp-rotate-0-hflip:
- shard-lnl: NOTRUN -> [SKIP][7] ([Intel XE#7059] / [Intel XE#7085])
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-2/igt@[email protected]
* igt@kms_big_fb@y-tiled-32bpp-rotate-0:
- shard-lnl: NOTRUN -> [SKIP][8] ([Intel XE#1124]) +12 other tests skip
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-5/igt@[email protected]
* igt@kms_big_fb@y-tiled-addfb-size-offset-overflow:
- shard-bmg: NOTRUN -> [SKIP][9] ([Intel XE#607] / [Intel XE#7361])
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-bmg-7/igt@[email protected]
* igt@kms_big_fb@yf-tiled-8bpp-rotate-90:
- shard-bmg: NOTRUN -> [SKIP][10] ([Intel XE#1124]) +1 other test skip
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-bmg-3/igt@[email protected]
* igt@kms_big_fb@yf-tiled-addfb:
- shard-lnl: NOTRUN -> [SKIP][11] ([Intel XE#1467] / [Intel XE#7367])
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-6/igt@[email protected]
* igt@kms_bw@connected-linear-tiling-2-displays-target-2160x1440p:
- shard-lnl: NOTRUN -> [SKIP][12] ([Intel XE#7679]) +1 other test skip
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-6/igt@[email protected]
* igt@kms_bw@connected-linear-tiling-4-displays-target-2560x1440p:
- shard-bmg: NOTRUN -> [SKIP][13] ([Intel XE#7679])
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-bmg-10/igt@[email protected]
* igt@kms_bw@linear-tiling-3-displays-target-2560x1440p:
- shard-lnl: NOTRUN -> [SKIP][14] ([Intel XE#367]) +1 other test skip
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-4/igt@[email protected]
* igt@kms_ccs@bad-rotation-90-4-tiled-mtl-rc-ccs-cc:
- shard-lnl: NOTRUN -> [SKIP][15] ([Intel XE#2887]) +17 other tests skip
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-2/igt@[email protected]
* igt@kms_ccs@crc-primary-suspend-y-tiled-gen12-rc-ccs-cc:
- shard-lnl: NOTRUN -> [SKIP][16] ([Intel XE#3432]) +3 other tests skip
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-8/igt@[email protected]
* igt@kms_ccs@random-ccs-data-y-tiled-gen12-rc-ccs:
- shard-bmg: NOTRUN -> [SKIP][17] ([Intel XE#2887]) +5 other tests skip
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-bmg-6/igt@[email protected]
* igt@kms_chamelium_audio@hdmi-audio-edid:
- shard-bmg: NOTRUN -> [SKIP][18] ([Intel XE#2252]) +1 other test skip
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-bmg-9/igt@[email protected]
* igt@kms_chamelium_color@ctm-max:
- shard-lnl: NOTRUN -> [SKIP][19] ([Intel XE#306] / [Intel XE#7358]) +1 other test skip
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-1/igt@[email protected]
* igt@kms_chamelium_color_pipeline@plane-ctm3x4-lut1d:
- shard-lnl: NOTRUN -> [SKIP][20] ([Intel XE#7358]) +2 other tests skip
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-5/igt@[email protected]
* igt@kms_chamelium_hpd@dp-hpd:
- shard-lnl: NOTRUN -> [SKIP][21] ([Intel XE#373]) +9 other tests skip
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-3/igt@[email protected]
* igt@kms_content_protection@dp-mst-type-1:
- shard-lnl: NOTRUN -> [SKIP][22] ([Intel XE#307] / [Intel XE#6974])
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-5/igt@[email protected]
* igt@kms_content_protection@lic-type-1:
- shard-lnl: NOTRUN -> [SKIP][23] ([Intel XE#7642]) +5 other tests skip
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-2/igt@[email protected]
* igt@kms_content_protection@suspend-resume@pipe-a-dp-2:
- shard-bmg: NOTRUN -> [FAIL][24] ([Intel XE#1178] / [Intel XE#3304] / [Intel XE#7374]) +1 other test fail
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-bmg-1/igt@kms_content_protection@[email protected]
* igt@kms_cursor_crc@cursor-offscreen-512x512:
- shard-bmg: NOTRUN -> [SKIP][25] ([Intel XE#2321] / [Intel XE#7355]) +1 other test skip
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-bmg-10/igt@[email protected]
* igt@kms_cursor_crc@cursor-onscreen-512x170:
- shard-lnl: NOTRUN -> [SKIP][26] ([Intel XE#2321] / [Intel XE#7355])
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-2/igt@[email protected]
* igt@kms_cursor_crc@cursor-rapid-movement-64x21:
- shard-lnl: NOTRUN -> [SKIP][27] ([Intel XE#1424]) +3 other tests skip
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-6/igt@[email protected]
* igt@kms_cursor_legacy@2x-flip-vs-cursor-atomic:
- shard-lnl: NOTRUN -> [SKIP][28] ([Intel XE#309] / [Intel XE#7343]) +4 other tests skip
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-7/igt@[email protected]
* igt@kms_cursor_legacy@short-busy-flip-before-cursor-toggle:
- shard-lnl: NOTRUN -> [SKIP][29] ([Intel XE#323] / [Intel XE#6035])
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-4/igt@[email protected]
* igt@kms_dp_link_training@non-uhbr-mst:
- shard-lnl: NOTRUN -> [SKIP][30] ([Intel XE#4354] / [Intel XE#5882])
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-4/igt@[email protected]
* igt@kms_dsc@dsc-with-bpc-formats:
- shard-lnl: NOTRUN -> [SKIP][31] ([Intel XE#8265]) +4 other tests skip
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-3/igt@[email protected]
* igt@kms_feature_discovery@dp-mst:
- shard-lnl: NOTRUN -> [SKIP][32] ([Intel XE#1137] / [Intel XE#2375])
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-4/igt@[email protected]
* igt@kms_flip@2x-flip-vs-suspend-interruptible:
- shard-lnl: NOTRUN -> [SKIP][33] ([Intel XE#1421]) +10 other tests skip
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-1/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible@b-edp1:
- shard-lnl: NOTRUN -> [FAIL][34] ([Intel XE#301]) +1 other test fail
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-6/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-expired-vblank@b-edp1:
- shard-lnl: [PASS][35] -> [FAIL][36] ([Intel XE#301])
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5755-0fb8d1900f1a6b9d21aadbfa5f784979b950bcf8/shard-lnl-8/igt@kms_flip@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-2/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible:
- shard-bmg: [PASS][37] -> [INCOMPLETE][38] ([Intel XE#2049] / [Intel XE#2597] / [Intel XE#8155]) +3 other tests incomplete
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5755-0fb8d1900f1a6b9d21aadbfa5f784979b950bcf8/shard-bmg-5/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-bmg-6/igt@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-4tile-to-64bpp-4tile-downscaling:
- shard-lnl: NOTRUN -> [SKIP][39] ([Intel XE#1397] / [Intel XE#1745] / [Intel XE#7385] / [Intel XE#9144]) +3 other tests skip
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-5/igt@kms_flip_scaled_crc@flip-32bpp-4tile-to-64bpp-4tile-downscaling.html
* igt@kms_flip_scaled_crc@flip-32bpp-linear-to-32bpp-linear-reflect-x:
- shard-lnl: NOTRUN -> [SKIP][40] ([Intel XE#7179])
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-1/igt@kms_flip_scaled_crc@flip-32bpp-linear-to-32bpp-linear-reflect-x.html
* igt@kms_flip_scaled_crc@flip-64bpp-4tile-to-32bpp-4tile-downscaling@pipe-a-default-mode:
- shard-lnl: NOTRUN -> [SKIP][41] ([Intel XE#1397] / [Intel XE#7385] / [Intel XE#9144]) +3 other tests skip
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-2/igt@kms_flip_scaled_crc@flip-64bpp-4tile-to-32bpp-4tile-downscaling@pipe-a-default-mode.html
* igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-16bpp-yftile-downscaling:
- shard-bmg: NOTRUN -> [SKIP][42] ([Intel XE#7178] / [Intel XE#7351]) +1 other test skip
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-bmg-5/igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-16bpp-yftile-downscaling.html
* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile-upscaling:
- shard-lnl: NOTRUN -> [SKIP][43] ([Intel XE#7178] / [Intel XE#7351]) +1 other test skip
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-8/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile-upscaling.html
* igt@kms_frontbuffer_tracking@drrs-rgb565-draw-render:
- shard-bmg: NOTRUN -> [SKIP][44] ([Intel XE#2311]) +9 other tests skip
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-bmg-10/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-abgr161616f-draw-mmap-wc:
- shard-lnl: NOTRUN -> [SKIP][45] ([Intel XE#7061] / [Intel XE#7356]) +2 other tests skip
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-5/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcdrrs-1p-primscrn-cur-indfb-draw-blt:
- shard-lnl: NOTRUN -> [SKIP][46] ([Intel XE#6312] / [Intel XE#651]) +18 other tests skip
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-1/igt@kms_frontbuffer_tracking@fbcdrrs-1p-primscrn-cur-indfb-draw-blt.html
* igt@kms_frontbuffer_tracking@fbcdrrs-argb161616f-draw-render:
- shard-bmg: NOTRUN -> [SKIP][47] ([Intel XE#7061] / [Intel XE#7356]) +1 other test skip
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-bmg-2/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcdrrshdr-1p-primscrn-shrfb-pgflip-blt:
- shard-lnl: NOTRUN -> [SKIP][48] ([Intel XE#6312]) +16 other tests skip
[48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-1/igt@kms_frontbuffer_tracking@fbcdrrshdr-1p-primscrn-shrfb-pgflip-blt.html
* igt@kms_frontbuffer_tracking@fbcdrrshdr-2p-scndscrn-cur-indfb-draw-render:
- shard-lnl: NOTRUN -> [SKIP][49] ([Intel XE#7905]) +59 other tests skip
[49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-1/igt@kms_frontbuffer_tracking@fbcdrrshdr-2p-scndscrn-cur-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbchdr-1p-primscrn-cur-indfb-onoff:
- shard-lnl: NOTRUN -> [SKIP][50] ([Intel XE#7865]) +31 other tests skip
[50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-2/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsrhdr-2p-scndscrn-spr-indfb-draw-render:
- shard-bmg: NOTRUN -> [SKIP][51] ([Intel XE#2313]) +10 other tests skip
[51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-bmg-7/igt@kms_frontbuffer_tracking@fbcpsrhdr-2p-scndscrn-spr-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@hdr-argb161616f-draw-render:
- shard-lnl: NOTRUN -> [SKIP][52] ([Intel XE#7061]) +6 other tests skip
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-4/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-indfb-draw-render:
- shard-lnl: NOTRUN -> [SKIP][53] ([Intel XE#656] / [Intel XE#7905]) +46 other tests skip
[53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-3/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@psrhdr-argb161616f-draw-render:
- shard-bmg: NOTRUN -> [SKIP][54] ([Intel XE#7061])
[54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-bmg-2/igt@[email protected]
* igt@kms_hdmi_inject@inject-4k:
- shard-lnl: NOTRUN -> [SKIP][55] ([Intel XE#1470])
[55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-1/igt@[email protected]
* igt@kms_hdr@static-toggle-suspend:
- shard-lnl: NOTRUN -> [SKIP][56] ([Intel XE#1503])
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-5/igt@[email protected]
* igt@kms_joiner@basic-max-non-joiner:
- shard-lnl: NOTRUN -> [SKIP][57] ([Intel XE#4298] / [Intel XE#5873])
[57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-8/igt@[email protected]
* igt@kms_joiner@switch-modeset-ultra-joiner-big-joiner:
- shard-lnl: NOTRUN -> [SKIP][58] ([Intel XE#7173] / [Intel XE#7294])
[58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-7/igt@[email protected]
* igt@kms_multipipe_modeset@basic-max-pipe-crc-check:
- shard-bmg: NOTRUN -> [SKIP][59] ([Intel XE#7591])
[59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-bmg-4/igt@[email protected]
* igt@kms_plane@pixel-format-4-tiled-lnl-ccs-modifier-source-clamping:
- shard-bmg: NOTRUN -> [SKIP][60] ([Intel XE#7283]) +1 other test skip
[60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-bmg-4/igt@kms_plane@pixel-format-4-tiled-lnl-ccs-modifier-source-clamping.html
* igt@kms_plane@pixel-format-y-tiled-gen12-mc-ccs-modifier:
- shard-lnl: NOTRUN -> [SKIP][61] ([Intel XE#7283]) +5 other tests skip
[61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-6/igt@[email protected]
* igt@kms_plane_lowres@tiling-yf:
- shard-lnl: NOTRUN -> [SKIP][62] ([Intel XE#599])
[62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-2/igt@[email protected]
* igt@kms_plane_multiple@2x-tiling-none:
- shard-lnl: NOTRUN -> [SKIP][63] ([Intel XE#4596] / [Intel XE#5854]) +2 other tests skip
[63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-5/igt@[email protected]
* igt@kms_plane_scaling@plane-downscale-factor-0-5-with-pixel-format@pipe-c:
- shard-lnl: NOTRUN -> [SKIP][64] ([Intel XE#2763] / [Intel XE#6886]) +13 other tests skip
[64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-5/igt@kms_plane_scaling@[email protected]
* igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-5:
- shard-bmg: NOTRUN -> [SKIP][65] ([Intel XE#2763] / [Intel XE#6886]) +4 other tests skip
[65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-bmg-6/igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-5.html
* igt@kms_pm_dc@dc3co-vpb-framegap:
- shard-lnl: NOTRUN -> [SKIP][66] ([Intel XE#8395] / [Intel XE#8396]) +3 other tests skip
[66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-8/igt@[email protected]
* igt@kms_pm_dc@dc3co-vpb-framegap@psr2-xrgb8888:
- shard-lnl: NOTRUN -> [SKIP][67] ([Intel XE#8396]) +3 other tests skip
[67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-8/igt@kms_pm_dc@[email protected]
* igt@kms_pm_dc@dc6-psr:
- shard-lnl: NOTRUN -> [FAIL][68] ([Intel XE#8399])
[68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-8/igt@[email protected]
* igt@kms_pm_rpm@dpms-mode-unset-lpsp:
- shard-bmg: NOTRUN -> [SKIP][69] ([Intel XE#1439] / [Intel XE#7402] / [Intel XE#836])
[69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-bmg-3/igt@[email protected]
* igt@kms_psr2_sf@fbc-psr2-cursor-plane-move-continuous-exceed-fully-sf:
- shard-lnl: NOTRUN -> [SKIP][70] ([Intel XE#2893] / [Intel XE#4608] / [Intel XE#7304]) +3 other tests skip
[70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-6/igt@kms_psr2_sf@fbc-psr2-cursor-plane-move-continuous-exceed-fully-sf.html
* igt@kms_psr2_sf@fbc-psr2-cursor-plane-move-continuous-exceed-fully-sf@pipe-b-edp-1:
- shard-lnl: NOTRUN -> [SKIP][71] ([Intel XE#4608] / [Intel XE#7304]) +3 other tests skip
[71]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-6/igt@kms_psr2_sf@fbc-psr2-cursor-plane-move-continuous-exceed-fully-sf@pipe-b-edp-1.html
* igt@kms_psr2_sf@fbc-psr2-overlay-plane-move-continuous-exceed-sf@pipe-a-edp-1:
- shard-lnl: NOTRUN -> [SKIP][72] ([Intel XE#4608]) +3 other tests skip
[72]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-7/igt@kms_psr2_sf@fbc-psr2-overlay-plane-move-continuous-exceed-sf@pipe-a-edp-1.html
* igt@kms_psr2_sf@pr-cursor-plane-move-continuous-exceed-fully-sf:
- shard-lnl: NOTRUN -> [SKIP][73] ([Intel XE#2893] / [Intel XE#7304]) +1 other test skip
[73]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-4/igt@[email protected]
* igt@kms_psr2_sf@psr2-plane-move-sf-dmg-area:
- shard-bmg: NOTRUN -> [SKIP][74] ([Intel XE#1489]) +2 other tests skip
[74]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-bmg-9/igt@[email protected]
* igt@kms_psr2_su@frontbuffer-xrgb8888:
- shard-lnl: NOTRUN -> [SKIP][75] ([Intel XE#1128] / [Intel XE#7413])
[75]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-8/igt@[email protected]
* igt@kms_psr@fbc-psr2-cursor-plane-onoff:
- shard-lnl: NOTRUN -> [SKIP][76] ([Intel XE#1406] / [Intel XE#7345])
[76]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-7/igt@[email protected]
* igt@kms_psr@fbc-psr2-cursor-plane-onoff@edp-1:
- shard-lnl: NOTRUN -> [SKIP][77] ([Intel XE#1406] / [Intel XE#4609] / [Intel XE#7345])
[77]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-7/igt@kms_psr@[email protected]
* igt@kms_psr@pr-no-drrs:
- shard-lnl: NOTRUN -> [SKIP][78] ([Intel XE#1406]) +6 other tests skip
[78]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-1/igt@[email protected]
* igt@kms_psr@psr2-sprite-plane-onoff:
- shard-bmg: NOTRUN -> [SKIP][79] ([Intel XE#2234] / [Intel XE#2850]) +1 other test skip
[79]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-bmg-4/igt@[email protected]
* igt@kms_rotation_crc@bad-pixel-format:
- shard-bmg: NOTRUN -> [SKIP][80] ([Intel XE#3904] / [Intel XE#7342])
[80]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-bmg-3/igt@[email protected]
* igt@kms_rotation_crc@primary-yf-tiled-reflect-x-270:
- shard-lnl: NOTRUN -> [SKIP][81] ([Intel XE#3414] / [Intel XE#3904] / [Intel XE#7342])
[81]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-4/igt@[email protected]
* igt@kms_scaling_modes@scaling-mode-center:
- shard-bmg: NOTRUN -> [SKIP][82] ([Intel XE#2413])
[82]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-bmg-4/igt@[email protected]
* igt@kms_vrr@flip-basic:
- shard-bmg: NOTRUN -> [SKIP][83] ([Intel XE#1499] / [Intel XE#9271])
[83]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-bmg-10/igt@[email protected]
* igt@runner@aborted:
- shard-lnl: NOTRUN -> [FAIL][84] ([Intel XE#8990])
[84]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-3/igt@[email protected]
* igt@sriov_basic@pf-unbind-with-vfs-enabled-numvfs-all:
- shard-lnl: NOTRUN -> [SKIP][85] ([Intel XE#8866])
[85]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-8/igt@[email protected]
* igt@xe_cw_post_sync@walker-post-sync:
- shard-bmg: NOTRUN -> [SKIP][86] ([Intel XE#8608])
[86]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-bmg-5/igt@[email protected]
* igt@xe_evict@evict-beng-mixed-threads-large-multi-vm:
- shard-lnl: NOTRUN -> [SKIP][87] ([Intel XE#6540] / [Intel XE#688]) +11 other tests skip
[87]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-5/igt@[email protected]
* igt@xe_evict@evict-small-multi-queue-priority:
- shard-bmg: NOTRUN -> [SKIP][88] ([Intel XE#8370])
[88]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-bmg-9/igt@[email protected]
* igt@xe_exec_balancer@once-parallel-userptr-rebind:
- shard-lnl: NOTRUN -> [SKIP][89] ([Intel XE#7482]) +20 other tests skip
[89]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-6/igt@[email protected]
* igt@xe_exec_basic@multigpu-many-execqueues-many-vm-bindexecqueue-userptr-invalidate-race:
- shard-lnl: NOTRUN -> [SKIP][90] ([Intel XE#1392]) +7 other tests skip
[90]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-7/igt@xe_exec_basic@multigpu-many-execqueues-many-vm-bindexecqueue-userptr-invalidate-race.html
* igt@xe_exec_basic@multigpu-no-exec-bindexecqueue:
- shard-bmg: NOTRUN -> [SKIP][91] ([Intel XE#2322] / [Intel XE#7372]) +1 other test skip
[91]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-bmg-9/igt@[email protected]
* igt@xe_exec_fault_mode@many-multi-queue-rebind-prefetch:
- shard-bmg: NOTRUN -> [SKIP][92] ([Intel XE#8374]) +1 other test skip
[92]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-bmg-3/igt@[email protected]
* igt@xe_exec_fault_mode@once-multi-queue-userptr-rebind:
- shard-lnl: NOTRUN -> [SKIP][93] ([Intel XE#8374]) +11 other tests skip
[93]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-1/igt@[email protected]
* igt@xe_exec_mix_modes@exec-multi-queue-spinner-interrupted-lr:
- shard-lnl: NOTRUN -> [SKIP][94] ([Intel XE#9003])
[94]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-3/igt@[email protected]
* igt@xe_exec_multi_queue@few-execs-preempt-mode-close-fd-smem:
- shard-bmg: NOTRUN -> [SKIP][95] ([Intel XE#8364]) +6 other tests skip
[95]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-bmg-9/igt@[email protected]
* igt@xe_exec_multi_queue@many-queues-preempt-mode-userptr:
- shard-lnl: NOTRUN -> [SKIP][96] ([Intel XE#8364]) +34 other tests skip
[96]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-5/igt@[email protected]
* igt@xe_exec_reset@cm-multi-queue-close-execqueues:
- shard-lnl: NOTRUN -> [SKIP][97] ([Intel XE#8369]) +1 other test skip
[97]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-7/igt@[email protected]
* igt@xe_exec_reset@cm-multi-queue-close-fd:
- shard-bmg: NOTRUN -> [SKIP][98] ([Intel XE#8369])
[98]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-bmg-4/igt@[email protected]
* igt@xe_exec_reset@gt-reset-fault-injection:
- shard-lnl: NOTRUN -> [ABORT][99] ([Intel XE#9145])
[99]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-1/igt@[email protected]
* igt@xe_exec_threads@threads-multi-queue-cm-shared-vm-userptr-rebind:
- shard-bmg: NOTRUN -> [SKIP][100] ([Intel XE#8378]) +1 other test skip
[100]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-bmg-8/igt@xe_exec_threads@threads-multi-queue-cm-shared-vm-userptr-rebind.html
* igt@xe_exec_threads@threads-multi-queue-mixed-shared-vm-rebind:
- shard-lnl: NOTRUN -> [SKIP][101] ([Intel XE#8378]) +11 other tests skip
[101]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-5/igt@[email protected]
* igt@xe_fault_injection@vm-bind-fail-xe_pt_update_ops_run:
- shard-bmg: [PASS][102] -> [ABORT][103] ([Intel XE#8007])
[102]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5755-0fb8d1900f1a6b9d21aadbfa5f784979b950bcf8/shard-bmg-4/igt@xe_fault_injection@vm-bind-fail-xe_pt_update_ops_run.html
[103]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-bmg-1/igt@xe_fault_injection@vm-bind-fail-xe_pt_update_ops_run.html
* igt@xe_mmap@pci-membarrier:
- shard-lnl: NOTRUN -> [SKIP][104] ([Intel XE#5100] / [Intel XE#7322] / [Intel XE#7408])
[104]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-3/igt@[email protected]
* igt@xe_multigpu_svm@mgpu-coherency-fail-basic:
- shard-lnl: NOTRUN -> [SKIP][105] ([Intel XE#6964]) +3 other tests skip
[105]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-7/igt@[email protected]
* igt@xe_multigpu_svm@mgpu-xgpu-access-prefetch:
- shard-bmg: NOTRUN -> [SKIP][106] ([Intel XE#6964])
[106]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-bmg-5/igt@[email protected]
* igt@xe_page_reclaim@basic-mixed:
- shard-bmg: NOTRUN -> [SKIP][107] ([Intel XE#7793])
[107]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-bmg-3/igt@[email protected]
* igt@xe_page_reclaim@binds-null-vma:
- shard-lnl: NOTRUN -> [SKIP][108] ([Intel XE#7793]) +2 other tests skip
[108]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-7/igt@[email protected]
* igt@xe_pat@l2-flush-opt-svm-pat-restrict:
- shard-lnl: NOTRUN -> [SKIP][109] ([Intel XE#7590] / [Intel XE#7772])
[109]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-3/igt@[email protected]
* igt@xe_pat@pat-index-xelp:
- shard-bmg: NOTRUN -> [SKIP][110] ([Intel XE#2245] / [Intel XE#7590])
[110]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-bmg-9/igt@[email protected]
* igt@xe_pm@d3cold-basic:
- shard-lnl: NOTRUN -> [SKIP][111] ([Intel XE#2284] / [Intel XE#366] / [Intel XE#7370]) +1 other test skip
[111]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-1/igt@[email protected]
* igt@xe_pmu@all-fn-engine-activity-load:
- shard-bmg: [PASS][112] -> [FAIL][113] ([Intel XE#7992])
[112]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5755-0fb8d1900f1a6b9d21aadbfa5f784979b950bcf8/shard-bmg-5/igt@[email protected]
[113]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-bmg-2/igt@[email protected]
* igt@xe_prefetch_fault@prefetch-fault:
- shard-lnl: NOTRUN -> [SKIP][114] ([Intel XE#7599])
[114]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-1/igt@[email protected]
* igt@xe_prefetch_fault@prefetch-fault-svm:
- shard-bmg: NOTRUN -> [SKIP][115] ([Intel XE#7599])
[115]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-bmg-7/igt@[email protected]
* igt@xe_query@multigpu-query-pxp-status:
- shard-lnl: NOTRUN -> [SKIP][116] ([Intel XE#944]) +1 other test skip
[116]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-2/igt@[email protected]
* igt@xe_query@multigpu-query-uc-fw-version-guc:
- shard-bmg: NOTRUN -> [SKIP][117] ([Intel XE#944])
[117]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-bmg-2/igt@[email protected]
* igt@xe_sriov_admin@bulk-sched-priority-vfs-disabled:
- shard-lnl: NOTRUN -> [SKIP][118] ([Intel XE#7174]) +1 other test skip
[118]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-1/igt@[email protected]
* igt@xe_sriov_auto_provisioning@fair-allocation:
- shard-lnl: NOTRUN -> [SKIP][119] ([Intel XE#4130] / [Intel XE#7366])
[119]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-1/igt@[email protected]
* igt@xe_sriov_flr@flr-twice:
- shard-lnl: NOTRUN -> [SKIP][120] ([Intel XE#4273])
[120]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-2/igt@[email protected]
* igt@xe_sriov_scheduling@nonpreempt-engine-resets-low-priority:
- shard-lnl: NOTRUN -> [SKIP][121] ([Intel XE#8339])
[121]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-7/igt@[email protected]
* igt@xe_survivability@runtime-survivability:
- shard-lnl: NOTRUN -> [SKIP][122] ([Intel XE#8415])
[122]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-5/igt@[email protected]
* igt@xe_vm@overcommit-fault-vram-lr-no-overcommit:
- shard-lnl: NOTRUN -> [SKIP][123] ([Intel XE#7892])
[123]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-1/igt@[email protected]
* igt@xe_wedged@basic-wedged:
- shard-lnl: NOTRUN -> [ABORT][124] ([Intel XE#8963])
[124]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-lnl-4/igt@[email protected]
#### Possible fixes ####
* igt@xe_exec_threads@threads-hang-fd-userptr-invalidate-race:
- shard-bmg: [FAIL][125] ([Intel XE#9096]) -> [PASS][126]
[125]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5755-0fb8d1900f1a6b9d21aadbfa5f784979b950bcf8/shard-bmg-6/igt@[email protected]
[126]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-bmg-8/igt@[email protected]
* igt@xe_pm@s3-basic-exec:
- shard-bmg: [INCOMPLETE][127] ([Intel XE#8175]) -> [PASS][128]
[127]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5755-0fb8d1900f1a6b9d21aadbfa5f784979b950bcf8/shard-bmg-6/igt@[email protected]
[128]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-bmg-8/igt@[email protected]
* igt@xe_sriov_flr@flr-vfs-parallel:
- shard-bmg: [FAIL][129] ([Intel XE#6569]) -> [PASS][130]
[129]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5755-0fb8d1900f1a6b9d21aadbfa5f784979b950bcf8/shard-bmg-4/igt@[email protected]
[130]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-bmg-4/igt@[email protected]
#### Warnings ####
* igt@kms_tiled_display@basic-test-pattern-with-chamelium:
- shard-bmg: [SKIP][131] ([Intel XE#2426] / [Intel XE#5848]) -> [SKIP][132] ([Intel XE#2509] / [Intel XE#7437])
[131]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5755-0fb8d1900f1a6b9d21aadbfa5f784979b950bcf8/shard-bmg-9/igt@[email protected]
[132]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-bmg-3/igt@[email protected]
* igt@xe_exec_reset@gt-reset-fault-injection:
- shard-bmg: [DMESG-WARN][133] ([Intel XE#9130]) -> [ABORT][134] ([Intel XE#9145])
[133]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5755-0fb8d1900f1a6b9d21aadbfa5f784979b950bcf8/shard-bmg-6/igt@[email protected]
[134]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/shard-bmg-3/igt@[email protected]
[Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
[Intel XE#1125]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1125
[Intel XE#1128]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1128
[Intel XE#1137]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1137
[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#1439]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1439
[Intel XE#1466]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1466
[Intel XE#1467]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1467
[Intel XE#1470]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1470
[Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
[Intel XE#1499]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1499
[Intel XE#1503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1503
[Intel XE#1745]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1745
[Intel XE#2049]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2049
[Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
[Intel XE#2245]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2245
[Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
[Intel XE#2284]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2284
[Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311
[Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313
[Intel XE#2321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2321
[Intel XE#2322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2322
[Intel XE#2370]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2370
[Intel XE#2375]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2375
[Intel XE#2413]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2413
[Intel XE#2426]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2426
[Intel XE#2509]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2509
[Intel XE#2597]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2597
[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#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
[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#323]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/323
[Intel XE#3279]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3279
[Intel XE#3304]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3304
[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#4273]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4273
[Intel XE#4298]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4298
[Intel XE#4354]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4354
[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#5100]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5100
[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#5873]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5873
[Intel XE#5882]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5882
[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#607]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/607
[Intel XE#6312]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6312
[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#6569]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6569
[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#6964]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6964
[Intel XE#6974]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6974
[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#7085]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7085
[Intel XE#7173]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7173
[Intel XE#7174]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7174
[Intel XE#7178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7178
[Intel XE#7179]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7179
[Intel XE#7283]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7283
[Intel XE#7294]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7294
[Intel XE#7304]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7304
[Intel XE#7312]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7312
[Intel XE#7322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7322
[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#7345]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7345
[Intel XE#7351]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7351
[Intel XE#7355]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7355
[Intel XE#7356]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7356
[Intel XE#7358]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7358
[Intel XE#7360]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7360
[Intel XE#7361]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7361
[Intel XE#7366]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7366
[Intel XE#7367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7367
[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#7385]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7385
[Intel XE#7402]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7402
[Intel XE#7408]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7408
[Intel XE#7413]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7413
[Intel XE#7437]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7437
[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#7591]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7591
[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#7679]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7679
[Intel XE#7772]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7772
[Intel XE#7793]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7793
[Intel XE#7865]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7865
[Intel XE#7892]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7892
[Intel XE#7905]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7905
[Intel XE#7992]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7992
[Intel XE#8007]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8007
[Intel XE#8155]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8155
[Intel XE#8175]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8175
[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#836]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/836
[Intel XE#8364]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8364
[Intel XE#8369]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8369
[Intel XE#8370]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8370
[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#8395]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8395
[Intel XE#8396]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8396
[Intel XE#8399]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8399
[Intel XE#8415]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8415
[Intel XE#8608]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8608
[Intel XE#8866]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8866
[Intel XE#8963]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8963
[Intel XE#8990]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8990
[Intel XE#9003]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9003
[Intel XE#9096]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9096
[Intel XE#9130]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9130
[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#9271]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9271
[Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944
Build changes
-------------
* IGT: IGT_9098 -> IGT_9099
* Linux: xe-5755-0fb8d1900f1a6b9d21aadbfa5f784979b950bcf8 -> xe-pw-174252v1
IGT_9098: 9098
IGT_9099: 9099
xe-5755-0fb8d1900f1a6b9d21aadbfa5f784979b950bcf8: 0fb8d1900f1a6b9d21aadbfa5f784979b950bcf8
xe-pw-174252v1: 174252v1
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-174252v1/index.html
Matthew Brost
maintainerQuoted 5 lines · Arvind Yadav
On BMG, terminating a process with Ctrl+C while GPU work is running under VRAM pressure can cause an RCS page fault followed by a migration queue timeout on BCS8 (
guc_id0). The driver resets the GT, but the pending migration job can time out again and eventually wedge the device.
If we can just avoid faults on ctrl-c or segfault will this series be needed (or at least only a subset of this series)?
I suggested a way to kill the exec queue first + sync wait on those here
[1] before clobbering the GPU page tables? I don't really care who works on [1].
We still need root cause why a RCS fault affects the BCS engine - it shouldn't and need investigation.
Matt
[1] https://patchwork.freedesktop.org/patch/752845/?series=173889&rev=1#comment_1391707
Quoted 53 lines
BCS8 is reserved for paging and runs migration and VM bind work. The exact hardware link between the RCS fault and the BCS8 stall is still under investigation. This series addresses the teardown and recovery problems found while debugging this failure.
During file close, exec queue cleanup starts asynchronously, but the VM mappings can be removed before that cleanup finishes. A missed wakeup in the GuC disable-completion handler can also turn a completed operation into a five-second timeout and an unnecessary GT reset.
The reset replay path rewinds the software ring tail to the oldest pending job, but leaves the LRC head at its saved position. This leaves different starting positions for replay.
The four patches address these paths:
1. Clear pending-disable state before waking waiters, so a completed disable does not appear to time out.2. Mark VMs as closing before queue cleanup. Reject new work and page faults on closing VMs, while allowing existing SVM invalidation to drain mappings.
3. Keep VM mappings alive until queue cleanup completes. File close uses one five-second queue-wait budget across all VMs, then defers any remaining teardown. VM destroy defers without waiting. Device references protect deferred close and final VM destruction on the module-lifetime destroy workqueue.
4. Set the software tail and LRC head and tail to the oldest pending job before resubmitting jobs after a GT reset.
The five-second budget applies only to the new queue-cleanup wait. Existing teardown waits are unchanged.
Arvind Yadav (5):
drm/xe: Hold a device reference across deferred VM destruction drm/xe/guc: Wake disable waiters after clearing pending state drm/xe: Mark VMs as closing before queue cleanup drm/xe: Defer VM teardown until exec queue cleanup completes drm/xe/guc: Reset LRC ring pointers before replaydrivers/gpu/drm/xe/xe_device.c | 25 +++- drivers/gpu/drm/xe/xe_exec_queue.c | 22 +++- drivers/gpu/drm/xe/xe_guc_submit.c | 60 +++++---- drivers/gpu/drm/xe/xe_module.c | 6 +- drivers/gpu/drm/xe/xe_pagefault.c | 2 +- drivers/gpu/drm/xe/xe_svm.c | 3 +- drivers/gpu/drm/xe/xe_vm.c | 205 +++++++++++++++++++++++++---- drivers/gpu/drm/xe/xe_vm.h | 14 +- drivers/gpu/drm/xe/xe_vm_types.h | 16 +++ 9 files changed, 289 insertions(+), 64 deletions(-)Signature · 1 line
2.43.0
Quoted 6 lines · Matthew Brost
Quoted 5 lines · Arvind Yadav
On BMG, terminating a process with Ctrl+C while GPU work is running under VRAM pressure can cause an RCS page fault followed by a migration queue timeout on BCS8 (
guc_id0). The driver resets the GT, but the pending migration job can time out again and eventually wedge the device.
Quoted 6 lines
If we can just avoid faults on ctrl-c or segfault will this series be needed (or at least only a subset of this series)?
I suggested a way to kill the exec queue first + sync wait on those here
[1] before clobbering the GPU page tables? I don't really care who works on [1].
Thankyou Matt for you review comments and suggestions.
My series waits for final queue cleanup before removing the VM mappings. Your suggestion is to disable all queues first, then wait for them to stop before calling xe_vm_close(). I will build on your v6 patch and add the synchronous wait from the earlier discussion. I will test that approach and check which parts of my series are still needed.
Quoted 3 lines
We still need root cause why a RCS fault affects the BCS engine - it shouldn't and need investigation.
I will also continue the GuC investigation into the first BCS8 failure. Avoiding the teardown fault may prevent this reproducer, but it does not explain why the RCS fault affects BCS8. I am discussing this issue with the GuC team, and once we identify the root cause, I will provide an update.
Thanks,
Arvind
Quoted 58 lines
Matt
[1] https://patchwork.freedesktop.org/patch/752845/?series=173889&rev=1#comment_1391707
Quoted 53 lines
BCS8 is reserved for paging and runs migration and VM bind work. The exact hardware link between the RCS fault and the BCS8 stall is still under investigation. This series addresses the teardown and recovery problems found while debugging this failure.
During file close, exec queue cleanup starts asynchronously, but the VM mappings can be removed before that cleanup finishes. A missed wakeup in the GuC disable-completion handler can also turn a completed operation into a five-second timeout and an unnecessary GT reset.
The reset replay path rewinds the software ring tail to the oldest pending job, but leaves the LRC head at its saved position. This leaves different starting positions for replay.
The four patches address these paths:
1. Clear pending-disable state before waking waiters, so a completed disable does not appear to time out.2. Mark VMs as closing before queue cleanup. Reject new work and page faults on closing VMs, while allowing existing SVM invalidation to drain mappings.
3. Keep VM mappings alive until queue cleanup completes. File close uses one five-second queue-wait budget across all VMs, then defers any remaining teardown. VM destroy defers without waiting. Device references protect deferred close and final VM destruction on the module-lifetime destroy workqueue.
4. Set the software tail and LRC head and tail to the oldest pending job before resubmitting jobs after a GT reset.
The five-second budget applies only to the new queue-cleanup wait. Existing teardown waits are unchanged.
Arvind Yadav (5):
drm/xe: Hold a device reference across deferred VM destruction drm/xe/guc: Wake disable waiters after clearing pending state drm/xe: Mark VMs as closing before queue cleanup drm/xe: Defer VM teardown until exec queue cleanup completes drm/xe/guc: Reset LRC ring pointers before replaydrivers/gpu/drm/xe/xe_device.c | 25 +++- drivers/gpu/drm/xe/xe_exec_queue.c | 22 +++- drivers/gpu/drm/xe/xe_guc_submit.c | 60 +++++---- drivers/gpu/drm/xe/xe_module.c | 6 +- drivers/gpu/drm/xe/xe_pagefault.c | 2 +- drivers/gpu/drm/xe/xe_svm.c | 3 +- drivers/gpu/drm/xe/xe_vm.c | 205 +++++++++++++++++++++++++---- drivers/gpu/drm/xe/xe_vm.h | 14 +- drivers/gpu/drm/xe/xe_vm_types.h | 16 +++ 9 files changed, 289 insertions(+), 64 deletions(-)Signature · 1 line
2.43.0