* [PATCH] drm/xe/dma-buf: handle empty bo and UAF races
@ 2026-05-06 18:43 Matthew Auld
2026-05-06 18:52 ` ✓ CI.KUnit: success for " Patchwork
` (4 more replies)
0 siblings, 5 replies; 8+ messages in thread
From: Matthew Auld @ 2026-05-06 18:43 UTC (permalink / raw)
To: intel-xe; +Cc: Thomas Hellström, Matthew Brost, stable
There look to be some nasty races here when triggering the
invalidate_mappings hook:
1) We do xe_bo_alloc() followed by the attach, before the actual full bo
init step in xe_dma_buf_init_obj(). However the bo is visible on the
attachments list after the attach. This is bad since exporter driver,
say amdgpu, can at any time call back into our invalidate_mappings hook,
with an empty/bogus bo, leading to potential bugs/crashes.
2) Similar to 1) but here we get a UAF, when the invalidate_mappings
hook is triggered. For example, we get as far as xe_bo_init_locked()
but this fails in some way. But here the bo will be freed on error, but
we still have it attached from dma-buf pov, so if the
invalidate_mappings is now triggered then the bo we access is gone and
we trigger UAF and more bugs/crashes.
To fix this, move the attach step until after we actually have a fully
set up buffer object. Note that the bo is not published to userspace
until later, so not sure what the comment "Don't publish the bo
until we have a valid attachment", is referring to.
We have at least two different customers reporting hitting a NULL ptr
deref in evict_flags when importing something from amdgpu, followed by
triggering the evict flow. Hit rate is also pretty low, which would
hint at some kind of race, so something like 1) or 2) might explain
this.
Assisted-by: Gemini:gemini-3 #debug
Link: https://gitlab.freedesktop.org/drm/xe/kernel/-/work_items/7903
Link: https://gitlab.freedesktop.org/drm/xe/kernel/-/work_items/4055
Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs")
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: <stable@vger.kernel.org> # v6.8+
---
drivers/gpu/drm/xe/xe_dma_buf.c | 23 ++++++++---------------
1 file changed, 8 insertions(+), 15 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_dma_buf.c b/drivers/gpu/drm/xe/xe_dma_buf.c
index b9828da15897..e6c2f7d30abb 100644
--- a/drivers/gpu/drm/xe/xe_dma_buf.c
+++ b/drivers/gpu/drm/xe/xe_dma_buf.c
@@ -357,11 +357,6 @@ struct drm_gem_object *xe_gem_prime_import(struct drm_device *dev,
}
}
- /*
- * Don't publish the bo until we have a valid attachment, and a
- * valid attachment needs the bo address. So pre-create a bo before
- * creating the attachment and publish.
- */
bo = xe_bo_alloc();
if (IS_ERR(bo))
return ERR_CAST(bo);
@@ -371,6 +366,13 @@ struct drm_gem_object *xe_gem_prime_import(struct drm_device *dev,
if (test)
attach_ops = test->attach_ops;
#endif
+ /*
+ * xe_dma_buf_init_obj() takes ownership of bo on both success
+ * and failure, so we must not touch bo after this call.
+ */
+ obj = xe_dma_buf_init_obj(dev, bo, dma_buf);
+ if (IS_ERR(obj))
+ return obj;
attach = dma_buf_dynamic_attach(dma_buf, dev->dev, attach_ops, &bo->ttm.base);
if (IS_ERR(attach)) {
@@ -378,21 +380,12 @@ struct drm_gem_object *xe_gem_prime_import(struct drm_device *dev,
goto out_err;
}
- /*
- * xe_dma_buf_init_obj() takes ownership of bo on both success
- * and failure, so we must not touch bo after this call.
- */
- obj = xe_dma_buf_init_obj(dev, bo, dma_buf);
- if (IS_ERR(obj)) {
- dma_buf_detach(dma_buf, attach);
- return obj;
- }
get_dma_buf(dma_buf);
obj->import_attach = attach;
return obj;
out_err:
- xe_bo_free(bo);
+ xe_bo_put(bo);
return obj;
}
--
2.53.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* ✓ CI.KUnit: success for drm/xe/dma-buf: handle empty bo and UAF races
2026-05-06 18:43 [PATCH] drm/xe/dma-buf: handle empty bo and UAF races Matthew Auld
@ 2026-05-06 18:52 ` Patchwork
2026-05-06 19:32 ` [PATCH] " Matthew Brost
` (3 subsequent siblings)
4 siblings, 0 replies; 8+ messages in thread
From: Patchwork @ 2026-05-06 18:52 UTC (permalink / raw)
To: Matthew Auld; +Cc: intel-xe
== Series Details ==
Series: drm/xe/dma-buf: handle empty bo and UAF races
URL : https://patchwork.freedesktop.org/series/166074/
State : success
== Summary ==
+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig
[18:50:52] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[18:50:56] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[18:51:27] Starting KUnit Kernel (1/1)...
[18:51:27] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[18:51:28] ================== guc_buf (11 subtests) ===================
[18:51:28] [PASSED] test_smallest
[18:51:28] [PASSED] test_largest
[18:51:28] [PASSED] test_granular
[18:51:28] [PASSED] test_unique
[18:51:28] [PASSED] test_overlap
[18:51:28] [PASSED] test_reusable
[18:51:28] [PASSED] test_too_big
[18:51:28] [PASSED] test_flush
[18:51:28] [PASSED] test_lookup
[18:51:28] [PASSED] test_data
[18:51:28] [PASSED] test_class
[18:51:28] ===================== [PASSED] guc_buf =====================
[18:51:28] =================== guc_dbm (7 subtests) ===================
[18:51:28] [PASSED] test_empty
[18:51:28] [PASSED] test_default
[18:51:28] ======================== test_size ========================
[18:51:28] [PASSED] 4
[18:51:28] [PASSED] 8
[18:51:28] [PASSED] 32
[18:51:28] [PASSED] 256
[18:51:28] ==================== [PASSED] test_size ====================
[18:51:28] ======================= test_reuse ========================
[18:51:28] [PASSED] 4
[18:51:28] [PASSED] 8
[18:51:28] [PASSED] 32
[18:51:28] [PASSED] 256
[18:51:28] =================== [PASSED] test_reuse ====================
[18:51:28] =================== test_range_overlap ====================
[18:51:28] [PASSED] 4
[18:51:28] [PASSED] 8
[18:51:28] [PASSED] 32
[18:51:28] [PASSED] 256
[18:51:28] =============== [PASSED] test_range_overlap ================
[18:51:28] =================== test_range_compact ====================
[18:51:28] [PASSED] 4
[18:51:28] [PASSED] 8
[18:51:28] [PASSED] 32
[18:51:28] [PASSED] 256
[18:51:28] =============== [PASSED] test_range_compact ================
[18:51:28] ==================== test_range_spare =====================
[18:51:28] [PASSED] 4
[18:51:28] [PASSED] 8
[18:51:28] [PASSED] 32
[18:51:28] [PASSED] 256
[18:51:28] ================ [PASSED] test_range_spare =================
[18:51:28] ===================== [PASSED] guc_dbm =====================
[18:51:28] =================== guc_idm (6 subtests) ===================
[18:51:28] [PASSED] bad_init
[18:51:28] [PASSED] no_init
[18:51:28] [PASSED] init_fini
[18:51:28] [PASSED] check_used
[18:51:28] [PASSED] check_quota
[18:51:28] [PASSED] check_all
[18:51:28] ===================== [PASSED] guc_idm =====================
[18:51:28] ================== no_relay (3 subtests) ===================
[18:51:28] [PASSED] xe_drops_guc2pf_if_not_ready
[18:51:28] [PASSED] xe_drops_guc2vf_if_not_ready
[18:51:28] [PASSED] xe_rejects_send_if_not_ready
[18:51:28] ==================== [PASSED] no_relay =====================
[18:51:28] ================== pf_relay (14 subtests) ==================
[18:51:28] [PASSED] pf_rejects_guc2pf_too_short
[18:51:28] [PASSED] pf_rejects_guc2pf_too_long
[18:51:28] [PASSED] pf_rejects_guc2pf_no_payload
[18:51:28] [PASSED] pf_fails_no_payload
[18:51:28] [PASSED] pf_fails_bad_origin
[18:51:28] [PASSED] pf_fails_bad_type
[18:51:28] [PASSED] pf_txn_reports_error
[18:51:28] [PASSED] pf_txn_sends_pf2guc
[18:51:28] [PASSED] pf_sends_pf2guc
[18:51:28] [SKIPPED] pf_loopback_nop
[18:51:28] [SKIPPED] pf_loopback_echo
[18:51:28] [SKIPPED] pf_loopback_fail
[18:51:28] [SKIPPED] pf_loopback_busy
[18:51:28] [SKIPPED] pf_loopback_retry
[18:51:28] ==================== [PASSED] pf_relay =====================
[18:51:28] ================== vf_relay (3 subtests) ===================
[18:51:28] [PASSED] vf_rejects_guc2vf_too_short
[18:51:28] [PASSED] vf_rejects_guc2vf_too_long
[18:51:28] [PASSED] vf_rejects_guc2vf_no_payload
[18:51:28] ==================== [PASSED] vf_relay =====================
[18:51:28] ================ pf_gt_config (9 subtests) =================
[18:51:28] [PASSED] fair_contexts_1vf
[18:51:28] [PASSED] fair_doorbells_1vf
[18:51:28] [PASSED] fair_ggtt_1vf
[18:51:28] ====================== fair_vram_1vf ======================
[18:51:28] [PASSED] 3.50 GiB
[18:51:28] [PASSED] 11.5 GiB
[18:51:28] [PASSED] 15.5 GiB
[18:51:28] [PASSED] 31.5 GiB
[18:51:28] [PASSED] 63.5 GiB
[18:51:28] [PASSED] 1.91 GiB
[18:51:28] ================== [PASSED] fair_vram_1vf ==================
[18:51:28] ================ fair_vram_1vf_admin_only =================
[18:51:28] [PASSED] 3.50 GiB
[18:51:28] [PASSED] 11.5 GiB
[18:51:28] [PASSED] 15.5 GiB
[18:51:28] [PASSED] 31.5 GiB
[18:51:28] [PASSED] 63.5 GiB
[18:51:28] [PASSED] 1.91 GiB
[18:51:28] ============ [PASSED] fair_vram_1vf_admin_only =============
[18:51:28] ====================== fair_contexts ======================
[18:51:28] [PASSED] 1 VF
[18:51:28] [PASSED] 2 VFs
[18:51:28] [PASSED] 3 VFs
[18:51:28] [PASSED] 4 VFs
[18:51:28] [PASSED] 5 VFs
[18:51:28] [PASSED] 6 VFs
[18:51:28] [PASSED] 7 VFs
[18:51:28] [PASSED] 8 VFs
[18:51:28] [PASSED] 9 VFs
[18:51:28] [PASSED] 10 VFs
[18:51:28] [PASSED] 11 VFs
[18:51:28] [PASSED] 12 VFs
[18:51:28] [PASSED] 13 VFs
[18:51:28] [PASSED] 14 VFs
[18:51:28] [PASSED] 15 VFs
[18:51:28] [PASSED] 16 VFs
[18:51:28] [PASSED] 17 VFs
[18:51:28] [PASSED] 18 VFs
[18:51:28] [PASSED] 19 VFs
[18:51:28] [PASSED] 20 VFs
[18:51:28] [PASSED] 21 VFs
[18:51:28] [PASSED] 22 VFs
[18:51:28] [PASSED] 23 VFs
[18:51:28] [PASSED] 24 VFs
[18:51:28] [PASSED] 25 VFs
[18:51:28] [PASSED] 26 VFs
[18:51:28] [PASSED] 27 VFs
[18:51:28] [PASSED] 28 VFs
[18:51:28] [PASSED] 29 VFs
[18:51:28] [PASSED] 30 VFs
[18:51:28] [PASSED] 31 VFs
[18:51:28] [PASSED] 32 VFs
[18:51:28] [PASSED] 33 VFs
[18:51:28] [PASSED] 34 VFs
[18:51:28] [PASSED] 35 VFs
[18:51:28] [PASSED] 36 VFs
[18:51:28] [PASSED] 37 VFs
[18:51:28] [PASSED] 38 VFs
[18:51:28] [PASSED] 39 VFs
[18:51:28] [PASSED] 40 VFs
[18:51:28] [PASSED] 41 VFs
[18:51:28] [PASSED] 42 VFs
[18:51:28] [PASSED] 43 VFs
[18:51:28] [PASSED] 44 VFs
[18:51:28] [PASSED] 45 VFs
[18:51:28] [PASSED] 46 VFs
[18:51:28] [PASSED] 47 VFs
[18:51:28] [PASSED] 48 VFs
[18:51:28] [PASSED] 49 VFs
[18:51:28] [PASSED] 50 VFs
[18:51:28] [PASSED] 51 VFs
[18:51:28] [PASSED] 52 VFs
[18:51:28] [PASSED] 53 VFs
[18:51:28] [PASSED] 54 VFs
[18:51:28] [PASSED] 55 VFs
[18:51:28] [PASSED] 56 VFs
[18:51:28] [PASSED] 57 VFs
[18:51:28] [PASSED] 58 VFs
[18:51:28] [PASSED] 59 VFs
[18:51:28] [PASSED] 60 VFs
[18:51:28] [PASSED] 61 VFs
[18:51:28] [PASSED] 62 VFs
[18:51:28] [PASSED] 63 VFs
[18:51:28] ================== [PASSED] fair_contexts ==================
[18:51:28] ===================== fair_doorbells ======================
[18:51:28] [PASSED] 1 VF
[18:51:28] [PASSED] 2 VFs
[18:51:28] [PASSED] 3 VFs
[18:51:28] [PASSED] 4 VFs
[18:51:28] [PASSED] 5 VFs
[18:51:28] [PASSED] 6 VFs
[18:51:28] [PASSED] 7 VFs
[18:51:28] [PASSED] 8 VFs
[18:51:28] [PASSED] 9 VFs
[18:51:28] [PASSED] 10 VFs
[18:51:28] [PASSED] 11 VFs
[18:51:28] [PASSED] 12 VFs
[18:51:28] [PASSED] 13 VFs
[18:51:28] [PASSED] 14 VFs
[18:51:28] [PASSED] 15 VFs
[18:51:28] [PASSED] 16 VFs
[18:51:28] [PASSED] 17 VFs
[18:51:28] [PASSED] 18 VFs
[18:51:28] [PASSED] 19 VFs
[18:51:28] [PASSED] 20 VFs
[18:51:28] [PASSED] 21 VFs
[18:51:28] [PASSED] 22 VFs
[18:51:28] [PASSED] 23 VFs
[18:51:28] [PASSED] 24 VFs
[18:51:28] [PASSED] 25 VFs
[18:51:28] [PASSED] 26 VFs
[18:51:28] [PASSED] 27 VFs
[18:51:28] [PASSED] 28 VFs
[18:51:28] [PASSED] 29 VFs
[18:51:28] [PASSED] 30 VFs
[18:51:28] [PASSED] 31 VFs
[18:51:28] [PASSED] 32 VFs
[18:51:28] [PASSED] 33 VFs
[18:51:28] [PASSED] 34 VFs
[18:51:28] [PASSED] 35 VFs
[18:51:28] [PASSED] 36 VFs
[18:51:28] [PASSED] 37 VFs
[18:51:28] [PASSED] 38 VFs
[18:51:28] [PASSED] 39 VFs
[18:51:28] [PASSED] 40 VFs
[18:51:28] [PASSED] 41 VFs
[18:51:28] [PASSED] 42 VFs
[18:51:28] [PASSED] 43 VFs
[18:51:28] [PASSED] 44 VFs
[18:51:28] [PASSED] 45 VFs
[18:51:28] [PASSED] 46 VFs
[18:51:28] [PASSED] 47 VFs
[18:51:28] [PASSED] 48 VFs
[18:51:28] [PASSED] 49 VFs
[18:51:28] [PASSED] 50 VFs
[18:51:28] [PASSED] 51 VFs
[18:51:28] [PASSED] 52 VFs
[18:51:28] [PASSED] 53 VFs
[18:51:28] [PASSED] 54 VFs
[18:51:28] [PASSED] 55 VFs
[18:51:28] [PASSED] 56 VFs
[18:51:28] [PASSED] 57 VFs
[18:51:28] [PASSED] 58 VFs
[18:51:28] [PASSED] 59 VFs
[18:51:28] [PASSED] 60 VFs
[18:51:28] [PASSED] 61 VFs
[18:51:28] [PASSED] 62 VFs
[18:51:28] [PASSED] 63 VFs
[18:51:28] ================= [PASSED] fair_doorbells ==================
[18:51:28] ======================== fair_ggtt ========================
[18:51:28] [PASSED] 1 VF
[18:51:28] [PASSED] 2 VFs
[18:51:28] [PASSED] 3 VFs
[18:51:28] [PASSED] 4 VFs
[18:51:28] [PASSED] 5 VFs
[18:51:28] [PASSED] 6 VFs
[18:51:28] [PASSED] 7 VFs
[18:51:28] [PASSED] 8 VFs
[18:51:28] [PASSED] 9 VFs
[18:51:28] [PASSED] 10 VFs
[18:51:28] [PASSED] 11 VFs
[18:51:28] [PASSED] 12 VFs
[18:51:28] [PASSED] 13 VFs
[18:51:28] [PASSED] 14 VFs
[18:51:28] [PASSED] 15 VFs
[18:51:28] [PASSED] 16 VFs
[18:51:28] [PASSED] 17 VFs
[18:51:28] [PASSED] 18 VFs
[18:51:28] [PASSED] 19 VFs
[18:51:28] [PASSED] 20 VFs
[18:51:28] [PASSED] 21 VFs
[18:51:28] [PASSED] 22 VFs
[18:51:28] [PASSED] 23 VFs
[18:51:28] [PASSED] 24 VFs
[18:51:28] [PASSED] 25 VFs
[18:51:28] [PASSED] 26 VFs
[18:51:28] [PASSED] 27 VFs
[18:51:28] [PASSED] 28 VFs
[18:51:28] [PASSED] 29 VFs
[18:51:28] [PASSED] 30 VFs
[18:51:28] [PASSED] 31 VFs
[18:51:28] [PASSED] 32 VFs
[18:51:28] [PASSED] 33 VFs
[18:51:28] [PASSED] 34 VFs
[18:51:28] [PASSED] 35 VFs
[18:51:28] [PASSED] 36 VFs
[18:51:28] [PASSED] 37 VFs
[18:51:28] [PASSED] 38 VFs
[18:51:28] [PASSED] 39 VFs
[18:51:28] [PASSED] 40 VFs
[18:51:28] [PASSED] 41 VFs
[18:51:28] [PASSED] 42 VFs
[18:51:28] [PASSED] 43 VFs
[18:51:28] [PASSED] 44 VFs
[18:51:28] [PASSED] 45 VFs
[18:51:28] [PASSED] 46 VFs
[18:51:28] [PASSED] 47 VFs
[18:51:28] [PASSED] 48 VFs
[18:51:28] [PASSED] 49 VFs
[18:51:28] [PASSED] 50 VFs
[18:51:28] [PASSED] 51 VFs
[18:51:28] [PASSED] 52 VFs
[18:51:28] [PASSED] 53 VFs
[18:51:28] [PASSED] 54 VFs
[18:51:28] [PASSED] 55 VFs
[18:51:28] [PASSED] 56 VFs
[18:51:28] [PASSED] 57 VFs
[18:51:28] [PASSED] 58 VFs
[18:51:28] [PASSED] 59 VFs
[18:51:28] [PASSED] 60 VFs
[18:51:28] [PASSED] 61 VFs
[18:51:28] [PASSED] 62 VFs
[18:51:28] [PASSED] 63 VFs
[18:51:28] ==================== [PASSED] fair_ggtt ====================
[18:51:28] ======================== fair_vram ========================
[18:51:28] [PASSED] 1 VF
[18:51:28] [PASSED] 2 VFs
[18:51:28] [PASSED] 3 VFs
[18:51:28] [PASSED] 4 VFs
[18:51:28] [PASSED] 5 VFs
[18:51:28] [PASSED] 6 VFs
[18:51:28] [PASSED] 7 VFs
[18:51:28] [PASSED] 8 VFs
[18:51:28] [PASSED] 9 VFs
[18:51:28] [PASSED] 10 VFs
[18:51:28] [PASSED] 11 VFs
[18:51:28] [PASSED] 12 VFs
[18:51:28] [PASSED] 13 VFs
[18:51:28] [PASSED] 14 VFs
[18:51:28] [PASSED] 15 VFs
[18:51:28] [PASSED] 16 VFs
[18:51:28] [PASSED] 17 VFs
[18:51:28] [PASSED] 18 VFs
[18:51:28] [PASSED] 19 VFs
[18:51:28] [PASSED] 20 VFs
[18:51:28] [PASSED] 21 VFs
[18:51:28] [PASSED] 22 VFs
[18:51:28] [PASSED] 23 VFs
[18:51:28] [PASSED] 24 VFs
[18:51:28] [PASSED] 25 VFs
[18:51:28] [PASSED] 26 VFs
[18:51:28] [PASSED] 27 VFs
[18:51:28] [PASSED] 28 VFs
[18:51:28] [PASSED] 29 VFs
[18:51:28] [PASSED] 30 VFs
[18:51:28] [PASSED] 31 VFs
[18:51:28] [PASSED] 32 VFs
[18:51:28] [PASSED] 33 VFs
[18:51:28] [PASSED] 34 VFs
[18:51:28] [PASSED] 35 VFs
[18:51:28] [PASSED] 36 VFs
[18:51:28] [PASSED] 37 VFs
[18:51:28] [PASSED] 38 VFs
[18:51:28] [PASSED] 39 VFs
[18:51:28] [PASSED] 40 VFs
[18:51:28] [PASSED] 41 VFs
[18:51:28] [PASSED] 42 VFs
[18:51:28] [PASSED] 43 VFs
[18:51:28] [PASSED] 44 VFs
[18:51:28] [PASSED] 45 VFs
[18:51:28] [PASSED] 46 VFs
[18:51:28] [PASSED] 47 VFs
[18:51:28] [PASSED] 48 VFs
[18:51:28] [PASSED] 49 VFs
[18:51:28] [PASSED] 50 VFs
[18:51:28] [PASSED] 51 VFs
[18:51:28] [PASSED] 52 VFs
[18:51:28] [PASSED] 53 VFs
[18:51:28] [PASSED] 54 VFs
[18:51:28] [PASSED] 55 VFs
[18:51:28] [PASSED] 56 VFs
[18:51:28] [PASSED] 57 VFs
[18:51:28] [PASSED] 58 VFs
[18:51:28] [PASSED] 59 VFs
[18:51:28] [PASSED] 60 VFs
[18:51:28] [PASSED] 61 VFs
[18:51:28] [PASSED] 62 VFs
[18:51:28] [PASSED] 63 VFs
[18:51:28] ==================== [PASSED] fair_vram ====================
[18:51:28] ================== [PASSED] pf_gt_config ===================
[18:51:28] ===================== lmtt (1 subtest) =====================
[18:51:28] ======================== test_ops =========================
[18:51:28] [PASSED] 2-level
[18:51:28] [PASSED] multi-level
[18:51:28] ==================== [PASSED] test_ops =====================
[18:51:28] ====================== [PASSED] lmtt =======================
[18:51:28] ================= pf_service (11 subtests) =================
[18:51:28] [PASSED] pf_negotiate_any
[18:51:28] [PASSED] pf_negotiate_base_match
[18:51:28] [PASSED] pf_negotiate_base_newer
[18:51:28] [PASSED] pf_negotiate_base_next
[18:51:28] [SKIPPED] pf_negotiate_base_older
[18:51:28] [PASSED] pf_negotiate_base_prev
[18:51:28] [PASSED] pf_negotiate_latest_match
[18:51:28] [PASSED] pf_negotiate_latest_newer
[18:51:28] [PASSED] pf_negotiate_latest_next
[18:51:28] [SKIPPED] pf_negotiate_latest_older
[18:51:28] [SKIPPED] pf_negotiate_latest_prev
[18:51:28] =================== [PASSED] pf_service ====================
[18:51:28] ================= xe_guc_g2g (2 subtests) ==================
[18:51:28] ============== xe_live_guc_g2g_kunit_default ==============
[18:51:28] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ==========
[18:51:28] ============== xe_live_guc_g2g_kunit_allmem ===============
[18:51:28] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ==========
[18:51:28] =================== [SKIPPED] xe_guc_g2g ===================
[18:51:28] =================== xe_mocs (2 subtests) ===================
[18:51:28] ================ xe_live_mocs_kernel_kunit ================
[18:51:28] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[18:51:28] ================ xe_live_mocs_reset_kunit =================
[18:51:28] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[18:51:28] ==================== [SKIPPED] xe_mocs =====================
[18:51:28] ================= xe_migrate (2 subtests) ==================
[18:51:28] ================= xe_migrate_sanity_kunit =================
[18:51:28] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[18:51:28] ================== xe_validate_ccs_kunit ==================
[18:51:28] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[18:51:28] =================== [SKIPPED] xe_migrate ===================
[18:51:28] ================== xe_dma_buf (1 subtest) ==================
[18:51:28] ==================== xe_dma_buf_kunit =====================
[18:51:28] ================ [SKIPPED] xe_dma_buf_kunit ================
[18:51:28] =================== [SKIPPED] xe_dma_buf ===================
[18:51:28] ================= xe_bo_shrink (1 subtest) =================
[18:51:28] =================== xe_bo_shrink_kunit ====================
[18:51:28] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[18:51:28] ================== [SKIPPED] xe_bo_shrink ==================
[18:51:28] ==================== xe_bo (2 subtests) ====================
[18:51:28] ================== xe_ccs_migrate_kunit ===================
[18:51:28] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[18:51:28] ==================== xe_bo_evict_kunit ====================
[18:51:28] =============== [SKIPPED] xe_bo_evict_kunit ================
[18:51:28] ===================== [SKIPPED] xe_bo ======================
[18:51:28] ==================== args (13 subtests) ====================
[18:51:28] [PASSED] count_args_test
[18:51:28] [PASSED] call_args_example
[18:51:28] [PASSED] call_args_test
[18:51:28] [PASSED] drop_first_arg_example
[18:51:28] [PASSED] drop_first_arg_test
[18:51:28] [PASSED] first_arg_example
[18:51:28] [PASSED] first_arg_test
[18:51:28] [PASSED] last_arg_example
[18:51:28] [PASSED] last_arg_test
[18:51:28] [PASSED] pick_arg_example
[18:51:28] [PASSED] if_args_example
[18:51:28] [PASSED] if_args_test
[18:51:28] [PASSED] sep_comma_example
[18:51:28] ====================== [PASSED] args =======================
[18:51:28] =================== xe_pci (3 subtests) ====================
[18:51:28] ==================== check_graphics_ip ====================
[18:51:28] [PASSED] 12.00 Xe_LP
[18:51:28] [PASSED] 12.10 Xe_LP+
[18:51:28] [PASSED] 12.55 Xe_HPG
[18:51:28] [PASSED] 12.60 Xe_HPC
[18:51:28] [PASSED] 12.70 Xe_LPG
[18:51:28] [PASSED] 12.71 Xe_LPG
[18:51:28] [PASSED] 12.74 Xe_LPG+
[18:51:28] [PASSED] 20.01 Xe2_HPG
[18:51:28] [PASSED] 20.02 Xe2_HPG
[18:51:28] [PASSED] 20.04 Xe2_LPG
[18:51:28] [PASSED] 30.00 Xe3_LPG
[18:51:28] [PASSED] 30.01 Xe3_LPG
[18:51:28] [PASSED] 30.03 Xe3_LPG
[18:51:28] [PASSED] 30.04 Xe3_LPG
[18:51:28] [PASSED] 30.05 Xe3_LPG
[18:51:28] [PASSED] 35.10 Xe3p_LPG
[18:51:28] [PASSED] 35.11 Xe3p_XPC
[18:51:28] ================ [PASSED] check_graphics_ip ================
[18:51:28] ===================== check_media_ip ======================
[18:51:28] [PASSED] 12.00 Xe_M
[18:51:28] [PASSED] 12.55 Xe_HPM
[18:51:28] [PASSED] 13.00 Xe_LPM+
[18:51:28] [PASSED] 13.01 Xe2_HPM
[18:51:28] [PASSED] 20.00 Xe2_LPM
[18:51:28] [PASSED] 30.00 Xe3_LPM
[18:51:28] [PASSED] 30.02 Xe3_LPM
[18:51:28] [PASSED] 35.00 Xe3p_LPM
[18:51:28] [PASSED] 35.03 Xe3p_HPM
[18:51:28] ================= [PASSED] check_media_ip ==================
[18:51:28] =================== check_platform_desc ===================
[18:51:28] [PASSED] 0x9A60 (TIGERLAKE)
[18:51:28] [PASSED] 0x9A68 (TIGERLAKE)
[18:51:28] [PASSED] 0x9A70 (TIGERLAKE)
[18:51:28] [PASSED] 0x9A40 (TIGERLAKE)
[18:51:28] [PASSED] 0x9A49 (TIGERLAKE)
[18:51:28] [PASSED] 0x9A59 (TIGERLAKE)
[18:51:28] [PASSED] 0x9A78 (TIGERLAKE)
[18:51:28] [PASSED] 0x9AC0 (TIGERLAKE)
[18:51:28] [PASSED] 0x9AC9 (TIGERLAKE)
[18:51:28] [PASSED] 0x9AD9 (TIGERLAKE)
[18:51:28] [PASSED] 0x9AF8 (TIGERLAKE)
[18:51:28] [PASSED] 0x4C80 (ROCKETLAKE)
[18:51:28] [PASSED] 0x4C8A (ROCKETLAKE)
[18:51:28] [PASSED] 0x4C8B (ROCKETLAKE)
[18:51:28] [PASSED] 0x4C8C (ROCKETLAKE)
[18:51:28] [PASSED] 0x4C90 (ROCKETLAKE)
[18:51:28] [PASSED] 0x4C9A (ROCKETLAKE)
[18:51:28] [PASSED] 0x4680 (ALDERLAKE_S)
[18:51:28] [PASSED] 0x4682 (ALDERLAKE_S)
[18:51:28] [PASSED] 0x4688 (ALDERLAKE_S)
[18:51:28] [PASSED] 0x468A (ALDERLAKE_S)
[18:51:28] [PASSED] 0x468B (ALDERLAKE_S)
[18:51:28] [PASSED] 0x4690 (ALDERLAKE_S)
[18:51:28] [PASSED] 0x4692 (ALDERLAKE_S)
[18:51:28] [PASSED] 0x4693 (ALDERLAKE_S)
[18:51:28] [PASSED] 0x46A0 (ALDERLAKE_P)
[18:51:28] [PASSED] 0x46A1 (ALDERLAKE_P)
[18:51:28] [PASSED] 0x46A2 (ALDERLAKE_P)
[18:51:28] [PASSED] 0x46A3 (ALDERLAKE_P)
[18:51:28] [PASSED] 0x46A6 (ALDERLAKE_P)
[18:51:28] [PASSED] 0x46A8 (ALDERLAKE_P)
[18:51:28] [PASSED] 0x46AA (ALDERLAKE_P)
[18:51:28] [PASSED] 0x462A (ALDERLAKE_P)
[18:51:28] [PASSED] 0x4626 (ALDERLAKE_P)
[18:51:28] [PASSED] 0x4628 (ALDERLAKE_P)
[18:51:28] [PASSED] 0x46B0 (ALDERLAKE_P)
[18:51:28] [PASSED] 0x46B1 (ALDERLAKE_P)
[18:51:28] [PASSED] 0x46B2 (ALDERLAKE_P)
[18:51:28] [PASSED] 0x46B3 (ALDERLAKE_P)
[18:51:28] [PASSED] 0x46C0 (ALDERLAKE_P)
[18:51:28] [PASSED] 0x46C1 (ALDERLAKE_P)
[18:51:28] [PASSED] 0x46C2 (ALDERLAKE_P)
[18:51:28] [PASSED] 0x46C3 (ALDERLAKE_P)
[18:51:28] [PASSED] 0x46D0 (ALDERLAKE_N)
[18:51:28] [PASSED] 0x46D1 (ALDERLAKE_N)
[18:51:28] [PASSED] 0x46D2 (ALDERLAKE_N)
[18:51:28] [PASSED] 0x46D3 (ALDERLAKE_N)
[18:51:28] [PASSED] 0x46D4 (ALDERLAKE_N)
[18:51:28] [PASSED] 0xA721 (ALDERLAKE_P)
[18:51:28] [PASSED] 0xA7A1 (ALDERLAKE_P)
[18:51:28] [PASSED] 0xA7A9 (ALDERLAKE_P)
[18:51:28] [PASSED] 0xA7AC (ALDERLAKE_P)
[18:51:28] [PASSED] 0xA7AD (ALDERLAKE_P)
[18:51:28] [PASSED] 0xA720 (ALDERLAKE_P)
[18:51:28] [PASSED] 0xA7A0 (ALDERLAKE_P)
[18:51:28] [PASSED] 0xA7A8 (ALDERLAKE_P)
[18:51:28] [PASSED] 0xA7AA (ALDERLAKE_P)
[18:51:28] [PASSED] 0xA7AB (ALDERLAKE_P)
[18:51:28] [PASSED] 0xA780 (ALDERLAKE_S)
[18:51:28] [PASSED] 0xA781 (ALDERLAKE_S)
[18:51:28] [PASSED] 0xA782 (ALDERLAKE_S)
[18:51:28] [PASSED] 0xA783 (ALDERLAKE_S)
[18:51:28] [PASSED] 0xA788 (ALDERLAKE_S)
[18:51:28] [PASSED] 0xA789 (ALDERLAKE_S)
[18:51:28] [PASSED] 0xA78A (ALDERLAKE_S)
[18:51:28] [PASSED] 0xA78B (ALDERLAKE_S)
[18:51:28] [PASSED] 0x4905 (DG1)
[18:51:28] [PASSED] 0x4906 (DG1)
[18:51:28] [PASSED] 0x4907 (DG1)
[18:51:28] [PASSED] 0x4908 (DG1)
[18:51:28] [PASSED] 0x4909 (DG1)
[18:51:28] [PASSED] 0x56C0 (DG2)
[18:51:28] [PASSED] 0x56C2 (DG2)
[18:51:28] [PASSED] 0x56C1 (DG2)
[18:51:28] [PASSED] 0x7D51 (METEORLAKE)
[18:51:28] [PASSED] 0x7DD1 (METEORLAKE)
[18:51:28] [PASSED] 0x7D41 (METEORLAKE)
[18:51:28] [PASSED] 0x7D67 (METEORLAKE)
[18:51:28] [PASSED] 0xB640 (METEORLAKE)
[18:51:28] [PASSED] 0x56A0 (DG2)
[18:51:28] [PASSED] 0x56A1 (DG2)
[18:51:28] [PASSED] 0x56A2 (DG2)
[18:51:28] [PASSED] 0x56BE (DG2)
[18:51:28] [PASSED] 0x56BF (DG2)
[18:51:28] [PASSED] 0x5690 (DG2)
[18:51:28] [PASSED] 0x5691 (DG2)
[18:51:28] [PASSED] 0x5692 (DG2)
[18:51:28] [PASSED] 0x56A5 (DG2)
[18:51:28] [PASSED] 0x56A6 (DG2)
[18:51:28] [PASSED] 0x56B0 (DG2)
[18:51:28] [PASSED] 0x56B1 (DG2)
[18:51:28] [PASSED] 0x56BA (DG2)
[18:51:28] [PASSED] 0x56BB (DG2)
[18:51:28] [PASSED] 0x56BC (DG2)
[18:51:28] [PASSED] 0x56BD (DG2)
[18:51:28] [PASSED] 0x5693 (DG2)
[18:51:28] [PASSED] 0x5694 (DG2)
[18:51:28] [PASSED] 0x5695 (DG2)
[18:51:28] [PASSED] 0x56A3 (DG2)
[18:51:28] [PASSED] 0x56A4 (DG2)
[18:51:28] [PASSED] 0x56B2 (DG2)
[18:51:28] [PASSED] 0x56B3 (DG2)
[18:51:28] [PASSED] 0x5696 (DG2)
[18:51:28] [PASSED] 0x5697 (DG2)
[18:51:28] [PASSED] 0xB69 (PVC)
[18:51:28] [PASSED] 0xB6E (PVC)
[18:51:28] [PASSED] 0xBD4 (PVC)
[18:51:28] [PASSED] 0xBD5 (PVC)
[18:51:28] [PASSED] 0xBD6 (PVC)
[18:51:28] [PASSED] 0xBD7 (PVC)
[18:51:28] [PASSED] 0xBD8 (PVC)
[18:51:28] [PASSED] 0xBD9 (PVC)
[18:51:28] [PASSED] 0xBDA (PVC)
[18:51:28] [PASSED] 0xBDB (PVC)
[18:51:28] [PASSED] 0xBE0 (PVC)
[18:51:28] [PASSED] 0xBE1 (PVC)
[18:51:28] [PASSED] 0xBE5 (PVC)
[18:51:28] [PASSED] 0x7D40 (METEORLAKE)
[18:51:28] [PASSED] 0x7D45 (METEORLAKE)
[18:51:28] [PASSED] 0x7D55 (METEORLAKE)
[18:51:28] [PASSED] 0x7D60 (METEORLAKE)
[18:51:28] [PASSED] 0x7DD5 (METEORLAKE)
[18:51:28] [PASSED] 0x6420 (LUNARLAKE)
[18:51:28] [PASSED] 0x64A0 (LUNARLAKE)
[18:51:28] [PASSED] 0x64B0 (LUNARLAKE)
[18:51:28] [PASSED] 0xE202 (BATTLEMAGE)
[18:51:28] [PASSED] 0xE209 (BATTLEMAGE)
[18:51:28] [PASSED] 0xE20B (BATTLEMAGE)
[18:51:28] [PASSED] 0xE20C (BATTLEMAGE)
[18:51:28] [PASSED] 0xE20D (BATTLEMAGE)
[18:51:28] [PASSED] 0xE210 (BATTLEMAGE)
[18:51:28] [PASSED] 0xE211 (BATTLEMAGE)
[18:51:28] [PASSED] 0xE212 (BATTLEMAGE)
[18:51:28] [PASSED] 0xE216 (BATTLEMAGE)
[18:51:28] [PASSED] 0xE220 (BATTLEMAGE)
[18:51:28] [PASSED] 0xE221 (BATTLEMAGE)
[18:51:28] [PASSED] 0xE222 (BATTLEMAGE)
[18:51:28] [PASSED] 0xE223 (BATTLEMAGE)
[18:51:28] [PASSED] 0xB080 (PANTHERLAKE)
[18:51:28] [PASSED] 0xB081 (PANTHERLAKE)
[18:51:28] [PASSED] 0xB082 (PANTHERLAKE)
[18:51:28] [PASSED] 0xB083 (PANTHERLAKE)
[18:51:28] [PASSED] 0xB084 (PANTHERLAKE)
[18:51:28] [PASSED] 0xB085 (PANTHERLAKE)
[18:51:28] [PASSED] 0xB086 (PANTHERLAKE)
[18:51:28] [PASSED] 0xB087 (PANTHERLAKE)
[18:51:28] [PASSED] 0xB08F (PANTHERLAKE)
[18:51:28] [PASSED] 0xB090 (PANTHERLAKE)
[18:51:28] [PASSED] 0xB0A0 (PANTHERLAKE)
[18:51:28] [PASSED] 0xB0B0 (PANTHERLAKE)
[18:51:28] [PASSED] 0xFD80 (PANTHERLAKE)
[18:51:28] [PASSED] 0xFD81 (PANTHERLAKE)
[18:51:28] [PASSED] 0xD740 (NOVALAKE_S)
[18:51:28] [PASSED] 0xD741 (NOVALAKE_S)
[18:51:28] [PASSED] 0xD742 (NOVALAKE_S)
[18:51:28] [PASSED] 0xD743 (NOVALAKE_S)
[18:51:28] [PASSED] 0xD744 (NOVALAKE_S)
[18:51:28] [PASSED] 0xD745 (NOVALAKE_S)
[18:51:28] [PASSED] 0x674C (CRESCENTISLAND)
[18:51:28] [PASSED] 0x674D (CRESCENTISLAND)
[18:51:28] [PASSED] 0x674E (CRESCENTISLAND)
[18:51:28] [PASSED] 0x674F (CRESCENTISLAND)
[18:51:28] [PASSED] 0x6750 (CRESCENTISLAND)
[18:51:28] [PASSED] 0xD750 (NOVALAKE_P)
[18:51:28] [PASSED] 0xD751 (NOVALAKE_P)
[18:51:28] [PASSED] 0xD752 (NOVALAKE_P)
[18:51:28] [PASSED] 0xD753 (NOVALAKE_P)
[18:51:28] [PASSED] 0xD754 (NOVALAKE_P)
[18:51:28] [PASSED] 0xD755 (NOVALAKE_P)
[18:51:28] [PASSED] 0xD756 (NOVALAKE_P)
[18:51:28] [PASSED] 0xD757 (NOVALAKE_P)
[18:51:28] [PASSED] 0xD75F (NOVALAKE_P)
[18:51:28] =============== [PASSED] check_platform_desc ===============
[18:51:28] ===================== [PASSED] xe_pci ======================
[18:51:28] =================== xe_rtp (2 subtests) ====================
[18:51:28] =============== xe_rtp_process_to_sr_tests ================
[18:51:28] [PASSED] coalesce-same-reg
[18:51:28] [PASSED] no-match-no-add
[18:51:28] [PASSED] match-or
[18:51:28] [PASSED] match-or-xfail
[18:51:28] [PASSED] no-match-no-add-multiple-rules
[18:51:28] [PASSED] two-regs-two-entries
[18:51:28] [PASSED] clr-one-set-other
[18:51:28] [PASSED] set-field
[18:51:28] [PASSED] conflict-duplicate
[18:51:28] [PASSED] conflict-not-disjoint
[18:51:28] [PASSED] conflict-reg-type
[18:51:28] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[18:51:28] ================== xe_rtp_process_tests ===================
[18:51:28] [PASSED] active1
[18:51:28] [PASSED] active2
[18:51:28] [PASSED] active-inactive
[18:51:28] [PASSED] inactive-active
[18:51:28] [PASSED] inactive-1st_or_active-inactive
[18:51:28] [PASSED] inactive-2nd_or_active-inactive
[18:51:28] [PASSED] inactive-last_or_active-inactive
[18:51:28] [PASSED] inactive-no_or_active-inactive
[18:51:28] ============== [PASSED] xe_rtp_process_tests ===============
[18:51:28] ===================== [PASSED] xe_rtp ======================
[18:51:28] ==================== xe_wa (1 subtest) =====================
[18:51:28] ======================== xe_wa_gt =========================
[18:51:28] [PASSED] TIGERLAKE B0
[18:51:28] [PASSED] DG1 A0
[18:51:28] [PASSED] DG1 B0
[18:51:28] [PASSED] ALDERLAKE_S A0
[18:51:28] [PASSED] ALDERLAKE_S B0
[18:51:28] [PASSED] ALDERLAKE_S C0
[18:51:28] [PASSED] ALDERLAKE_S D0
[18:51:28] [PASSED] ALDERLAKE_P A0
[18:51:28] [PASSED] ALDERLAKE_P B0
[18:51:28] [PASSED] ALDERLAKE_P C0
[18:51:28] [PASSED] ALDERLAKE_S RPLS D0
[18:51:28] [PASSED] ALDERLAKE_P RPLU E0
[18:51:28] [PASSED] DG2 G10 C0
[18:51:28] [PASSED] DG2 G11 B1
[18:51:28] [PASSED] DG2 G12 A1
[18:51:28] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0
[18:51:28] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0
[18:51:28] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0
[18:51:28] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0
[18:51:28] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0
[18:51:28] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1
[18:51:28] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0
[18:51:28] ==================== [PASSED] xe_wa_gt =====================
[18:51:28] ====================== [PASSED] xe_wa ======================
[18:51:28] ============================================================
[18:51:28] Testing complete. Ran 601 tests: passed: 583, skipped: 18
[18:51:28] Elapsed time: 35.946s total, 4.268s configuring, 31.063s building, 0.601s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig
[18:51:28] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[18:51:30] 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
[18:51:54] Starting KUnit Kernel (1/1)...
[18:51:54] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[18:51:54] ============ drm_test_pick_cmdline (2 subtests) ============
[18:51:54] [PASSED] drm_test_pick_cmdline_res_1920_1080_60
[18:51:54] =============== drm_test_pick_cmdline_named ===============
[18:51:54] [PASSED] NTSC
[18:51:54] [PASSED] NTSC-J
[18:51:54] [PASSED] PAL
[18:51:54] [PASSED] PAL-M
[18:51:54] =========== [PASSED] drm_test_pick_cmdline_named ===========
[18:51:54] ============== [PASSED] drm_test_pick_cmdline ==============
[18:51:54] == drm_test_atomic_get_connector_for_encoder (1 subtest) ===
[18:51:54] [PASSED] drm_test_drm_atomic_get_connector_for_encoder
[18:51:54] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ====
[18:51:54] =========== drm_validate_clone_mode (2 subtests) ===========
[18:51:54] ============== drm_test_check_in_clone_mode ===============
[18:51:54] [PASSED] in_clone_mode
[18:51:54] [PASSED] not_in_clone_mode
[18:51:54] ========== [PASSED] drm_test_check_in_clone_mode ===========
[18:51:54] =============== drm_test_check_valid_clones ===============
[18:51:54] [PASSED] not_in_clone_mode
[18:51:54] [PASSED] valid_clone
[18:51:54] [PASSED] invalid_clone
[18:51:54] =========== [PASSED] drm_test_check_valid_clones ===========
[18:51:54] ============= [PASSED] drm_validate_clone_mode =============
[18:51:54] ============= drm_validate_modeset (1 subtest) =============
[18:51:54] [PASSED] drm_test_check_connector_changed_modeset
[18:51:54] ============== [PASSED] drm_validate_modeset ===============
[18:51:54] ====== drm_test_bridge_get_current_state (2 subtests) ======
[18:51:54] [PASSED] drm_test_drm_bridge_get_current_state_atomic
[18:51:54] [PASSED] drm_test_drm_bridge_get_current_state_legacy
[18:51:54] ======== [PASSED] drm_test_bridge_get_current_state ========
[18:51:54] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ======
[18:51:54] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic
[18:51:54] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled
[18:51:54] [PASSED] drm_test_drm_bridge_helper_reset_crtc_legacy
[18:51:54] ======== [PASSED] drm_test_bridge_helper_reset_crtc ========
[18:51:54] ============== drm_bridge_alloc (2 subtests) ===============
[18:51:54] [PASSED] drm_test_drm_bridge_alloc_basic
[18:51:54] [PASSED] drm_test_drm_bridge_alloc_get_put
[18:51:54] ================ [PASSED] drm_bridge_alloc =================
[18:51:54] ============= drm_cmdline_parser (40 subtests) =============
[18:51:54] [PASSED] drm_test_cmdline_force_d_only
[18:51:54] [PASSED] drm_test_cmdline_force_D_only_dvi
[18:51:54] [PASSED] drm_test_cmdline_force_D_only_hdmi
[18:51:54] [PASSED] drm_test_cmdline_force_D_only_not_digital
[18:51:54] [PASSED] drm_test_cmdline_force_e_only
[18:51:54] [PASSED] drm_test_cmdline_res
[18:51:54] [PASSED] drm_test_cmdline_res_vesa
[18:51:54] [PASSED] drm_test_cmdline_res_vesa_rblank
[18:51:54] [PASSED] drm_test_cmdline_res_rblank
[18:51:54] [PASSED] drm_test_cmdline_res_bpp
[18:51:54] [PASSED] drm_test_cmdline_res_refresh
[18:51:54] [PASSED] drm_test_cmdline_res_bpp_refresh
[18:51:54] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced
[18:51:54] [PASSED] drm_test_cmdline_res_bpp_refresh_margins
[18:51:54] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off
[18:51:54] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on
[18:51:54] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog
[18:51:54] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital
[18:51:54] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on
[18:51:54] [PASSED] drm_test_cmdline_res_margins_force_on
[18:51:54] [PASSED] drm_test_cmdline_res_vesa_margins
[18:51:54] [PASSED] drm_test_cmdline_name
[18:51:54] [PASSED] drm_test_cmdline_name_bpp
[18:51:54] [PASSED] drm_test_cmdline_name_option
[18:51:54] [PASSED] drm_test_cmdline_name_bpp_option
[18:51:54] [PASSED] drm_test_cmdline_rotate_0
[18:51:54] [PASSED] drm_test_cmdline_rotate_90
[18:51:54] [PASSED] drm_test_cmdline_rotate_180
[18:51:54] [PASSED] drm_test_cmdline_rotate_270
[18:51:54] [PASSED] drm_test_cmdline_hmirror
[18:51:54] [PASSED] drm_test_cmdline_vmirror
[18:51:54] [PASSED] drm_test_cmdline_margin_options
[18:51:54] [PASSED] drm_test_cmdline_multiple_options
[18:51:54] [PASSED] drm_test_cmdline_bpp_extra_and_option
[18:51:54] [PASSED] drm_test_cmdline_extra_and_option
[18:51:54] [PASSED] drm_test_cmdline_freestanding_options
[18:51:54] [PASSED] drm_test_cmdline_freestanding_force_e_and_options
[18:51:54] [PASSED] drm_test_cmdline_panel_orientation
[18:51:54] ================ drm_test_cmdline_invalid =================
[18:51:54] [PASSED] margin_only
[18:51:54] [PASSED] interlace_only
[18:51:54] [PASSED] res_missing_x
[18:51:54] [PASSED] res_missing_y
[18:51:54] [PASSED] res_bad_y
[18:51:54] [PASSED] res_missing_y_bpp
[18:51:54] [PASSED] res_bad_bpp
[18:51:54] [PASSED] res_bad_refresh
[18:51:54] [PASSED] res_bpp_refresh_force_on_off
[18:51:54] [PASSED] res_invalid_mode
[18:51:54] [PASSED] res_bpp_wrong_place_mode
[18:51:54] [PASSED] name_bpp_refresh
[18:51:54] [PASSED] name_refresh
[18:51:54] [PASSED] name_refresh_wrong_mode
[18:51:54] [PASSED] name_refresh_invalid_mode
[18:51:54] [PASSED] rotate_multiple
[18:51:54] [PASSED] rotate_invalid_val
[18:51:54] [PASSED] rotate_truncated
[18:51:54] [PASSED] invalid_option
[18:51:54] [PASSED] invalid_tv_option
[18:51:54] [PASSED] truncated_tv_option
[18:51:54] ============ [PASSED] drm_test_cmdline_invalid =============
[18:51:54] =============== drm_test_cmdline_tv_options ===============
[18:51:54] [PASSED] NTSC
[18:51:54] [PASSED] NTSC_443
[18:51:54] [PASSED] NTSC_J
[18:51:54] [PASSED] PAL
[18:51:54] [PASSED] PAL_M
[18:51:54] [PASSED] PAL_N
[18:51:54] [PASSED] SECAM
[18:51:54] [PASSED] MONO_525
[18:51:54] [PASSED] MONO_625
[18:51:54] =========== [PASSED] drm_test_cmdline_tv_options ===========
[18:51:54] =============== [PASSED] drm_cmdline_parser ================
[18:51:54] ========== drmm_connector_hdmi_init (20 subtests) ==========
[18:51:54] [PASSED] drm_test_connector_hdmi_init_valid
[18:51:54] [PASSED] drm_test_connector_hdmi_init_bpc_8
[18:51:54] [PASSED] drm_test_connector_hdmi_init_bpc_10
[18:51:54] [PASSED] drm_test_connector_hdmi_init_bpc_12
[18:51:54] [PASSED] drm_test_connector_hdmi_init_bpc_invalid
[18:51:54] [PASSED] drm_test_connector_hdmi_init_bpc_null
[18:51:54] [PASSED] drm_test_connector_hdmi_init_formats_empty
[18:51:54] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb
[18:51:54] === drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[18:51:54] [PASSED] supported_formats=0x9 yuv420_allowed=1
[18:51:54] [PASSED] supported_formats=0x9 yuv420_allowed=0
[18:51:54] [PASSED] supported_formats=0x5 yuv420_allowed=1
[18:51:54] [PASSED] supported_formats=0x5 yuv420_allowed=0
[18:51:54] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[18:51:54] [PASSED] drm_test_connector_hdmi_init_null_ddc
[18:51:54] [PASSED] drm_test_connector_hdmi_init_null_product
[18:51:54] [PASSED] drm_test_connector_hdmi_init_null_vendor
[18:51:54] [PASSED] drm_test_connector_hdmi_init_product_length_exact
[18:51:54] [PASSED] drm_test_connector_hdmi_init_product_length_too_long
[18:51:54] [PASSED] drm_test_connector_hdmi_init_product_valid
[18:51:54] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact
[18:51:54] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long
[18:51:54] [PASSED] drm_test_connector_hdmi_init_vendor_valid
[18:51:54] ========= drm_test_connector_hdmi_init_type_valid =========
[18:51:54] [PASSED] HDMI-A
[18:51:54] [PASSED] HDMI-B
[18:51:54] ===== [PASSED] drm_test_connector_hdmi_init_type_valid =====
[18:51:54] ======== drm_test_connector_hdmi_init_type_invalid ========
[18:51:54] [PASSED] Unknown
[18:51:54] [PASSED] VGA
[18:51:54] [PASSED] DVI-I
[18:51:54] [PASSED] DVI-D
[18:51:54] [PASSED] DVI-A
[18:51:54] [PASSED] Composite
[18:51:54] [PASSED] SVIDEO
[18:51:54] [PASSED] LVDS
[18:51:54] [PASSED] Component
[18:51:54] [PASSED] DIN
[18:51:54] [PASSED] DP
[18:51:54] [PASSED] TV
[18:51:54] [PASSED] eDP
[18:51:54] [PASSED] Virtual
[18:51:54] [PASSED] DSI
[18:51:54] [PASSED] DPI
[18:51:54] [PASSED] Writeback
[18:51:54] [PASSED] SPI
[18:51:54] [PASSED] USB
[18:51:54] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ====
[18:51:54] ============ [PASSED] drmm_connector_hdmi_init =============
[18:51:54] ============= drmm_connector_init (3 subtests) =============
[18:51:54] [PASSED] drm_test_drmm_connector_init
[18:51:54] [PASSED] drm_test_drmm_connector_init_null_ddc
[18:51:54] ========= drm_test_drmm_connector_init_type_valid =========
[18:51:54] [PASSED] Unknown
[18:51:54] [PASSED] VGA
[18:51:54] [PASSED] DVI-I
[18:51:54] [PASSED] DVI-D
[18:51:54] [PASSED] DVI-A
[18:51:54] [PASSED] Composite
[18:51:54] [PASSED] SVIDEO
[18:51:54] [PASSED] LVDS
[18:51:54] [PASSED] Component
[18:51:54] [PASSED] DIN
[18:51:54] [PASSED] DP
[18:51:54] [PASSED] HDMI-A
[18:51:54] [PASSED] HDMI-B
[18:51:54] [PASSED] TV
[18:51:54] [PASSED] eDP
[18:51:54] [PASSED] Virtual
[18:51:54] [PASSED] DSI
[18:51:54] [PASSED] DPI
[18:51:54] [PASSED] Writeback
[18:51:54] [PASSED] SPI
[18:51:54] [PASSED] USB
[18:51:54] ===== [PASSED] drm_test_drmm_connector_init_type_valid =====
[18:51:54] =============== [PASSED] drmm_connector_init ===============
[18:51:54] ========= drm_connector_dynamic_init (6 subtests) ==========
[18:51:54] [PASSED] drm_test_drm_connector_dynamic_init
[18:51:54] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc
[18:51:54] [PASSED] drm_test_drm_connector_dynamic_init_not_added
[18:51:54] [PASSED] drm_test_drm_connector_dynamic_init_properties
[18:51:54] ===== drm_test_drm_connector_dynamic_init_type_valid ======
[18:51:54] [PASSED] Unknown
[18:51:54] [PASSED] VGA
[18:51:54] [PASSED] DVI-I
[18:51:54] [PASSED] DVI-D
[18:51:54] [PASSED] DVI-A
[18:51:54] [PASSED] Composite
[18:51:54] [PASSED] SVIDEO
[18:51:54] [PASSED] LVDS
[18:51:54] [PASSED] Component
[18:51:54] [PASSED] DIN
[18:51:54] [PASSED] DP
[18:51:54] [PASSED] HDMI-A
[18:51:54] [PASSED] HDMI-B
[18:51:54] [PASSED] TV
[18:51:54] [PASSED] eDP
[18:51:54] [PASSED] Virtual
[18:51:54] [PASSED] DSI
[18:51:54] [PASSED] DPI
[18:51:54] [PASSED] Writeback
[18:51:54] [PASSED] SPI
[18:51:54] [PASSED] USB
[18:51:54] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid ==
[18:51:54] ======== drm_test_drm_connector_dynamic_init_name =========
[18:51:54] [PASSED] Unknown
[18:51:54] [PASSED] VGA
[18:51:54] [PASSED] DVI-I
[18:51:54] [PASSED] DVI-D
[18:51:54] [PASSED] DVI-A
[18:51:54] [PASSED] Composite
[18:51:54] [PASSED] SVIDEO
[18:51:54] [PASSED] LVDS
[18:51:54] [PASSED] Component
[18:51:54] [PASSED] DIN
[18:51:54] [PASSED] DP
[18:51:54] [PASSED] HDMI-A
[18:51:54] [PASSED] HDMI-B
[18:51:54] [PASSED] TV
[18:51:54] [PASSED] eDP
[18:51:54] [PASSED] Virtual
[18:51:54] [PASSED] DSI
[18:51:54] [PASSED] DPI
[18:51:54] [PASSED] Writeback
[18:51:54] [PASSED] SPI
[18:51:54] [PASSED] USB
[18:51:54] ==== [PASSED] drm_test_drm_connector_dynamic_init_name =====
[18:51:54] =========== [PASSED] drm_connector_dynamic_init ============
[18:51:54] ==== drm_connector_dynamic_register_early (4 subtests) =====
[18:51:54] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list
[18:51:54] [PASSED] drm_test_drm_connector_dynamic_register_early_defer
[18:51:54] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init
[18:51:54] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object
[18:51:54] ====== [PASSED] drm_connector_dynamic_register_early =======
[18:51:54] ======= drm_connector_dynamic_register (7 subtests) ========
[18:51:54] [PASSED] drm_test_drm_connector_dynamic_register_on_list
[18:51:54] [PASSED] drm_test_drm_connector_dynamic_register_no_defer
[18:51:54] [PASSED] drm_test_drm_connector_dynamic_register_no_init
[18:51:54] [PASSED] drm_test_drm_connector_dynamic_register_mode_object
[18:51:54] [PASSED] drm_test_drm_connector_dynamic_register_sysfs
[18:51:54] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name
[18:51:54] [PASSED] drm_test_drm_connector_dynamic_register_debugfs
[18:51:54] ========= [PASSED] drm_connector_dynamic_register ==========
[18:51:54] = drm_connector_attach_broadcast_rgb_property (2 subtests) =
[18:51:54] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property
[18:51:54] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector
[18:51:54] === [PASSED] drm_connector_attach_broadcast_rgb_property ===
[18:51:54] ========== drm_get_tv_mode_from_name (2 subtests) ==========
[18:51:54] ========== drm_test_get_tv_mode_from_name_valid ===========
[18:51:54] [PASSED] NTSC
[18:51:54] [PASSED] NTSC-443
[18:51:54] [PASSED] NTSC-J
[18:51:54] [PASSED] PAL
[18:51:54] [PASSED] PAL-M
[18:51:54] [PASSED] PAL-N
[18:51:54] [PASSED] SECAM
[18:51:54] [PASSED] Mono
[18:51:54] ====== [PASSED] drm_test_get_tv_mode_from_name_valid =======
[18:51:54] [PASSED] drm_test_get_tv_mode_from_name_truncated
[18:51:54] ============ [PASSED] drm_get_tv_mode_from_name ============
[18:51:54] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) =
[18:51:54] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb
[18:51:54] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc
[18:51:54] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1
[18:51:54] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc
[18:51:54] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1
[18:51:54] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double
[18:51:54] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid =
[18:51:54] [PASSED] VIC 96
[18:51:54] [PASSED] VIC 97
[18:51:54] [PASSED] VIC 101
[18:51:54] [PASSED] VIC 102
[18:51:54] [PASSED] VIC 106
[18:51:54] [PASSED] VIC 107
[18:51:54] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid ===
[18:51:54] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc
[18:51:54] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc
[18:51:54] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc
[18:51:54] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc
[18:51:54] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc
[18:51:54] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ====
[18:51:54] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) ==
[18:51:54] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ====
[18:51:54] [PASSED] Automatic
[18:51:54] [PASSED] Full
[18:51:54] [PASSED] Limited 16:235
[18:51:54] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name ===
[18:51:54] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid
[18:51:54] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ====
[18:51:54] == drm_hdmi_connector_get_output_format_name (2 subtests) ==
[18:51:54] === drm_test_drm_hdmi_connector_get_output_format_name ====
[18:51:54] [PASSED] RGB
[18:51:54] [PASSED] YUV 4:2:0
[18:51:54] [PASSED] YUV 4:2:2
[18:51:54] [PASSED] YUV 4:4:4
[18:51:54] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name ===
[18:51:54] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid
[18:51:54] ==== [PASSED] drm_hdmi_connector_get_output_format_name ====
[18:51:54] ============= drm_damage_helper (21 subtests) ==============
[18:51:54] [PASSED] drm_test_damage_iter_no_damage
[18:51:54] [PASSED] drm_test_damage_iter_no_damage_fractional_src
[18:51:54] [PASSED] drm_test_damage_iter_no_damage_src_moved
[18:51:54] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved
[18:51:54] [PASSED] drm_test_damage_iter_no_damage_not_visible
[18:51:54] [PASSED] drm_test_damage_iter_no_damage_no_crtc
[18:51:54] [PASSED] drm_test_damage_iter_no_damage_no_fb
[18:51:54] [PASSED] drm_test_damage_iter_simple_damage
[18:51:54] [PASSED] drm_test_damage_iter_single_damage
[18:51:54] [PASSED] drm_test_damage_iter_single_damage_intersect_src
[18:51:54] [PASSED] drm_test_damage_iter_single_damage_outside_src
[18:51:54] [PASSED] drm_test_damage_iter_single_damage_fractional_src
[18:51:54] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src
[18:51:54] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src
[18:51:54] [PASSED] drm_test_damage_iter_single_damage_src_moved
[18:51:54] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved
[18:51:54] [PASSED] drm_test_damage_iter_damage
[18:51:54] [PASSED] drm_test_damage_iter_damage_one_intersect
[18:51:54] [PASSED] drm_test_damage_iter_damage_one_outside
[18:51:54] [PASSED] drm_test_damage_iter_damage_src_moved
[18:51:54] [PASSED] drm_test_damage_iter_damage_not_visible
[18:51:54] ================ [PASSED] drm_damage_helper ================
[18:51:54] ============== drm_dp_mst_helper (3 subtests) ==============
[18:51:54] ============== drm_test_dp_mst_calc_pbn_mode ==============
[18:51:54] [PASSED] Clock 154000 BPP 30 DSC disabled
[18:51:54] [PASSED] Clock 234000 BPP 30 DSC disabled
[18:51:54] [PASSED] Clock 297000 BPP 24 DSC disabled
[18:51:54] [PASSED] Clock 332880 BPP 24 DSC enabled
[18:51:54] [PASSED] Clock 324540 BPP 24 DSC enabled
[18:51:54] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ==========
[18:51:54] ============== drm_test_dp_mst_calc_pbn_div ===============
[18:51:54] [PASSED] Link rate 2000000 lane count 4
[18:51:54] [PASSED] Link rate 2000000 lane count 2
[18:51:54] [PASSED] Link rate 2000000 lane count 1
[18:51:54] [PASSED] Link rate 1350000 lane count 4
[18:51:54] [PASSED] Link rate 1350000 lane count 2
[18:51:54] [PASSED] Link rate 1350000 lane count 1
[18:51:54] [PASSED] Link rate 1000000 lane count 4
[18:51:54] [PASSED] Link rate 1000000 lane count 2
[18:51:54] [PASSED] Link rate 1000000 lane count 1
[18:51:54] [PASSED] Link rate 810000 lane count 4
[18:51:54] [PASSED] Link rate 810000 lane count 2
[18:51:54] [PASSED] Link rate 810000 lane count 1
[18:51:54] [PASSED] Link rate 540000 lane count 4
[18:51:54] [PASSED] Link rate 540000 lane count 2
[18:51:54] [PASSED] Link rate 540000 lane count 1
[18:51:54] [PASSED] Link rate 270000 lane count 4
[18:51:54] [PASSED] Link rate 270000 lane count 2
[18:51:54] [PASSED] Link rate 270000 lane count 1
[18:51:54] [PASSED] Link rate 162000 lane count 4
[18:51:54] [PASSED] Link rate 162000 lane count 2
[18:51:54] [PASSED] Link rate 162000 lane count 1
[18:51:54] ========== [PASSED] drm_test_dp_mst_calc_pbn_div ===========
[18:51:54] ========= drm_test_dp_mst_sideband_msg_req_decode =========
[18:51:54] [PASSED] DP_ENUM_PATH_RESOURCES with port number
[18:51:54] [PASSED] DP_POWER_UP_PHY with port number
[18:51:54] [PASSED] DP_POWER_DOWN_PHY with port number
[18:51:54] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks
[18:51:54] [PASSED] DP_ALLOCATE_PAYLOAD with port number
[18:51:54] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI
[18:51:54] [PASSED] DP_ALLOCATE_PAYLOAD with PBN
[18:51:54] [PASSED] DP_QUERY_PAYLOAD with port number
[18:51:54] [PASSED] DP_QUERY_PAYLOAD with VCPI
[18:51:54] [PASSED] DP_REMOTE_DPCD_READ with port number
[18:51:54] [PASSED] DP_REMOTE_DPCD_READ with DPCD address
[18:51:54] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes
[18:51:54] [PASSED] DP_REMOTE_DPCD_WRITE with port number
[18:51:54] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address
[18:51:54] [PASSED] DP_REMOTE_DPCD_WRITE with data array
[18:51:54] [PASSED] DP_REMOTE_I2C_READ with port number
[18:51:54] [PASSED] DP_REMOTE_I2C_READ with I2C device ID
[18:51:54] [PASSED] DP_REMOTE_I2C_READ with transactions array
[18:51:54] [PASSED] DP_REMOTE_I2C_WRITE with port number
[18:51:54] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID
[18:51:54] [PASSED] DP_REMOTE_I2C_WRITE with data array
[18:51:54] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID
[18:51:54] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID
[18:51:54] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event
[18:51:54] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event
[18:51:54] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior
[18:51:54] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior
[18:51:54] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode =====
[18:51:54] ================ [PASSED] drm_dp_mst_helper ================
[18:51:54] ================== drm_exec (7 subtests) ===================
[18:51:54] [PASSED] sanitycheck
[18:51:54] [PASSED] test_lock
[18:51:54] [PASSED] test_lock_unlock
[18:51:54] [PASSED] test_duplicates
[18:51:54] [PASSED] test_prepare
[18:51:54] [PASSED] test_prepare_array
[18:51:54] [PASSED] test_multiple_loops
[18:51:54] ==================== [PASSED] drm_exec =====================
[18:51:54] =========== drm_format_helper_test (17 subtests) ===========
[18:51:54] ============== drm_test_fb_xrgb8888_to_gray8 ==============
[18:51:54] [PASSED] single_pixel_source_buffer
[18:51:54] [PASSED] single_pixel_clip_rectangle
[18:51:54] [PASSED] well_known_colors
[18:51:54] [PASSED] destination_pitch
[18:51:54] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ==========
[18:51:54] ============= drm_test_fb_xrgb8888_to_rgb332 ==============
[18:51:54] [PASSED] single_pixel_source_buffer
[18:51:54] [PASSED] single_pixel_clip_rectangle
[18:51:54] [PASSED] well_known_colors
[18:51:54] [PASSED] destination_pitch
[18:51:54] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ==========
[18:51:54] ============= drm_test_fb_xrgb8888_to_rgb565 ==============
[18:51:54] [PASSED] single_pixel_source_buffer
[18:51:54] [PASSED] single_pixel_clip_rectangle
[18:51:54] [PASSED] well_known_colors
[18:51:54] [PASSED] destination_pitch
[18:51:54] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ==========
[18:51:54] ============ drm_test_fb_xrgb8888_to_xrgb1555 =============
[18:51:54] [PASSED] single_pixel_source_buffer
[18:51:54] [PASSED] single_pixel_clip_rectangle
[18:51:54] [PASSED] well_known_colors
[18:51:54] [PASSED] destination_pitch
[18:51:54] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 =========
[18:51:54] ============ drm_test_fb_xrgb8888_to_argb1555 =============
[18:51:54] [PASSED] single_pixel_source_buffer
[18:51:54] [PASSED] single_pixel_clip_rectangle
[18:51:54] [PASSED] well_known_colors
[18:51:54] [PASSED] destination_pitch
[18:51:54] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 =========
[18:51:54] ============ drm_test_fb_xrgb8888_to_rgba5551 =============
[18:51:54] [PASSED] single_pixel_source_buffer
[18:51:54] [PASSED] single_pixel_clip_rectangle
[18:51:54] [PASSED] well_known_colors
[18:51:54] [PASSED] destination_pitch
[18:51:54] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 =========
[18:51:54] ============= drm_test_fb_xrgb8888_to_rgb888 ==============
[18:51:54] [PASSED] single_pixel_source_buffer
[18:51:54] [PASSED] single_pixel_clip_rectangle
[18:51:54] [PASSED] well_known_colors
[18:51:54] [PASSED] destination_pitch
[18:51:54] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ==========
[18:51:54] ============= drm_test_fb_xrgb8888_to_bgr888 ==============
[18:51:54] [PASSED] single_pixel_source_buffer
[18:51:54] [PASSED] single_pixel_clip_rectangle
[18:51:54] [PASSED] well_known_colors
[18:51:54] [PASSED] destination_pitch
[18:51:54] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ==========
[18:51:54] ============ drm_test_fb_xrgb8888_to_argb8888 =============
[18:51:54] [PASSED] single_pixel_source_buffer
[18:51:54] [PASSED] single_pixel_clip_rectangle
[18:51:54] [PASSED] well_known_colors
[18:51:54] [PASSED] destination_pitch
[18:51:54] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 =========
[18:51:54] =========== drm_test_fb_xrgb8888_to_xrgb2101010 ===========
[18:51:54] [PASSED] single_pixel_source_buffer
[18:51:54] [PASSED] single_pixel_clip_rectangle
[18:51:54] [PASSED] well_known_colors
[18:51:54] [PASSED] destination_pitch
[18:51:54] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 =======
[18:51:54] =========== drm_test_fb_xrgb8888_to_argb2101010 ===========
[18:51:54] [PASSED] single_pixel_source_buffer
[18:51:54] [PASSED] single_pixel_clip_rectangle
[18:51:54] [PASSED] well_known_colors
[18:51:54] [PASSED] destination_pitch
[18:51:54] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 =======
[18:51:54] ============== drm_test_fb_xrgb8888_to_mono ===============
[18:51:54] [PASSED] single_pixel_source_buffer
[18:51:54] [PASSED] single_pixel_clip_rectangle
[18:51:54] [PASSED] well_known_colors
[18:51:54] [PASSED] destination_pitch
[18:51:54] ========== [PASSED] drm_test_fb_xrgb8888_to_mono ===========
[18:51:54] ==================== drm_test_fb_swab =====================
[18:51:54] [PASSED] single_pixel_source_buffer
[18:51:54] [PASSED] single_pixel_clip_rectangle
[18:51:54] [PASSED] well_known_colors
[18:51:54] [PASSED] destination_pitch
[18:51:54] ================ [PASSED] drm_test_fb_swab =================
[18:51:54] ============ drm_test_fb_xrgb8888_to_xbgr8888 =============
[18:51:54] [PASSED] single_pixel_source_buffer
[18:51:54] [PASSED] single_pixel_clip_rectangle
[18:51:54] [PASSED] well_known_colors
[18:51:54] [PASSED] destination_pitch
[18:51:54] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 =========
[18:51:54] ============ drm_test_fb_xrgb8888_to_abgr8888 =============
[18:51:54] [PASSED] single_pixel_source_buffer
[18:51:54] [PASSED] single_pixel_clip_rectangle
[18:51:54] [PASSED] well_known_colors
[18:51:54] [PASSED] destination_pitch
[18:51:54] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 =========
[18:51:54] ================= drm_test_fb_clip_offset =================
[18:51:54] [PASSED] pass through
[18:51:54] [PASSED] horizontal offset
[18:51:54] [PASSED] vertical offset
[18:51:54] [PASSED] horizontal and vertical offset
[18:51:54] [PASSED] horizontal offset (custom pitch)
[18:51:54] [PASSED] vertical offset (custom pitch)
[18:51:54] [PASSED] horizontal and vertical offset (custom pitch)
[18:51:54] ============= [PASSED] drm_test_fb_clip_offset =============
[18:51:54] =================== drm_test_fb_memcpy ====================
[18:51:54] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258)
[18:51:54] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258)
[18:51:54] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559)
[18:51:54] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258)
[18:51:54] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258)
[18:51:54] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559)
[18:51:54] [PASSED] well_known_colors: XB24 little-endian (0x34324258)
[18:51:54] [PASSED] well_known_colors: XRA8 little-endian (0x38415258)
[18:51:54] [PASSED] well_known_colors: YU24 little-endian (0x34325559)
[18:51:54] [PASSED] destination_pitch: XB24 little-endian (0x34324258)
[18:51:54] [PASSED] destination_pitch: XRA8 little-endian (0x38415258)
[18:51:54] [PASSED] destination_pitch: YU24 little-endian (0x34325559)
[18:51:54] =============== [PASSED] drm_test_fb_memcpy ================
[18:51:54] ============= [PASSED] drm_format_helper_test ==============
[18:51:54] ================= drm_format (18 subtests) =================
[18:51:54] [PASSED] drm_test_format_block_width_invalid
[18:51:54] [PASSED] drm_test_format_block_width_one_plane
[18:51:54] [PASSED] drm_test_format_block_width_two_plane
[18:51:54] [PASSED] drm_test_format_block_width_three_plane
[18:51:54] [PASSED] drm_test_format_block_width_tiled
[18:51:54] [PASSED] drm_test_format_block_height_invalid
[18:51:54] [PASSED] drm_test_format_block_height_one_plane
[18:51:54] [PASSED] drm_test_format_block_height_two_plane
[18:51:54] [PASSED] drm_test_format_block_height_three_plane
[18:51:54] [PASSED] drm_test_format_block_height_tiled
[18:51:54] [PASSED] drm_test_format_min_pitch_invalid
[18:51:54] [PASSED] drm_test_format_min_pitch_one_plane_8bpp
[18:51:54] [PASSED] drm_test_format_min_pitch_one_plane_16bpp
[18:51:54] [PASSED] drm_test_format_min_pitch_one_plane_24bpp
[18:51:54] [PASSED] drm_test_format_min_pitch_one_plane_32bpp
[18:51:54] [PASSED] drm_test_format_min_pitch_two_plane
[18:51:54] [PASSED] drm_test_format_min_pitch_three_plane_8bpp
[18:51:54] [PASSED] drm_test_format_min_pitch_tiled
[18:51:54] =================== [PASSED] drm_format ====================
[18:51:54] ============== drm_framebuffer (10 subtests) ===============
[18:51:54] ========== drm_test_framebuffer_check_src_coords ==========
[18:51:54] [PASSED] Success: source fits into fb
[18:51:54] [PASSED] Fail: overflowing fb with x-axis coordinate
[18:51:54] [PASSED] Fail: overflowing fb with y-axis coordinate
[18:51:54] [PASSED] Fail: overflowing fb with source width
[18:51:54] [PASSED] Fail: overflowing fb with source height
[18:51:54] ====== [PASSED] drm_test_framebuffer_check_src_coords ======
[18:51:54] [PASSED] drm_test_framebuffer_cleanup
[18:51:54] =============== drm_test_framebuffer_create ===============
[18:51:54] [PASSED] ABGR8888 normal sizes
[18:51:54] [PASSED] ABGR8888 max sizes
[18:51:54] [PASSED] ABGR8888 pitch greater than min required
[18:51:54] [PASSED] ABGR8888 pitch less than min required
[18:51:54] [PASSED] ABGR8888 Invalid width
[18:51:54] [PASSED] ABGR8888 Invalid buffer handle
[18:51:54] [PASSED] No pixel format
[18:51:54] [PASSED] ABGR8888 Width 0
[18:51:54] [PASSED] ABGR8888 Height 0
[18:51:54] [PASSED] ABGR8888 Out of bound height * pitch combination
[18:51:54] [PASSED] ABGR8888 Large buffer offset
[18:51:54] [PASSED] ABGR8888 Buffer offset for inexistent plane
[18:51:54] [PASSED] ABGR8888 Invalid flag
[18:51:54] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers
[18:51:54] [PASSED] ABGR8888 Valid buffer modifier
[18:51:54] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE)
[18:51:54] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS
[18:51:54] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS
[18:51:54] [PASSED] NV12 Normal sizes
[18:51:54] [PASSED] NV12 Max sizes
[18:51:54] [PASSED] NV12 Invalid pitch
[18:51:54] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag
[18:51:54] [PASSED] NV12 different modifier per-plane
[18:51:54] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE
[18:51:54] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS
[18:51:54] [PASSED] NV12 Modifier for inexistent plane
[18:51:54] [PASSED] NV12 Handle for inexistent plane
[18:51:54] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS
[18:51:54] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier
[18:51:54] [PASSED] YVU420 Normal sizes
[18:51:54] [PASSED] YVU420 Max sizes
[18:51:54] [PASSED] YVU420 Invalid pitch
[18:51:54] [PASSED] YVU420 Different pitches
[18:51:54] [PASSED] YVU420 Different buffer offsets/pitches
[18:51:54] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS
[18:51:54] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS
[18:51:54] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS
[18:51:54] [PASSED] YVU420 Valid modifier
[18:51:54] [PASSED] YVU420 Different modifiers per plane
[18:51:54] [PASSED] YVU420 Modifier for inexistent plane
[18:51:54] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR)
[18:51:54] [PASSED] X0L2 Normal sizes
[18:51:54] [PASSED] X0L2 Max sizes
[18:51:54] [PASSED] X0L2 Invalid pitch
[18:51:54] [PASSED] X0L2 Pitch greater than minimum required
[18:51:54] [PASSED] X0L2 Handle for inexistent plane
[18:51:54] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set
[18:51:54] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set
[18:51:54] [PASSED] X0L2 Valid modifier
[18:51:54] [PASSED] X0L2 Modifier for inexistent plane
[18:51:54] =========== [PASSED] drm_test_framebuffer_create ===========
[18:51:54] [PASSED] drm_test_framebuffer_free
[18:51:54] [PASSED] drm_test_framebuffer_init
[18:51:54] [PASSED] drm_test_framebuffer_init_bad_format
[18:51:54] [PASSED] drm_test_framebuffer_init_dev_mismatch
[18:51:54] [PASSED] drm_test_framebuffer_lookup
[18:51:54] [PASSED] drm_test_framebuffer_lookup_inexistent
[18:51:54] [PASSED] drm_test_framebuffer_modifiers_not_supported
[18:51:54] ================= [PASSED] drm_framebuffer =================
[18:51:54] ================ drm_gem_shmem (8 subtests) ================
[18:51:54] [PASSED] drm_gem_shmem_test_obj_create
[18:51:54] [PASSED] drm_gem_shmem_test_obj_create_private
[18:51:54] [PASSED] drm_gem_shmem_test_pin_pages
[18:51:54] [PASSED] drm_gem_shmem_test_vmap
[18:51:54] [PASSED] drm_gem_shmem_test_get_sg_table
[18:51:54] [PASSED] drm_gem_shmem_test_get_pages_sgt
[18:51:54] [PASSED] drm_gem_shmem_test_madvise
[18:51:54] [PASSED] drm_gem_shmem_test_purge
[18:51:54] ================== [PASSED] drm_gem_shmem ==================
[18:51:54] === drm_atomic_helper_connector_hdmi_check (27 subtests) ===
[18:51:54] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode
[18:51:54] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1
[18:51:54] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode
[18:51:54] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1
[18:51:54] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode
[18:51:54] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1
[18:51:54] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 =======
[18:51:54] [PASSED] Automatic
[18:51:54] [PASSED] Full
[18:51:54] [PASSED] Limited 16:235
[18:51:54] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 ===
[18:51:54] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed
[18:51:54] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed
[18:51:54] [PASSED] drm_test_check_disable_connector
[18:51:54] [PASSED] drm_test_check_hdmi_funcs_reject_rate
[18:51:54] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb
[18:51:54] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420
[18:51:54] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422
[18:51:54] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420
[18:51:54] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420
[18:51:54] [PASSED] drm_test_check_output_bpc_crtc_mode_changed
[18:51:54] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed
[18:51:54] [PASSED] drm_test_check_output_bpc_dvi
[18:51:54] [PASSED] drm_test_check_output_bpc_format_vic_1
[18:51:54] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only
[18:51:54] [PASSED] drm_test_check_output_bpc_format_display_rgb_only
[18:51:54] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only
[18:51:54] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only
[18:51:54] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc
[18:51:54] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc
[18:51:54] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc
[18:51:54] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ======
[18:51:54] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ====
[18:51:54] [PASSED] drm_test_check_broadcast_rgb_value
[18:51:54] [PASSED] drm_test_check_bpc_8_value
[18:51:54] [PASSED] drm_test_check_bpc_10_value
[18:51:54] [PASSED] drm_test_check_bpc_12_value
[18:51:54] [PASSED] drm_test_check_format_value
[18:51:54] [PASSED] drm_test_check_tmds_char_value
[18:51:54] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ======
[18:51:54] = drm_atomic_helper_connector_hdmi_mode_valid (4 subtests) =
[18:51:54] [PASSED] drm_test_check_mode_valid
[18:51:54] [PASSED] drm_test_check_mode_valid_reject
[18:51:54] [PASSED] drm_test_check_mode_valid_reject_rate
[18:51:54] [PASSED] drm_test_check_mode_valid_reject_max_clock
[18:51:54] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid ===
[18:51:54] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) =
[18:51:54] [PASSED] drm_test_check_infoframes
[18:51:54] [PASSED] drm_test_check_reject_avi_infoframe
[18:51:54] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8
[18:51:54] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10
[18:51:54] [PASSED] drm_test_check_reject_audio_infoframe
[18:51:54] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes ===
[18:51:54] ================= drm_managed (2 subtests) =================
[18:51:54] [PASSED] drm_test_managed_release_action
[18:51:54] [PASSED] drm_test_managed_run_action
[18:51:54] =================== [PASSED] drm_managed ===================
[18:51:54] =================== drm_mm (6 subtests) ====================
[18:51:54] [PASSED] drm_test_mm_init
[18:51:54] [PASSED] drm_test_mm_debug
[18:51:54] [PASSED] drm_test_mm_align32
[18:51:54] [PASSED] drm_test_mm_align64
[18:51:54] [PASSED] drm_test_mm_lowest
[18:51:54] [PASSED] drm_test_mm_highest
[18:51:54] ===================== [PASSED] drm_mm ======================
[18:51:54] ============= drm_modes_analog_tv (5 subtests) =============
[18:51:54] [PASSED] drm_test_modes_analog_tv_mono_576i
[18:51:54] [PASSED] drm_test_modes_analog_tv_ntsc_480i
[18:51:54] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined
[18:51:54] [PASSED] drm_test_modes_analog_tv_pal_576i
[18:51:54] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined
[18:51:54] =============== [PASSED] drm_modes_analog_tv ===============
[18:51:54] ============== drm_plane_helper (2 subtests) ===============
[18:51:54] =============== drm_test_check_plane_state ================
[18:51:54] [PASSED] clipping_simple
[18:51:54] [PASSED] clipping_rotate_reflect
[18:51:54] [PASSED] positioning_simple
[18:51:54] [PASSED] upscaling
[18:51:54] [PASSED] downscaling
[18:51:54] [PASSED] rounding1
[18:51:54] [PASSED] rounding2
[18:51:54] [PASSED] rounding3
[18:51:54] [PASSED] rounding4
[18:51:54] =========== [PASSED] drm_test_check_plane_state ============
[18:51:54] =========== drm_test_check_invalid_plane_state ============
[18:51:54] [PASSED] positioning_invalid
[18:51:54] [PASSED] upscaling_invalid
[18:51:54] [PASSED] downscaling_invalid
[18:51:54] ======= [PASSED] drm_test_check_invalid_plane_state ========
[18:51:54] ================ [PASSED] drm_plane_helper =================
[18:51:54] ====== drm_connector_helper_tv_get_modes (1 subtest) =======
[18:51:54] ====== drm_test_connector_helper_tv_get_modes_check =======
[18:51:54] [PASSED] None
[18:51:54] [PASSED] PAL
[18:51:54] [PASSED] NTSC
[18:51:54] [PASSED] Both, NTSC Default
[18:51:54] [PASSED] Both, PAL Default
[18:51:54] [PASSED] Both, NTSC Default, with PAL on command-line
[18:51:54] [PASSED] Both, PAL Default, with NTSC on command-line
[18:51:54] == [PASSED] drm_test_connector_helper_tv_get_modes_check ===
[18:51:54] ======== [PASSED] drm_connector_helper_tv_get_modes ========
[18:51:54] ================== drm_rect (9 subtests) ===================
[18:51:54] [PASSED] drm_test_rect_clip_scaled_div_by_zero
[18:51:54] [PASSED] drm_test_rect_clip_scaled_not_clipped
[18:51:54] [PASSED] drm_test_rect_clip_scaled_clipped
[18:51:54] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned
[18:51:54] ================= drm_test_rect_intersect =================
[18:51:54] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0
[18:51:54] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1
[18:51:54] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0
[18:51:54] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1
[18:51:54] [PASSED] right x left: 2x1+0+0 x 3x1+1+0
[18:51:54] [PASSED] left x right: 3x1+1+0 x 2x1+0+0
[18:51:54] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1
[18:51:54] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0
[18:51:54] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1
[18:51:54] [PASSED] touching side: 1x1+0+0 x 1x1+1+0
[18:51:54] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0
[18:51:54] [PASSED] inside another: 2x2+0+0 x 1x1+1+1
[18:51:54] [PASSED] far away: 1x1+0+0 x 1x1+3+6
[18:51:54] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10
[18:51:54] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10
[18:51:54] ============= [PASSED] drm_test_rect_intersect =============
[18:51:54] ================ drm_test_rect_calc_hscale ================
[18:51:54] [PASSED] normal use
[18:51:54] [PASSED] out of max range
[18:51:54] [PASSED] out of min range
[18:51:54] [PASSED] zero dst
[18:51:54] [PASSED] negative src
[18:51:54] [PASSED] negative dst
[18:51:54] ============ [PASSED] drm_test_rect_calc_hscale ============
[18:51:54] ================ drm_test_rect_calc_vscale ================
[18:51:54] [PASSED] normal use
[18:51:54] [PASSED] out of max range
[18:51:54] [PASSED] out of min range
[18:51:54] [PASSED] zero dst
[18:51:54] [PASSED] negative src
[18:51:54] [PASSED] negative dst
[18:51:54] ============ [PASSED] drm_test_rect_calc_vscale ============
[18:51:54] ================== drm_test_rect_rotate ===================
[18:51:54] [PASSED] reflect-x
[18:51:54] [PASSED] reflect-y
[18:51:54] [PASSED] rotate-0
[18:51:54] [PASSED] rotate-90
[18:51:54] [PASSED] rotate-180
[18:51:54] [PASSED] rotate-270
[18:51:54] ============== [PASSED] drm_test_rect_rotate ===============
[18:51:54] ================ drm_test_rect_rotate_inv =================
[18:51:54] [PASSED] reflect-x
[18:51:54] [PASSED] reflect-y
[18:51:54] [PASSED] rotate-0
[18:51:54] [PASSED] rotate-90
[18:51:54] [PASSED] rotate-180
[18:51:54] [PASSED] rotate-270
[18:51:54] ============ [PASSED] drm_test_rect_rotate_inv =============
[18:51:54] ==================== [PASSED] drm_rect =====================
[18:51:54] ============ drm_sysfb_modeset_test (1 subtest) ============
[18:51:54] ============ drm_test_sysfb_build_fourcc_list =============
[18:51:54] [PASSED] no native formats
[18:51:54] [PASSED] XRGB8888 as native format
[18:51:54] [PASSED] remove duplicates
[18:51:54] [PASSED] convert alpha formats
[18:51:54] [PASSED] random formats
[18:51:54] ======== [PASSED] drm_test_sysfb_build_fourcc_list =========
[18:51:54] ============= [PASSED] drm_sysfb_modeset_test ==============
[18:51:54] ================== drm_fixp (2 subtests) ===================
[18:51:54] [PASSED] drm_test_int2fixp
[18:51:54] [PASSED] drm_test_sm2fixp
[18:51:54] ==================== [PASSED] drm_fixp =====================
[18:51:54] ============================================================
[18:51:54] Testing complete. Ran 621 tests: passed: 621
[18:51:54] Elapsed time: 26.134s total, 1.724s configuring, 24.192s building, 0.179s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig
[18:51:54] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[18:51:56] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[18:52:06] Starting KUnit Kernel (1/1)...
[18:52:06] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[18:52:06] ================= ttm_device (5 subtests) ==================
[18:52:06] [PASSED] ttm_device_init_basic
[18:52:06] [PASSED] ttm_device_init_multiple
[18:52:06] [PASSED] ttm_device_fini_basic
[18:52:06] [PASSED] ttm_device_init_no_vma_man
[18:52:06] ================== ttm_device_init_pools ==================
[18:52:06] [PASSED] No DMA allocations, no DMA32 required
[18:52:06] [PASSED] DMA allocations, DMA32 required
[18:52:06] [PASSED] No DMA allocations, DMA32 required
[18:52:06] [PASSED] DMA allocations, no DMA32 required
[18:52:06] ============== [PASSED] ttm_device_init_pools ==============
[18:52:06] =================== [PASSED] ttm_device ====================
[18:52:06] ================== ttm_pool (8 subtests) ===================
[18:52:06] ================== ttm_pool_alloc_basic ===================
[18:52:06] [PASSED] One page
[18:52:06] [PASSED] More than one page
[18:52:06] [PASSED] Above the allocation limit
[18:52:06] [PASSED] One page, with coherent DMA mappings enabled
[18:52:06] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[18:52:06] ============== [PASSED] ttm_pool_alloc_basic ===============
[18:52:06] ============== ttm_pool_alloc_basic_dma_addr ==============
[18:52:06] [PASSED] One page
[18:52:06] [PASSED] More than one page
[18:52:06] [PASSED] Above the allocation limit
[18:52:06] [PASSED] One page, with coherent DMA mappings enabled
[18:52:06] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[18:52:06] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ==========
[18:52:06] [PASSED] ttm_pool_alloc_order_caching_match
[18:52:06] [PASSED] ttm_pool_alloc_caching_mismatch
[18:52:06] [PASSED] ttm_pool_alloc_order_mismatch
[18:52:06] [PASSED] ttm_pool_free_dma_alloc
[18:52:06] [PASSED] ttm_pool_free_no_dma_alloc
[18:52:06] [PASSED] ttm_pool_fini_basic
[18:52:06] ==================== [PASSED] ttm_pool =====================
[18:52:06] ================ ttm_resource (8 subtests) =================
[18:52:06] ================= ttm_resource_init_basic =================
[18:52:06] [PASSED] Init resource in TTM_PL_SYSTEM
[18:52:06] [PASSED] Init resource in TTM_PL_VRAM
[18:52:06] [PASSED] Init resource in a private placement
[18:52:06] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags
[18:52:06] ============= [PASSED] ttm_resource_init_basic =============
[18:52:06] [PASSED] ttm_resource_init_pinned
[18:52:06] [PASSED] ttm_resource_fini_basic
[18:52:06] [PASSED] ttm_resource_manager_init_basic
[18:52:06] [PASSED] ttm_resource_manager_usage_basic
[18:52:06] [PASSED] ttm_resource_manager_set_used_basic
[18:52:06] [PASSED] ttm_sys_man_alloc_basic
[18:52:06] [PASSED] ttm_sys_man_free_basic
[18:52:06] ================== [PASSED] ttm_resource ===================
[18:52:06] =================== ttm_tt (15 subtests) ===================
[18:52:06] ==================== ttm_tt_init_basic ====================
[18:52:06] [PASSED] Page-aligned size
[18:52:06] [PASSED] Extra pages requested
[18:52:06] ================ [PASSED] ttm_tt_init_basic ================
[18:52:06] [PASSED] ttm_tt_init_misaligned
[18:52:06] [PASSED] ttm_tt_fini_basic
[18:52:06] [PASSED] ttm_tt_fini_sg
[18:52:06] [PASSED] ttm_tt_fini_shmem
[18:52:06] [PASSED] ttm_tt_create_basic
[18:52:06] [PASSED] ttm_tt_create_invalid_bo_type
[18:52:06] [PASSED] ttm_tt_create_ttm_exists
[18:52:06] [PASSED] ttm_tt_create_failed
[18:52:06] [PASSED] ttm_tt_destroy_basic
[18:52:06] [PASSED] ttm_tt_populate_null_ttm
[18:52:06] [PASSED] ttm_tt_populate_populated_ttm
[18:52:06] [PASSED] ttm_tt_unpopulate_basic
[18:52:06] [PASSED] ttm_tt_unpopulate_empty_ttm
[18:52:06] [PASSED] ttm_tt_swapin_basic
[18:52:06] ===================== [PASSED] ttm_tt ======================
[18:52:06] =================== ttm_bo (14 subtests) ===================
[18:52:06] =========== ttm_bo_reserve_optimistic_no_ticket ===========
[18:52:06] [PASSED] Cannot be interrupted and sleeps
[18:52:06] [PASSED] Cannot be interrupted, locks straight away
[18:52:06] [PASSED] Can be interrupted, sleeps
[18:52:06] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket =======
[18:52:06] [PASSED] ttm_bo_reserve_locked_no_sleep
[18:52:06] [PASSED] ttm_bo_reserve_no_wait_ticket
[18:52:06] [PASSED] ttm_bo_reserve_double_resv
[18:52:06] [PASSED] ttm_bo_reserve_interrupted
[18:52:06] [PASSED] ttm_bo_reserve_deadlock
[18:52:06] [PASSED] ttm_bo_unreserve_basic
[18:52:06] [PASSED] ttm_bo_unreserve_pinned
[18:52:06] [PASSED] ttm_bo_unreserve_bulk
[18:52:06] [PASSED] ttm_bo_fini_basic
[18:52:06] [PASSED] ttm_bo_fini_shared_resv
[18:52:06] [PASSED] ttm_bo_pin_basic
[18:52:06] [PASSED] ttm_bo_pin_unpin_resource
[18:52:06] [PASSED] ttm_bo_multiple_pin_one_unpin
[18:52:06] ===================== [PASSED] ttm_bo ======================
[18:52:06] ============== ttm_bo_validate (22 subtests) ===============
[18:52:06] ============== ttm_bo_init_reserved_sys_man ===============
[18:52:06] [PASSED] Buffer object for userspace
[18:52:06] [PASSED] Kernel buffer object
[18:52:06] [PASSED] Shared buffer object
[18:52:06] ========== [PASSED] ttm_bo_init_reserved_sys_man ===========
[18:52:06] ============== ttm_bo_init_reserved_mock_man ==============
[18:52:06] [PASSED] Buffer object for userspace
[18:52:06] [PASSED] Kernel buffer object
[18:52:06] [PASSED] Shared buffer object
[18:52:06] ========== [PASSED] ttm_bo_init_reserved_mock_man ==========
[18:52:06] [PASSED] ttm_bo_init_reserved_resv
[18:52:06] ================== ttm_bo_validate_basic ==================
[18:52:06] [PASSED] Buffer object for userspace
[18:52:06] [PASSED] Kernel buffer object
[18:52:06] [PASSED] Shared buffer object
[18:52:06] ============== [PASSED] ttm_bo_validate_basic ==============
[18:52:06] [PASSED] ttm_bo_validate_invalid_placement
[18:52:06] ============= ttm_bo_validate_same_placement ==============
[18:52:06] [PASSED] System manager
[18:52:06] [PASSED] VRAM manager
[18:52:06] ========= [PASSED] ttm_bo_validate_same_placement ==========
[18:52:06] [PASSED] ttm_bo_validate_failed_alloc
[18:52:06] [PASSED] ttm_bo_validate_pinned
[18:52:06] [PASSED] ttm_bo_validate_busy_placement
[18:52:06] ================ ttm_bo_validate_multihop =================
[18:52:06] [PASSED] Buffer object for userspace
[18:52:06] [PASSED] Kernel buffer object
[18:52:06] [PASSED] Shared buffer object
[18:52:06] ============ [PASSED] ttm_bo_validate_multihop =============
[18:52:06] ========== ttm_bo_validate_no_placement_signaled ==========
[18:52:06] [PASSED] Buffer object in system domain, no page vector
[18:52:06] [PASSED] Buffer object in system domain with an existing page vector
[18:52:06] ====== [PASSED] ttm_bo_validate_no_placement_signaled ======
[18:52:06] ======== ttm_bo_validate_no_placement_not_signaled ========
[18:52:06] [PASSED] Buffer object for userspace
[18:52:06] [PASSED] Kernel buffer object
[18:52:06] [PASSED] Shared buffer object
[18:52:06] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ====
[18:52:06] [PASSED] ttm_bo_validate_move_fence_signaled
[18:52:06] ========= ttm_bo_validate_move_fence_not_signaled =========
[18:52:06] [PASSED] Waits for GPU
[18:52:06] [PASSED] Tries to lock straight away
[18:52:06] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled =====
[18:52:06] [PASSED] ttm_bo_validate_swapout
[18:52:06] [PASSED] ttm_bo_validate_happy_evict
[18:52:06] [PASSED] ttm_bo_validate_all_pinned_evict
[18:52:06] [PASSED] ttm_bo_validate_allowed_only_evict
[18:52:06] [PASSED] ttm_bo_validate_deleted_evict
[18:52:06] [PASSED] ttm_bo_validate_busy_domain_evict
[18:52:06] [PASSED] ttm_bo_validate_evict_gutting
[18:52:06] [PASSED] ttm_bo_validate_recrusive_evict
[18:52:06] ================= [PASSED] ttm_bo_validate =================
[18:52:06] ============================================================
[18:52:06] Testing complete. Ran 102 tests: passed: 102
[18:52:06] Elapsed time: 11.550s total, 1.769s configuring, 9.516s building, 0.229s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] drm/xe/dma-buf: handle empty bo and UAF races
2026-05-06 18:43 [PATCH] drm/xe/dma-buf: handle empty bo and UAF races Matthew Auld
2026-05-06 18:52 ` ✓ CI.KUnit: success for " Patchwork
@ 2026-05-06 19:32 ` Matthew Brost
2026-05-06 19:59 ` Thomas Hellström
` (2 subsequent siblings)
4 siblings, 0 replies; 8+ messages in thread
From: Matthew Brost @ 2026-05-06 19:32 UTC (permalink / raw)
To: Matthew Auld; +Cc: intel-xe, Thomas Hellström, stable
On Wed, May 06, 2026 at 07:43:33PM +0100, Matthew Auld wrote:
> There look to be some nasty races here when triggering the
> invalidate_mappings hook:
>
> 1) We do xe_bo_alloc() followed by the attach, before the actual full bo
> init step in xe_dma_buf_init_obj(). However the bo is visible on the
> attachments list after the attach. This is bad since exporter driver,
> say amdgpu, can at any time call back into our invalidate_mappings hook,
> with an empty/bogus bo, leading to potential bugs/crashes.
>
> 2) Similar to 1) but here we get a UAF, when the invalidate_mappings
> hook is triggered. For example, we get as far as xe_bo_init_locked()
> but this fails in some way. But here the bo will be freed on error, but
> we still have it attached from dma-buf pov, so if the
> invalidate_mappings is now triggered then the bo we access is gone and
> we trigger UAF and more bugs/crashes.
>
> To fix this, move the attach step until after we actually have a fully
> set up buffer object. Note that the bo is not published to userspace
> until later, so not sure what the comment "Don't publish the bo
> until we have a valid attachment", is referring to.
>
> We have at least two different customers reporting hitting a NULL ptr
> deref in evict_flags when importing something from amdgpu, followed by
> triggering the evict flow. Hit rate is also pretty low, which would
> hint at some kind of race, so something like 1) or 2) might explain
> this.
>
> Assisted-by: Gemini:gemini-3 #debug
> Link: https://gitlab.freedesktop.org/drm/xe/kernel/-/work_items/7903
> Link: https://gitlab.freedesktop.org/drm/xe/kernel/-/work_items/4055
> Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs")
> Signed-off-by: Matthew Auld <matthew.auld@intel.com>
> Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
> Cc: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
One suggestion...
> Cc: <stable@vger.kernel.org> # v6.8+
> ---
> drivers/gpu/drm/xe/xe_dma_buf.c | 23 ++++++++---------------
> 1 file changed, 8 insertions(+), 15 deletions(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_dma_buf.c b/drivers/gpu/drm/xe/xe_dma_buf.c
> index b9828da15897..e6c2f7d30abb 100644
> --- a/drivers/gpu/drm/xe/xe_dma_buf.c
> +++ b/drivers/gpu/drm/xe/xe_dma_buf.c
> @@ -357,11 +357,6 @@ struct drm_gem_object *xe_gem_prime_import(struct drm_device *dev,
> }
> }
>
> - /*
> - * Don't publish the bo until we have a valid attachment, and a
> - * valid attachment needs the bo address. So pre-create a bo before
> - * creating the attachment and publish.
> - */
> bo = xe_bo_alloc();
> if (IS_ERR(bo))
> return ERR_CAST(bo);
> @@ -371,6 +366,13 @@ struct drm_gem_object *xe_gem_prime_import(struct drm_device *dev,
> if (test)
> attach_ops = test->attach_ops;
> #endif
> + /*
> + * xe_dma_buf_init_obj() takes ownership of bo on both success
> + * and failure, so we must not touch bo after this call.
Maybe quick comment indicating something like in the commit message why
this must be done before dma_buf_dynamic_attach.
Matt
> + */
> + obj = xe_dma_buf_init_obj(dev, bo, dma_buf);
> + if (IS_ERR(obj))
> + return obj;
>
> attach = dma_buf_dynamic_attach(dma_buf, dev->dev, attach_ops, &bo->ttm.base);
> if (IS_ERR(attach)) {
> @@ -378,21 +380,12 @@ struct drm_gem_object *xe_gem_prime_import(struct drm_device *dev,
> goto out_err;
> }
>
> - /*
> - * xe_dma_buf_init_obj() takes ownership of bo on both success
> - * and failure, so we must not touch bo after this call.
> - */
> - obj = xe_dma_buf_init_obj(dev, bo, dma_buf);
> - if (IS_ERR(obj)) {
> - dma_buf_detach(dma_buf, attach);
> - return obj;
> - }
> get_dma_buf(dma_buf);
> obj->import_attach = attach;
> return obj;
>
> out_err:
> - xe_bo_free(bo);
> + xe_bo_put(bo);
>
> return obj;
> }
> --
> 2.53.0
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] drm/xe/dma-buf: handle empty bo and UAF races
2026-05-06 18:43 [PATCH] drm/xe/dma-buf: handle empty bo and UAF races Matthew Auld
2026-05-06 18:52 ` ✓ CI.KUnit: success for " Patchwork
2026-05-06 19:32 ` [PATCH] " Matthew Brost
@ 2026-05-06 19:59 ` Thomas Hellström
2026-05-07 9:03 ` Matthew Auld
2026-05-06 19:59 ` ✓ Xe.CI.BAT: success for " Patchwork
2026-05-06 21:16 ` ✗ Xe.CI.FULL: failure " Patchwork
4 siblings, 1 reply; 8+ messages in thread
From: Thomas Hellström @ 2026-05-06 19:59 UTC (permalink / raw)
To: Matthew Auld, intel-xe; +Cc: Matthew Brost, stable
On Wed, 2026-05-06 at 19:43 +0100, Matthew Auld wrote:
> There look to be some nasty races here when triggering the
> invalidate_mappings hook:
>
> 1) We do xe_bo_alloc() followed by the attach, before the actual full
> bo
> init step in xe_dma_buf_init_obj(). However the bo is visible on
> the
> attachments list after the attach. This is bad since exporter
> driver,
> say amdgpu, can at any time call back into our invalidate_mappings
> hook,
> with an empty/bogus bo, leading to potential bugs/crashes.
>
> 2) Similar to 1) but here we get a UAF, when the invalidate_mappings
> hook is triggered. For example, we get as far as
> xe_bo_init_locked()
> but this fails in some way. But here the bo will be freed on
> error, but
> we still have it attached from dma-buf pov, so if the
> invalidate_mappings is now triggered then the bo we access is gone
> and
> we trigger UAF and more bugs/crashes.
>
> To fix this, move the attach step until after we actually have a
> fully
> set up buffer object. Note that the bo is not published to userspace
> until later, so not sure what the comment "Don't publish the bo
> until we have a valid attachment", is referring to.
>
> We have at least two different customers reporting hitting a NULL ptr
> deref in evict_flags when importing something from amdgpu, followed
> by
> triggering the evict flow. Hit rate is also pretty low, which would
> hint at some kind of race, so something like 1) or 2) might explain
> this.
>
> Assisted-by: Gemini:gemini-3 #debug
> Link: https://gitlab.freedesktop.org/drm/xe/kernel/-/work_items/7903
> Link: https://gitlab.freedesktop.org/drm/xe/kernel/-/work_items/4055
> Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel
> GPUs")
> Signed-off-by: Matthew Auld <matthew.auld@intel.com>
> Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
> Cc: Matthew Brost <matthew.brost@intel.com>
> Cc: <stable@vger.kernel.org> # v6.8+
> ---
> drivers/gpu/drm/xe/xe_dma_buf.c | 23 ++++++++---------------
> 1 file changed, 8 insertions(+), 15 deletions(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_dma_buf.c
> b/drivers/gpu/drm/xe/xe_dma_buf.c
> index b9828da15897..e6c2f7d30abb 100644
> --- a/drivers/gpu/drm/xe/xe_dma_buf.c
> +++ b/drivers/gpu/drm/xe/xe_dma_buf.c
> @@ -357,11 +357,6 @@ struct drm_gem_object
> *xe_gem_prime_import(struct drm_device *dev,
> }
> }
>
> - /*
> - * Don't publish the bo until we have a valid attachment,
> and a
> - * valid attachment needs the bo address. So pre-create a bo
> before
> - * creating the attachment and publish.
> - */
> bo = xe_bo_alloc();
> if (IS_ERR(bo))
> return ERR_CAST(bo);
> @@ -371,6 +366,13 @@ struct drm_gem_object
> *xe_gem_prime_import(struct drm_device *dev,
> if (test)
> attach_ops = test->attach_ops;
> #endif
> + /*
> + * xe_dma_buf_init_obj() takes ownership of bo on both
> success
> + * and failure, so we must not touch bo after this call.
> + */
> + obj = xe_dma_buf_init_obj(dev, bo, dma_buf);
> + if (IS_ERR(obj))
> + return obj;
IIRC this publishes the bo on the LRUs, as per the removed comment.
What happens if, for example, the shrinker kicks in and shrinks it? But
similarly perhaps we should have obj->import_attach set already at
publish time?
If this is indeed the case we might have to revert to some trickery.
Like invalidate_mappings() returning early if the init is not complete,
and set obj->import_attach under the lock in xe_dma_buf_init_obj?
Also I think IIRC xe_bo_alloc() was created specifically for this
situation, so unless there are more users of that, and the ordering in
this patch is indeed correct, we might be able to get rid of the two-
step bo creation here.
/Thomas
>
> attach = dma_buf_dynamic_attach(dma_buf, dev->dev,
> attach_ops, &bo->ttm.base);
> if (IS_ERR(attach)) {
> @@ -378,21 +380,12 @@ struct drm_gem_object
> *xe_gem_prime_import(struct drm_device *dev,
> goto out_err;
> }
>
> - /*
> - * xe_dma_buf_init_obj() takes ownership of bo on both
> success
> - * and failure, so we must not touch bo after this call.
> - */
> - obj = xe_dma_buf_init_obj(dev, bo, dma_buf);
> - if (IS_ERR(obj)) {
> - dma_buf_detach(dma_buf, attach);
> - return obj;
> - }
> get_dma_buf(dma_buf);
> obj->import_attach = attach;
> return obj;
>
> out_err:
> - xe_bo_free(bo);
> + xe_bo_put(bo);
>
> return obj;
> }
^ permalink raw reply [flat|nested] 8+ messages in thread
* ✓ Xe.CI.BAT: success for drm/xe/dma-buf: handle empty bo and UAF races
2026-05-06 18:43 [PATCH] drm/xe/dma-buf: handle empty bo and UAF races Matthew Auld
` (2 preceding siblings ...)
2026-05-06 19:59 ` Thomas Hellström
@ 2026-05-06 19:59 ` Patchwork
2026-05-06 21:16 ` ✗ Xe.CI.FULL: failure " Patchwork
4 siblings, 0 replies; 8+ messages in thread
From: Patchwork @ 2026-05-06 19:59 UTC (permalink / raw)
To: Matthew Auld; +Cc: intel-xe
[-- Attachment #1: Type: text/plain, Size: 959 bytes --]
== Series Details ==
Series: drm/xe/dma-buf: handle empty bo and UAF races
URL : https://patchwork.freedesktop.org/series/166074/
State : success
== Summary ==
CI Bug Log - changes from xe-5005-8fbe29a5c889ea210aa55f3ee9a4b753290ad4b1_BAT -> xe-pw-166074v1_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (12 -> 12)
------------------------------
No changes in participating hosts
Changes
-------
No changes found
Build changes
-------------
* Linux: xe-5005-8fbe29a5c889ea210aa55f3ee9a4b753290ad4b1 -> xe-pw-166074v1
IGT_8894: 044f2c8744a52317c4651b4ca9d3b12f5be51575 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-5005-8fbe29a5c889ea210aa55f3ee9a4b753290ad4b1: 8fbe29a5c889ea210aa55f3ee9a4b753290ad4b1
xe-pw-166074v1: 166074v1
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/index.html
[-- Attachment #2: Type: text/html, Size: 1507 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* ✗ Xe.CI.FULL: failure for drm/xe/dma-buf: handle empty bo and UAF races
2026-05-06 18:43 [PATCH] drm/xe/dma-buf: handle empty bo and UAF races Matthew Auld
` (3 preceding siblings ...)
2026-05-06 19:59 ` ✓ Xe.CI.BAT: success for " Patchwork
@ 2026-05-06 21:16 ` Patchwork
4 siblings, 0 replies; 8+ messages in thread
From: Patchwork @ 2026-05-06 21:16 UTC (permalink / raw)
To: Matthew Auld; +Cc: intel-xe
[-- Attachment #1: Type: text/plain, Size: 23209 bytes --]
== Series Details ==
Series: drm/xe/dma-buf: handle empty bo and UAF races
URL : https://patchwork.freedesktop.org/series/166074/
State : failure
== Summary ==
CI Bug Log - changes from xe-5005-8fbe29a5c889ea210aa55f3ee9a4b753290ad4b1_FULL -> xe-pw-166074v1_FULL
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with xe-pw-166074v1_FULL absolutely need to be
verified manually.
If you think the reported changes have nothing to do with the changes
introduced in xe-pw-166074v1_FULL, please notify your bug team (I915-ci-infra@lists.freedesktop.org) to allow them
to document this new failure mode, which will reduce false positives in CI.
Participating hosts (2 -> 2)
------------------------------
No changes in participating hosts
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in xe-pw-166074v1_FULL:
### IGT changes ###
#### Possible regressions ####
* igt@xe_exec_system_allocator@many-execqueues-mmap-huge-nomemset:
- shard-bmg: [PASS][1] -> [ABORT][2]
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5005-8fbe29a5c889ea210aa55f3ee9a4b753290ad4b1/shard-bmg-1/igt@xe_exec_system_allocator@many-execqueues-mmap-huge-nomemset.html
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-2/igt@xe_exec_system_allocator@many-execqueues-mmap-huge-nomemset.html
* igt@xe_exec_system_allocator@many-malloc-fork-read:
- shard-lnl: [PASS][3] -> [INCOMPLETE][4]
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5005-8fbe29a5c889ea210aa55f3ee9a4b753290ad4b1/shard-lnl-2/igt@xe_exec_system_allocator@many-malloc-fork-read.html
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-lnl-8/igt@xe_exec_system_allocator@many-malloc-fork-read.html
* igt@xe_exec_system_allocator@twice-free:
- shard-bmg: NOTRUN -> [ABORT][5]
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-7/igt@xe_exec_system_allocator@twice-free.html
Known issues
------------
Here are the changes found in xe-pw-166074v1_FULL that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_big_fb@y-tiled-addfb-size-overflow:
- shard-bmg: NOTRUN -> [SKIP][6] ([Intel XE#610] / [Intel XE#7387])
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-1/igt@kms_big_fb@y-tiled-addfb-size-overflow.html
* igt@kms_bw@linear-tiling-3-displays-target-2160x1440p:
- shard-bmg: NOTRUN -> [SKIP][7] ([Intel XE#367])
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-1/igt@kms_bw@linear-tiling-3-displays-target-2160x1440p.html
* igt@kms_ccs@bad-rotation-90-y-tiled-gen12-rc-ccs-cc:
- shard-bmg: NOTRUN -> [SKIP][8] ([Intel XE#2887])
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-1/igt@kms_ccs@bad-rotation-90-y-tiled-gen12-rc-ccs-cc.html
* igt@kms_ccs@crc-primary-suspend-4-tiled-lnl-ccs@pipe-a-dp-2:
- shard-bmg: NOTRUN -> [SKIP][9] ([Intel XE#2652]) +3 other tests skip
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-10/igt@kms_ccs@crc-primary-suspend-4-tiled-lnl-ccs@pipe-a-dp-2.html
* igt@kms_chamelium_hpd@dp-hpd-for-each-pipe:
- shard-bmg: NOTRUN -> [SKIP][10] ([Intel XE#2252])
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-1/igt@kms_chamelium_hpd@dp-hpd-for-each-pipe.html
* igt@kms_content_protection@lic-type-1:
- shard-bmg: NOTRUN -> [SKIP][11] ([Intel XE#7642])
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-3/igt@kms_content_protection@lic-type-1.html
* igt@kms_content_protection@suspend-resume:
- shard-bmg: NOTRUN -> [FAIL][12] ([Intel XE#1178] / [Intel XE#3304] / [Intel XE#7374]) +1 other test fail
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-1/igt@kms_content_protection@suspend-resume.html
* igt@kms_frontbuffer_tracking@fbcdrrshdr-2p-primscrn-shrfb-msflip-blt:
- shard-bmg: NOTRUN -> [SKIP][13] ([Intel XE#2311]) +5 other tests skip
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-3/igt@kms_frontbuffer_tracking@fbcdrrshdr-2p-primscrn-shrfb-msflip-blt.html
* igt@kms_frontbuffer_tracking@fbcpsr-2p-pri-indfb-multidraw:
- shard-bmg: NOTRUN -> [SKIP][14] ([Intel XE#2313]) +5 other tests skip
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-3/igt@kms_frontbuffer_tracking@fbcpsr-2p-pri-indfb-multidraw.html
* igt@kms_frontbuffer_tracking@psrhdr-argb161616f-draw-mmap-wc:
- shard-bmg: NOTRUN -> [SKIP][15] ([Intel XE#7061]) +1 other test skip
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-1/igt@kms_frontbuffer_tracking@psrhdr-argb161616f-draw-mmap-wc.html
* igt@kms_hdr@static-toggle-dpms@pipe-a-hdmi-a-3-xrgb2101010:
- shard-bmg: [PASS][16] -> [SKIP][17] ([Intel XE#7915]) +1 other test skip
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5005-8fbe29a5c889ea210aa55f3ee9a4b753290ad4b1/shard-bmg-9/igt@kms_hdr@static-toggle-dpms@pipe-a-hdmi-a-3-xrgb2101010.html
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-1/igt@kms_hdr@static-toggle-dpms@pipe-a-hdmi-a-3-xrgb2101010.html
* igt@kms_psr2_sf@fbc-psr2-overlay-plane-move-continuous-exceed-sf:
- shard-bmg: NOTRUN -> [SKIP][18] ([Intel XE#1489])
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-1/igt@kms_psr2_sf@fbc-psr2-overlay-plane-move-continuous-exceed-sf.html
* igt@kms_sharpness_filter@invalid-filter-with-plane:
- shard-bmg: NOTRUN -> [SKIP][19] ([Intel XE#6503])
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-1/igt@kms_sharpness_filter@invalid-filter-with-plane.html
* igt@kms_vrr@seamless-rr-switch-virtual@pipe-a-edp-1:
- shard-lnl: [PASS][20] -> [FAIL][21] ([Intel XE#2142]) +1 other test fail
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5005-8fbe29a5c889ea210aa55f3ee9a4b753290ad4b1/shard-lnl-8/igt@kms_vrr@seamless-rr-switch-virtual@pipe-a-edp-1.html
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-lnl-1/igt@kms_vrr@seamless-rr-switch-virtual@pipe-a-edp-1.html
* igt@xe_compute@ccs-mode-basic:
- shard-bmg: NOTRUN -> [SKIP][22] ([Intel XE#6599])
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-1/igt@xe_compute@ccs-mode-basic.html
* igt@xe_eudebug_online@interrupt-other-debuggable:
- shard-bmg: NOTRUN -> [SKIP][23] ([Intel XE#7636])
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-1/igt@xe_eudebug_online@interrupt-other-debuggable.html
* igt@xe_exec_fault_mode@twice-multi-queue-userptr-imm:
- shard-bmg: NOTRUN -> [SKIP][24] ([Intel XE#7136]) +2 other tests skip
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-1/igt@xe_exec_fault_mode@twice-multi-queue-userptr-imm.html
* igt@xe_exec_multi_queue@many-queues-preempt-mode-fault-dyn-priority-smem:
- shard-bmg: NOTRUN -> [SKIP][25] ([Intel XE#6874]) +2 other tests skip
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-1/igt@xe_exec_multi_queue@many-queues-preempt-mode-fault-dyn-priority-smem.html
* igt@xe_multigpu_svm@mgpu-atomic-op-basic:
- shard-bmg: NOTRUN -> [SKIP][26] ([Intel XE#6964])
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-1/igt@xe_multigpu_svm@mgpu-atomic-op-basic.html
* igt@xe_query@multigpu-query-cs-cycles:
- shard-bmg: NOTRUN -> [SKIP][27] ([Intel XE#944])
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-1/igt@xe_query@multigpu-query-cs-cycles.html
#### Possible fixes ####
* igt@kms_cursor_legacy@cursorb-vs-flipb-atomic:
- shard-bmg: [SKIP][28] ([Intel XE#2291]) -> [PASS][29]
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5005-8fbe29a5c889ea210aa55f3ee9a4b753290ad4b1/shard-bmg-3/igt@kms_cursor_legacy@cursorb-vs-flipb-atomic.html
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-1/igt@kms_cursor_legacy@cursorb-vs-flipb-atomic.html
* igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions:
- shard-bmg: [SKIP][30] ([Intel XE#2291] / [Intel XE#7343]) -> [PASS][31]
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5005-8fbe29a5c889ea210aa55f3ee9a4b753290ad4b1/shard-bmg-3/igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions.html
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-7/igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions.html
* igt@kms_display_modes@extended-mode-basic:
- shard-bmg: [SKIP][32] ([Intel XE#4302]) -> [PASS][33]
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5005-8fbe29a5c889ea210aa55f3ee9a4b753290ad4b1/shard-bmg-3/igt@kms_display_modes@extended-mode-basic.html
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-10/igt@kms_display_modes@extended-mode-basic.html
* igt@kms_flip@2x-flip-vs-dpms-on-nop:
- shard-bmg: [SKIP][34] ([Intel XE#2316]) -> [PASS][35] +7 other tests pass
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5005-8fbe29a5c889ea210aa55f3ee9a4b753290ad4b1/shard-bmg-3/igt@kms_flip@2x-flip-vs-dpms-on-nop.html
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-7/igt@kms_flip@2x-flip-vs-dpms-on-nop.html
* igt@kms_flip@flip-vs-expired-vblank-interruptible@a-edp1:
- shard-lnl: [FAIL][36] ([Intel XE#301]) -> [PASS][37]
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5005-8fbe29a5c889ea210aa55f3ee9a4b753290ad4b1/shard-lnl-4/igt@kms_flip@flip-vs-expired-vblank-interruptible@a-edp1.html
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-lnl-3/igt@kms_flip@flip-vs-expired-vblank-interruptible@a-edp1.html
* igt@kms_frontbuffer_tracking@fbchdr-1p-primscrn-cur-indfb-draw-render:
- shard-bmg: [SKIP][38] ([Intel XE#7865]) -> [PASS][39] +6 other tests pass
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5005-8fbe29a5c889ea210aa55f3ee9a4b753290ad4b1/shard-bmg-3/igt@kms_frontbuffer_tracking@fbchdr-1p-primscrn-cur-indfb-draw-render.html
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-1/igt@kms_frontbuffer_tracking@fbchdr-1p-primscrn-cur-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbchdr-2p-scndscrn-spr-indfb-onoff:
- shard-bmg: [SKIP][40] ([Intel XE#7905]) -> [PASS][41] +9 other tests pass
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5005-8fbe29a5c889ea210aa55f3ee9a4b753290ad4b1/shard-bmg-3/igt@kms_frontbuffer_tracking@fbchdr-2p-scndscrn-spr-indfb-onoff.html
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-10/igt@kms_frontbuffer_tracking@fbchdr-2p-scndscrn-spr-indfb-onoff.html
* igt@kms_hdr@invalid-hdr:
- shard-bmg: [SKIP][42] ([Intel XE#1503]) -> [PASS][43]
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5005-8fbe29a5c889ea210aa55f3ee9a4b753290ad4b1/shard-bmg-2/igt@kms_hdr@invalid-hdr.html
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-3/igt@kms_hdr@invalid-hdr.html
* igt@kms_hdr@invalid-hdr@pipe-a-hdmi-a-3-xrgb2101010:
- shard-bmg: [SKIP][44] -> [PASS][45] +1 other test pass
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5005-8fbe29a5c889ea210aa55f3ee9a4b753290ad4b1/shard-bmg-2/igt@kms_hdr@invalid-hdr@pipe-a-hdmi-a-3-xrgb2101010.html
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-3/igt@kms_hdr@invalid-hdr@pipe-a-hdmi-a-3-xrgb2101010.html
* igt@kms_hdr@invalid-metadata-sizes@pipe-a-hdmi-a-3-xrgb16161616f:
- shard-bmg: [SKIP][46] ([Intel XE#7915]) -> [PASS][47] +1 other test pass
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5005-8fbe29a5c889ea210aa55f3ee9a4b753290ad4b1/shard-bmg-1/igt@kms_hdr@invalid-metadata-sizes@pipe-a-hdmi-a-3-xrgb16161616f.html
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-2/igt@kms_hdr@invalid-metadata-sizes@pipe-a-hdmi-a-3-xrgb16161616f.html
* igt@kms_hdr@static-toggle-suspend:
- shard-bmg: [SKIP][48] ([Intel XE#1503] / [Intel XE#7915]) -> [PASS][49]
[48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5005-8fbe29a5c889ea210aa55f3ee9a4b753290ad4b1/shard-bmg-3/igt@kms_hdr@static-toggle-suspend.html
[49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-7/igt@kms_hdr@static-toggle-suspend.html
* igt@kms_joiner@basic-force-big-joiner:
- shard-bmg: [SKIP][50] ([Intel XE#7086]) -> [PASS][51]
[50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5005-8fbe29a5c889ea210aa55f3ee9a4b753290ad4b1/shard-bmg-3/igt@kms_joiner@basic-force-big-joiner.html
[51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-1/igt@kms_joiner@basic-force-big-joiner.html
* igt@kms_plane_lowres@tiling-none@pipe-b-hdmi-a-3:
- shard-bmg: [ABORT][52] ([Intel XE#7814]) -> [PASS][53]
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5005-8fbe29a5c889ea210aa55f3ee9a4b753290ad4b1/shard-bmg-3/igt@kms_plane_lowres@tiling-none@pipe-b-hdmi-a-3.html
[53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-1/igt@kms_plane_lowres@tiling-none@pipe-b-hdmi-a-3.html
* igt@kms_plane_multiple@2x-tiling-4:
- shard-bmg: [SKIP][54] ([Intel XE#4596]) -> [PASS][55]
[54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5005-8fbe29a5c889ea210aa55f3ee9a4b753290ad4b1/shard-bmg-3/igt@kms_plane_multiple@2x-tiling-4.html
[55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-10/igt@kms_plane_multiple@2x-tiling-4.html
* igt@xe_pmu@engine-activity-load:
- shard-bmg: [ABORT][56] -> [PASS][57] +3 other tests pass
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5005-8fbe29a5c889ea210aa55f3ee9a4b753290ad4b1/shard-bmg-2/igt@xe_pmu@engine-activity-load.html
[57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-3/igt@xe_pmu@engine-activity-load.html
* igt@xe_pmu@engine-activity-load@engine-drm_xe_engine_class_copy0:
- shard-bmg: [FAIL][58] -> [PASS][59]
[58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5005-8fbe29a5c889ea210aa55f3ee9a4b753290ad4b1/shard-bmg-2/igt@xe_pmu@engine-activity-load@engine-drm_xe_engine_class_copy0.html
[59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-3/igt@xe_pmu@engine-activity-load@engine-drm_xe_engine_class_copy0.html
#### Warnings ####
* igt@kms_frontbuffer_tracking@drrs-2p-pri-indfb-multidraw:
- shard-bmg: [SKIP][60] ([Intel XE#2312] / [Intel XE#7905]) -> [SKIP][61] ([Intel XE#2311]) +8 other tests skip
[60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5005-8fbe29a5c889ea210aa55f3ee9a4b753290ad4b1/shard-bmg-3/igt@kms_frontbuffer_tracking@drrs-2p-pri-indfb-multidraw.html
[61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-10/igt@kms_frontbuffer_tracking@drrs-2p-pri-indfb-multidraw.html
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-cur-indfb-draw-render:
- shard-bmg: [SKIP][62] ([Intel XE#2312] / [Intel XE#7905]) -> [SKIP][63] ([Intel XE#4141]) +6 other tests skip
[62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5005-8fbe29a5c889ea210aa55f3ee9a4b753290ad4b1/shard-bmg-3/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-cur-indfb-draw-render.html
[63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-7/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-cur-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbcdrrshdr-2p-primscrn-pri-shrfb-draw-mmap-wc:
- shard-bmg: [SKIP][64] ([Intel XE#7905]) -> [SKIP][65] ([Intel XE#2311]) +9 other tests skip
[64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5005-8fbe29a5c889ea210aa55f3ee9a4b753290ad4b1/shard-bmg-3/igt@kms_frontbuffer_tracking@fbcdrrshdr-2p-primscrn-pri-shrfb-draw-mmap-wc.html
[65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-7/igt@kms_frontbuffer_tracking@fbcdrrshdr-2p-primscrn-pri-shrfb-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@fbcpsrhdr-2p-primscrn-pri-indfb-draw-blt:
- shard-bmg: [SKIP][66] ([Intel XE#7905]) -> [SKIP][67] ([Intel XE#2313]) +7 other tests skip
[66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5005-8fbe29a5c889ea210aa55f3ee9a4b753290ad4b1/shard-bmg-3/igt@kms_frontbuffer_tracking@fbcpsrhdr-2p-primscrn-pri-indfb-draw-blt.html
[67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-10/igt@kms_frontbuffer_tracking@fbcpsrhdr-2p-primscrn-pri-indfb-draw-blt.html
* igt@kms_frontbuffer_tracking@psr-2p-primscrn-spr-indfb-fullscreen:
- shard-bmg: [SKIP][68] ([Intel XE#2312] / [Intel XE#7905]) -> [SKIP][69] ([Intel XE#2313]) +10 other tests skip
[68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5005-8fbe29a5c889ea210aa55f3ee9a4b753290ad4b1/shard-bmg-3/igt@kms_frontbuffer_tracking@psr-2p-primscrn-spr-indfb-fullscreen.html
[69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-7/igt@kms_frontbuffer_tracking@psr-2p-primscrn-spr-indfb-fullscreen.html
* igt@kms_hdr@brightness-with-hdr:
- shard-bmg: [SKIP][70] ([Intel XE#3544] / [Intel XE#7916]) -> [SKIP][71] ([Intel XE#3544] / [Intel XE#7915] / [Intel XE#7916])
[70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5005-8fbe29a5c889ea210aa55f3ee9a4b753290ad4b1/shard-bmg-9/igt@kms_hdr@brightness-with-hdr.html
[71]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-3/igt@kms_hdr@brightness-with-hdr.html
* igt@kms_hdr@brightness-with-hdr@pipe-a-hdmi-a-3-xrgb16161616f:
- shard-bmg: [SKIP][72] ([Intel XE#7916]) -> [SKIP][73] ([Intel XE#7915]) +1 other test skip
[72]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5005-8fbe29a5c889ea210aa55f3ee9a4b753290ad4b1/shard-bmg-9/igt@kms_hdr@brightness-with-hdr@pipe-a-hdmi-a-3-xrgb16161616f.html
[73]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-3/igt@kms_hdr@brightness-with-hdr@pipe-a-hdmi-a-3-xrgb16161616f.html
* igt@kms_rotation_crc@primary-yf-tiled-reflect-x-270:
- shard-bmg: [SKIP][74] ([Intel XE#3414] / [Intel XE#3904] / [Intel XE#7342]) -> [SKIP][75] ([Intel XE#3904] / [Intel XE#7342]) +1 other test skip
[74]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5005-8fbe29a5c889ea210aa55f3ee9a4b753290ad4b1/shard-bmg-3/igt@kms_rotation_crc@primary-yf-tiled-reflect-x-270.html
[75]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-1/igt@kms_rotation_crc@primary-yf-tiled-reflect-x-270.html
* igt@kms_tiled_display@basic-test-pattern:
- shard-bmg: [SKIP][76] ([Intel XE#2426] / [Intel XE#5848]) -> [FAIL][77] ([Intel XE#1729] / [Intel XE#7424])
[76]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5005-8fbe29a5c889ea210aa55f3ee9a4b753290ad4b1/shard-bmg-3/igt@kms_tiled_display@basic-test-pattern.html
[77]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/shard-bmg-10/igt@kms_tiled_display@basic-test-pattern.html
[Intel XE#1178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1178
[Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
[Intel XE#1503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1503
[Intel XE#1729]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1729
[Intel XE#2142]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2142
[Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
[Intel XE#2291]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2291
[Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311
[Intel XE#2312]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2312
[Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313
[Intel XE#2316]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2316
[Intel XE#2426]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2426
[Intel XE#2652]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2652
[Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
[Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
[Intel XE#3304]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3304
[Intel XE#3414]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3414
[Intel XE#3544]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3544
[Intel XE#367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/367
[Intel XE#3904]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3904
[Intel XE#4141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4141
[Intel XE#4302]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4302
[Intel XE#4596]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4596
[Intel XE#5848]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5848
[Intel XE#610]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/610
[Intel XE#6503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6503
[Intel XE#6599]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6599
[Intel XE#6874]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6874
[Intel XE#6964]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6964
[Intel XE#7061]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7061
[Intel XE#7086]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7086
[Intel XE#7136]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7136
[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#7374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7374
[Intel XE#7387]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7387
[Intel XE#7424]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7424
[Intel XE#7636]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7636
[Intel XE#7642]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7642
[Intel XE#7814]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7814
[Intel XE#7865]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7865
[Intel XE#7905]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7905
[Intel XE#7915]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7915
[Intel XE#7916]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7916
[Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944
Build changes
-------------
* Linux: xe-5005-8fbe29a5c889ea210aa55f3ee9a4b753290ad4b1 -> xe-pw-166074v1
IGT_8894: 044f2c8744a52317c4651b4ca9d3b12f5be51575 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-5005-8fbe29a5c889ea210aa55f3ee9a4b753290ad4b1: 8fbe29a5c889ea210aa55f3ee9a4b753290ad4b1
xe-pw-166074v1: 166074v1
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166074v1/index.html
[-- Attachment #2: Type: text/html, Size: 26376 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] drm/xe/dma-buf: handle empty bo and UAF races
2026-05-06 19:59 ` Thomas Hellström
@ 2026-05-07 9:03 ` Matthew Auld
2026-05-07 11:14 ` Thomas Hellström
0 siblings, 1 reply; 8+ messages in thread
From: Matthew Auld @ 2026-05-07 9:03 UTC (permalink / raw)
To: Thomas Hellström, intel-xe; +Cc: Matthew Brost, stable
On 06/05/2026 20:59, Thomas Hellström wrote:
> On Wed, 2026-05-06 at 19:43 +0100, Matthew Auld wrote:
>> There look to be some nasty races here when triggering the
>> invalidate_mappings hook:
>>
>> 1) We do xe_bo_alloc() followed by the attach, before the actual full
>> bo
>> init step in xe_dma_buf_init_obj(). However the bo is visible on
>> the
>> attachments list after the attach. This is bad since exporter
>> driver,
>> say amdgpu, can at any time call back into our invalidate_mappings
>> hook,
>> with an empty/bogus bo, leading to potential bugs/crashes.
>>
>> 2) Similar to 1) but here we get a UAF, when the invalidate_mappings
>> hook is triggered. For example, we get as far as
>> xe_bo_init_locked()
>> but this fails in some way. But here the bo will be freed on
>> error, but
>> we still have it attached from dma-buf pov, so if the
>> invalidate_mappings is now triggered then the bo we access is gone
>> and
>> we trigger UAF and more bugs/crashes.
>>
>> To fix this, move the attach step until after we actually have a
>> fully
>> set up buffer object. Note that the bo is not published to userspace
>> until later, so not sure what the comment "Don't publish the bo
>> until we have a valid attachment", is referring to.
>>
>> We have at least two different customers reporting hitting a NULL ptr
>> deref in evict_flags when importing something from amdgpu, followed
>> by
>> triggering the evict flow. Hit rate is also pretty low, which would
>> hint at some kind of race, so something like 1) or 2) might explain
>> this.
>>
>> Assisted-by: Gemini:gemini-3 #debug
>> Link: https://gitlab.freedesktop.org/drm/xe/kernel/-/work_items/7903
>> Link: https://gitlab.freedesktop.org/drm/xe/kernel/-/work_items/4055
>> Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel
>> GPUs")
>> Signed-off-by: Matthew Auld <matthew.auld@intel.com>
>> Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
>> Cc: Matthew Brost <matthew.brost@intel.com>
>> Cc: <stable@vger.kernel.org> # v6.8+
>> ---
>> drivers/gpu/drm/xe/xe_dma_buf.c | 23 ++++++++---------------
>> 1 file changed, 8 insertions(+), 15 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/xe/xe_dma_buf.c
>> b/drivers/gpu/drm/xe/xe_dma_buf.c
>> index b9828da15897..e6c2f7d30abb 100644
>> --- a/drivers/gpu/drm/xe/xe_dma_buf.c
>> +++ b/drivers/gpu/drm/xe/xe_dma_buf.c
>> @@ -357,11 +357,6 @@ struct drm_gem_object
>> *xe_gem_prime_import(struct drm_device *dev,
>> }
>> }
>>
>> - /*
>> - * Don't publish the bo until we have a valid attachment,
>> and a
>> - * valid attachment needs the bo address. So pre-create a bo
>> before
>> - * creating the attachment and publish.
>> - */
>> bo = xe_bo_alloc();
>> if (IS_ERR(bo))
>> return ERR_CAST(bo);
>> @@ -371,6 +366,13 @@ struct drm_gem_object
>> *xe_gem_prime_import(struct drm_device *dev,
>> if (test)
>> attach_ops = test->attach_ops;
>> #endif
>> + /*
>> + * xe_dma_buf_init_obj() takes ownership of bo on both
>> success
>> + * and failure, so we must not touch bo after this call.
>> + */
>> + obj = xe_dma_buf_init_obj(dev, bo, dma_buf);
>> + if (IS_ERR(obj))
>> + return obj;
>
> IIRC this publishes the bo on the LRUs, as per the removed comment.
> What happens if, for example, the shrinker kicks in and shrinks it? But
> similarly perhaps we should have obj->import_attach set already at
> publish time?
I don't think anything bad will happen? I would view it as an sg object
without any real backing store or attachment. Trying to
move/shrink/evict should be a noop, like moving from SYS -> SYS
(starting placement for type_sg). But since this a type_sg bo, I think
shrinker will already ignore it right?
From user POV, the handle is only published until much later at the end
of drm_gem_prime_fd_to_handle(), after our import callback here, AFAICT.
So I don't think there is a risk of the user somehow using the imported
bo in an ioctl, before we have done the attach etc.
One other data point is perhaps amdgpu, which does seem to do the create
+ attach as normal steps.
>
> If this is indeed the case we might have to revert to some trickery.
> Like invalidate_mappings() returning early if the init is not complete,
> and set obj->import_attach under the lock in xe_dma_buf_init_obj?
>
> Also I think IIRC xe_bo_alloc() was created specifically for this
> situation, so unless there are more users of that, and the ordering in
> this patch is indeed correct, we might be able to get rid of the two-
> step bo creation here.
>
> /Thomas
>
>
>>
>> attach = dma_buf_dynamic_attach(dma_buf, dev->dev,
>> attach_ops, &bo->ttm.base);
>> if (IS_ERR(attach)) {
>> @@ -378,21 +380,12 @@ struct drm_gem_object
>> *xe_gem_prime_import(struct drm_device *dev,
>> goto out_err;
>> }
>>
>> - /*
>> - * xe_dma_buf_init_obj() takes ownership of bo on both
>> success
>> - * and failure, so we must not touch bo after this call.
>> - */
>> - obj = xe_dma_buf_init_obj(dev, bo, dma_buf);
>> - if (IS_ERR(obj)) {
>> - dma_buf_detach(dma_buf, attach);
>> - return obj;
>> - }
>> get_dma_buf(dma_buf);
>> obj->import_attach = attach;
>> return obj;
>>
>> out_err:
>> - xe_bo_free(bo);
>> + xe_bo_put(bo);
>>
>> return obj;
>> }
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] drm/xe/dma-buf: handle empty bo and UAF races
2026-05-07 9:03 ` Matthew Auld
@ 2026-05-07 11:14 ` Thomas Hellström
0 siblings, 0 replies; 8+ messages in thread
From: Thomas Hellström @ 2026-05-07 11:14 UTC (permalink / raw)
To: Matthew Auld, intel-xe; +Cc: Matthew Brost, stable
On Thu, 2026-05-07 at 10:03 +0100, Matthew Auld wrote:
> On 06/05/2026 20:59, Thomas Hellström wrote:
> > On Wed, 2026-05-06 at 19:43 +0100, Matthew Auld wrote:
> > > There look to be some nasty races here when triggering the
> > > invalidate_mappings hook:
> > >
> > > 1) We do xe_bo_alloc() followed by the attach, before the actual
> > > full
> > > bo
> > > init step in xe_dma_buf_init_obj(). However the bo is visible
> > > on
> > > the
> > > attachments list after the attach. This is bad since
> > > exporter
> > > driver,
> > > say amdgpu, can at any time call back into our
> > > invalidate_mappings
> > > hook,
> > > with an empty/bogus bo, leading to potential bugs/crashes.
> > >
> > > 2) Similar to 1) but here we get a UAF, when the
> > > invalidate_mappings
> > > hook is triggered. For example, we get as far as
> > > xe_bo_init_locked()
> > > but this fails in some way. But here the bo will be freed on
> > > error, but
> > > we still have it attached from dma-buf pov, so if the
> > > invalidate_mappings is now triggered then the bo we access is
> > > gone
> > > and
> > > we trigger UAF and more bugs/crashes.
> > >
> > > To fix this, move the attach step until after we actually have a
> > > fully
> > > set up buffer object. Note that the bo is not published to
> > > userspace
> > > until later, so not sure what the comment "Don't publish the bo
> > > until we have a valid attachment", is referring to.
> > >
> > > We have at least two different customers reporting hitting a NULL
> > > ptr
> > > deref in evict_flags when importing something from amdgpu,
> > > followed
> > > by
> > > triggering the evict flow. Hit rate is also pretty low, which
> > > would
> > > hint at some kind of race, so something like 1) or 2) might
> > > explain
> > > this.
> > >
> > > Assisted-by: Gemini:gemini-3 #debug
> > > Link:
> > > https://gitlab.freedesktop.org/drm/xe/kernel/-/work_items/7903
> > > Link:
> > > https://gitlab.freedesktop.org/drm/xe/kernel/-/work_items/4055
> > > Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for
> > > Intel
> > > GPUs")
> > > Signed-off-by: Matthew Auld <matthew.auld@intel.com>
> > > Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
> > > Cc: Matthew Brost <matthew.brost@intel.com>
> > > Cc: <stable@vger.kernel.org> # v6.8+
> > > ---
> > > drivers/gpu/drm/xe/xe_dma_buf.c | 23 ++++++++---------------
> > > 1 file changed, 8 insertions(+), 15 deletions(-)
> > >
> > > diff --git a/drivers/gpu/drm/xe/xe_dma_buf.c
> > > b/drivers/gpu/drm/xe/xe_dma_buf.c
> > > index b9828da15897..e6c2f7d30abb 100644
> > > --- a/drivers/gpu/drm/xe/xe_dma_buf.c
> > > +++ b/drivers/gpu/drm/xe/xe_dma_buf.c
> > > @@ -357,11 +357,6 @@ struct drm_gem_object
> > > *xe_gem_prime_import(struct drm_device *dev,
> > > }
> > > }
> > >
> > > - /*
> > > - * Don't publish the bo until we have a valid
> > > attachment,
> > > and a
> > > - * valid attachment needs the bo address. So pre-create
> > > a bo
> > > before
> > > - * creating the attachment and publish.
> > > - */
> > > bo = xe_bo_alloc();
> > > if (IS_ERR(bo))
> > > return ERR_CAST(bo);
> > > @@ -371,6 +366,13 @@ struct drm_gem_object
> > > *xe_gem_prime_import(struct drm_device *dev,
> > > if (test)
> > > attach_ops = test->attach_ops;
> > > #endif
> > > + /*
> > > + * xe_dma_buf_init_obj() takes ownership of bo on both
> > > success
> > > + * and failure, so we must not touch bo after this call.
> > > + */
> > > + obj = xe_dma_buf_init_obj(dev, bo, dma_buf);
> > > + if (IS_ERR(obj))
> > > + return obj;
> >
> > IIRC this publishes the bo on the LRUs, as per the removed comment.
> > What happens if, for example, the shrinker kicks in and shrinks it?
> > But
> > similarly perhaps we should have obj->import_attach set already at
> > publish time?
>
> I don't think anything bad will happen? I would view it as an sg
> object
> without any real backing store or attachment. Trying to
> move/shrink/evict should be a noop, like moving from SYS -> SYS
> (starting placement for type_sg). But since this a type_sg bo, I
> think
> shrinker will already ignore it right?
>
> From user POV, the handle is only published until much later at the
> end
> of drm_gem_prime_fd_to_handle(), after our import callback here,
> AFAICT.
> So I don't think there is a risk of the user somehow using the
> imported
> bo in an ioctl, before we have done the attach etc.
>
> One other data point is perhaps amdgpu, which does seem to do the
> create
> + attach as normal steps.
OK, Yeah if there's no way the bo can see other unexpected callbacks
after initializing it, then
Acked-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
>
> >
> > If this is indeed the case we might have to revert to some
> > trickery.
> > Like invalidate_mappings() returning early if the init is not
> > complete,
> > and set obj->import_attach under the lock in xe_dma_buf_init_obj?
> >
> > Also I think IIRC xe_bo_alloc() was created specifically for this
> > situation, so unless there are more users of that, and the ordering
> > in
> > this patch is indeed correct, we might be able to get rid of the
> > two-
> > step bo creation here.
> >
> > /Thomas
> >
> >
> > >
> > > attach = dma_buf_dynamic_attach(dma_buf, dev->dev,
> > > attach_ops, &bo->ttm.base);
> > > if (IS_ERR(attach)) {
> > > @@ -378,21 +380,12 @@ struct drm_gem_object
> > > *xe_gem_prime_import(struct drm_device *dev,
> > > goto out_err;
> > > }
> > >
> > > - /*
> > > - * xe_dma_buf_init_obj() takes ownership of bo on both
> > > success
> > > - * and failure, so we must not touch bo after this call.
> > > - */
> > > - obj = xe_dma_buf_init_obj(dev, bo, dma_buf);
> > > - if (IS_ERR(obj)) {
> > > - dma_buf_detach(dma_buf, attach);
> > > - return obj;
> > > - }
> > > get_dma_buf(dma_buf);
> > > obj->import_attach = attach;
> > > return obj;
> > >
> > > out_err:
> > > - xe_bo_free(bo);
> > > + xe_bo_put(bo);
> > >
> > > return obj;
> > > }
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2026-05-07 11:14 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-06 18:43 [PATCH] drm/xe/dma-buf: handle empty bo and UAF races Matthew Auld
2026-05-06 18:52 ` ✓ CI.KUnit: success for " Patchwork
2026-05-06 19:32 ` [PATCH] " Matthew Brost
2026-05-06 19:59 ` Thomas Hellström
2026-05-07 9:03 ` Matthew Auld
2026-05-07 11:14 ` Thomas Hellström
2026-05-06 19:59 ` ✓ Xe.CI.BAT: success for " Patchwork
2026-05-06 21:16 ` ✗ Xe.CI.FULL: failure " Patchwork
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox