drm/ttm, drm/xe: Page defragmentation for sub-optimally backed BOs
Subsystems (4)
Matthew Brost
maintainercover drm/ttm, drm/xe: Page defragmentation for sub-optimally backed BOs
This series adds a "page defragmentation" mechanism that lets a driver re-back a buffer object with higher-order (beneficial-order) pages after it was initially allocated with a sub-optimal, lower-order set of pages under memory pressure. Long-lived objects that happened to be allocated while memory was fragmented otherwise keep their scattered backing forever, costing TLB efficiency for the lifetime of the object; this series gives them a chance to be promoted back to the device's beneficial order once memory is available again.
The TTM core grows the generic plumbing (order-failure tracking, a defrag move that reallocates a populated BO in place, and a reclaim backoff knob), and the Xe driver wires up the policy: it tracks the affected BOs on a per-device list and runs a delayed worker that periodically tries to defragment them on the GPU.
Overview
========
ttm core
--------
- Record sub-optimal page-order allocations in ttm_tt. ttm_pool_alloc() sets ttm_tt::beneficial_order_failed when it has to fall back below the pool's beneficial order, so drivers can tell which BOs are backed with scattered pages.
- Allow backing off reclaim at the beneficial order. A new ttm_operation_ctx::beneficial_reclaim_backoff flag makes the pool skip direct reclaim/compaction (and the __GFP_RETRY_MAYFAIL promotion) for the beneficial order, so a caller that knows beneficial-order allocations are currently failing doesn't burn CPU stalling for a contiguous page that isn't there.
- Support defragmentation moves. ttm_operation_ctx::defrag forces a move that reallocates a populated BO's backing in place at the beneficial order, stashing the old, still-populated tt (bo->defrag_old_tt) and handing it to the driver move callback so the contents can be copied from the old pages to the new ones. The move is non-destructive: if beneficial-order pages can't be obtained the attempt aborts immediately and is fully unwound, with the BO restored to its original, still-mapped tt and placement.
- Fault injection for beneficial-order allocation failures. A beneficial_order_fault_inject debugfs knob (mirroring backup_fault_inject) forces the beneficial-order allocation to fail, so the tracking and the driver defrag path can be exercised deterministically without driving the system into real fragmentation.
Xe driver
---------
- Track BOs backed at a sub-optimal page order. ttm_bo_type_device BOs resident in XE_PL_TT with beneficial_order_failed set are kept on a per-device list (with an atomic count); membership is updated from the move path and the BO is dropped when pinned.
- Back off beneficial-order reclaim under defrag pressure. When enough BOs are already pending defrag, set beneficial_reclaim_backoff so new allocations fall back quickly instead of stalling.
- Add xe_migrate_copy_defrag() for on-GPU defrag copies. Relocates a BO's contents from the old pages to the freshly reallocated ones entirely on the GPU, in up to two passes: a verbatim data copy with the compression PAT cleared, then (for compressed BOs) an indirect -> indirect CCS aux copy with the compression PAT set. The two passes are required because the data copy and the indirect CCS access need opposite compression PAT settings on the same page mapping.
- Handle defrag moves in xe_bo_move(). Detects bo->defrag_old_tt, runs the GPU copy from the stashed old tt's sg table, and pipelines the teardown via ttm_bo_move_accel_cleanup() so the old backing is unpopulated/freed only once the copy fence signals. The defrag move is fully pipelined with
fences: rather than stalling, it inserts the copy into the GPU execution pipeline and lets the BO's normal fence dependencies order it against concurrent work.
- Add a page defragmentation worker. A delayed worker walks the per-device list and attempts a defrag move on each BO. It is kicked when the list first becomes non-empty, caps the BOs processed per run (XE_BO_DEFRAG_NUM_BO_LIMIT_PER_WORK) to avoid starving active work, backs off exponentially on failure
(XE_BO_DEFRAG_INTERVAL_MS .. XE_BO_DEFRAG_INTERVAL_MAX_MS), and stops once the list drains.
- Observability and configuration: defrag GT stats, a DRM_XE_DEBUG_DEFRAG Kconfig option for debug logging, and Kconfig.profile options to tune the defrag thresholds/intervals.
Notes
=====
- This series initially targets system/GTT backing (XE_PL_TT) only. The TTM defrag plumbing is placement-agnostic, so VRAM-backed BOs could be defragmented too with future driver-side work (a VRAM beneficial-order notion and the corresponding migrate paths).
- Testing: memory was intentionally fragmented by a separate program at the moment a 3D benchmark launches, combined with the beneficial-order error injection. The benchmark's BOs are initially backed at a sub-optimal order and FPS starts lower; shortly after, the defrag worker kicks in and iteratively migrates the backing to the beneficial order, and FPS climbs to its peak.
- The on-GPU two-pass copy, in particular the indirect -> indirect CCS aux copy across two distinct page sets, still wants wider hardware validation.
- The TTM defrag move and the Xe policy are deliberately split so the core plumbing can be reviewed independently of the driver's heuristics.
- The series without a version of [1] will not break the shrinker feedback loop in Xe
[1] https://patchwork.freedesktop.org/series/168651/
Matthew Brost (12):
drm/ttm/pool: Allow backing off reclaim at the beneficial order drm/ttm: Record sub-optimal page order allocations in ttm_tt drm/ttm: Support defragmentation moves
drm/ttm: Add fault injection for beneficial-order allocation failures drm/xe: Track BOs backed at a sub-optimal page order drm/xe: Back off beneficial-order reclaim under defrag pressure drm/xe: Add xe_migrate_copy_defrag() for on-GPU defrag copies drm/xe: Handle defrag moves in xe_bo_move()
drm/xe: Add a page defragmentation worker
drm/xe: Add defrag GT stats
drm/xe: Add DRM_XE_DEBUG_DEFRAG Kconfig option for debugging memory
fragmentation
drm/xe: Add Kconfig.profile options for BO defrag configuration
drivers/gpu/drm/ttm/ttm_bo.c | 83 +++++- drivers/gpu/drm/ttm/ttm_bo_util.c | 16 +- drivers/gpu/drm/ttm/ttm_pool.c | 49 +++- drivers/gpu/drm/ttm/ttm_tt.c | 1 + drivers/gpu/drm/xe/Kconfig.debug | 13 + drivers/gpu/drm/xe/Kconfig.profile | 35 +++ drivers/gpu/drm/xe/xe_bo.c | 352 ++++++++++++++++++++++++- drivers/gpu/drm/xe/xe_bo.h | 2 + drivers/gpu/drm/xe/xe_bo_types.h | 6 + drivers/gpu/drm/xe/xe_device.c | 2 + drivers/gpu/drm/xe/xe_device_types.h | 30 +++ drivers/gpu/drm/xe/xe_gt_stats.c | 3 + drivers/gpu/drm/xe/xe_gt_stats_types.h | 10 + drivers/gpu/drm/xe/xe_migrate.c | 135 ++++++++-- drivers/gpu/drm/xe/xe_migrate.h | 8 + include/drm/ttm/ttm_bo.h | 23 ++ include/drm/ttm/ttm_tt.h | 8 + 17 files changed, 740 insertions(+), 36 deletions(-)
Signature · 1 line
2.34.1
Matthew Brost
maintainerRFC PATCH 1/12 drm/ttm/pool: Allow backing off reclaim at the beneficial order
Allocating at the pool's beneficial order normally uses __GFP_RETRY_MAYFAIL to push hard for a contiguous high-order page. When beneficial-order allocations have recently been failing, this retry just burns CPU cycles in direct reclaim/compaction before falling back to a smaller order anyway.
Add a beneficial_reclaim_backoff flag to struct ttm_operation_ctx and plumb it through to ttm_pool_alloc_page(). When set, the beneficial order is treated like the orders we already consider not worth stalling
for: __GFP_RECLAIM is cleared so the allocation skips direct reclaim/compaction entirely, and the __GFP_NORETRY clearing / __GFP_RETRY_MAYFAIL promotion is skipped. Together this makes the allocator back off quickly to a smaller order instead of stalling.
This is a no-op until a caller opts in.
--- drivers/gpu/drm/ttm/ttm_pool.c | 12 ++++++++---- include/drm/ttm/ttm_bo.h | 6 ++++++ 2 files changed, 14 insertions(+), 4 deletions(-)
drivers/gpu/drm/ttm/ttm_pool.c +8 -4
@@ -145,7 +145,8 @@ static int ttm_pool_nid(struct ttm_pool *pool)/* Allocate pages of size 1 << order with the given gfp_flags */ static struct page *ttm_pool_alloc_page (struct ttm_pool *pool,gfp_t gfp_flags, -unsigned int order) +unsigned int order, +bool beneficial_reclaim_backoff) {const unsigned int beneficial_order =ttm_pool_beneficial_order (pool);unsigned long attr =DMA_ATTR_FORCE_CONTIGUOUS ;
@@ -165,10 +166,12 @@ static struct page *ttm_pool_alloc_page(struct ttm_pool *pool, gfp_t gfp_flags,* Do not add latency to the allocation path for allocations orders * device tolds us do not bring them additional performance gains. */ -if (order && beneficial_order && order != beneficial_order) +if (order && (beneficial_reclaim_backoff || + (beneficial_order && order != beneficial_order))) gfp_flags &= ~__GFP_RECLAIM; -if (beneficial_order && order == beneficial_order) { +if (!beneficial_reclaim_backoff && + beneficial_order && order == beneficial_order) { gfp_flags &= ~__GFP_NORETRY; gfp_flags |= __GFP_RETRY_MAYFAIL; }
@@ -814,7 +817,8 @@ static int __ttm_pool_alloc(struct ttm_pool *pool, struct ttm_tt *tt,if (!p) { page_caching = ttm_cached; allow_pools = false; - p =ttm_pool_alloc_page (pool, gfp_flags, order); + p =ttm_pool_alloc_page (pool, gfp_flags, order, + ctx->beneficial_reclaim_backoff); }/* If that fails, lower the order if possible and retry. */ if (!p) {
include/drm/ttm/ttm_bo.h +6 -0
@@ -187,6 +187,12 @@ struct ttm_operation_ctx {* when multiple BOs share the same reservation object @resv. */ bool allow_res_evict; +/** +* @beneficial_reclaim_backoff: Backoff from direct reclaim at the pools +* beneficial order. Useful when beneficial order allocation has +* recently failed and backoff from waiting CPU cycles. +*/ +bool beneficial_reclaim_backoff;/** * @resv: Reservation object to be used together with * @allow_res_evict.
Signature · 1 line
2.34.1
Matthew Brost
maintainerRFC PATCH 2/12 drm/ttm: Record sub-optimal page order allocations in ttm_tt
In reply to Matthew BrostWhen __ttm_pool_alloc() fails to allocate a chunk at the device's beneficial order and falls back to a smaller order, the object ends up backed by a sub-optimal set of pages. Nothing currently records this, so a driver has no way to know an object would benefit from being re-backed with beneficial-order pages later.
Add a bool beneficial_order_failed to struct ttm_tt, initialised to false in ttm_tt_init_fields() and reset at the start of each fresh ttm_pool_alloc(). Set it in __ttm_pool_alloc() when an allocation at exactly the beneficial order fails before dropping to a lower order.
Drivers can use this hint to queue the buffer object for later defragmentation.
--- drivers/gpu/drm/ttm/ttm_pool.c | 11 +++++++++++ drivers/gpu/drm/ttm/ttm_tt.c | 1 + include/drm/ttm/ttm_tt.h | 8 ++++++++ 3 files changed, 20 insertions(+)
drivers/gpu/drm/ttm/ttm_pool.c +11 -0
@@ -773,6 +773,7 @@ static int __ttm_pool_alloc(struct ttm_pool *pool, struct ttm_tt *tt, struct ttm_pool_alloc_state *alloc, struct ttm_pool_tt_restore *restore) { +const unsigned int beneficial_order =ttm_pool_beneficial_order (pool);enum ttm_caching page_caching;gfp_t gfp_flags =GFP_USER ;pgoff_t caching_divide;
@@ -823,6 +824,15 @@ static int __ttm_pool_alloc(struct ttm_pool *pool, struct ttm_tt *tt,/* If that fails, lower the order if possible and retry. */ if (!p) {if (order) { +/* +* Failing to allocate at the device's beneficial +* order means we are about to back this object +* with a sub-optimal (smaller order) set of +* pages. Record it so the driver can later try to +* defragment the object back to beneficial order. +*/ +if (beneficial_order && order == beneficial_order) + tt->beneficial_order_failed = true; --order; page_caching = tt->caching; allow_pools = true;
@@ -887,6 +897,7 @@ int ttm_pool_alloc(struct ttm_pool *pool, struct ttm_tt *tt,if (WARN_ON (ttm_tt_is_backed_up (tt)))return -EINVAL ; + tt->beneficial_order_failed = false;ttm_pool_alloc_state_init (tt, &alloc);return __ttm_pool_alloc (pool, tt, ctx, &alloc,NULL );
drivers/gpu/drm/ttm/ttm_tt.c +1 -0
@@ -164,6 +164,7 @@ static void ttm_tt_init_fields(struct ttm_tt *ttm, ttm->caching = caching; ttm->restore =NULL ; ttm->backup =NULL ; + ttm->beneficial_order_failed = false; } int ttm_tt_init(struct ttm_tt *ttm, struct ttm_buffer_object *bo,
include/drm/ttm/ttm_tt.h +8 -0
@@ -126,6 +126,14 @@ struct ttm_tt {enum ttm_caching caching;/** @restore: Partial restoration from backup state. TTM private */ struct ttm_pool_tt_restore *restore; +/** +* @beneficial_order_failed: Set by the TTM pool allocator when at least +* one chunk that could have been allocated at the pool's beneficial +* order had to fall back to a smaller order. This indicates that a +* sub-optimal set of pages was chosen for this object, and can be used +* by drivers to queue the buffer object for later defragmentation. +*/ +bool beneficial_order_failed; };/**
Signature · 1 line
2.34.1
Matthew Brost
maintainerRFC PATCH 3/12 drm/ttm: Support defragmentation moves
In reply to Matthew BrostAdd infrastructure to let a driver re-back an already-resident BO with fresh pages (e.g. at a more beneficial order) by reusing the normal move machinery.
Add ctx->defrag, which makes ttm_bo_validate() skip the "current resource already compatible" short-circuit so a move is forced even when placement is unchanged. In ttm_bo_handle_move_mem(), when defragging a populated BO, stash the old tt, create and populate a fresh one (allocating new backing), and hand the old tt to the driver move callback via bo->defrag_old_tt for copying. On success the old tt is unpopulated and freed; if populate or the move fails, the freshly allocated backing is discharged and the BO is restored to its original tt and placement.
The old tt is handed off through bo->defrag_old_tt (reservation-lock protected) rather than the operation context. The pointer describes BO state for the duration of the move, so keeping it on the buffer object is better layering and lets ttm_bo_move_accel_cleanup() pick it up.
Because a defrag move commonly fails (beneficial-order pages are often unavailable) and then leaves the BO untouched on its original backing, defer ttm_bo_unmap_virtual() for the defrag case until the new backing has been populated and the move is about to commit. Ordinary moves still unmap up front. This avoids needlessly zapping and refaulting every userspace mapping on the common failure path where nothing moved.
Teach ttm_bo_move_accel_cleanup()'s ghost path about defrag: instead of tearing the move's source tt down synchronously, hand bo->defrag_old_tt to the ghost object so it is kept populated until the copy fence signals and then unbound and destroyed asynchronously, while the BO keeps its new tt. This lets a driver pipeline defrag teardown behind the GPU copy rather than blocking on it.
This is driver-opt-in and a no-op unless ctx->defrag is set.
--- drivers/gpu/drm/ttm/ttm_bo.c | 83 ++++++++++++++++++++++++++++--- drivers/gpu/drm/ttm/ttm_bo_util.c | 16 +++++- drivers/gpu/drm/ttm/ttm_pool.c | 7 ++- include/drm/ttm/ttm_bo.h | 17 +++++++ 4 files changed, 113 insertions(+), 10 deletions(-)
drivers/gpu/drm/ttm/ttm_bo.c +76 -7
@@ -125,36 +125,93 @@ static int ttm_bo_handle_move_mem(struct ttm_buffer_object *bo, {struct ttm_device *bdev = bo->bdev;bool old_use_tt, new_use_tt; +bool defrag;int ret; old_use_tt = !bo->resource ||ttm_manager_type (bdev, bo->resource->mem_type)->use_tt; new_use_tt =ttm_manager_type (bdev, mem->mem_type)->use_tt; -ttm_bo_unmap_virtual (bo); +/* +* Only the BO that is the actual defrag target (moved in place via +* ttm_bo_validate(), evict == false) is being defragmented. The same +* ctx->defrag is threaded into evictions triggered while allocating +* that target's new backing (ttm_bo_evict_alloc()), so guard against +* an unrelated victim BO (evict == true) being misclassified as a +* defrag move and needlessly reallocating its backing. +*/ + defrag = ctx->defrag && !evict && new_use_tt && bo->ttm && +ttm_tt_is_populated (bo->ttm); + +/* +* Tear down userspace mappings up front for ordinary moves. A defrag +* move is likely to leave the BO in place (beneficial-order allocation +* commonly fails), so defer the unmap until the new backing has been +* populated and the move is about to commit. This avoids a needless +* zap and refault of every userspace mapping on the common failure, +* where the BO keeps its original, still-mapped backing. +*/ +if (!defrag) +ttm_bo_unmap_virtual (bo);/* * Create and bind a ttm if required. */ if (new_use_tt) { +struct ttm_tt *defrag_old_tt =NULL ; + +/* +* For a defrag move, stash the current populated tt and force a +* fresh one to be created and populated (at beneficial order). +* The old tt is handed to the driver move callback to copy the +* contents from, and freed once the move completes. +*/ +if (defrag) { + defrag_old_tt = bo->ttm; + bo->ttm =NULL ; + } +/* Zero init the new TTM structure if the old location should * have used one as well. */ - ret =ttm_tt_create (bo, old_use_tt); -if (ret) + ret =ttm_tt_create (bo, old_use_tt && !defrag_old_tt); +if (ret) { +if (defrag_old_tt) + bo->ttm = defrag_old_tt; goto out_err; + } -if (mem->mem_type !=TTM_PL_SYSTEM ) { +if (defrag_old_tt || mem->mem_type !=TTM_PL_SYSTEM ) { ret =ttm_bo_populate (bo, ctx); -if (ret) +if (ret) { +/* +* Discharge the freshly allocated backing and +* leave the BO on its original tt/placement. +*/ +if (defrag_old_tt) { +ttm_tt_destroy (bo->bdev, bo->ttm); + bo->ttm = defrag_old_tt; + } goto out_err; + } } + + bo->defrag_old_tt = defrag_old_tt; } ret =dma_resv_reserve_fences (bo->base.resv,1 );if (ret) goto out_err; +/* +* A defrag move deferred its virtual unmap until the new backing was +* successfully populated; tear the userspace mappings down now, before +* the move swaps in the new pages, so the next fault re-establishes +* them against the new backing. +*/ +if (defrag) +ttm_bo_unmap_virtual (bo); + ret = bdev->funcs->move (bo, evict, ctx, mem, hop);if (ret) {if (ret == -EMULTIHOP )
@@ -162,12 +219,24 @@ static int ttm_bo_handle_move_mem(struct ttm_buffer_object *bo, goto out_err; } +if (bo->defrag_old_tt) { +ttm_tt_unpopulate (bo->bdev, bo->defrag_old_tt); +ttm_tt_destroy (bo->bdev, bo->defrag_old_tt); + bo->defrag_old_tt =NULL ; + } + ctx->bytes_moved += bo->base.size;return 0 ; out_err: -if (!old_use_tt) +if (bo->defrag_old_tt) { +/* Failed defrag move: restore the original backing. */ +ttm_bo_tt_destroy (bo); + bo->ttm = bo->defrag_old_tt; + bo->defrag_old_tt =NULL ; + }else if (!old_use_tt) {ttm_bo_tt_destroy (bo); + }return ret; }
@@ -835,7 +904,7 @@ int ttm_bo_validate(struct ttm_buffer_object *bo, force_space = false; do { /* Check whether we need to move buffer. */ - if (bo->resource && + if (bo->resource && !ctx->defrag && ttm_resource_compatible(bo->resource, placement, force_space)) return 0;
drivers/gpu/drm/ttm/ttm_bo_util.c +14 -2
@@ -626,10 +626,22 @@ static int ttm_bo_move_to_ghost(struct ttm_buffer_object *bo,* bo to be unbound and destroyed. */ -if (dst_use_tt) +if (bo->defrag_old_tt) { +/* +* Defrag move: @bo already points at the freshly allocated, +* beneficial-order tt that the move copied into. Hand the old +* tt (the move's source) to the ghost so it is kept populated +* until @fence signals and then unbound and destroyed, instead +* of being torn down synchronously. @bo keeps its new tt. +*/ + ghost_obj->ttm = bo->defrag_old_tt; + ghost_obj->defrag_old_tt =NULL ; + bo->defrag_old_tt =NULL ; + }else if (dst_use_tt) { ghost_obj->ttm =NULL ; -else + }else { bo->ttm =NULL ; + }dma_resv_unlock (&ghost_obj->base._resv);ttm_bo_put (ghost_obj);
drivers/gpu/drm/ttm/ttm_pool.c +6 -1
@@ -831,8 +831,13 @@ static int __ttm_pool_alloc(struct ttm_pool *pool, struct ttm_tt *tt,* pages. Record it so the driver can later try to * defragment the object back to beneficial order. */ -if (beneficial_order && order == beneficial_order) +if (beneficial_order && order == beneficial_order) { tt->beneficial_order_failed = true; +if (ctx->defrag) { + r = -ENOMEM ; + goto error_free_all; + } + } --order; page_caching = tt->caching; allow_pools = true;
include/drm/ttm/ttm_bo.h +17 -0
@@ -135,6 +135,16 @@ struct ttm_buffer_object {* reservation lock. */ struct sg_table *sg; + +/** +* @defrag_old_tt: Used internally during a defrag move to hand the BO's +* previous, populated struct ttm_tt to the driver's move callback so +* that it can copy the contents into the freshly allocated +* beneficial-order backing. Set by TTM, consumed by the driver; the old +* tt is freed (or restored on failure) by TTM once the move completes. +* Protected by the reservation lock. +*/ +struct ttm_tt *defrag_old_tt; };#define TTM_BO_MAP_IOMEM_MASK 0x80
@@ -193,6 +203,13 @@ struct ttm_operation_ctx {* recently failed and backoff from waiting CPU cycles. */ bool beneficial_reclaim_backoff; +/** +* @defrag: Defragmentation pass. Attempt a move even when the bo's +* current resource is already compatible with the requested placement, +* so that the backing store can be reallocated at the pool's beneficial +* order. +*/ +bool defrag;/** * @resv: Reservation object to be used together with * @allow_res_evict.
Signature · 1 line
2.34.1
Matthew Brost
maintainerRFC PATCH 4/12 drm/ttm: Add fault injection for beneficial-order allocation failures
In reply to Matthew BrostAdd a beneficial_order_fault_inject debugfs fault attribute, mirroring backup_fault_inject, that forces allocation at the device's beneficial order to fail in __ttm_pool_alloc(). When triggered, both the pool take and the system page allocation are skipped for that order, so the allocation falls into the existing lower-the-order path that records tt->beneficial_order_failed (and bails out with -ENOMEM for defrag moves).
This lets the beneficial_order_failed tracking and the driver-side defrag path be exercised deterministically, without having to drive the system into real memory fragmentation to provoke a sub-optimal backing.
The knob is registered at /sys/kernel/debug/ttm/beneficial_order_fault_inject and compiles out when CONFIG_FAULT_INJECTION is disabled.
--- drivers/gpu/drm/ttm/ttm_pool.c | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-)
drivers/gpu/drm/ttm/ttm_pool.c +19 -2
@@ -53,6 +53,7 @@#ifdef CONFIG_FAULT_INJECTION #include <linux/fault-inject.h> static DECLARE_FAULT_ATTR (backup_fault_inject); +static DECLARE_FAULT_ATTR (beneficial_order_fault_inject);#else #define should_fail (...) false#endif
@@ -802,11 +803,24 @@ static int __ttm_pool_alloc(struct ttm_pool *pool, struct ttm_tt *tt, alloc->remaining_pages; order = ttm_pool_alloc_find_order(order, alloc)) {struct ttm_pool_type *pt; +bool fail_beneficial; + +/* +* Fault injection: pretend allocation at the device's +* beneficial order failed, forcing the object to be backed with +* a sub-optimal (smaller order) set of pages. Used to exercise +* the beneficial_order_failed tracking and the driver defrag +* path without having to drive the system into real memory +* fragmentation. +*/ + fail_beneficial =IS_ENABLED (CONFIG_FAULT_INJECTION ) && + beneficial_order && order >= beneficial_order && +should_fail (&beneficial_order_fault_inject,1 );/* First, try to allocate a page from a pool if one exists. */ p =NULL ; pt =ttm_pool_select_type (pool, page_caching, order); -if (pt && allow_pools) +if (pt && allow_pools && !fail_beneficial) p =ttm_pool_type_take (pt,ttm_pool_nid (pool));/*
@@ -815,7 +829,7 @@ static int __ttm_pool_alloc(struct ttm_pool *pool, struct ttm_tt *tt,* write-back cached pools of the same order. Consider removing * that behaviour. */ -if (!p) { +if (!p && !fail_beneficial) { page_caching = ttm_cached; allow_pools = false; p = ttm_pool_alloc_page(pool, gfp_flags, order,
@@ -1453,6 +1467,9 @@ int ttm_pool_mgr_init(unsigned long num_pages)#ifdef CONFIG_FAULT_INJECTION fault_create_debugfs_attr ("backup_fault_inject" , ttm_debugfs_root, &backup_fault_inject); +fault_create_debugfs_attr ("beneficial_order_fault_inject" , + ttm_debugfs_root, + &beneficial_order_fault_inject);#endif #endif
Signature · 1 line
2.34.1
Matthew Brost
maintainerRFC PATCH 5/12 drm/xe: Track BOs backed at a sub-optimal page order
In reply to Matthew BrostAdd per-device tracking of BOs whose backing TT pages were allocated below the pool's beneficial order, as reported by ttm_tt::beneficial_order_failed. These BOs are future candidates for a defragmentation pass that reallocates their pages at the beneficial order.
Add a mem.defrag sub-struct (lock, list, atomic count) to struct xe_device and a defrag_link to struct xe_bo, initialised at BO create and device init. Membership is updated from xe_bo_move() via xe_bo_defrag_update(): a BO is added when it is a populated, non-pinned ttm_bo_type_device object flagged beneficial_order_failed, and removed otherwise. BOs are also removed on pin, on purge, and at destroy.
Only ttm_bo_type_device BOs are tracked.
--- drivers/gpu/drm/xe/xe_bo.c | 77 ++++++++++++++++++++++++++++ drivers/gpu/drm/xe/xe_bo.h | 2 + drivers/gpu/drm/xe/xe_bo_types.h | 6 +++ drivers/gpu/drm/xe/xe_device.c | 2 + drivers/gpu/drm/xe/xe_device_types.h | 19 +++++++ 5 files changed, 106 insertions(+)
drivers/gpu/drm/xe/xe_bo.c +77 -0
@@ -947,6 +947,72 @@ static int xe_ttm_bo_purge(struct ttm_buffer_object *ttm_bo, struct ttm_operatioreturn 0 ; } +/** +* xe_bo_defrag_init() - Initialize the device defrag BO tracking +* @xe: The xe device +* +* Initialize the list, lock and count used to track BOs whose backing TT +* pages were allocated at a sub-optimal order. +*/ +void xe_bo_defrag_init (struct xe_device *xe) +{ +spin_lock_init (&xe->mem.defrag.lock); +INIT_LIST_HEAD (&xe->mem.defrag.list); +atomic_set (&xe->mem.defrag.count,0 ); +} + +static void xe_bo_defrag_add (struct xe_bo *bo) +{ +struct xe_device *xe =xe_bo_device (bo); + + scoped_guard(spinlock, &xe->mem.defrag.lock) { +if (list_empty (&bo->defrag_link)) { +list_add_tail (&bo->defrag_link, &xe->mem.defrag.list); +atomic_inc (&xe->mem.defrag.count); + } + } +} + +/** +* xe_bo_defrag_remove() - Remove a BO from the device defrag list +* @bo: The buffer object +* +* Remove @bo from the defrag list if present. Safe to call on a BO that is +* not currently on the list. +*/ +void xe_bo_defrag_remove (struct xe_bo *bo) +{ +struct xe_device *xe =xe_bo_device (bo); + +guard (spinlock)(&xe->mem.defrag.lock); + +if (!list_empty (&bo->defrag_link)) { +list_del_init (&bo->defrag_link); +atomic_dec (&xe->mem.defrag.count); + } +} + +/** +* xe_bo_defrag_update() - Update defrag list membership for a BO +* @bo: The buffer object +* +* Add @bo to the device defrag list when it has a populated, non-pinned TT of +* type ttm_bo_type_device whose pages were allocated at a sub-optimal order +* (tt->beneficial_order_failed). Otherwise ensure it is removed from the list. +*/ +static void xe_bo_defrag_update (struct xe_bo *bo) +{ +struct ttm_buffer_object *ttm_bo = &bo->ttm; +struct ttm_tt *tt = ttm_bo->ttm; + +if (ttm_bo->type == ttm_bo_type_device && tt && +ttm_tt_is_populated (tt) && tt->beneficial_order_failed && + !xe_bo_is_pinned (bo)) +xe_bo_defrag_add (bo); +else +xe_bo_defrag_remove (bo); +} + static int xe_bo_move(struct ttm_buffer_object *ttm_bo, bool evict, struct ttm_operation_ctx *ctx, struct ttm_resource *new_mem,
@@ -975,6 +1041,8 @@ static int xe_bo_move(struct ttm_buffer_object *ttm_bo, bool evict,if (ret)return ret; +xe_bo_defrag_remove (bo); +/* Free the unused eviction destination resource */ ttm_resource_free (ttm_bo, &new_mem);return 0 ;
@@ -1172,6 +1240,8 @@ static int xe_bo_move(struct ttm_buffer_object *ttm_bo, bool evict,xe_tt_unmap_sg (xe, ttm_bo->ttm); } +xe_bo_defrag_update (bo); +return ret; }
@@ -1850,6 +1920,8 @@ static void xe_ttm_bo_destroy(struct ttm_buffer_object *ttm_bo)list_del (&bo->vram_userfault_link);mutex_unlock (&xe->mem_access.vram_userfault.lock); +xe_bo_defrag_remove (bo); +kfree (bo); }
@@ -2355,6 +2427,7 @@ struct xe_bo *xe_bo_init_locked(struct xe_device *xe, struct xe_bo *bo, bo->ttm.base.funcs = &xe_gem_object_funcs; bo->ttm.priority =XE_BO_PRIORITY_NORMAL ;INIT_LIST_HEAD (&bo->pinned_link); +INIT_LIST_HEAD (&bo->defrag_link);#ifdef CONFIG_PROC_FS INIT_LIST_HEAD (&bo->client_link);#endif
@@ -2961,6 +3034,8 @@ int xe_bo_pin_external(struct xe_bo *bo, bool in_place, struct drm_exec *exec)if (bo->ttm.ttm &&ttm_tt_is_populated (bo->ttm.ttm))xe_ttm_tt_account_subtract (xe, bo->ttm.ttm); +xe_bo_defrag_remove (bo); +/* * FIXME: If we always use the reserve / unreserve functions for locking * we do not need this.
@@ -3019,6 +3094,8 @@ int xe_bo_pin(struct xe_bo *bo, struct drm_exec *exec)if (bo->ttm.ttm &&ttm_tt_is_populated (bo->ttm.ttm))xe_ttm_tt_account_subtract (xe, bo->ttm.ttm); +xe_bo_defrag_remove (bo); +/* * FIXME: If we always use the reserve / unreserve functions for locking * we do not need this.
drivers/gpu/drm/xe/xe_bo.h +2 -0
@@ -224,6 +224,8 @@ int xe_bo_pin_external(struct xe_bo *bo, bool in_place, struct drm_exec *exec);int xe_bo_pin (struct xe_bo *bo,struct drm_exec *exec);void xe_bo_unpin_external (struct xe_bo *bo);void xe_bo_unpin (struct xe_bo *bo); +void xe_bo_defrag_init (struct xe_device *xe); +void xe_bo_defrag_remove (struct xe_bo *bo);int xe_bo_validate (struct xe_bo *bo,struct xe_vm *vm,bool allow_res_evict,struct drm_exec *exec);
drivers/gpu/drm/xe/xe_bo_types.h +6 -0
@@ -54,6 +54,12 @@ struct xe_bo {struct ttm_bo_kmap_obj kmap;/** @pinned_link: link to present / evicted list of pinned BO */ struct list_head pinned_link; +/** +* @defrag_link: link into @xe_device.mem.defrag.list for BOs whose +* backing TT pages were allocated at a sub-optimal order. Protected by +* @xe_device.mem.defrag.lock. +*/ +struct list_head defrag_link;#ifdef CONFIG_PROC_FS /** * @client: @xe_drm_client which created the bo
drivers/gpu/drm/xe/xe_device.c +2 -0
@@ -577,6 +577,8 @@ int xe_device_init_early(struct xe_device *xe)if (err)return err; +xe_bo_defrag_init (xe); + xe->preempt_fence_wq =alloc_ordered_workqueue ("xe-preempt-fence-wq" ,WQ_MEM_RECLAIM ); xe->ordered_wq =alloc_ordered_workqueue ("xe-ordered-wq" ,0 );
drivers/gpu/drm/xe/xe_device_types.h +19 -0
@@ -281,6 +281,25 @@ struct xe_device {struct xe_shrinker *shrinker;/** @mem.stolen_mgr: stolen memory manager. */ struct xe_ttm_stolen_mgr *stolen_mgr; +/** +* @mem.defrag: Tracking of BOs whose backing TT pages were +* allocated at a sub-optimal (smaller than beneficial) order. +* +* Such BOs are candidates for a future defragmentation pass that +* tries to reallocate their pages at the device's beneficial +* order. Only ttm_bo_type_device BOs are tracked. +*/ +struct { +/** @mem.defrag.lock: Protects @mem.defrag.list. */ +spinlock_t lock; +/** @mem.defrag.list: List of struct xe_bo defrag_link. */ +struct list_head list; +/** +* @mem.defrag.count: Number of BOs currently on +* @mem.defrag.list. +*/ +atomic_t count; + } defrag; } mem;/** @sriov: device level virtualization data */
Signature · 1 line
2.34.1
Matthew Brost
maintainerRFC PATCH 6/12 drm/xe: Back off beneficial-order reclaim under defrag pressure
In reply to Matthew BrostOnce a meaningful number of BOs are already tracked as being backed at a sub-optimal order, continuing to push hard for beneficial-order pages during populate mostly wastes time in reclaim/compaction.
In xe_ttm_tt_populate(), set ctx->beneficial_reclaim_backoff when the device defrag count reaches XE_BO_DEFRAG_RECLAIM_BACKOFF_THRESHOLD (2) so the TTM pool backs off and allocations make forward progress. The deferred defrag pass is responsible for upgrading these objects to beneficial order later.
--- drivers/gpu/drm/xe/xe_bo.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
drivers/gpu/drm/xe/xe_bo.c +14 -0
@@ -41,6 +41,14 @@#include "xe_vm.h" #include "xe_vram_types.h" +/* +* Once this many BOs are tracked on the device defrag list (i.e. were backed +* with a sub-optimal page order), request that the TTM pool backs off from +* aggressive reclaim at the beneficial order during populate, so that +* allocations make forward progress instead of stalling. +*/ +#define XE_BO_DEFRAG_RECLAIM_BACKOFF_THRESHOLD 2 +const char *const xe_mem_type_to_name[TTM_NUM_MEM_TYPES ] = { [XE_PL_SYSTEM ] ="system" , [XE_PL_TT ] ="gtt" ,
@@ -552,6 +560,12 @@ static int xe_ttm_tt_populate(struct ttm_device *ttm_dev, struct ttm_tt *tt,if (ttm_tt_is_backed_up (tt) && !xe_tt->purgeable) { err =ttm_tt_restore (ttm_dev, tt, ctx); }else { +struct xe_device *xe =ttm_to_xe_device (ttm_dev); + +if (atomic_read (&xe->mem.defrag.count) >= +XE_BO_DEFRAG_RECLAIM_BACKOFF_THRESHOLD ) + ctx->beneficial_reclaim_backoff = true; +ttm_tt_clear_backed_up (tt); err =ttm_pool_alloc (&ttm_dev->pool, tt, ctx); }
Signature · 1 line
2.34.1
Matthew Brost
maintainerRFC PATCH 7/12 drm/xe: Add xe_migrate_copy_defrag() for on-GPU defrag copies
In reply to Matthew BrostAdd xe_migrate_copy_defrag(), a copy helper for the upcoming page defragmentation path where a single BO has its backing reallocated at a more beneficial page order and its contents must be relocated from the old pages to the new ones entirely on the GPU.
The contents are relocated in up to two passes:
- Data pass (always): copy the data pages verbatim. The pages are mapped without the compression PAT, so the (possibly compressed) bytes are copied as-is rather than being decompressed and recompressed, and no CCS aux copy is appended.
- CCS pass (need_ccs): copy the CCS aux (compression) state. Both the old and new data pages are mapped with the compression PAT so the copy engine accesses the aux state indirectly, issuing one indirect -> indirect XY_CTRL_SURF_COPY_BLT; the data blit is skipped.
The two passes are issued separately because they require opposite compression PAT settings on the data page mappings (cleared for the verbatim data copy, set for the indirect CCS access), which a single mapping cannot satisfy. Both passes run in order on the same migrate queue and are captured by the returned fence.
The source pages are passed explicitly via an sg_table argument (the old, still populated backing) since they no longer match the BO's current backing. The boolean arguments to __xe_migrate_copy() are folded into struct xe_migrate_copy_flags to keep the growing set of copy variants readable.
--- drivers/gpu/drm/xe/xe_migrate.c | 135 ++++++++++++++++++++++++++++---- drivers/gpu/drm/xe/xe_migrate.h | 8 ++ 2 files changed, 127 insertions(+), 16 deletions(-)
drivers/gpu/drm/xe/xe_migrate.c +119 -16
@@ -882,13 +882,39 @@ static u32 xe_migrate_ccs_copy(struct xe_migrate *m,return flush_flags; } +/** +* struct xe_migrate_copy_flags - Flags for __xe_migrate_copy() +* @copy_only_ccs: Only copy the CCS aux state, aliasing the destination data +* mapping to the source (used when the data pages are shared between src/dst). +* @is_vram_resolve: Decompression (VRAM -> system) resolve; always uses the +* compression PAT index for the data copy. +* @defrag_ccs: Defrag move pass that migrates only the CCS aux state between +* two distinct page sets (old @src_sg pages -> new pages). The data blit is +* skipped (the data was copied by the @defrag_copy pass) and both the source +* and destination data pages are mapped with the compression PAT so the aux +* state is copied indirect -> indirect. +* @defrag_copy: Defrag move pass that copies the data pages between two +* distinct page sets (old @src_sg pages -> new pages) without touching the CCS +* aux state. The data pages are mapped without the compression PAT so the +* (possibly compressed) bytes are copied verbatim rather than being +* decompressed and recompressed, and no CCS aux copy is appended; the aux +* state is migrated separately by the @defrag_ccs pass. The two passes need +* opposite compression PAT settings, which is why they cannot be combined. +*/ +struct xe_migrate_copy_flags { +u32 copy_only_ccs :1 ; +u32 is_vram_resolve :1 ; +u32 defrag_ccs :1 ; +u32 defrag_copy :1 ; +}; +static struct dma_fence *__xe_migrate_copy (struct xe_migrate *m,struct xe_bo *src_bo,struct xe_bo *dst_bo,struct ttm_resource *src,struct ttm_resource *dst, -bool copy_only_ccs, -bool is_vram_resolve) +struct sg_table *src_sg, +struct xe_migrate_copy_flags flags) {struct xe_gt *gt = m->tile->primary_gt;struct xe_device *xe =gt_to_xe (gt);
@@ -905,20 +931,29 @@ static struct dma_fence *__xe_migrate_copy(struct xe_migrate *m,bool src_is_vram =mem_type_is_vram (src->mem_type);bool dst_is_vram =mem_type_is_vram (dst->mem_type);bool type_device = src_bo->ttm.type == ttm_bo_type_device; -bool needs_ccs_emit = type_device &&xe_migrate_needs_ccs_emit (xe); +bool needs_ccs_emit = type_device &&xe_migrate_needs_ccs_emit (xe) && + !flags.defrag_copy;bool copy_ccs =xe_device_has_flat_ccs (xe) && -xe_bo_needs_ccs_pages (src_bo) &&xe_bo_needs_ccs_pages (dst_bo); -bool copy_system_ccs = copy_ccs && (!src_is_vram || !dst_is_vram); +xe_bo_needs_ccs_pages (src_bo) &&xe_bo_needs_ccs_pages (dst_bo) && + !flags.defrag_copy; +bool copy_system_ccs = copy_ccs && (!src_is_vram || !dst_is_vram) && + !flags.defrag_ccs && !flags.defrag_copy;/* * For decompression operation, always use the compression PAT index. * Otherwise, only use the compression PAT index for device memory * when copying from VRAM to system memory. */ -bool use_comp_pat = is_vram_resolve || (type_device && +bool use_comp_pat = flags.is_vram_resolve || (type_device &&xe_device_has_flat_ccs (xe) &&GRAPHICS_VER (xe) >=20 && src_is_vram && !dst_is_vram); +/* +* The defrag CCS pass migrates the aux state from the old pages +* (@src_sg) to the new pages with both sides accessed indirectly, so +* keep both src_is_pltt and dst_is_pltt set (no direct staging side). +*/ +/* Copying CCS between two different BOs is not supported yet. */ if (XE_WARN_ON (copy_ccs && src_bo != dst_bo))return ERR_PTR (-EINVAL );
@@ -927,7 +962,7 @@ static struct dma_fence *__xe_migrate_copy(struct xe_migrate *m,return ERR_PTR (-EINVAL );if (!src_is_vram) -xe_res_first_sg (xe_bo_sg (src_bo),0 , size, &src_it); +xe_res_first_sg (src_sg ? src_sg :xe_bo_sg (src_bo),0 , size, &src_it);else xe_res_first (src,0 , size, &src_it);if (!dst_is_vram)
@@ -936,7 +971,8 @@ static struct dma_fence *__xe_migrate_copy(struct xe_migrate *m,xe_res_first (dst,0 , size, &dst_it);if (copy_system_ccs) -xe_res_first_sg (xe_bo_sg (src_bo),xe_bo_ccs_pages_start (src_bo), +xe_res_first_sg (src_sg ? src_sg :xe_bo_sg (src_bo), +xe_bo_ccs_pages_start (src_bo),PAGE_ALIGN (xe_device_ccs_bytes (xe, size)), &ccs_it);
@@ -966,7 +1002,7 @@ static struct dma_fence *__xe_migrate_copy(struct xe_migrate *m, batch_size +=pte_update_size (m, pte_flags, src, &src_it, &src_L0, &src_L0_ofs, &src_L0_pt,0 ,0 , avail_pts); -if (copy_only_ccs) { +if (flags.copy_only_ccs) { dst_L0_ofs = src_L0_ofs; }else { pte_flags = dst_is_vram ?PTE_UPDATE_FLAG_IS_VRAM :0 ;
@@ -987,7 +1023,7 @@ static struct dma_fence *__xe_migrate_copy(struct xe_migrate *m, }/* Add copy commands size here */ - batch_size += ((copy_only_ccs) ?0 :emit_copy_cmd_len (xe)) + + batch_size += ((flags.copy_only_ccs || flags.defrag_ccs) ?0 :emit_copy_cmd_len (xe)) + ((needs_ccs_emit ?EMIT_COPY_CCS_DW :0 )); bb =xe_bb_new (gt, batch_size, usm);
@@ -999,13 +1035,15 @@ static struct dma_fence *__xe_migrate_copy(struct xe_migrate *m,if (src_is_vram &&xe_migrate_allow_identity (src_L0, &src_it))xe_res_next (&src_it, src_L0);else -emit_pte (m, bb, src_L0_pt, src_is_vram, copy_system_ccs || use_comp_pat, +emit_pte (m, bb, src_L0_pt, src_is_vram, + copy_system_ccs || use_comp_pat || flags.defrag_ccs, &src_it, src_L0, src);if (dst_is_vram &&xe_migrate_allow_identity (src_L0, &dst_it))xe_res_next (&dst_it, src_L0); -else if (!copy_only_ccs) -emit_pte (m, bb, dst_L0_pt, dst_is_vram, copy_system_ccs, +else if (!flags.copy_only_ccs) +emit_pte (m, bb, dst_L0_pt, dst_is_vram, + copy_system_ccs || flags.defrag_ccs, &dst_it, src_L0, dst);if (copy_system_ccs)
@@ -1014,7 +1052,7 @@ static struct dma_fence *__xe_migrate_copy(struct xe_migrate *m, bb->cs[bb->len++] =MI_BATCH_BUFFER_END ; update_idx = bb->len; -if (!copy_only_ccs) +if (!flags.copy_only_ccs && !flags.defrag_ccs)emit_copy (gt, bb, src_L0_ofs, dst_L0_ofs, src_L0,XE_PAGE_SIZE );if (needs_ccs_emit)
@@ -1102,7 +1140,69 @@ struct dma_fence *xe_migrate_copy(struct xe_migrate *m,struct ttm_resource *dst, bool copy_only_ccs) { - return __xe_migrate_copy(m, src_bo, dst_bo, src, dst, copy_only_ccs, false); + return __xe_migrate_copy(m, src_bo, dst_bo, src, dst, NULL, + (struct xe_migrate_copy_flags) { + .copy_only_ccs = copy_only_ccs, + }); +} + +/** +* xe_migrate_copy_defrag() - Migrate a BO's backing to a reallocated page set. +* @m: The migration context. +* @bo: The buffer object being defragmented. Both @src and @dst belong to @bo. +* @src: The source TTM resource (the old backing). +* @dst: The dst TTM resource (the freshly reallocated backing). +* @src_sg: Scatter-gather table of the source (old) backing pages. +* @need_ccs: Whether the BO has CCS aux state that must be migrated too. +* +* Used by the defrag path where a single BO has its backing reallocated at a +* more beneficial page order. The contents are relocated from the old pages +* (@src_sg) to the new pages (the BO's current backing) entirely on the GPU, +* in up to two passes: +* +* - Data pass (always): copy the data pages verbatim. The pages are mapped +* without the compression PAT, so the (possibly compressed) bytes are copied +* as-is rather than being decompressed and recompressed, and no CCS aux copy +* is appended. +* +* - CCS pass (@need_ccs): copy the CCS aux (compression) state. Both the old +* and new data pages are mapped with the compression PAT so the copy engine +* accesses the aux state indirectly, issuing one indirect -> indirect +* XY_CTRL_SURF_COPY_BLT; the data blit is skipped. +* +* The two passes are issued separately because they require opposite +* compression PAT settings on the data page mappings (cleared for the verbatim +* data copy, set for the indirect CCS access), which a single mapping cannot +* satisfy. Both passes run in order on the same migrate queue. +* +* Return: Pointer to a dma_fence representing the last copy batch, or an error +* pointer on failure. +*/ +struct dma_fence *xe_migrate_copy_defrag (struct xe_migrate *m, +struct xe_bo *bo, +struct ttm_resource *src, +struct ttm_resource *dst, +struct sg_table *src_sg, +bool need_ccs) +{ +struct dma_fence *fence2, *fence = +__xe_migrate_copy (m, bo, bo, src, dst, src_sg, + (struct xe_migrate_copy_flags ) { + .defrag_copy = true, + }); + +if (IS_ERR (fence) || !need_ccs) +return fence; + + fence2 =__xe_migrate_copy (m, bo, bo, src, dst, src_sg, + (struct xe_migrate_copy_flags ) { + .defrag_ccs = true, + }); +if (IS_ERR (fence2)) +dma_fence_wait (fence, false); +dma_fence_put (fence); + +return fence2; }/**
@@ -1120,7 +1220,10 @@ struct dma_fence *xe_migrate_resolve(struct xe_migrate *m,struct xe_bo *bo, struct ttm_resource *res) { - return __xe_migrate_copy(m, bo, bo, res, res, false, true); + return __xe_migrate_copy(m, bo, bo, res, res, NULL, + (struct xe_migrate_copy_flags) { + .is_vram_resolve = true, + }); }/**
drivers/gpu/drm/xe/xe_migrate.h +8 -0
@@ -11,6 +11,7 @@struct dma_fence ;struct drm_pagemap_addr ;struct iosys_map ; +struct sg_table ;struct ttm_resource ;struct xe_bo ;
@@ -132,6 +133,13 @@ struct dma_fence *xe_migrate_copy(struct xe_migrate *m,struct ttm_resource *dst, bool copy_only_ccs); +struct dma_fence *xe_migrate_copy_defrag (struct xe_migrate *m, +struct xe_bo *bo, +struct ttm_resource *src, +struct ttm_resource *dst, +struct sg_table *src_sg, +bool need_ccs); +struct dma_fence *xe_migrate_resolve (struct xe_migrate *m,struct xe_bo *bo,struct ttm_resource *res);
Signature · 1 line
2.34.1
Matthew Brost
maintainerRFC PATCH 8/12 drm/xe: Handle defrag moves in xe_bo_move()
In reply to Matthew BrostTeach xe_bo_move() to service a defrag move, where TTM reallocates a BO's backing at the device's beneficial order and hands the old, still populated tt to the move via the BO's defrag_old_tt.
A defrag move always has existing contents to copy, so force move_lacks_source false and fall through the XE_PL_TT -> XE_PL_TT no-op shortcut so the copy path runs. The relocation is performed entirely on the GPU via xe_migrate_copy_defrag(), reading the old pages from the stashed tt's sg table and writing the freshly reallocated backing.
Both copy passes run in order on the same migrate queue and are captured by the returned fence, so the teardown is pipelined via ttm_bo_move_accel_cleanup(): the old tt is handed to a ghost object and only unpopulated and freed once the fence signals, so the move need not block. The VF CCS attach/detach handling is extended to treat a defrag move (ctx->defrag) like the XE_PL_SYSTEM <-> XE_PL_TT transitions it mirrors.
--- drivers/gpu/drm/xe/xe_bo.c | 42 +++++++++++++++++++++++++++++++++----- 1 file changed, 37 insertions(+), 5 deletions(-)
drivers/gpu/drm/xe/xe_bo.c +37 -5
@@ -1084,6 +1084,13 @@ static int xe_bo_move(struct ttm_buffer_object *ttm_bo, bool evict, move_lacks_source = !old_mem || (handle_system_ccs ? (!bo->ccs_cleared) : (!mem_type_is_vram (old_mem_type) && !tt_has_data)); +/* +* A defrag move always copies the existing contents from the stashed +* old tt into the freshly (re)allocated backing. +*/ +if (ttm_bo->defrag_old_tt) + move_lacks_source = false; + needs_clear = (ttm && ttm->page_flags &TTM_TT_FLAG_ZERO_ALLOC ) || (!ttm && ttm_bo->type == ttm_bo_type_device);
@@ -1120,9 +1127,12 @@ static int xe_bo_move(struct ttm_buffer_object *ttm_bo, bool evict,/* * Failed multi-hop where the old_mem is still marked as * TTM_PL_FLAG_TEMPORARY, should just be a dummy move. +* +* For a defrag move the old and new tt differ, so fall through to the +* copy path instead of treating it as a no-op. */ if (old_mem_type ==XE_PL_TT && - new_mem->mem_type ==XE_PL_TT ) { + new_mem->mem_type ==XE_PL_TT && !ttm_bo->defrag_old_tt) {ttm_bo_move_null (ttm_bo, new_mem); goto out; }
@@ -1193,6 +1203,12 @@ static int xe_bo_move(struct ttm_buffer_object *ttm_bo, bool evict, flags |=XE_MIGRATE_CLEAR_FLAG_CCS_DATA ; fence =xe_migrate_clear (migrate, bo, new_mem, flags); + }else if (ttm_bo->defrag_old_tt) { +struct xe_ttm_tt *old_xe_tt = + container_of(ttm_bo->defrag_old_tt, struct xe_ttm_tt, ttm); + + fence =xe_migrate_copy_defrag (migrate, bo, old_mem, new_mem, + old_xe_tt->sg, handle_system_ccs); }else { fence =xe_migrate_copy (migrate, bo, bo, old_mem, new_mem, handle_system_ccs);
@@ -1202,7 +1218,23 @@ static int xe_bo_move(struct ttm_buffer_object *ttm_bo, bool evict,xe_pm_runtime_put (xe); goto out; } -if (!move_lacks_source) { +if (ttm_bo->defrag_old_tt) { +/* +* The defrag move relocates the data (and the CCS aux state for +* compressed BOs) from the old backing to the new one entirely +* on the GPU, all captured by @fence. Pipeline the teardown via +* ttm_bo_move_accel_cleanup(): the old tt is handed to a ghost +* object and only unpopulated and freed once @fence signals, so +* the move need not block here. +*/ + ret =ttm_bo_move_accel_cleanup (ttm_bo, fence, evict, + true, new_mem); +if (ret) { +dma_fence_wait (fence, false); +ttm_bo_move_null (ttm_bo, new_mem); + ret =0 ; + } + }else if (!move_lacks_source) { ret =ttm_bo_move_accel_cleanup (ttm_bo, fence, evict, true, new_mem);if (ret) {
@@ -1229,13 +1261,13 @@ static int xe_bo_move(struct ttm_buffer_object *ttm_bo, bool evict,* BBs from BO as it is no longer needed. */ if (IS_VF_CCS_READY (xe) && old_mem_type ==XE_PL_TT && - new_mem->mem_type ==XE_PL_SYSTEM ) + (new_mem->mem_type ==XE_PL_SYSTEM || ctx->defrag))xe_sriov_vf_ccs_detach_bo (bo);if (IS_VF_CCS_READY (xe) && ((move_lacks_source && new_mem->mem_type ==XE_PL_TT ) || - (old_mem_type ==XE_PL_SYSTEM && new_mem->mem_type ==XE_PL_TT )) && - handle_system_ccs) + ((old_mem_type ==XE_PL_SYSTEM || ctx->defrag) && + new_mem->mem_type ==XE_PL_TT )) && handle_system_ccs) ret =xe_sriov_vf_ccs_attach_bo (bo); out:
Signature · 1 line
2.34.1
Matthew Brost
maintainerRFC PATCH 9/12 drm/xe: Add a page defragmentation worker
In reply to Matthew BrostBOs whose backing TT pages were allocated below the device's beneficial order (tracked via ttm_tt::beneficial_order_failed) are added to a per-device defrag list. Add a delayed worker that periodically walks this list and attempts to re-back each BO with beneficial-order pages, improving TLB efficiency for long-lived objects that were initially allocated under memory pressure.
The worker is kicked when the list first transitions to non-empty and reschedules itself while work remains. On a failed pass it backs off exponentially (XE_BO_DEFRAG_INTERVAL_MS up to XE_BO_DEFRAG_INTERVAL_MAX_MS) and retries the whole list later; the interval is reset to the default on the next fresh enqueue. The worker stops scheduling once the list drains.
A defrag move synchronously reallocates and re-copies a BO's backing store, which is not free. To avoid stalling concurrent active work when many BOs become eligible at once (e.g. after a burst of memory pressure, which would otherwise manifest as a large FPS drop while the worker churns through the whole list), cap the number of BOs processed per run to XE_BO_DEFRAG_NUM_BO_LIMIT_PER_WORK and reschedule. This spreads the defrag effort over time, keeping it in the background and yielding to userspace progress.
Defragmenting a BO forces a TTM move (ctx.defrag) that reallocates the backing at the beneficial order and relocates the contents on the GPU (see xe_bo_move()). When beneficial-order pages cannot be obtained the new allocation is discharged during populate and the BO keeps its original backing, staying on the list for a later retry.
--- drivers/gpu/drm/xe/xe_bo.c | 203 ++++++++++++++++++++++++++- drivers/gpu/drm/xe/xe_device_types.h | 11 ++ 2 files changed, 207 insertions(+), 7 deletions(-)
drivers/gpu/drm/xe/xe_bo.c +196 -7
@@ -31,6 +31,7 @@#include "xe_pat.h" #include "xe_pm.h" #include "xe_preempt_fence.h" +#include "xe_printk.h" #include "xe_pxp.h" #include "xe_res_cursor.h" #include "xe_shrinker.h"
@@ -49,6 +50,32 @@*/ #define XE_BO_DEFRAG_RECLAIM_BACKOFF_THRESHOLD 2 +/* +* Maximum number of BOs the defrag worker will process in a single run before +* yielding and rescheduling itself. +* +* A defrag move synchronously reallocates and re-copies a BO's backing store, +* which is not free. If a large number of BOs become eligible at once (e.g. +* after a burst of memory pressure), processing them all in one worker run +* would hold things up for a long, unbounded stretch and can visibly starve +* concurrent active work (e.g. a large FPS drop). Instead, cap the work done +* per run and requeue, spreading the defrag effort out over time so it stays +* in the background and yields to userspace progress. +*/ +#define XE_BO_DEFRAG_NUM_BO_LIMIT_PER_WORK 2 + +/* Default delay before (re)running the defrag worker, in milliseconds. */ +#define XE_BO_DEFRAG_INTERVAL_MS 50 + +/* +* Upper bound for the (exponentially backed off) defrag worker interval, in +* milliseconds, so repeated failures don't push the retry arbitrarily far out. +*/ +#define XE_BO_DEFRAG_INTERVAL_MAX_MS 15000/* 15 seconds */ + +static void xe_bo_defrag_worker (struct work_struct *w); +static void xe_place_from_ttm_type (u32 mem_type,struct ttm_place *place); +const char *const xe_mem_type_to_name[TTM_NUM_MEM_TYPES ] = { [XE_PL_SYSTEM ] ="system" , [XE_PL_TT ] ="gtt" ,
@@ -562,12 +589,23 @@ static int xe_ttm_tt_populate(struct ttm_device *ttm_dev, struct ttm_tt *tt, }else {struct xe_device *xe =ttm_to_xe_device (ttm_dev); -if (atomic_read (&xe->mem.defrag.count) >= -XE_BO_DEFRAG_RECLAIM_BACKOFF_THRESHOLD ) +if (ctx->defrag) + ctx->beneficial_reclaim_backoff = false; +else if (atomic_read (&xe->mem.defrag.count) >= +XE_BO_DEFRAG_RECLAIM_BACKOFF_THRESHOLD ) ctx->beneficial_reclaim_backoff = true;ttm_tt_clear_backed_up (tt); err =ttm_pool_alloc (&ttm_dev->pool, tt, ctx); +if (!err && ctx->defrag && tt->beneficial_order_failed) { +/* +* Defrag could not obtain beneficial-order pages. +* Discharge the new allocation; the caller keeps the +* BO on its original backing. +*/ +ttm_pool_free (&ttm_dev->pool, tt); +return -ENOMEM ; + } }if (err)return err;
@@ -961,30 +999,54 @@ static int xe_ttm_bo_purge(struct ttm_buffer_object *ttm_bo, struct ttm_operatioreturn 0 ; } +static void xe_bo_defrag_fini (void *arg) +{ +struct xe_device *xe = arg; + +disable_delayed_work_sync (&xe->mem.defrag.worker); +} +/** * xe_bo_defrag_init() - Initialize the device defrag BO tracking * @xe: The xe device * -* Initialize the list, lock and count used to track BOs whose backing TT -* pages were allocated at a sub-optimal order. +* Initialize the list, lock, count and delayed worker used to track and +* defragment BOs whose backing TT pages were allocated at a sub-optimal order. */ void xe_bo_defrag_init (struct xe_device *xe) {spin_lock_init (&xe->mem.defrag.lock);INIT_LIST_HEAD (&xe->mem.defrag.list);atomic_set (&xe->mem.defrag.count,0 ); + xe->mem.defrag.interval_ms =XE_BO_DEFRAG_INTERVAL_MS ; +INIT_DELAYED_WORK (&xe->mem.defrag.worker, xe_bo_defrag_worker); +devm_add_action_or_reset (xe->drm.dev, xe_bo_defrag_fini, xe); +} + +static void xe_bo_defrag_schedule (struct xe_device *xe) +{ +schedule_delayed_work (&xe->mem.defrag.worker, +msecs_to_jiffies (xe->mem.defrag.interval_ms)); }static void xe_bo_defrag_add (struct xe_bo *bo) {struct xe_device *xe =xe_bo_device (bo); +bool kick = false; scoped_guard(spinlock, &xe->mem.defrag.lock) {if (list_empty (&bo->defrag_link)) { +/* Kick the worker when the list transitions to non-empty. */ + kick =list_empty (&xe->mem.defrag.list); +if (kick) + xe->mem.defrag.interval_ms =XE_BO_DEFRAG_INTERVAL_MS ;list_add_tail (&bo->defrag_link, &xe->mem.defrag.list);atomic_inc (&xe->mem.defrag.count); } } + +if (kick) +xe_bo_defrag_schedule (xe); }/**
@@ -1010,9 +1072,10 @@ void xe_bo_defrag_remove(struct xe_bo *bo)* xe_bo_defrag_update() - Update defrag list membership for a BO * @bo: The buffer object * -* Add @bo to the device defrag list when it has a populated, non-pinned TT of -* type ttm_bo_type_device whose pages were allocated at a sub-optimal order -* (tt->beneficial_order_failed). Otherwise ensure it is removed from the list. +* Add @bo to the device defrag list when it is a ttm_bo_type_device BO resident +* in XE_PL_TT with a populated TT whose pages were allocated at a sub-optimal +* order (tt->beneficial_order_failed) and it isn't pinned. Otherwise ensure it +* is removed from the list. */ static void xe_bo_defrag_update (struct xe_bo *bo) {
@@ -1021,12 +1084,138 @@ static void xe_bo_defrag_update(struct xe_bo *bo)if (ttm_bo->type == ttm_bo_type_device && tt &&ttm_tt_is_populated (tt) && tt->beneficial_order_failed && + ttm_bo->resource && ttm_bo->resource->mem_type ==XE_PL_TT && !xe_bo_is_pinned (bo))xe_bo_defrag_add (bo);else xe_bo_defrag_remove (bo); } +/* +* Attempt to defragment a single BO by forcing a move that reallocates its +* backing at the device's beneficial order. Returns 0 if the BO no longer +* needs to be tracked (either defragmented or no longer eligible), or a +* negative error code if the attempt should be retried later. +*/ +static int xe_bo_defrag_one (struct xe_device *xe,struct xe_bo *bo) +{ +struct ttm_operation_ctx ctx = { + .interruptible = false, + .no_wait_gpu = false, + .gfp_retry_mayfail = true, + .defrag = true, + }; +struct ttm_buffer_object *ttm_bo = &bo->ttm; +struct ttm_placement placement; +struct ttm_place place; +int ret; + +xe_bo_lock (bo, false); + +/* Re-check eligibility under the BO lock. */ +if (xe_bo_is_pinned (bo) || ttm_bo->type != ttm_bo_type_device || + !ttm_bo->resource || ttm_bo->resource->mem_type !=XE_PL_TT || + !ttm_bo->ttm || !ttm_tt_is_populated (ttm_bo->ttm) || + !ttm_bo->ttm->beneficial_order_failed) { +xe_bo_defrag_remove (bo); + ret =0 ; + goto unlock; + } + +xe_place_from_ttm_type (ttm_bo->resource->mem_type, &place); + placement.num_placement =1 ; + placement.placement = &place; + +/* +* On success the move reallocates the backing at beneficial order and +* drops the BO from the defrag list. On failure the BO keeps its +* original backing and stays on the list for a later retry. +*/ + ret =ttm_bo_validate (ttm_bo, &placement, &ctx); + +xe_dbg (xe,"Defrag attempt on BO size=%lu: ret=%pe\n" ,xe_bo_size (bo), +ERR_PTR (ret)); + +unlock: +xe_bo_unlock (bo); +return ret; +} + +static void xe_bo_defrag_worker (struct work_struct *w) +{ +struct delayed_work *dwork =to_delayed_work (w); +struct xe_device *xe = + container_of(dwork, struct xe_device, mem.defrag.worker); +bool requeue = false; +int i; + +/* +* Process at most XE_BO_DEFRAG_NUM_BO_LIMIT_PER_WORK BOs per run rather +* than draining the whole list in one go. Each defrag is synchronous and +* relatively expensive, so bounding the work per run keeps the worker +* from monopolising resources and lets concurrent active work make +* progress; any remaining BOs are handled by a follow-up run scheduled +* below. +*/ +for (i =0 ; i <XE_BO_DEFRAG_NUM_BO_LIMIT_PER_WORK ; ++i) { +struct xe_bo *bo; +int ret; + + scoped_guard(spinlock, &xe->mem.defrag.lock) { + bo =list_first_entry_or_null (&xe->mem.defrag.list, + struct xe_bo, defrag_link); + bo = bo ?xe_bo_get_unless_zero (bo) :NULL ; + } + +if (!bo) +break ; + + ret =xe_bo_defrag_one (xe, bo); +xe_bo_put (bo); + +if (ret) { +/* +* Abort the pass and retry the whole list later, backing +* off exponentially on every failure. +*/ +scoped_guard (spinlock, &xe->mem.defrag.lock) + xe->mem.defrag.interval_ms = +min (xe->mem.defrag.interval_ms *2 , + (unsigned int )XE_BO_DEFRAG_INTERVAL_MAX_MS ); + requeue = true; +break ; + } + } + +/* +* Decide whether to reschedule: +* +* - The loop hit its per-run limit (i == LIMIT): we stopped early to +* spread the work out, so requeue at the default interval (reset here +* since this run made progress) whenever the list still has entries. +* +* - The loop aborted on a failed defrag (requeue): retry later at the +* backed-off interval computed above. +* +* - The loop drained the list (broke on the empty list): nothing left to +* do, so stop scheduling. A fresh enqueue will kick the worker again. +*/ +if (i ==XE_BO_DEFRAG_NUM_BO_LIMIT_PER_WORK ) { +struct xe_bo *bo; + + scoped_guard(spinlock, &xe->mem.defrag.lock) { + bo =list_first_entry_or_null (&xe->mem.defrag.list, + struct xe_bo, defrag_link); + xe->mem.defrag.interval_ms =XE_BO_DEFRAG_INTERVAL_MS ; + } + +if (bo) +xe_bo_defrag_schedule (xe); + }else if (requeue) { +xe_bo_defrag_schedule (xe); + } +} + static int xe_bo_move(struct ttm_buffer_object *ttm_bo, bool evict, struct ttm_operation_ctx *ctx, struct ttm_resource *new_mem,
drivers/gpu/drm/xe/xe_device_types.h +11 -0
@@ -299,6 +299,17 @@ struct xe_device {* @mem.defrag.list. */ atomic_t count; +/** +* @mem.defrag.worker: Delayed worker that walks +* @mem.defrag.list trying to reallocate BO backing +* store at the device's beneficial order. +*/ +struct delayed_work worker; +/** +* @mem.defrag.interval_ms: Reschedule interval for +* @mem.defrag.worker, in milliseconds. +*/ +unsigned int interval_ms; } defrag; } mem;
Signature · 1 line
2.34.1
Matthew Brost
maintainerRFC PATCH 10/12 drm/xe: Add defrag GT stats
In reply to Matthew BrostAdd observability for the page defragmentation worker.
Introduce three primary-GT statistics counters: defrag_added_count (BOs queued onto the defrag list after being backed at a sub-optimal page order), defrag_success_count (BOs successfully re-backed at the beneficial order) and defrag_failed_count (attempts that failed and leave the BO on its original backing). The ineligible/already-removed fast path is intentionally not counted as either success or failure.
--- drivers/gpu/drm/xe/xe_bo.c | 7 +++++++ drivers/gpu/drm/xe/xe_gt_stats.c | 3 +++ drivers/gpu/drm/xe/xe_gt_stats_types.h | 10 ++++++++++ 3 files changed, 20 insertions(+)
drivers/gpu/drm/xe/xe_bo.c +7 -0
@@ -26,6 +26,7 @@#include "xe_dma_buf.h" #include "xe_drm_client.h" #include "xe_ggtt.h" +#include "xe_gt_stats.h" #include "xe_map.h" #include "xe_migrate.h" #include "xe_pat.h"
@@ -1042,6 +1043,8 @@ static void xe_bo_defrag_add(struct xe_bo *bo) xe->mem.defrag.interval_ms =XE_BO_DEFRAG_INTERVAL_MS ;list_add_tail (&bo->defrag_link, &xe->mem.defrag.list);atomic_inc (&xe->mem.defrag.count); +xe_gt_stats_incr (xe_root_mmio_gt (xe), +XE_GT_STATS_ID_DEFRAG_ADDED_COUNT ,1 ); } }
@@ -1136,6 +1139,10 @@ static int xe_bo_defrag_one(struct xe_device *xe, struct xe_bo *bo)xe_dbg (xe,"Defrag attempt on BO size=%lu: ret=%pe\n" ,xe_bo_size (bo),ERR_PTR (ret)); +xe_gt_stats_incr (xe_root_mmio_gt (xe), + ret ?XE_GT_STATS_ID_DEFRAG_FAILED_COUNT : +XE_GT_STATS_ID_DEFRAG_SUCCESS_COUNT ,1 ); + unlock:xe_bo_unlock (bo);return ret;
drivers/gpu/drm/xe/xe_gt_stats.c +3 -0
@@ -154,6 +154,9 @@ static const char *const stat_description[__XE_GT_STATS_NUM_IDS] = {DEF_STAT_STR (PRL_2M_ENTRY_COUNT ,"prl_2m_entry_count" ),DEF_STAT_STR (PRL_ISSUED_COUNT ,"prl_issued_count" ),DEF_STAT_STR (PRL_ABORTED_COUNT ,"prl_aborted_count" ), +DEF_STAT_STR (DEFRAG_ADDED_COUNT ,"defrag_added_count" ), +DEF_STAT_STR (DEFRAG_SUCCESS_COUNT ,"defrag_success_count" ), + DEF_STAT_STR(DEFRAG_FAILED_COUNT, "defrag_failed_count"), };/**
drivers/gpu/drm/xe/xe_gt_stats_types.h +10 -0
@@ -122,6 +122,13 @@* @XE_GT_STATS_ID_PRL_ABORTED_COUNT: Times the page reclaim process was * aborted. * +* @XE_GT_STATS_ID_DEFRAG_ADDED_COUNT: Times a buffer object was added to the +* page defragmentation list after being backed at a sub-optimal page order. +* @XE_GT_STATS_ID_DEFRAG_SUCCESS_COUNT: Times the defrag worker successfully +* re-backed a buffer object at the beneficial page order. +* @XE_GT_STATS_ID_DEFRAG_FAILED_COUNT: Times the defrag worker failed to +* re-back a buffer object at the beneficial page order. +* * @__XE_GT_STATS_NUM_IDS: Number of valid IDs; not a real counter. * * See Documentation/gpu/xe/xe_gt_stats.rst.
@@ -181,6 +188,9 @@ enum xe_gt_stats_id {XE_GT_STATS_ID_PRL_2M_ENTRY_COUNT ,XE_GT_STATS_ID_PRL_ISSUED_COUNT ,XE_GT_STATS_ID_PRL_ABORTED_COUNT , +XE_GT_STATS_ID_DEFRAG_ADDED_COUNT , +XE_GT_STATS_ID_DEFRAG_SUCCESS_COUNT , +XE_GT_STATS_ID_DEFRAG_FAILED_COUNT ,/* must be the last entry */ __XE_GT_STATS_NUM_IDS, };
Signature · 1 line
2.34.1
Matthew Brost
maintainerRFC PATCH 11/12 drm/xe: Add DRM_XE_DEBUG_DEFRAG Kconfig option for debugging memory fragmentation
In reply to Matthew BrostAdd a new debug configuration option DRM_XE_DEBUG_DEFRAG that forces beneficial_reclaim_backoff when defragmentation is disabled in xe_ttm_tt_populate(). This helps force defragmentation to run.
When enabled, the driver will always set beneficial_reclaim_backoff to true for non-defrag allocations, preventing aggressive reclaim attempts that could prevent defragmentation from running.
The option depends on EXPERT and is disabled by default, intended only for driver developers debugging memory fragmentation issues.
--- drivers/gpu/drm/xe/Kconfig.debug | 13 +++++++++++++ drivers/gpu/drm/xe/xe_bo.c | 3 ++- 2 files changed, 15 insertions(+), 1 deletion(-)
drivers/gpu/drm/xe/Kconfig.debug +13 -0
@@ -102,6 +102,19 @@ config DRM_XE_DEBUG_GUC If in doubt, say "N". +config DRM_XE_DEBUG_DEFRAG + bool "Enable extra defragmentation debugging" + depends on EXPERT + default n + help + Choose this option when debugging memory defragmentation issues. + Forces beneficial_reclaim_backoff when defrag is disabled to help + force defragmentation. + + Recommended for driver developers only. + + If in doubt, say "N". + config DRM_XE_USERPTR_INVAL_INJECT bool "Inject userptr invalidation -EINVAL errors" depends on DRM_GPUSVM
drivers/gpu/drm/xe/xe_bo.c +2 -1
@@ -592,7 +592,8 @@ static int xe_ttm_tt_populate(struct ttm_device *ttm_dev, struct ttm_tt *tt,if (ctx->defrag) ctx->beneficial_reclaim_backoff = false; -else if (atomic_read (&xe->mem.defrag.count) >= +else if (IS_ENABLED (CONFIG_DRM_XE_DEBUG_DEFRAG ) || +atomic_read (&xe->mem.defrag.count) >=XE_BO_DEFRAG_RECLAIM_BACKOFF_THRESHOLD ) ctx->beneficial_reclaim_backoff = true;
Signature · 1 line
2.34.1
Matthew Brost
maintainerRFC PATCH 12/12 drm/xe: Add Kconfig.profile options for BO defrag configuration
In reply to Matthew BrostAdd Kconfig.profile options to make XE_BO_DEFRAG_* defines configurable:
- DRM_XE_BO_DEFRAG_RECLAIM_BACKOFF_THRESHOLD: Threshold for TTM reclaim backoff
- DRM_XE_BO_DEFRAG_NUM_BO_LIMIT_PER_WORK: Maximum BOs to defrag per work run
- DRM_XE_BO_DEFRAG_INTERVAL_MS: Default delay before defrag worker runs
- DRM_XE_BO_DEFRAG_INTERVAL_MAX_MS: Upper bound for defrag worker interval
Update xe_bo.c to use these Kconfig options as defaults via #ifdef guards, maintaining backward compatibility with hardcoded values when not configured.
Additionally, disable defrag completely when XE_BO_DEFRAG_NUM_BO_LIMIT_PER_WORK is set to 0 by returning early from xe_bo_defrag_add() without adding to the defrag list or kicking the worker.
--- drivers/gpu/drm/xe/Kconfig.profile | 35 ++++++++++++++++++++++++++++++ drivers/gpu/drm/xe/xe_bo.c | 22 +++++++++++++++++++ 2 files changed, 57 insertions(+)
drivers/gpu/drm/xe/Kconfig.profile +35 -0
@@ -74,3 +74,38 @@ config DRM_XE_ENABLE_SCHEDTIMEOUT_LIMIT to apply to applicable user. For elevated user, all above MIN and MAX values will apply when this configuration is enable to apply limitation. By default limitation is applied. + +config DRM_XE_BO_DEFRAG_RECLAIM_BACKOFF_THRESHOLD + int "BO defrag reclaim backoff threshold" + default 2 + help + Once this many BOs are tracked on the device defrag list (i.e. were + backed with a sub-optimal page order), request that the TTM pool backs + off from aggressive reclaim at the beneficial order during populate, + so that allocations make forward progress instead of stalling. + +config DRM_XE_BO_DEFRAG_NUM_BO_LIMIT_PER_WORK + int "Maximum BOs to defrag per work run" + default 2 + help + Maximum number of BOs the defrag worker will process in a single run + before yielding and rescheduling itself. Set to 0 to disable defrag. + A defrag move synchronously reallocates and re-copies a BO's backing + store, which is not free. If a large number of BOs become eligible at + once, processing them all in one worker run would hold things up for a + long, unbounded stretch. Instead, cap the work done per run and requeue, + spreading the defrag effort out over time. + +config DRM_XE_BO_DEFRAG_INTERVAL_MS + int "Default delay before defrag worker run (ms)" + default 50 + help + Default delay before (re)running the defrag worker, in milliseconds. + +config DRM_XE_BO_DEFRAG_INTERVAL_MAX_MS + int "Upper bound for defrag worker interval (ms)" + default 15000 + help + Upper bound for the (exponentially backed off) defrag worker interval, + in milliseconds, so repeated failures don't push the retry arbitrarily + far out. 15000 ms = 15 seconds.
drivers/gpu/drm/xe/xe_bo.c +22 -0
@@ -49,7 +49,11 @@* aggressive reclaim at the beneficial order during populate, so that * allocations make forward progress instead of stalling. */ +#ifdef CONFIG_DRM_XE_BO_DEFRAG_RECLAIM_BACKOFF_THRESHOLD +#define XE_BO_DEFRAG_RECLAIM_BACKOFF_THRESHOLD CONFIG_DRM_XE_BO_DEFRAG_RECLAIM_BACKOFF_THRESHOLD +#else #define XE_BO_DEFRAG_RECLAIM_BACKOFF_THRESHOLD 2 +#endif /* * Maximum number of BOs the defrag worker will process in a single run before
@@ -62,17 +66,31 @@* concurrent active work (e.g. a large FPS drop). Instead, cap the work done * per run and requeue, spreading the defrag effort out over time so it stays * in the background and yields to userspace progress. +* +* Set to 0 to disable defrag completely. */ +#ifdef CONFIG_DRM_XE_BO_DEFRAG_NUM_BO_LIMIT_PER_WORK +#define XE_BO_DEFRAG_NUM_BO_LIMIT_PER_WORK CONFIG_DRM_XE_BO_DEFRAG_NUM_BO_LIMIT_PER_WORK +#else #define XE_BO_DEFRAG_NUM_BO_LIMIT_PER_WORK 2 +#endif /* Default delay before (re)running the defrag worker, in milliseconds. */ +#ifdef CONFIG_DRM_XE_BO_DEFRAG_INTERVAL_MS +#define XE_BO_DEFRAG_INTERVAL_MS CONFIG_DRM_XE_BO_DEFRAG_INTERVAL_MS +#else #define XE_BO_DEFRAG_INTERVAL_MS 50 +#endif /* * Upper bound for the (exponentially backed off) defrag worker interval, in * milliseconds, so repeated failures don't push the retry arbitrarily far out. */ +#ifdef CONFIG_DRM_XE_BO_DEFRAG_INTERVAL_MAX_MS +#define XE_BO_DEFRAG_INTERVAL_MAX_MS CONFIG_DRM_XE_BO_DEFRAG_INTERVAL_MAX_MS +#else #define XE_BO_DEFRAG_INTERVAL_MAX_MS 15000/* 15 seconds */ +#endif static void xe_bo_defrag_worker (struct work_struct *w);static void xe_place_from_ttm_type (u32 mem_type,struct ttm_place *place);
@@ -1036,6 +1054,10 @@ static void xe_bo_defrag_add(struct xe_bo *bo)struct xe_device *xe =xe_bo_device (bo);bool kick = false; +/* Defrag disabled when limit is 0 */ +if (!XE_BO_DEFRAG_NUM_BO_LIMIT_PER_WORK ) +return ; + scoped_guard(spinlock, &xe->mem.defrag.lock) {if (list_empty (&bo->defrag_link)) {/* Kick the worker when the list transitions to non-empty. */
Signature · 1 line
2.34.1
Patchwork
CI✗ CI.checkpatch: warning for drm/ttm, drm/xe: Page defragmentation for sub-optimally backed BOs
In reply to Matthew Brost== Series Details ==
== Series Details ==
Series: drm/ttm, drm/xe: Page defragmentation for sub-optimally backed BOs
URL : https://patchwork.freedesktop.org/series/169053/
State : warning
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master 061140b9bc586ae7f40abc1249c97e1cc72d1b9d
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 878d2eb3eb824974038f1cd6ef953c78604030d9
Author: Matthew Brost <[email protected]> Date: Tue Jun 23 15:27:32 2026 -0700
drm/xe: Add Kconfig.profile options for BO defrag configuration
Add Kconfig.profile options to make XE_BO_DEFRAG_* defines configurable:
- DRM_XE_BO_DEFRAG_RECLAIM_BACKOFF_THRESHOLD: Threshold for TTM reclaim backoff
- DRM_XE_BO_DEFRAG_NUM_BO_LIMIT_PER_WORK: Maximum BOs to defrag per work run
- DRM_XE_BO_DEFRAG_INTERVAL_MS: Default delay before defrag worker runs
- DRM_XE_BO_DEFRAG_INTERVAL_MAX_MS: Upper bound for defrag worker interval
Update xe_bo.c to use these Kconfig options as defaults via #ifdef guards, maintaining backward compatibility with hardcoded values when not configured.
Additionally, disable defrag completely when XE_BO_DEFRAG_NUM_BO_LIMIT_PER_WORK is set to 0 by returning early from xe_bo_defrag_add() without adding to the defrag list or kicking the worker.
+ /mt/dim checkpatch e2a6e04d045a56c6dc61e1eb9e2a6d7cf86512cd drm-intel d434e2d39310 drm/ttm/pool: Allow backing off reclaim at the beneficial order 8f15da64e272 drm/ttm: Record sub-optimal page order allocations in ttm_tt d0659bc3ecfb drm/ttm: Support defragmentation movesa2a649919607 drm/ttm: Add fault injection for beneficial-order allocation failures b82ba91e7f54 drm/xe: Track BOs backed at a sub-optimal page order a0d4fba1341f drm/xe: Back off beneficial-order reclaim under defrag pressure 5405214087c6 drm/xe: Add xe_migrate_copy_defrag() for on-GPU defrag copies -:167: WARNING:LONG_LINE: line length of 103 exceeds 100 columns #167: FILE: drivers/gpu/drm/xe/xe_migrate.c:1026:
+ batch_size += ((flags.copy_only_ccs || flags.defrag_ccs) ? 0 : emit_copy_cmd_len(xe)) +
total: 0 errors, 1 warnings, 0 checks, 234 lines checked eeb337515691 drm/xe: Handle defrag moves in xe_bo_move()
-:66: WARNING:PREFER_FALLTHROUGH: Prefer 'fallthrough;' over fallthrough comment #66: FILE: drivers/gpu/drm/xe/xe_bo.c:1131:
+ * For a defrag move the old and new tt differ, so fall through to the
total: 0 errors, 1 warnings, 0 checks, 78 lines checked1b273d543b36 drm/xe: Add a page defragmentation worker536fa976c9a1 drm/xe: Add defrag GT stats253bf46c9f56 drm/xe: Add DRM_XE_DEBUG_DEFRAG Kconfig option for debugging memory fragmentation 878d2eb3eb82 drm/xe: Add Kconfig.profile options for BO defrag configuration
Patchwork
CI✓ CI.KUnit: success for drm/ttm, drm/xe: Page defragmentation for sub-optimally backed BOs
In reply to Matthew Brost== Series Details ==
== Series Details ==
Series: drm/ttm, drm/xe: Page defragmentation for sub-optimally backed BOs
URL : https://patchwork.freedesktop.org/series/169053/
State : success
== Summary ==
+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig [22:35:25] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [22:35:29] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [22:36:01] Starting KUnit Kernel (1/1)... [22:36:01] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [22:36:01] ================== guc_buf (11 subtests) =================== [22:36:01] [PASSED] test_smallest [22:36:01] [PASSED] test_largest [22:36:01] [PASSED] test_granular [22:36:01] [PASSED] test_unique [22:36:01] [PASSED] test_overlap [22:36:01] [PASSED] test_reusable [22:36:01] [PASSED] test_too_big [22:36:01] [PASSED] test_flush [22:36:01] [PASSED] test_lookup [22:36:01] [PASSED] test_data [22:36:01] [PASSED] test_class [22:36:01] ===================== [PASSED] guc_buf ===================== [22:36:01] =================== guc_dbm (7 subtests) =================== [22:36:01] [PASSED] test_empty [22:36:01] [PASSED] test_default [22:36:01] ======================== test_size ======================== [22:36:01] [PASSED] 4 [22:36:01] [PASSED] 8 [22:36:01] [PASSED] 32 [22:36:01] [PASSED] 256 [22:36:01] ==================== [PASSED] test_size ==================== [22:36:01] ======================= test_reuse ======================== [22:36:01] [PASSED] 4 [22:36:01] [PASSED] 8 [22:36:01] [PASSED] 32 [22:36:01] [PASSED] 256 [22:36:01] =================== [PASSED] test_reuse ==================== [22:36:01] =================== test_range_overlap ==================== [22:36:01] [PASSED] 4 [22:36:01] [PASSED] 8 [22:36:01] [PASSED] 32 [22:36:01] [PASSED] 256 [22:36:01] =============== [PASSED] test_range_overlap ================ [22:36:01] =================== test_range_compact ==================== [22:36:01] [PASSED] 4 [22:36:01] [PASSED] 8 [22:36:01] [PASSED] 32 [22:36:01] [PASSED] 256 [22:36:01] =============== [PASSED] test_range_compact ================ [22:36:01] ==================== test_range_spare ===================== [22:36:01] [PASSED] 4 [22:36:01] [PASSED] 8 [22:36:01] [PASSED] 32 [22:36:01] [PASSED] 256 [22:36:01] ================ [PASSED] test_range_spare ================= [22:36:01] ===================== [PASSED] guc_dbm ===================== [22:36:01] =================== guc_idm (6 subtests) =================== [22:36:01] [PASSED] bad_init [22:36:01] [PASSED] no_init [22:36:01] [PASSED] init_fini [22:36:01] [PASSED] check_used [22:36:01] [PASSED] check_quota [22:36:01] [PASSED] check_all [22:36:01] ===================== [PASSED] guc_idm ===================== [22:36:01] ================== no_relay (3 subtests) =================== [22:36:01] [PASSED] xe_drops_guc2pf_if_not_ready [22:36:01] [PASSED] xe_drops_guc2vf_if_not_ready [22:36:01] [PASSED] xe_rejects_send_if_not_ready [22:36:01] ==================== [PASSED] no_relay ===================== [22:36:01] ================== pf_relay (14 subtests) ================== [22:36:01] [PASSED] pf_rejects_guc2pf_too_short [22:36:01] [PASSED] pf_rejects_guc2pf_too_long [22:36:01] [PASSED] pf_rejects_guc2pf_no_payload [22:36:01] [PASSED] pf_fails_no_payload [22:36:01] [PASSED] pf_fails_bad_origin [22:36:01] [PASSED] pf_fails_bad_type [22:36:01] [PASSED] pf_txn_reports_error [22:36:01] [PASSED] pf_txn_sends_pf2guc [22:36:01] [PASSED] pf_sends_pf2guc [22:36:01] [SKIPPED] pf_loopback_nop [22:36:01] [SKIPPED] pf_loopback_echo [22:36:01] [SKIPPED] pf_loopback_fail [22:36:01] [SKIPPED] pf_loopback_busy [22:36:01] [SKIPPED] pf_loopback_retry [22:36:01] ==================== [PASSED] pf_relay ===================== [22:36:01] ================== vf_relay (3 subtests) =================== [22:36:01] [PASSED] vf_rejects_guc2vf_too_short [22:36:01] [PASSED] vf_rejects_guc2vf_too_long [22:36:01] [PASSED] vf_rejects_guc2vf_no_payload [22:36:01] ==================== [PASSED] vf_relay ===================== [22:36:01] ================ pf_gt_config (9 subtests) ================= [22:36:01] [PASSED] fair_contexts_1vf [22:36:01] [PASSED] fair_doorbells_1vf [22:36:01] [PASSED] fair_ggtt_1vf [22:36:01] ====================== fair_vram_1vf ====================== [22:36:01] [PASSED] 3.50 GiB [22:36:01] [PASSED] 11.5 GiB [22:36:01] [PASSED] 15.5 GiB [22:36:01] [PASSED] 31.5 GiB [22:36:01] [PASSED] 63.5 GiB [22:36:01] [PASSED] 1.91 GiB [22:36:01] ================== [PASSED] fair_vram_1vf ================== [22:36:01] ================ fair_vram_1vf_admin_only ================= [22:36:01] [PASSED] 3.50 GiB [22:36:01] [PASSED] 11.5 GiB [22:36:01] [PASSED] 15.5 GiB [22:36:01] [PASSED] 31.5 GiB [22:36:01] [PASSED] 63.5 GiB [22:36:01] [PASSED] 1.91 GiB [22:36:01] ============ [PASSED] fair_vram_1vf_admin_only ============= [22:36:01] ====================== fair_contexts ====================== [22:36:01] [PASSED] 1 VF [22:36:01] [PASSED] 2 VFs [22:36:01] [PASSED] 3 VFs [22:36:01] [PASSED] 4 VFs [22:36:01] [PASSED] 5 VFs [22:36:01] [PASSED] 6 VFs [22:36:01] [PASSED] 7 VFs [22:36:01] [PASSED] 8 VFs [22:36:01] [PASSED] 9 VFs [22:36:01] [PASSED] 10 VFs [22:36:01] [PASSED] 11 VFs [22:36:01] [PASSED] 12 VFs [22:36:01] [PASSED] 13 VFs [22:36:01] [PASSED] 14 VFs [22:36:01] [PASSED] 15 VFs [22:36:01] [PASSED] 16 VFs [22:36:01] [PASSED] 17 VFs [22:36:01] [PASSED] 18 VFs [22:36:01] [PASSED] 19 VFs [22:36:01] [PASSED] 20 VFs [22:36:01] [PASSED] 21 VFs [22:36:01] [PASSED] 22 VFs [22:36:01] [PASSED] 23 VFs [22:36:01] [PASSED] 24 VFs [22:36:01] [PASSED] 25 VFs [22:36:01] [PASSED] 26 VFs [22:36:01] [PASSED] 27 VFs [22:36:01] [PASSED] 28 VFs [22:36:01] [PASSED] 29 VFs [22:36:01] [PASSED] 30 VFs [22:36:01] [PASSED] 31 VFs [22:36:01] [PASSED] 32 VFs [22:36:01] [PASSED] 33 VFs [22:36:01] [PASSED] 34 VFs [22:36:01] [PASSED] 35 VFs [22:36:01] [PASSED] 36 VFs [22:36:01] [PASSED] 37 VFs [22:36:01] [PASSED] 38 VFs [22:36:01] [PASSED] 39 VFs [22:36:01] [PASSED] 40 VFs [22:36:01] [PASSED] 41 VFs [22:36:01] [PASSED] 42 VFs [22:36:01] [PASSED] 43 VFs [22:36:01] [PASSED] 44 VFs [22:36:01] [PASSED] 45 VFs [22:36:01] [PASSED] 46 VFs [22:36:01] [PASSED] 47 VFs [22:36:01] [PASSED] 48 VFs [22:36:01] [PASSED] 49 VFs [22:36:01] [PASSED] 50 VFs [22:36:01] [PASSED] 51 VFs [22:36:01] [PASSED] 52 VFs [22:36:01] [PASSED] 53 VFs [22:36:01] [PASSED] 54 VFs [22:36:01] [PASSED] 55 VFs [22:36:01] [PASSED] 56 VFs [22:36:01] [PASSED] 57 VFs [22:36:01] [PASSED] 58 VFs [22:36:01] [PASSED] 59 VFs [22:36:01] [PASSED] 60 VFs [22:36:01] [PASSED] 61 VFs [22:36:01] [PASSED] 62 VFs [22:36:01] [PASSED] 63 VFs [22:36:01] ================== [PASSED] fair_contexts ================== [22:36:01] ===================== fair_doorbells ====================== [22:36:01] [PASSED] 1 VF [22:36:01] [PASSED] 2 VFs [22:36:01] [PASSED] 3 VFs [22:36:01] [PASSED] 4 VFs [22:36:01] [PASSED] 5 VFs [22:36:01] [PASSED] 6 VFs [22:36:01] [PASSED] 7 VFs [22:36:01] [PASSED] 8 VFs [22:36:01] [PASSED] 9 VFs [22:36:01] [PASSED] 10 VFs [22:36:01] [PASSED] 11 VFs [22:36:01] [PASSED] 12 VFs [22:36:01] [PASSED] 13 VFs [22:36:01] [PASSED] 14 VFs [22:36:01] [PASSED] 15 VFs [22:36:01] [PASSED] 16 VFs [22:36:01] [PASSED] 17 VFs [22:36:01] [PASSED] 18 VFs [22:36:01] [PASSED] 19 VFs [22:36:01] [PASSED] 20 VFs [22:36:01] [PASSED] 21 VFs [22:36:01] [PASSED] 22 VFs [22:36:01] [PASSED] 23 VFs [22:36:01] [PASSED] 24 VFs [22:36:01] [PASSED] 25 VFs [22:36:01] [PASSED] 26 VFs [22:36:01] [PASSED] 27 VFs [22:36:01] [PASSED] 28 VFs [22:36:01] [PASSED] 29 VFs [22:36:01] [PASSED] 30 VFs [22:36:01] [PASSED] 31 VFs [22:36:01] [PASSED] 32 VFs [22:36:01] [PASSED] 33 VFs [22:36:01] [PASSED] 34 VFs [22:36:01] [PASSED] 35 VFs [22:36:01] [PASSED] 36 VFs [22:36:01] [PASSED] 37 VFs [22:36:01] [PASSED] 38 VFs [22:36:01] [PASSED] 39 VFs [22:36:01] [PASSED] 40 VFs [22:36:01] [PASSED] 41 VFs [22:36:01] [PASSED] 42 VFs [22:36:01] [PASSED] 43 VFs [22:36:01] [PASSED] 44 VFs [22:36:01] [PASSED] 45 VFs [22:36:01] [PASSED] 46 VFs [22:36:01] [PASSED] 47 VFs [22:36:01] [PASSED] 48 VFs [22:36:01] [PASSED] 49 VFs [22:36:01] [PASSED] 50 VFs [22:36:01] [PASSED] 51 VFs [22:36:01] [PASSED] 52 VFs [22:36:01] [PASSED] 53 VFs [22:36:01] [PASSED] 54 VFs [22:36:01] [PASSED] 55 VFs [22:36:01] [PASSED] 56 VFs [22:36:01] [PASSED] 57 VFs [22:36:01] [PASSED] 58 VFs [22:36:01] [PASSED] 59 VFs [22:36:01] [PASSED] 60 VFs [22:36:01] [PASSED] 61 VFs [22:36:01] [PASSED] 62 VFs [22:36:01] [PASSED] 63 VFs [22:36:01] ================= [PASSED] fair_doorbells ================== [22:36:01] ======================== fair_ggtt ======================== [22:36:01] [PASSED] 1 VF [22:36:01] [PASSED] 2 VFs [22:36:01] [PASSED] 3 VFs [22:36:01] [PASSED] 4 VFs [22:36:01] [PASSED] 5 VFs [22:36:01] [PASSED] 6 VFs [22:36:01] [PASSED] 7 VFs [22:36:01] [PASSED] 8 VFs [22:36:01] [PASSED] 9 VFs [22:36:01] [PASSED] 10 VFs [22:36:01] [PASSED] 11 VFs [22:36:01] [PASSED] 12 VFs [22:36:01] [PASSED] 13 VFs [22:36:01] [PASSED] 14 VFs [22:36:01] [PASSED] 15 VFs [22:36:01] [PASSED] 16 VFs [22:36:01] [PASSED] 17 VFs [22:36:01] [PASSED] 18 VFs [22:36:01] [PASSED] 19 VFs [22:36:01] [PASSED] 20 VFs [22:36:01] [PASSED] 21 VFs [22:36:01] [PASSED] 22 VFs [22:36:01] [PASSED] 23 VFs [22:36:01] [PASSED] 24 VFs [22:36:01] [PASSED] 25 VFs [22:36:01] [PASSED] 26 VFs [22:36:01] [PASSED] 27 VFs [22:36:01] [PASSED] 28 VFs [22:36:01] [PASSED] 29 VFs [22:36:01] [PASSED] 30 VFs [22:36:01] [PASSED] 31 VFs [22:36:01] [PASSED] 32 VFs [22:36:01] [PASSED] 33 VFs [22:36:01] [PASSED] 34 VFs [22:36:01] [PASSED] 35 VFs [22:36:01] [PASSED] 36 VFs [22:36:01] [PASSED] 37 VFs [22:36:01] [PASSED] 38 VFs [22:36:01] [PASSED] 39 VFs [22:36:01] [PASSED] 40 VFs [22:36:01] [PASSED] 41 VFs [22:36:01] [PASSED] 42 VFs [22:36:01] [PASSED] 43 VFs [22:36:01] [PASSED] 44 VFs [22:36:01] [PASSED] 45 VFs [22:36:01] [PASSED] 46 VFs [22:36:01] [PASSED] 47 VFs [22:36:01] [PASSED] 48 VFs [22:36:01] [PASSED] 49 VFs [22:36:01] [PASSED] 50 VFs [22:36:01] [PASSED] 51 VFs [22:36:01] [PASSED] 52 VFs [22:36:01] [PASSED] 53 VFs [22:36:01] [PASSED] 54 VFs [22:36:01] [PASSED] 55 VFs [22:36:01] [PASSED] 56 VFs [22:36:01] [PASSED] 57 VFs [22:36:01] [PASSED] 58 VFs [22:36:01] [PASSED] 59 VFs [22:36:01] [PASSED] 60 VFs [22:36:01] [PASSED] 61 VFs [22:36:01] [PASSED] 62 VFs [22:36:01] [PASSED] 63 VFs [22:36:01] ==================== [PASSED] fair_ggtt ==================== [22:36:01] ======================== fair_vram ======================== [22:36:01] [PASSED] 1 VF [22:36:01] [PASSED] 2 VFs [22:36:01] [PASSED] 3 VFs [22:36:01] [PASSED] 4 VFs [22:36:01] [PASSED] 5 VFs [22:36:01] [PASSED] 6 VFs [22:36:01] [PASSED] 7 VFs [22:36:01] [PASSED] 8 VFs [22:36:01] [PASSED] 9 VFs [22:36:01] [PASSED] 10 VFs [22:36:01] [PASSED] 11 VFs [22:36:01] [PASSED] 12 VFs [22:36:01] [PASSED] 13 VFs [22:36:01] [PASSED] 14 VFs [22:36:01] [PASSED] 15 VFs [22:36:01] [PASSED] 16 VFs [22:36:01] [PASSED] 17 VFs [22:36:01] [PASSED] 18 VFs [22:36:01] [PASSED] 19 VFs [22:36:01] [PASSED] 20 VFs [22:36:01] [PASSED] 21 VFs [22:36:01] [PASSED] 22 VFs [22:36:01] [PASSED] 23 VFs [22:36:01] [PASSED] 24 VFs [22:36:01] [PASSED] 25 VFs [22:36:01] [PASSED] 26 VFs [22:36:01] [PASSED] 27 VFs [22:36:01] [PASSED] 28 VFs [22:36:01] [PASSED] 29 VFs [22:36:01] [PASSED] 30 VFs [22:36:01] [PASSED] 31 VFs [22:36:01] [PASSED] 32 VFs [22:36:01] [PASSED] 33 VFs [22:36:01] [PASSED] 34 VFs [22:36:01] [PASSED] 35 VFs [22:36:01] [PASSED] 36 VFs [22:36:01] [PASSED] 37 VFs [22:36:01] [PASSED] 38 VFs [22:36:01] [PASSED] 39 VFs [22:36:01] [PASSED] 40 VFs [22:36:01] [PASSED] 41 VFs [22:36:01] [PASSED] 42 VFs [22:36:01] [PASSED] 43 VFs [22:36:01] [PASSED] 44 VFs [22:36:01] [PASSED] 45 VFs [22:36:01] [PASSED] 46 VFs [22:36:01] [PASSED] 47 VFs [22:36:01] [PASSED] 48 VFs [22:36:01] [PASSED] 49 VFs [22:36:01] [PASSED] 50 VFs [22:36:01] [PASSED] 51 VFs [22:36:01] [PASSED] 52 VFs [22:36:01] [PASSED] 53 VFs [22:36:01] [PASSED] 54 VFs [22:36:01] [PASSED] 55 VFs [22:36:01] [PASSED] 56 VFs [22:36:01] [PASSED] 57 VFs [22:36:01] [PASSED] 58 VFs [22:36:01] [PASSED] 59 VFs [22:36:01] [PASSED] 60 VFs [22:36:01] [PASSED] 61 VFs [22:36:01] [PASSED] 62 VFs [22:36:01] [PASSED] 63 VFs [22:36:01] ==================== [PASSED] fair_vram ==================== [22:36:01] ================== [PASSED] pf_gt_config =================== [22:36:01] ===================== lmtt (1 subtest) ===================== [22:36:01] ======================== test_ops ========================= [22:36:01] [PASSED] 2-level [22:36:01] [PASSED] multi-level [22:36:01] ==================== [PASSED] test_ops ===================== [22:36:01] ====================== [PASSED] lmtt ======================= [22:36:01] ================= pf_service (11 subtests) ================= [22:36:01] [PASSED] pf_negotiate_any [22:36:01] [PASSED] pf_negotiate_base_match [22:36:01] [PASSED] pf_negotiate_base_newer [22:36:01] [PASSED] pf_negotiate_base_next [22:36:01] [SKIPPED] pf_negotiate_base_older [22:36:01] [PASSED] pf_negotiate_base_prev [22:36:01] [PASSED] pf_negotiate_latest_match [22:36:01] [PASSED] pf_negotiate_latest_newer [22:36:01] [PASSED] pf_negotiate_latest_next [22:36:01] [SKIPPED] pf_negotiate_latest_older [22:36:01] [SKIPPED] pf_negotiate_latest_prev [22:36:01] =================== [PASSED] pf_service ==================== [22:36:01] ================= xe_guc_g2g (2 subtests) ================== [22:36:01] ============== xe_live_guc_g2g_kunit_default ============== [22:36:01] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ========== [22:36:01] ============== xe_live_guc_g2g_kunit_allmem =============== [22:36:01] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ========== [22:36:01] =================== [SKIPPED] xe_guc_g2g =================== [22:36:01] =================== xe_mocs (2 subtests) =================== [22:36:01] ================ xe_live_mocs_kernel_kunit ================ [22:36:01] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============ [22:36:01] ================ xe_live_mocs_reset_kunit ================= [22:36:01] ============ [SKIPPED] xe_live_mocs_reset_kunit ============ [22:36:01] ==================== [SKIPPED] xe_mocs ===================== [22:36:01] ================= xe_migrate (2 subtests) ================== [22:36:01] ================= xe_migrate_sanity_kunit ================= [22:36:01] ============ [SKIPPED] xe_migrate_sanity_kunit ============= [22:36:01] ================== xe_validate_ccs_kunit ================== [22:36:01] ============= [SKIPPED] xe_validate_ccs_kunit ============== [22:36:01] =================== [SKIPPED] xe_migrate =================== [22:36:01] ================== xe_dma_buf (1 subtest) ================== [22:36:01] ==================== xe_dma_buf_kunit ===================== [22:36:01] ================ [SKIPPED] xe_dma_buf_kunit ================ [22:36:01] =================== [SKIPPED] xe_dma_buf =================== [22:36:01] ================= xe_bo_shrink (1 subtest) ================= [22:36:01] =================== xe_bo_shrink_kunit ==================== [22:36:01] =============== [SKIPPED] xe_bo_shrink_kunit =============== [22:36:01] ================== [SKIPPED] xe_bo_shrink ================== [22:36:01] ==================== xe_bo (2 subtests) ==================== [22:36:01] ================== xe_ccs_migrate_kunit =================== [22:36:01] ============== [SKIPPED] xe_ccs_migrate_kunit ============== [22:36:01] ==================== xe_bo_evict_kunit ==================== [22:36:01] =============== [SKIPPED] xe_bo_evict_kunit ================ [22:36:01] ===================== [SKIPPED] xe_bo ====================== [22:36:01] ==================== args (13 subtests) ==================== [22:36:01] [PASSED] count_args_test [22:36:01] [PASSED] call_args_example [22:36:01] [PASSED] call_args_test [22:36:01] [PASSED] drop_first_arg_example [22:36:01] [PASSED] drop_first_arg_test [22:36:01] [PASSED] first_arg_example [22:36:01] [PASSED] first_arg_test [22:36:01] [PASSED] last_arg_example [22:36:01] [PASSED] last_arg_test [22:36:01] [PASSED] pick_arg_example [22:36:01] [PASSED] if_args_example [22:36:01] [PASSED] if_args_test [22:36:01] [PASSED] sep_comma_example [22:36:01] ====================== [PASSED] args ======================= [22:36:01] =================== xe_pci (3 subtests) ==================== [22:36:01] ==================== check_graphics_ip ==================== [22:36:01] [PASSED] 12.00 Xe_LP [22:36:01] [PASSED] 12.10 Xe_LP+ [22:36:01] [PASSED] 12.55 Xe_HPG [22:36:01] [PASSED] 12.60 Xe_HPC [22:36:01] [PASSED] 12.70 Xe_LPG [22:36:01] [PASSED] 12.71 Xe_LPG [22:36:01] [PASSED] 12.74 Xe_LPG+ [22:36:01] [PASSED] 20.01 Xe2_HPG [22:36:01] [PASSED] 20.02 Xe2_HPG [22:36:01] [PASSED] 20.04 Xe2_LPG [22:36:01] [PASSED] 30.00 Xe3_LPG [22:36:01] [PASSED] 30.01 Xe3_LPG [22:36:01] [PASSED] 30.03 Xe3_LPG [22:36:01] [PASSED] 30.04 Xe3_LPG [22:36:01] [PASSED] 30.05 Xe3_LPG [22:36:01] [PASSED] 35.10 Xe3p_LPG [22:36:01] [PASSED] 35.11 Xe3p_XPC [22:36:01] ================ [PASSED] check_graphics_ip ================ [22:36:01] ===================== check_media_ip ====================== [22:36:01] [PASSED] 12.00 Xe_M [22:36:01] [PASSED] 12.55 Xe_HPM [22:36:01] [PASSED] 13.00 Xe_LPM+ [22:36:01] [PASSED] 13.01 Xe2_HPM [22:36:01] [PASSED] 20.00 Xe2_LPM [22:36:01] [PASSED] 30.00 Xe3_LPM [22:36:01] [PASSED] 30.02 Xe3_LPM [22:36:01] [PASSED] 35.00 Xe3p_LPM [22:36:01] [PASSED] 35.03 Xe3p_HPM [22:36:01] ================= [PASSED] check_media_ip ================== [22:36:01] =================== check_platform_desc =================== [22:36:01] [PASSED] 0x9A60 (TIGERLAKE) [22:36:01] [PASSED] 0x9A68 (TIGERLAKE) [22:36:01] [PASSED] 0x9A70 (TIGERLAKE) [22:36:01] [PASSED] 0x9A40 (TIGERLAKE) [22:36:01] [PASSED] 0x9A49 (TIGERLAKE) [22:36:01] [PASSED] 0x9A59 (TIGERLAKE) [22:36:01] [PASSED] 0x9A78 (TIGERLAKE) [22:36:01] [PASSED] 0x9AC0 (TIGERLAKE) [22:36:01] [PASSED] 0x9AC9 (TIGERLAKE) [22:36:01] [PASSED] 0x9AD9 (TIGERLAKE) [22:36:01] [PASSED] 0x9AF8 (TIGERLAKE) [22:36:01] [PASSED] 0x4C80 (ROCKETLAKE) [22:36:01] [PASSED] 0x4C8A (ROCKETLAKE) [22:36:01] [PASSED] 0x4C8B (ROCKETLAKE) [22:36:01] [PASSED] 0x4C8C (ROCKETLAKE) [22:36:01] [PASSED] 0x4C90 (ROCKETLAKE) [22:36:01] [PASSED] 0x4C9A (ROCKETLAKE) [22:36:01] [PASSED] 0x4680 (ALDERLAKE_S) [22:36:01] [PASSED] 0x4682 (ALDERLAKE_S) [22:36:01] [PASSED] 0x4688 (ALDERLAKE_S) [22:36:01] [PASSED] 0x468A (ALDERLAKE_S) [22:36:01] [PASSED] 0x468B (ALDERLAKE_S) [22:36:01] [PASSED] 0x4690 (ALDERLAKE_S) [22:36:01] [PASSED] 0x4692 (ALDERLAKE_S) [22:36:01] [PASSED] 0x4693 (ALDERLAKE_S) [22:36:01] [PASSED] 0x46A0 (ALDERLAKE_P) [22:36:01] [PASSED] 0x46A1 (ALDERLAKE_P) [22:36:01] [PASSED] 0x46A2 (ALDERLAKE_P) [22:36:01] [PASSED] 0x46A3 (ALDERLAKE_P) [22:36:01] [PASSED] 0x46A6 (ALDERLAKE_P) [22:36:01] [PASSED] 0x46A8 (ALDERLAKE_P) [22:36:01] [PASSED] 0x46AA (ALDERLAKE_P) [22:36:01] [PASSED] 0x462A (ALDERLAKE_P) [22:36:01] [PASSED] 0x4626 (ALDERLAKE_P) [22:36:01] [PASSED] 0x4628 (ALDERLAKE_P) [22:36:01] [PASSED] 0x46B0 (ALDERLAKE_P) [22:36:01] [PASSED] 0x46B1 (ALDERLAKE_P) [22:36:01] [PASSED] 0x46B2 (ALDERLAKE_P) [22:36:01] [PASSED] 0x46B3 (ALDERLAKE_P) [22:36:01] [PASSED] 0x46C0 (ALDERLAKE_P) [22:36:01] [PASSED] 0x46C1 (ALDERLAKE_P) [22:36:01] [PASSED] 0x46C2 (ALDERLAKE_P) [22:36:01] [PASSED] 0x46C3 (ALDERLAKE_P) [22:36:01] [PASSED] 0x46D0 (ALDERLAKE_N) [22:36:01] [PASSED] 0x46D1 (ALDERLAKE_N) [22:36:01] [PASSED] 0x46D2 (ALDERLAKE_N) [22:36:01] [PASSED] 0x46D3 (ALDERLAKE_N) [22:36:01] [PASSED] 0x46D4 (ALDERLAKE_N) [22:36:01] [PASSED] 0xA721 (ALDERLAKE_P) [22:36:01] [PASSED] 0xA7A1 (ALDERLAKE_P) [22:36:01] [PASSED] 0xA7A9 (ALDERLAKE_P) [22:36:01] [PASSED] 0xA7AC (ALDERLAKE_P) [22:36:01] [PASSED] 0xA7AD (ALDERLAKE_P) [22:36:01] [PASSED] 0xA720 (ALDERLAKE_P) [22:36:01] [PASSED] 0xA7A0 (ALDERLAKE_P) [22:36:01] [PASSED] 0xA7A8 (ALDERLAKE_P) [22:36:01] [PASSED] 0xA7AA (ALDERLAKE_P) [22:36:01] [PASSED] 0xA7AB (ALDERLAKE_P) [22:36:01] [PASSED] 0xA780 (ALDERLAKE_S) [22:36:01] [PASSED] 0xA781 (ALDERLAKE_S) [22:36:01] [PASSED] 0xA782 (ALDERLAKE_S) [22:36:01] [PASSED] 0xA783 (ALDERLAKE_S) [22:36:01] [PASSED] 0xA788 (ALDERLAKE_S) [22:36:01] [PASSED] 0xA789 (ALDERLAKE_S) [22:36:01] [PASSED] 0xA78A (ALDERLAKE_S) [22:36:01] [PASSED] 0xA78B (ALDERLAKE_S) [22:36:01] [PASSED] 0x4905 (DG1) [22:36:01] [PASSED] 0x4906 (DG1) [22:36:01] [PASSED] 0x4907 (DG1) [22:36:01] [PASSED] 0x4908 (DG1) [22:36:01] [PASSED] 0x4909 (DG1) [22:36:01] [PASSED] 0x56C0 (DG2) [22:36:01] [PASSED] 0x56C2 (DG2) [22:36:01] [PASSED] 0x56C1 (DG2) [22:36:01] [PASSED] 0x7D51 (METEORLAKE) [22:36:01] [PASSED] 0x7DD1 (METEORLAKE) [22:36:01] [PASSED] 0x7D41 (METEORLAKE) [22:36:01] [PASSED] 0x7D67 (METEORLAKE) [22:36:01] [PASSED] 0xB640 (METEORLAKE) [22:36:01] [PASSED] 0x56A0 (DG2) [22:36:01] [PASSED] 0x56A1 (DG2) [22:36:01] [PASSED] 0x56A2 (DG2) [22:36:01] [PASSED] 0x56BE (DG2) [22:36:01] [PASSED] 0x56BF (DG2) [22:36:01] [PASSED] 0x5690 (DG2) [22:36:01] [PASSED] 0x5691 (DG2) [22:36:01] [PASSED] 0x5692 (DG2) [22:36:01] [PASSED] 0x56A5 (DG2) [22:36:01] [PASSED] 0x56A6 (DG2) [22:36:01] [PASSED] 0x56B0 (DG2) [22:36:01] [PASSED] 0x56B1 (DG2) [22:36:01] [PASSED] 0x56BA (DG2) [22:36:01] [PASSED] 0x56BB (DG2) [22:36:01] [PASSED] 0x56BC (DG2) [22:36:01] [PASSED] 0x56BD (DG2) [22:36:01] [PASSED] 0x5693 (DG2) [22:36:01] [PASSED] 0x5694 (DG2) [22:36:01] [PASSED] 0x5695 (DG2) [22:36:01] [PASSED] 0x56A3 (DG2) [22:36:01] [PASSED] 0x56A4 (DG2) [22:36:01] [PASSED] 0x56B2 (DG2) [22:36:01] [PASSED] 0x56B3 (DG2) [22:36:01] [PASSED] 0x5696 (DG2) [22:36:01] [PASSED] 0x5697 (DG2) [22:36:01] [PASSED] 0xB69 (PVC) [22:36:01] [PASSED] 0xB6E (PVC) [22:36:01] [PASSED] 0xBD4 (PVC) [22:36:01] [PASSED] 0xBD5 (PVC) [22:36:01] [PASSED] 0xBD6 (PVC) [22:36:01] [PASSED] 0xBD7 (PVC) [22:36:01] [PASSED] 0xBD8 (PVC) [22:36:01] [PASSED] 0xBD9 (PVC) [22:36:01] [PASSED] 0xBDA (PVC) [22:36:01] [PASSED] 0xBDB (PVC) [22:36:01] [PASSED] 0xBE0 (PVC) [22:36:01] [PASSED] 0xBE1 (PVC) [22:36:01] [PASSED] 0xBE5 (PVC) [22:36:01] [PASSED] 0x7D40 (METEORLAKE) [22:36:01] [PASSED] 0x7D45 (METEORLAKE) [22:36:01] [PASSED] 0x7D55 (METEORLAKE) [22:36:01] [PASSED] 0x7D60 (METEORLAKE) [22:36:01] [PASSED] 0x7DD5 (METEORLAKE) [22:36:01] [PASSED] 0x6420 (LUNARLAKE) [22:36:01] [PASSED] 0x64A0 (LUNARLAKE) [22:36:01] [PASSED] 0x64B0 (LUNARLAKE) [22:36:01] [PASSED] 0xE202 (BATTLEMAGE) [22:36:01] [PASSED] 0xE209 (BATTLEMAGE) [22:36:01] [PASSED] 0xE20B (BATTLEMAGE) [22:36:01] [PASSED] 0xE20C (BATTLEMAGE) [22:36:01] [PASSED] 0xE20D (BATTLEMAGE) [22:36:01] [PASSED] 0xE210 (BATTLEMAGE) [22:36:01] [PASSED] 0xE211 (BATTLEMAGE) [22:36:01] [PASSED] 0xE212 (BATTLEMAGE) [22:36:01] [PASSED] 0xE216 (BATTLEMAGE) [22:36:01] [PASSED] 0xE220 (BATTLEMAGE) [22:36:01] [PASSED] 0xE221 (BATTLEMAGE) [22:36:01] [PASSED] 0xE222 (BATTLEMAGE) [22:36:01] [PASSED] 0xE223 (BATTLEMAGE) [22:36:01] [PASSED] 0xB080 (PANTHERLAKE) [22:36:01] [PASSED] 0xB081 (PANTHERLAKE) [22:36:01] [PASSED] 0xB082 (PANTHERLAKE) [22:36:01] [PASSED] 0xB083 (PANTHERLAKE) [22:36:01] [PASSED] 0xB084 (PANTHERLAKE) [22:36:01] [PASSED] 0xB085 (PANTHERLAKE) [22:36:01] [PASSED] 0xB086 (PANTHERLAKE) [22:36:01] [PASSED] 0xB087 (PANTHERLAKE) [22:36:01] [PASSED] 0xB08F (PANTHERLAKE) [22:36:01] [PASSED] 0xB090 (PANTHERLAKE) [22:36:01] [PASSED] 0xB0A0 (PANTHERLAKE) [22:36:01] [PASSED] 0xB0B0 (PANTHERLAKE) [22:36:01] [PASSED] 0xFD80 (PANTHERLAKE) [22:36:01] [PASSED] 0xFD81 (PANTHERLAKE) [22:36:01] [PASSED] 0xD740 (NOVALAKE_S) [22:36:01] [PASSED] 0xD741 (NOVALAKE_S) [22:36:01] [PASSED] 0xD742 (NOVALAKE_S) [22:36:01] [PASSED] 0xD743 (NOVALAKE_S) [22:36:01] [PASSED] 0xD745 (NOVALAKE_S) [22:36:01] [PASSED] 0xD74A (NOVALAKE_S) [22:36:01] [PASSED] 0xD74B (NOVALAKE_S) [22:36:01] [PASSED] 0x674C (CRESCENTISLAND) [22:36:01] [PASSED] 0x674D (CRESCENTISLAND) [22:36:01] [PASSED] 0x674E (CRESCENTISLAND) [22:36:01] [PASSED] 0x674F (CRESCENTISLAND) [22:36:01] [PASSED] 0x6750 (CRESCENTISLAND) [22:36:01] [PASSED] 0xD750 (NOVALAKE_P) [22:36:01] [PASSED] 0xD751 (NOVALAKE_P) [22:36:01] [PASSED] 0xD752 (NOVALAKE_P) [22:36:01] [PASSED] 0xD753 (NOVALAKE_P) [22:36:01] [PASSED] 0xD754 (NOVALAKE_P) [22:36:01] [PASSED] 0xD755 (NOVALAKE_P) [22:36:01] [PASSED] 0xD756 (NOVALAKE_P) [22:36:01] [PASSED] 0xD757 (NOVALAKE_P) [22:36:01] [PASSED] 0xD75F (NOVALAKE_P) [22:36:01] =============== [PASSED] check_platform_desc =============== [22:36:01] ===================== [PASSED] xe_pci ====================== [22:36:01] ============= xe_rtp_tables_test (4 subtests) ============== [22:36:01] ================== xe_rtp_table_gt_test =================== [22:36:01] [PASSED] gt_was/14011060649 [22:36:01] [PASSED] gt_was/14011059788 [22:36:01] [PASSED] gt_was/14015795083 [22:36:01] [PASSED] gt_was/16021867713 [22:36:01] [PASSED] gt_was/14019449301 [22:36:01] [PASSED] gt_was/16028005424 [22:36:01] [PASSED] gt_was/14026578760 [22:36:01] [PASSED] gt_was/1409420604 [22:36:01] [PASSED] gt_was/1408615072 [22:36:01] [PASSED] gt_was/22010523718 [22:36:01] [PASSED] gt_was/14011006942 [22:36:01] [PASSED] gt_was/14014830051 [22:36:01] [PASSED] gt_was/18018781329 [22:36:01] [PASSED] gt_was/1509235366 [22:36:01] [PASSED] gt_was/18018781329 [22:36:01] [PASSED] gt_was/16016694945 [22:36:01] [PASSED] gt_was/14018575942 [22:36:01] [PASSED] gt_was/22016670082 [22:36:01] [PASSED] gt_was/22016670082 [22:36:01] [PASSED] gt_was/14017421178 [22:36:01] [PASSED] gt_was/16025250150 [22:36:01] [PASSED] gt_was/14021871409 [22:36:01] [PASSED] gt_was/16021865536 [22:36:01] [PASSED] gt_was/14021486841 [22:36:01] [PASSED] gt_was/14025160223 [22:36:01] [PASSED] gt_was/14026144927, 16029437861, 14026127056 [22:36:01] [PASSED] gt_was/14025635424 [22:36:01] [PASSED] gt_was/16028005424 [22:36:01] ============== [PASSED] xe_rtp_table_gt_test =============== [22:36:01] ================== xe_rtp_table_gt_test =================== [22:36:01] [PASSED] gt_tunings/Tuning: Blend Fill Caching Optimization Disable [22:36:01] [PASSED] gt_tunings/Tuning: 32B Access Enable [22:36:01] [PASSED] gt_tunings/Tuning: L3 cache [22:36:01] [PASSED] gt_tunings/Tuning: L3 cache - media [22:36:01] [PASSED] gt_tunings/Tuning: Compression Overfetch [22:36:01] [PASSED] gt_tunings/Tuning: Compression Overfetch - media [22:36:01] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 [22:36:01] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 - media [22:36:01] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only [22:36:01] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only - media [22:36:01] [PASSED] gt_tunings/Tuning: Stateless compression control [22:36:01] [PASSED] gt_tunings/Tuning: Stateless compression control - media [22:36:01] [PASSED] gt_tunings/Tuning: L3 RW flush all Cache [22:36:01] [PASSED] gt_tunings/Tuning: L3 RW flush all cache - media [22:36:01] [PASSED] gt_tunings/Tuning: Set STLB Bank Hash Mode to 4KB [22:36:01] ============== [PASSED] xe_rtp_table_gt_test =============== [22:36:01] ================== xe_rtp_table_oob_test ================== [22:36:01] [PASSED] oob_was/1607983814 [22:36:01] [PASSED] oob_was/16010904313 [22:36:01] [PASSED] oob_was/18022495364 [22:36:01] [PASSED] oob_was/22012773006 [22:36:01] [PASSED] oob_was/14014475959 [22:36:01] [PASSED] oob_was/22011391025 [22:36:01] [PASSED] oob_was/22012727170 [22:36:01] [PASSED] oob_was/22012727685 [22:36:01] [PASSED] oob_was/22016596838 [22:36:01] [PASSED] oob_was/18020744125 [22:36:01] [PASSED] oob_was/1409600907 [22:36:01] [PASSED] oob_was/22014953428 [22:36:01] [PASSED] oob_was/16017236439 [22:36:01] [PASSED] oob_was/14019821291 [22:36:01] [PASSED] oob_was/14015076503 [22:36:01] [PASSED] oob_was/14018913170 [22:36:01] [PASSED] oob_was/14018094691 [22:36:01] [PASSED] oob_was/18024947630 [22:36:01] [PASSED] oob_was/16022287689 [22:36:01] [PASSED] oob_was/13011645652 [22:36:01] [PASSED] oob_was/14022293748 [22:36:01] [PASSED] oob_was/22019794406 [22:36:01] [PASSED] oob_was/22019338487 [22:36:01] [PASSED] oob_was/16023588340 [22:36:01] [PASSED] oob_was/14019789679 [22:36:01] [PASSED] oob_was/14022866841 [22:36:01] [PASSED] oob_was/16021333562 [22:36:01] [PASSED] oob_was/14016712196 [22:36:01] [PASSED] oob_was/14015568240 [22:36:01] [PASSED] oob_was/18013179988 [22:36:01] [PASSED] oob_was/1508761755 [22:36:01] [PASSED] oob_was/16023105232 [22:36:01] [PASSED] oob_was/16026508708 [22:36:01] [PASSED] oob_was/14020001231 [22:36:01] [PASSED] oob_was/16023683509 [22:36:01] [PASSED] oob_was/14025515070 [22:36:01] [PASSED] oob_was/15015404425_disable [22:36:01] [PASSED] oob_was/16026007364 [22:36:01] [PASSED] oob_was/14020316580 [22:36:01] [PASSED] oob_was/14025883347 [22:36:01] [PASSED] oob_was/16029380221 [22:36:01] ============== [PASSED] xe_rtp_table_oob_test ============== [22:36:01] ================ xe_rtp_table_dev_oob_test ================ [22:36:01] [PASSED] device_oob_was/22010954014 [22:36:01] [PASSED] device_oob_was/15015404425 [22:36:01] [PASSED] device_oob_was/22019338487_display [22:36:01] [PASSED] device_oob_was/14022085890 [22:36:01] [PASSED] device_oob_was/14026539277 [22:36:01] [PASSED] device_oob_was/14026633728 [22:36:01] [PASSED] device_oob_was/14026746987 [22:36:01] [PASSED] device_oob_was/14026779378 [22:36:01] ============ [PASSED] xe_rtp_table_dev_oob_test ============ [22:36:01] =============== [PASSED] xe_rtp_tables_test ================ [22:36:01] =================== xe_rtp (3 subtests) ==================== [22:36:01] =================== xe_rtp_rules_tests ==================== [22:36:01] [PASSED] no [22:36:01] [PASSED] yes [22:36:01] [PASSED] no-and-no [22:36:01] [PASSED] no-and-yes [22:36:01] [PASSED] yes-and-no [22:36:01] [PASSED] yes-and-yes [22:36:01] [PASSED] no-or-no [22:36:01] [PASSED] no-or-yes [22:36:01] [PASSED] yes-or-no [22:36:01] [PASSED] yes-or-yes [22:36:01] [PASSED] no-yes-or-yes-no [22:36:01] [PASSED] no-yes-or-yes-yes [22:36:01] [PASSED] yes-yes-or-no-yes [22:36:01] [PASSED] yes-yes-or-yes-yes [22:36:01] [PASSED] no-no-or-yes-or-no [22:36:01] [PASSED] or [22:36:01] [PASSED] or-yes [22:36:01] [PASSED] or-no [22:36:01] [PASSED] yes-or [22:36:01] [PASSED] no-or [22:36:01] [PASSED] no-or-or-yes [22:36:01] [PASSED] yes-or-or-no [22:36:01] [PASSED] no-or-or-no [22:36:01] [PASSED] missing-context-engine-class [22:36:01] [PASSED] missing-context-engine-class-or-yes [22:36:01] [PASSED] missing-context-engine-class-or-or-yes [22:36:01] =============== [PASSED] xe_rtp_rules_tests ================ [22:36:01] =============== xe_rtp_process_to_sr_tests ================ [22:36:01] [PASSED] coalesce-same-reg [22:36:01] [PASSED] coalesce-same-reg-literal-and-func [22:36:01] [PASSED] no-match-no-add [22:36:01] [PASSED] two-regs-two-entries [22:36:01] [PASSED] clr-one-set-other [22:36:01] [PASSED] set-field [22:36:01] [PASSED] conflict-duplicate [22:36:01] [PASSED] conflict-not-disjoint [22:36:01] [PASSED] conflict-not-disjoint-literal-and-func [22:36:01] [PASSED] conflict-reg-type [22:36:01] [PASSED] bad-mcr-reg-forced-to-regular [22:36:01] [PASSED] bad-regular-reg-forced-to-mcr [22:36:01] =========== [PASSED] xe_rtp_process_to_sr_tests ============ [22:36:01] ================== xe_rtp_process_tests =================== [22:36:01] [PASSED] active1 [22:36:01] [PASSED] active2 [22:36:01] [PASSED] active-inactive [22:36:01] [PASSED] inactive-active [22:36:01] [PASSED] inactive-active-inactive [22:36:01] [PASSED] inactive-inactive-inactive [22:36:01] ============== [PASSED] xe_rtp_process_tests =============== [22:36:01] ===================== [PASSED] xe_rtp ====================== [22:36:01] ==================== xe_wa (1 subtest) ===================== [22:36:01] ======================== xe_wa_gt ========================= [22:36:01] [PASSED] TIGERLAKE B0 [22:36:01] [PASSED] DG1 A0 [22:36:01] [PASSED] DG1 B0 [22:36:01] [PASSED] ALDERLAKE_S A0 [22:36:01] [PASSED] ALDERLAKE_S B0 [22:36:01] [PASSED] ALDERLAKE_S C0 [22:36:01] [PASSED] ALDERLAKE_S D0 [22:36:01] [PASSED] ALDERLAKE_P A0 [22:36:01] [PASSED] ALDERLAKE_P B0 [22:36:01] [PASSED] ALDERLAKE_P C0 [22:36:01] [PASSED] ALDERLAKE_S RPLS D0 [22:36:01] [PASSED] ALDERLAKE_P RPLU E0 [22:36:01] [PASSED] DG2 G10 C0 [22:36:01] [PASSED] DG2 G11 B1 [22:36:01] [PASSED] DG2 G12 A1 [22:36:01] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0 [22:36:01] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0 [22:36:01] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0 [22:36:01] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0 [22:36:01] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0 [22:36:01] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1 [22:36:01] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0 [22:36:01] ==================== [PASSED] xe_wa_gt ===================== [22:36:01] ====================== [PASSED] xe_wa ====================== [22:36:01] ============================================================ [22:36:01] Testing complete. Ran 719 tests: passed: 701, skipped: 18 [22:36:01] Elapsed time: 36.335s total, 4.333s configuring, 31.336s building, 0.633s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig [22:36:02] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [22:36:03] 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 [22:36:28] Starting KUnit Kernel (1/1)... [22:36:28] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [22:36:28] ============ drm_test_pick_cmdline (2 subtests) ============ [22:36:28] [PASSED] drm_test_pick_cmdline_res_1920_1080_60 [22:36:28] =============== drm_test_pick_cmdline_named =============== [22:36:28] [PASSED] NTSC [22:36:28] [PASSED] NTSC-J [22:36:28] [PASSED] PAL [22:36:28] [PASSED] PAL-M [22:36:28] =========== [PASSED] drm_test_pick_cmdline_named =========== [22:36:28] ============== [PASSED] drm_test_pick_cmdline ============== [22:36:28] == drm_test_atomic_get_connector_for_encoder (1 subtest) === [22:36:28] [PASSED] drm_test_drm_atomic_get_connector_for_encoder [22:36:28] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ==== [22:36:28] =========== drm_validate_clone_mode (2 subtests) =========== [22:36:28] ============== drm_test_check_in_clone_mode =============== [22:36:28] [PASSED] in_clone_mode [22:36:28] [PASSED] not_in_clone_mode [22:36:28] ========== [PASSED] drm_test_check_in_clone_mode =========== [22:36:28] =============== drm_test_check_valid_clones =============== [22:36:28] [PASSED] not_in_clone_mode [22:36:28] [PASSED] valid_clone [22:36:28] [PASSED] invalid_clone [22:36:28] =========== [PASSED] drm_test_check_valid_clones =========== [22:36:28] ============= [PASSED] drm_validate_clone_mode ============= [22:36:28] ============= drm_validate_modeset (1 subtest) ============= [22:36:28] [PASSED] drm_test_check_connector_changed_modeset [22:36:28] ============== [PASSED] drm_validate_modeset =============== [22:36:28] ====== drm_test_bridge_get_current_state (2 subtests) ====== [22:36:28] [PASSED] drm_test_drm_bridge_get_current_state_atomic [22:36:28] [PASSED] drm_test_drm_bridge_get_current_state_legacy [22:36:28] ======== [PASSED] drm_test_bridge_get_current_state ======== [22:36:28] ====== drm_test_bridge_helper_reset_crtc (4 subtests) ====== [22:36:28] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic [22:36:28] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled [22:36:28] [PASSED] drm_test_drm_bridge_helper_reset_crtc_legacy [22:36:28] [PASSED] drm_test_drm_bridge_helper_hdmi_output_bus_fmts [22:36:28] ======== [PASSED] drm_test_bridge_helper_reset_crtc ======== [22:36:28] ============== drm_bridge_alloc (2 subtests) =============== [22:36:28] [PASSED] drm_test_drm_bridge_alloc_basic [22:36:28] [PASSED] drm_test_drm_bridge_alloc_get_put [22:36:28] ================ [PASSED] drm_bridge_alloc ================= [22:36:28] ============= drm_bridge_bus_fmt (5 subtests) ============== [22:36:28] [PASSED] drm_test_bridge_rgb_yuv_rgb [22:36:28] [PASSED] drm_test_bridge_must_convert_to_yuv444 [22:36:28] [PASSED] drm_test_bridge_hdmi_auto_rgb [22:36:28] [PASSED] drm_test_bridge_auto_first [22:36:28] [PASSED] drm_test_bridge_rgb_yuv_no_path [22:36:28] =============== [PASSED] drm_bridge_bus_fmt ================ [22:36:28] ============= drm_cmdline_parser (40 subtests) ============= [22:36:28] [PASSED] drm_test_cmdline_force_d_only [22:36:28] [PASSED] drm_test_cmdline_force_D_only_dvi [22:36:28] [PASSED] drm_test_cmdline_force_D_only_hdmi [22:36:28] [PASSED] drm_test_cmdline_force_D_only_not_digital [22:36:28] [PASSED] drm_test_cmdline_force_e_only [22:36:28] [PASSED] drm_test_cmdline_res [22:36:28] [PASSED] drm_test_cmdline_res_vesa [22:36:28] [PASSED] drm_test_cmdline_res_vesa_rblank [22:36:28] [PASSED] drm_test_cmdline_res_rblank [22:36:28] [PASSED] drm_test_cmdline_res_bpp [22:36:28] [PASSED] drm_test_cmdline_res_refresh [22:36:28] [PASSED] drm_test_cmdline_res_bpp_refresh [22:36:28] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced [22:36:28] [PASSED] drm_test_cmdline_res_bpp_refresh_margins [22:36:28] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off [22:36:28] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on [22:36:28] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog [22:36:28] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital [22:36:28] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on [22:36:28] [PASSED] drm_test_cmdline_res_margins_force_on [22:36:28] [PASSED] drm_test_cmdline_res_vesa_margins [22:36:28] [PASSED] drm_test_cmdline_name [22:36:28] [PASSED] drm_test_cmdline_name_bpp [22:36:28] [PASSED] drm_test_cmdline_name_option [22:36:28] [PASSED] drm_test_cmdline_name_bpp_option [22:36:28] [PASSED] drm_test_cmdline_rotate_0 [22:36:28] [PASSED] drm_test_cmdline_rotate_90 [22:36:28] [PASSED] drm_test_cmdline_rotate_180 [22:36:28] [PASSED] drm_test_cmdline_rotate_270 [22:36:28] [PASSED] drm_test_cmdline_hmirror [22:36:28] [PASSED] drm_test_cmdline_vmirror [22:36:28] [PASSED] drm_test_cmdline_margin_options [22:36:28] [PASSED] drm_test_cmdline_multiple_options [22:36:28] [PASSED] drm_test_cmdline_bpp_extra_and_option [22:36:28] [PASSED] drm_test_cmdline_extra_and_option [22:36:28] [PASSED] drm_test_cmdline_freestanding_options [22:36:28] [PASSED] drm_test_cmdline_freestanding_force_e_and_options [22:36:28] [PASSED] drm_test_cmdline_panel_orientation [22:36:28] ================ drm_test_cmdline_invalid ================= [22:36:28] [PASSED] margin_only [22:36:28] [PASSED] interlace_only [22:36:28] [PASSED] res_missing_x [22:36:28] [PASSED] res_missing_y [22:36:28] [PASSED] res_bad_y [22:36:28] [PASSED] res_missing_y_bpp [22:36:28] [PASSED] res_bad_bpp [22:36:28] [PASSED] res_bad_refresh [22:36:28] [PASSED] res_bpp_refresh_force_on_off [22:36:28] [PASSED] res_invalid_mode [22:36:28] [PASSED] res_bpp_wrong_place_mode [22:36:28] [PASSED] name_bpp_refresh [22:36:28] [PASSED] name_refresh [22:36:28] [PASSED] name_refresh_wrong_mode [22:36:28] [PASSED] name_refresh_invalid_mode [22:36:28] [PASSED] rotate_multiple [22:36:28] [PASSED] rotate_invalid_val [22:36:28] [PASSED] rotate_truncated [22:36:28] [PASSED] invalid_option [22:36:28] [PASSED] invalid_tv_option [22:36:28] [PASSED] truncated_tv_option [22:36:28] ============ [PASSED] drm_test_cmdline_invalid ============= [22:36:28] =============== drm_test_cmdline_tv_options =============== [22:36:28] [PASSED] NTSC [22:36:28] [PASSED] NTSC_443 [22:36:28] [PASSED] NTSC_J [22:36:28] [PASSED] PAL [22:36:28] [PASSED] PAL_M [22:36:28] [PASSED] PAL_N [22:36:28] [PASSED] SECAM [22:36:28] [PASSED] MONO_525 [22:36:28] [PASSED] MONO_625 [22:36:28] =========== [PASSED] drm_test_cmdline_tv_options =========== [22:36:28] =============== [PASSED] drm_cmdline_parser ================ [22:36:28] ========== drmm_connector_hdmi_init (20 subtests) ========== [22:36:28] [PASSED] drm_test_connector_hdmi_init_valid [22:36:28] [PASSED] drm_test_connector_hdmi_init_bpc_8 [22:36:28] [PASSED] drm_test_connector_hdmi_init_bpc_10 [22:36:28] [PASSED] drm_test_connector_hdmi_init_bpc_12 [22:36:28] [PASSED] drm_test_connector_hdmi_init_bpc_invalid [22:36:28] [PASSED] drm_test_connector_hdmi_init_bpc_null [22:36:28] [PASSED] drm_test_connector_hdmi_init_formats_empty [22:36:28] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb [22:36:28] === drm_test_connector_hdmi_init_formats_yuv420_allowed === [22:36:28] [PASSED] supported_formats=0x9 yuv420_allowed=1 [22:36:28] [PASSED] supported_formats=0x9 yuv420_allowed=0 [22:36:28] [PASSED] supported_formats=0x5 yuv420_allowed=1 [22:36:28] [PASSED] supported_formats=0x5 yuv420_allowed=0 [22:36:28] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed === [22:36:28] [PASSED] drm_test_connector_hdmi_init_null_ddc [22:36:28] [PASSED] drm_test_connector_hdmi_init_null_product [22:36:28] [PASSED] drm_test_connector_hdmi_init_null_vendor [22:36:28] [PASSED] drm_test_connector_hdmi_init_product_length_exact [22:36:28] [PASSED] drm_test_connector_hdmi_init_product_length_too_long [22:36:28] [PASSED] drm_test_connector_hdmi_init_product_valid [22:36:28] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact [22:36:28] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long [22:36:28] [PASSED] drm_test_connector_hdmi_init_vendor_valid [22:36:28] ========= drm_test_connector_hdmi_init_type_valid ========= [22:36:28] [PASSED] HDMI-A [22:36:28] [PASSED] HDMI-B [22:36:28] ===== [PASSED] drm_test_connector_hdmi_init_type_valid ===== [22:36:28] ======== drm_test_connector_hdmi_init_type_invalid ======== [22:36:28] [PASSED] Unknown [22:36:28] [PASSED] VGA [22:36:28] [PASSED] DVI-I [22:36:28] [PASSED] DVI-D [22:36:28] [PASSED] DVI-A [22:36:28] [PASSED] Composite [22:36:28] [PASSED] SVIDEO [22:36:28] [PASSED] LVDS [22:36:28] [PASSED] Component [22:36:28] [PASSED] DIN [22:36:28] [PASSED] DP [22:36:28] [PASSED] TV [22:36:28] [PASSED] eDP [22:36:28] [PASSED] Virtual [22:36:28] [PASSED] DSI [22:36:28] [PASSED] DPI [22:36:28] [PASSED] Writeback [22:36:28] [PASSED] SPI [22:36:28] [PASSED] USB [22:36:28] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ==== [22:36:28] ============ [PASSED] drmm_connector_hdmi_init ============= [22:36:28] ============= drmm_connector_init (3 subtests) ============= [22:36:28] [PASSED] drm_test_drmm_connector_init [22:36:28] [PASSED] drm_test_drmm_connector_init_null_ddc [22:36:28] ========= drm_test_drmm_connector_init_type_valid ========= [22:36:28] [PASSED] Unknown [22:36:28] [PASSED] VGA [22:36:28] [PASSED] DVI-I [22:36:28] [PASSED] DVI-D [22:36:28] [PASSED] DVI-A [22:36:28] [PASSED] Composite [22:36:28] [PASSED] SVIDEO [22:36:28] [PASSED] LVDS [22:36:28] [PASSED] Component [22:36:28] [PASSED] DIN [22:36:28] [PASSED] DP [22:36:28] [PASSED] HDMI-A [22:36:28] [PASSED] HDMI-B [22:36:28] [PASSED] TV [22:36:28] [PASSED] eDP [22:36:28] [PASSED] Virtual [22:36:28] [PASSED] DSI [22:36:28] [PASSED] DPI [22:36:28] [PASSED] Writeback [22:36:28] [PASSED] SPI [22:36:28] [PASSED] USB [22:36:28] ===== [PASSED] drm_test_drmm_connector_init_type_valid ===== [22:36:28] =============== [PASSED] drmm_connector_init =============== [22:36:28] ========= drm_connector_dynamic_init (6 subtests) ========== [22:36:28] [PASSED] drm_test_drm_connector_dynamic_init [22:36:28] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc [22:36:28] [PASSED] drm_test_drm_connector_dynamic_init_not_added [22:36:28] [PASSED] drm_test_drm_connector_dynamic_init_properties [22:36:28] ===== drm_test_drm_connector_dynamic_init_type_valid ====== [22:36:28] [PASSED] Unknown [22:36:28] [PASSED] VGA [22:36:28] [PASSED] DVI-I [22:36:28] [PASSED] DVI-D [22:36:28] [PASSED] DVI-A [22:36:28] [PASSED] Composite [22:36:28] [PASSED] SVIDEO [22:36:28] [PASSED] LVDS [22:36:28] [PASSED] Component [22:36:28] [PASSED] DIN [22:36:28] [PASSED] DP [22:36:28] [PASSED] HDMI-A [22:36:28] [PASSED] HDMI-B [22:36:28] [PASSED] TV [22:36:28] [PASSED] eDP [22:36:28] [PASSED] Virtual [22:36:28] [PASSED] DSI [22:36:28] [PASSED] DPI [22:36:28] [PASSED] Writeback [22:36:28] [PASSED] SPI [22:36:28] [PASSED] USB [22:36:28] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid == [22:36:28] ======== drm_test_drm_connector_dynamic_init_name ========= [22:36:28] [PASSED] Unknown [22:36:28] [PASSED] VGA [22:36:28] [PASSED] DVI-I [22:36:28] [PASSED] DVI-D [22:36:28] [PASSED] DVI-A [22:36:28] [PASSED] Composite [22:36:28] [PASSED] SVIDEO [22:36:28] [PASSED] LVDS [22:36:28] [PASSED] Component [22:36:28] [PASSED] DIN [22:36:28] [PASSED] DP [22:36:28] [PASSED] HDMI-A [22:36:28] [PASSED] HDMI-B [22:36:28] [PASSED] TV [22:36:28] [PASSED] eDP [22:36:28] [PASSED] Virtual [22:36:28] [PASSED] DSI [22:36:28] [PASSED] DPI [22:36:28] [PASSED] Writeback [22:36:28] [PASSED] SPI [22:36:28] [PASSED] USB [22:36:28] ==== [PASSED] drm_test_drm_connector_dynamic_init_name ===== [22:36:28] =========== [PASSED] drm_connector_dynamic_init ============ [22:36:28] ==== drm_connector_dynamic_register_early (4 subtests) ===== [22:36:28] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list [22:36:28] [PASSED] drm_test_drm_connector_dynamic_register_early_defer [22:36:28] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init [22:36:28] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object [22:36:28] ====== [PASSED] drm_connector_dynamic_register_early ======= [22:36:28] ======= drm_connector_dynamic_register (7 subtests) ======== [22:36:28] [PASSED] drm_test_drm_connector_dynamic_register_on_list [22:36:28] [PASSED] drm_test_drm_connector_dynamic_register_no_defer [22:36:28] [PASSED] drm_test_drm_connector_dynamic_register_no_init [22:36:28] [PASSED] drm_test_drm_connector_dynamic_register_mode_object [22:36:28] [PASSED] drm_test_drm_connector_dynamic_register_sysfs [22:36:28] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name [22:36:28] [PASSED] drm_test_drm_connector_dynamic_register_debugfs [22:36:28] ========= [PASSED] drm_connector_dynamic_register ========== [22:36:28] = drm_connector_attach_broadcast_rgb_property (2 subtests) = [22:36:28] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property [22:36:28] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector [22:36:28] === [PASSED] drm_connector_attach_broadcast_rgb_property === [22:36:28] ========== drm_get_tv_mode_from_name (2 subtests) ========== [22:36:28] ========== drm_test_get_tv_mode_from_name_valid =========== [22:36:28] [PASSED] NTSC [22:36:28] [PASSED] NTSC-443 [22:36:28] [PASSED] NTSC-J [22:36:28] [PASSED] PAL [22:36:28] [PASSED] PAL-M [22:36:28] [PASSED] PAL-N [22:36:28] [PASSED] SECAM [22:36:28] [PASSED] Mono [22:36:28] ====== [PASSED] drm_test_get_tv_mode_from_name_valid ======= [22:36:28] [PASSED] drm_test_get_tv_mode_from_name_truncated [22:36:28] ============ [PASSED] drm_get_tv_mode_from_name ============ [22:36:28] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) = [22:36:28] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb [22:36:28] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc [22:36:28] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1 [22:36:28] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc [22:36:28] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1 [22:36:28] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double [22:36:28] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid = [22:36:28] [PASSED] VIC 96 [22:36:28] [PASSED] VIC 97 [22:36:28] [PASSED] VIC 101 [22:36:28] [PASSED] VIC 102 [22:36:28] [PASSED] VIC 106 [22:36:28] [PASSED] VIC 107 [22:36:28] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid === [22:36:28] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc [22:36:28] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc [22:36:28] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc [22:36:28] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc [22:36:28] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc [22:36:28] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ==== [22:36:28] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) == [22:36:28] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ==== [22:36:28] [PASSED] Automatic [22:36:28] [PASSED] Full [22:36:28] [PASSED] Limited 16:235 [22:36:28] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name === [22:36:28] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid [22:36:28] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ==== [22:36:28] == drm_hdmi_connector_get_output_format_name (2 subtests) == [22:36:28] === drm_test_drm_hdmi_connector_get_output_format_name ==== [22:36:28] [PASSED] RGB [22:36:28] [PASSED] YUV 4:2:0 [22:36:28] [PASSED] YUV 4:2:2 [22:36:28] [PASSED] YUV 4:4:4 [22:36:28] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name === [22:36:28] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid [22:36:28] ==== [PASSED] drm_hdmi_connector_get_output_format_name ==== [22:36:28] ============= drm_damage_helper (21 subtests) ============== [22:36:28] [PASSED] drm_test_damage_iter_no_damage [22:36:28] [PASSED] drm_test_damage_iter_no_damage_fractional_src [22:36:28] [PASSED] drm_test_damage_iter_no_damage_src_moved [22:36:28] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved [22:36:28] [PASSED] drm_test_damage_iter_no_damage_not_visible [22:36:28] [PASSED] drm_test_damage_iter_no_damage_no_crtc [22:36:28] [PASSED] drm_test_damage_iter_no_damage_no_fb [22:36:28] [PASSED] drm_test_damage_iter_simple_damage [22:36:28] [PASSED] drm_test_damage_iter_single_damage [22:36:28] [PASSED] drm_test_damage_iter_single_damage_intersect_src [22:36:28] [PASSED] drm_test_damage_iter_single_damage_outside_src [22:36:28] [PASSED] drm_test_damage_iter_single_damage_fractional_src [22:36:28] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src [22:36:28] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src [22:36:28] [PASSED] drm_test_damage_iter_single_damage_src_moved [22:36:28] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved [22:36:28] [PASSED] drm_test_damage_iter_damage [22:36:28] [PASSED] drm_test_damage_iter_damage_one_intersect [22:36:28] [PASSED] drm_test_damage_iter_damage_one_outside [22:36:28] [PASSED] drm_test_damage_iter_damage_src_moved [22:36:28] [PASSED] drm_test_damage_iter_damage_not_visible [22:36:28] ================ [PASSED] drm_damage_helper ================ [22:36:28] ============== drm_dp_mst_helper (3 subtests) ============== [22:36:28] ============== drm_test_dp_mst_calc_pbn_mode ============== [22:36:28] [PASSED] Clock 154000 BPP 30 DSC disabled [22:36:28] [PASSED] Clock 234000 BPP 30 DSC disabled [22:36:28] [PASSED] Clock 297000 BPP 24 DSC disabled [22:36:28] [PASSED] Clock 332880 BPP 24 DSC enabled [22:36:28] [PASSED] Clock 324540 BPP 24 DSC enabled [22:36:28] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ========== [22:36:28] ============== drm_test_dp_mst_calc_pbn_div =============== [22:36:28] [PASSED] Link rate 2000000 lane count 4 [22:36:28] [PASSED] Link rate 2000000 lane count 2 [22:36:28] [PASSED] Link rate 2000000 lane count 1 [22:36:28] [PASSED] Link rate 1350000 lane count 4 [22:36:28] [PASSED] Link rate 1350000 lane count 2 [22:36:28] [PASSED] Link rate 1350000 lane count 1 [22:36:28] [PASSED] Link rate 1000000 lane count 4 [22:36:28] [PASSED] Link rate 1000000 lane count 2 [22:36:28] [PASSED] Link rate 1000000 lane count 1 [22:36:28] [PASSED] Link rate 810000 lane count 4 [22:36:28] [PASSED] Link rate 810000 lane count 2 [22:36:28] [PASSED] Link rate 810000 lane count 1 [22:36:28] [PASSED] Link rate 540000 lane count 4 [22:36:28] [PASSED] Link rate 540000 lane count 2 [22:36:28] [PASSED] Link rate 540000 lane count 1 [22:36:28] [PASSED] Link rate 270000 lane count 4 [22:36:28] [PASSED] Link rate 270000 lane count 2 [22:36:28] [PASSED] Link rate 270000 lane count 1 [22:36:28] [PASSED] Link rate 162000 lane count 4 [22:36:28] [PASSED] Link rate 162000 lane count 2 [22:36:28] [PASSED] Link rate 162000 lane count 1 [22:36:28] ========== [PASSED] drm_test_dp_mst_calc_pbn_div =========== [22:36:28] ========= drm_test_dp_mst_sideband_msg_req_decode ========= [22:36:28] [PASSED] DP_ENUM_PATH_RESOURCES with port number [22:36:28] [PASSED] DP_POWER_UP_PHY with port number [22:36:28] [PASSED] DP_POWER_DOWN_PHY with port number [22:36:28] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks [22:36:28] [PASSED] DP_ALLOCATE_PAYLOAD with port number [22:36:28] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI [22:36:28] [PASSED] DP_ALLOCATE_PAYLOAD with PBN [22:36:28] [PASSED] DP_QUERY_PAYLOAD with port number [22:36:28] [PASSED] DP_QUERY_PAYLOAD with VCPI [22:36:28] [PASSED] DP_REMOTE_DPCD_READ with port number [22:36:28] [PASSED] DP_REMOTE_DPCD_READ with DPCD address [22:36:28] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes [22:36:28] [PASSED] DP_REMOTE_DPCD_WRITE with port number [22:36:28] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address [22:36:28] [PASSED] DP_REMOTE_DPCD_WRITE with data array [22:36:28] [PASSED] DP_REMOTE_I2C_READ with port number [22:36:28] [PASSED] DP_REMOTE_I2C_READ with I2C device ID [22:36:28] [PASSED] DP_REMOTE_I2C_READ with transactions array [22:36:28] [PASSED] DP_REMOTE_I2C_WRITE with port number [22:36:28] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID [22:36:28] [PASSED] DP_REMOTE_I2C_WRITE with data array [22:36:28] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID [22:36:28] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID [22:36:28] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event [22:36:28] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event [22:36:28] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior [22:36:28] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior [22:36:28] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode ===== [22:36:28] ================ [PASSED] drm_dp_mst_helper ================ [22:36:28] ================== drm_exec (7 subtests) =================== [22:36:28] [PASSED] sanitycheck [22:36:28] [PASSED] test_lock [22:36:28] [PASSED] test_lock_unlock [22:36:28] [PASSED] test_duplicates [22:36:28] [PASSED] test_prepare [22:36:28] [PASSED] test_prepare_array [22:36:28] [PASSED] test_multiple_loops [22:36:28] ==================== [PASSED] drm_exec ===================== [22:36:28] =========== drm_format_helper_test (17 subtests) =========== [22:36:28] ============== drm_test_fb_xrgb8888_to_gray8 ============== [22:36:28] [PASSED] single_pixel_source_buffer [22:36:28] [PASSED] single_pixel_clip_rectangle [22:36:28] [PASSED] well_known_colors [22:36:28] [PASSED] destination_pitch [22:36:28] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ========== [22:36:28] ============= drm_test_fb_xrgb8888_to_rgb332 ============== [22:36:28] [PASSED] single_pixel_source_buffer [22:36:28] [PASSED] single_pixel_clip_rectangle [22:36:28] [PASSED] well_known_colors [22:36:28] [PASSED] destination_pitch [22:36:28] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ========== [22:36:28] ============= drm_test_fb_xrgb8888_to_rgb565 ============== [22:36:28] [PASSED] single_pixel_source_buffer [22:36:28] [PASSED] single_pixel_clip_rectangle [22:36:28] [PASSED] well_known_colors [22:36:28] [PASSED] destination_pitch [22:36:28] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ========== [22:36:28] ============ drm_test_fb_xrgb8888_to_xrgb1555 ============= [22:36:28] [PASSED] single_pixel_source_buffer [22:36:28] [PASSED] single_pixel_clip_rectangle [22:36:28] [PASSED] well_known_colors [22:36:28] [PASSED] destination_pitch [22:36:28] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 ========= [22:36:28] ============ drm_test_fb_xrgb8888_to_argb1555 ============= [22:36:28] [PASSED] single_pixel_source_buffer [22:36:28] [PASSED] single_pixel_clip_rectangle [22:36:28] [PASSED] well_known_colors [22:36:28] [PASSED] destination_pitch [22:36:28] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 ========= [22:36:28] ============ drm_test_fb_xrgb8888_to_rgba5551 ============= [22:36:28] [PASSED] single_pixel_source_buffer [22:36:28] [PASSED] single_pixel_clip_rectangle [22:36:28] [PASSED] well_known_colors [22:36:28] [PASSED] destination_pitch [22:36:28] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 ========= [22:36:28] ============= drm_test_fb_xrgb8888_to_rgb888 ============== [22:36:28] [PASSED] single_pixel_source_buffer [22:36:28] [PASSED] single_pixel_clip_rectangle [22:36:28] [PASSED] well_known_colors [22:36:28] [PASSED] destination_pitch [22:36:28] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ========== [22:36:28] ============= drm_test_fb_xrgb8888_to_bgr888 ============== [22:36:28] [PASSED] single_pixel_source_buffer [22:36:28] [PASSED] single_pixel_clip_rectangle [22:36:28] [PASSED] well_known_colors [22:36:28] [PASSED] destination_pitch [22:36:28] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ========== [22:36:28] ============ drm_test_fb_xrgb8888_to_argb8888 ============= [22:36:28] [PASSED] single_pixel_source_buffer [22:36:28] [PASSED] single_pixel_clip_rectangle [22:36:28] [PASSED] well_known_colors [22:36:28] [PASSED] destination_pitch [22:36:28] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 ========= [22:36:28] =========== drm_test_fb_xrgb8888_to_xrgb2101010 =========== [22:36:28] [PASSED] single_pixel_source_buffer [22:36:28] [PASSED] single_pixel_clip_rectangle [22:36:28] [PASSED] well_known_colors [22:36:28] [PASSED] destination_pitch [22:36:28] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 ======= [22:36:28] =========== drm_test_fb_xrgb8888_to_argb2101010 =========== [22:36:28] [PASSED] single_pixel_source_buffer [22:36:28] [PASSED] single_pixel_clip_rectangle [22:36:28] [PASSED] well_known_colors [22:36:28] [PASSED] destination_pitch [22:36:28] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 ======= [22:36:28] ============== drm_test_fb_xrgb8888_to_mono =============== [22:36:28] [PASSED] single_pixel_source_buffer [22:36:28] [PASSED] single_pixel_clip_rectangle [22:36:28] [PASSED] well_known_colors [22:36:28] [PASSED] destination_pitch [22:36:28] ========== [PASSED] drm_test_fb_xrgb8888_to_mono =========== [22:36:28] ==================== drm_test_fb_swab ===================== [22:36:28] [PASSED] single_pixel_source_buffer [22:36:28] [PASSED] single_pixel_clip_rectangle [22:36:28] [PASSED] well_known_colors [22:36:28] [PASSED] destination_pitch [22:36:28] ================ [PASSED] drm_test_fb_swab ================= [22:36:28] ============ drm_test_fb_xrgb8888_to_xbgr8888 ============= [22:36:28] [PASSED] single_pixel_source_buffer [22:36:28] [PASSED] single_pixel_clip_rectangle [22:36:28] [PASSED] well_known_colors [22:36:28] [PASSED] destination_pitch [22:36:28] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 ========= [22:36:28] ============ drm_test_fb_xrgb8888_to_abgr8888 ============= [22:36:28] [PASSED] single_pixel_source_buffer [22:36:28] [PASSED] single_pixel_clip_rectangle [22:36:28] [PASSED] well_known_colors [22:36:28] [PASSED] destination_pitch [22:36:28] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 ========= [22:36:28] ================= drm_test_fb_clip_offset ================= [22:36:28] [PASSED] pass through [22:36:28] [PASSED] horizontal offset [22:36:28] [PASSED] vertical offset [22:36:28] [PASSED] horizontal and vertical offset [22:36:28] [PASSED] horizontal offset (custom pitch) [22:36:28] [PASSED] vertical offset (custom pitch) [22:36:28] [PASSED] horizontal and vertical offset (custom pitch) [22:36:28] ============= [PASSED] drm_test_fb_clip_offset ============= [22:36:28] =================== drm_test_fb_memcpy ==================== [22:36:28] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258) [22:36:28] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258) [22:36:28] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559) [22:36:28] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258) [22:36:28] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258) [22:36:28] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559) [22:36:28] [PASSED] well_known_colors: XB24 little-endian (0x34324258) [22:36:28] [PASSED] well_known_colors: XRA8 little-endian (0x38415258) [22:36:28] [PASSED] well_known_colors: YU24 little-endian (0x34325559) [22:36:28] [PASSED] destination_pitch: XB24 little-endian (0x34324258) [22:36:28] [PASSED] destination_pitch: XRA8 little-endian (0x38415258) [22:36:28] [PASSED] destination_pitch: YU24 little-endian (0x34325559) [22:36:28] =============== [PASSED] drm_test_fb_memcpy ================ [22:36:28] ============= [PASSED] drm_format_helper_test ============== [22:36:28] ================= drm_format (18 subtests) ================= [22:36:28] [PASSED] drm_test_format_block_width_invalid [22:36:28] [PASSED] drm_test_format_block_width_one_plane [22:36:28] [PASSED] drm_test_format_block_width_two_plane [22:36:28] [PASSED] drm_test_format_block_width_three_plane [22:36:28] [PASSED] drm_test_format_block_width_tiled [22:36:28] [PASSED] drm_test_format_block_height_invalid [22:36:28] [PASSED] drm_test_format_block_height_one_plane [22:36:28] [PASSED] drm_test_format_block_height_two_plane [22:36:28] [PASSED] drm_test_format_block_height_three_plane [22:36:28] [PASSED] drm_test_format_block_height_tiled [22:36:28] [PASSED] drm_test_format_min_pitch_invalid [22:36:28] [PASSED] drm_test_format_min_pitch_one_plane_8bpp [22:36:28] [PASSED] drm_test_format_min_pitch_one_plane_16bpp [22:36:28] [PASSED] drm_test_format_min_pitch_one_plane_24bpp [22:36:28] [PASSED] drm_test_format_min_pitch_one_plane_32bpp [22:36:28] [PASSED] drm_test_format_min_pitch_two_plane [22:36:28] [PASSED] drm_test_format_min_pitch_three_plane_8bpp [22:36:28] [PASSED] drm_test_format_min_pitch_tiled [22:36:28] =================== [PASSED] drm_format ==================== [22:36:28] ============== drm_framebuffer (10 subtests) =============== [22:36:28] ========== drm_test_framebuffer_check_src_coords ========== [22:36:28] [PASSED] Success: source fits into fb [22:36:28] [PASSED] Fail: overflowing fb with x-axis coordinate [22:36:28] [PASSED] Fail: overflowing fb with y-axis coordinate [22:36:28] [PASSED] Fail: overflowing fb with source width [22:36:28] [PASSED] Fail: overflowing fb with source height [22:36:28] ====== [PASSED] drm_test_framebuffer_check_src_coords ====== [22:36:28] [PASSED] drm_test_framebuffer_cleanup [22:36:28] =============== drm_test_framebuffer_create =============== [22:36:28] [PASSED] ABGR8888 normal sizes [22:36:28] [PASSED] ABGR8888 max sizes [22:36:28] [PASSED] ABGR8888 pitch greater than min required [22:36:28] [PASSED] ABGR8888 pitch less than min required [22:36:28] [PASSED] ABGR8888 Invalid width [22:36:28] [PASSED] ABGR8888 Invalid buffer handle [22:36:28] [PASSED] No pixel format [22:36:28] [PASSED] ABGR8888 Width 0 [22:36:28] [PASSED] ABGR8888 Height 0 [22:36:28] [PASSED] ABGR8888 Out of bound height * pitch combination [22:36:28] [PASSED] ABGR8888 Large buffer offset [22:36:28] [PASSED] ABGR8888 Buffer offset for inexistent plane [22:36:28] [PASSED] ABGR8888 Invalid flag [22:36:28] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers [22:36:28] [PASSED] ABGR8888 Valid buffer modifier [22:36:28] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE) [22:36:28] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS [22:36:28] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS [22:36:28] [PASSED] NV12 Normal sizes [22:36:28] [PASSED] NV12 Max sizes [22:36:28] [PASSED] NV12 Invalid pitch [22:36:28] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag [22:36:28] [PASSED] NV12 different modifier per-plane [22:36:28] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE [22:36:28] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS [22:36:28] [PASSED] NV12 Modifier for inexistent plane [22:36:28] [PASSED] NV12 Handle for inexistent plane [22:36:28] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS [22:36:28] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier [22:36:28] [PASSED] YVU420 Normal sizes [22:36:28] [PASSED] YVU420 Max sizes [22:36:28] [PASSED] YVU420 Invalid pitch [22:36:28] [PASSED] YVU420 Different pitches [22:36:28] [PASSED] YVU420 Different buffer offsets/pitches [22:36:28] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS [22:36:28] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS [22:36:28] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS [22:36:28] [PASSED] YVU420 Valid modifier [22:36:28] [PASSED] YVU420 Different modifiers per plane [22:36:28] [PASSED] YVU420 Modifier for inexistent plane [22:36:28] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR) [22:36:28] [PASSED] X0L2 Normal sizes [22:36:28] [PASSED] X0L2 Max sizes [22:36:28] [PASSED] X0L2 Invalid pitch [22:36:28] [PASSED] X0L2 Pitch greater than minimum required [22:36:28] [PASSED] X0L2 Handle for inexistent plane [22:36:28] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set [22:36:28] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set [22:36:28] [PASSED] X0L2 Valid modifier [22:36:28] [PASSED] X0L2 Modifier for inexistent plane [22:36:28] =========== [PASSED] drm_test_framebuffer_create =========== [22:36:28] [PASSED] drm_test_framebuffer_free [22:36:28] [PASSED] drm_test_framebuffer_init [22:36:28] [PASSED] drm_test_framebuffer_init_bad_format [22:36:28] [PASSED] drm_test_framebuffer_init_dev_mismatch [22:36:28] [PASSED] drm_test_framebuffer_lookup [22:36:28] [PASSED] drm_test_framebuffer_lookup_inexistent [22:36:28] [PASSED] drm_test_framebuffer_modifiers_not_supported [22:36:28] ================= [PASSED] drm_framebuffer ================= [22:36:28] ================ drm_gem_shmem (8 subtests) ================ [22:36:28] [PASSED] drm_gem_shmem_test_obj_create [22:36:28] [PASSED] drm_gem_shmem_test_obj_create_private [22:36:28] [PASSED] drm_gem_shmem_test_pin_pages [22:36:28] [PASSED] drm_gem_shmem_test_vmap [22:36:28] [PASSED] drm_gem_shmem_test_get_sg_table [22:36:28] [PASSED] drm_gem_shmem_test_get_pages_sgt [22:36:28] [PASSED] drm_gem_shmem_test_madvise [22:36:28] [PASSED] drm_gem_shmem_test_purge [22:36:28] ================== [PASSED] drm_gem_shmem ================== [22:36:28] === drm_atomic_helper_connector_hdmi_check (29 subtests) === [22:36:28] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode [22:36:28] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1 [22:36:28] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode [22:36:28] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1 [22:36:28] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode [22:36:28] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1 [22:36:28] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 ======= [22:36:28] [PASSED] Automatic [22:36:28] [PASSED] Full [22:36:28] [PASSED] Limited 16:235 [22:36:28] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 === [22:36:28] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed [22:36:28] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed [22:36:28] [PASSED] drm_test_check_disable_connector [22:36:28] [PASSED] drm_test_check_hdmi_funcs_reject_rate [22:36:28] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb [22:36:28] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420 [22:36:28] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422 [22:36:28] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420 [22:36:28] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420 [22:36:28] [PASSED] drm_test_check_output_bpc_crtc_mode_changed [22:36:28] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed [22:36:28] [PASSED] drm_test_check_output_bpc_dvi [22:36:28] [PASSED] drm_test_check_output_bpc_format_vic_1 [22:36:28] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only [22:36:28] [PASSED] drm_test_check_output_bpc_format_display_rgb_only [22:36:28] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only [22:36:28] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only [22:36:28] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc [22:36:28] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc [22:36:28] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc [22:36:28] ============ drm_test_check_hdmi_color_format ============= [22:36:28] [PASSED] AUTO -> RGB [22:36:28] [PASSED] YCBCR422 -> YUV422 [22:36:28] [PASSED] YCBCR420 -> YUV420 [22:36:28] [PASSED] YCBCR444 -> YUV444 [22:36:28] [PASSED] RGB -> RGB [22:36:28] ======== [PASSED] drm_test_check_hdmi_color_format ========= [22:36:28] ======== drm_test_check_hdmi_color_format_420_only ======== [22:36:28] [PASSED] RGB should fail [22:36:28] [PASSED] YUV444 should fail [22:36:28] [PASSED] YUV422 should fail [22:36:28] [PASSED] YUV420 should work [22:36:28] ==== [PASSED] drm_test_check_hdmi_color_format_420_only ==== [22:36:28] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ====== [22:36:28] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ==== [22:36:28] [PASSED] drm_test_check_broadcast_rgb_value [22:36:28] [PASSED] drm_test_check_bpc_8_value [22:36:28] [PASSED] drm_test_check_bpc_10_value [22:36:28] [PASSED] drm_test_check_bpc_12_value [22:36:28] [PASSED] drm_test_check_format_value [22:36:28] [PASSED] drm_test_check_tmds_char_value [22:36:28] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ====== [22:36:28] = drm_atomic_helper_connector_hdmi_mode_valid (7 subtests) = [22:36:28] [PASSED] drm_test_check_mode_valid [22:36:28] [PASSED] drm_test_check_mode_valid_reject [22:36:28] [PASSED] drm_test_check_mode_valid_reject_rate [22:36:28] [PASSED] drm_test_check_mode_valid_reject_max_clock [22:36:28] [PASSED] drm_test_check_mode_valid_yuv420_only_max_clock [22:36:28] [PASSED] drm_test_check_mode_valid_reject_yuv420_only_connector [22:36:28] [PASSED] drm_test_check_mode_valid_accept_yuv420_also_connector_rgb [22:36:28] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid === [22:36:28] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) = [22:36:28] [PASSED] drm_test_check_infoframes [22:36:28] [PASSED] drm_test_check_reject_avi_infoframe [22:36:28] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8 [22:36:28] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10 [22:36:28] [PASSED] drm_test_check_reject_audio_infoframe [22:36:28] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes === [22:36:28] ================= drm_managed (2 subtests) ================= [22:36:28] [PASSED] drm_test_managed_release_action [22:36:28] [PASSED] drm_test_managed_run_action [22:36:28] =================== [PASSED] drm_managed =================== [22:36:28] =================== drm_mm (6 subtests) ==================== [22:36:28] [PASSED] drm_test_mm_init [22:36:28] [PASSED] drm_test_mm_debug [22:36:28] [PASSED] drm_test_mm_align32 [22:36:28] [PASSED] drm_test_mm_align64 [22:36:28] [PASSED] drm_test_mm_lowest [22:36:28] [PASSED] drm_test_mm_highest [22:36:28] ===================== [PASSED] drm_mm ====================== [22:36:28] ============= drm_modes_analog_tv (5 subtests) ============= [22:36:28] [PASSED] drm_test_modes_analog_tv_mono_576i [22:36:28] [PASSED] drm_test_modes_analog_tv_ntsc_480i [22:36:28] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined [22:36:28] [PASSED] drm_test_modes_analog_tv_pal_576i [22:36:28] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined [22:36:28] =============== [PASSED] drm_modes_analog_tv =============== [22:36:28] ============== drm_plane_helper (2 subtests) =============== [22:36:28] =============== drm_test_check_plane_state ================ [22:36:28] [PASSED] clipping_simple [22:36:28] [PASSED] clipping_rotate_reflect [22:36:28] [PASSED] positioning_simple [22:36:28] [PASSED] upscaling [22:36:28] [PASSED] downscaling [22:36:28] [PASSED] rounding1 [22:36:28] [PASSED] rounding2 [22:36:28] [PASSED] rounding3 [22:36:28] [PASSED] rounding4 [22:36:28] =========== [PASSED] drm_test_check_plane_state ============ [22:36:28] =========== drm_test_check_invalid_plane_state ============ [22:36:28] [PASSED] positioning_invalid [22:36:28] [PASSED] upscaling_invalid [22:36:28] [PASSED] downscaling_invalid [22:36:28] ======= [PASSED] drm_test_check_invalid_plane_state ======== [22:36:28] ================ [PASSED] drm_plane_helper ================= [22:36:28] ====== drm_connector_helper_tv_get_modes (1 subtest) ======= [22:36:28] ====== drm_test_connector_helper_tv_get_modes_check ======= [22:36:28] [PASSED] None [22:36:28] [PASSED] PAL [22:36:28] [PASSED] NTSC [22:36:28] [PASSED] Both, NTSC Default [22:36:28] [PASSED] Both, PAL Default [22:36:28] [PASSED] Both, NTSC Default, with PAL on command-line [22:36:28] [PASSED] Both, PAL Default, with NTSC on command-line [22:36:28] == [PASSED] drm_test_connector_helper_tv_get_modes_check === [22:36:28] ======== [PASSED] drm_connector_helper_tv_get_modes ======== [22:36:28] ================== drm_rect (9 subtests) =================== [22:36:28] [PASSED] drm_test_rect_clip_scaled_div_by_zero [22:36:28] [PASSED] drm_test_rect_clip_scaled_not_clipped [22:36:28] [PASSED] drm_test_rect_clip_scaled_clipped [22:36:28] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned [22:36:28] ================= drm_test_rect_intersect ================= [22:36:28] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0 [22:36:28] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1 [22:36:28] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0 [22:36:28] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1 [22:36:28] [PASSED] right x left: 2x1+0+0 x 3x1+1+0 [22:36:28] [PASSED] left x right: 3x1+1+0 x 2x1+0+0 [22:36:28] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1 [22:36:28] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0 [22:36:28] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1 [22:36:28] [PASSED] touching side: 1x1+0+0 x 1x1+1+0 [22:36:28] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0 [22:36:28] [PASSED] inside another: 2x2+0+0 x 1x1+1+1 [22:36:28] [PASSED] far away: 1x1+0+0 x 1x1+3+6 [22:36:28] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10 [22:36:28] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10 [22:36:28] ============= [PASSED] drm_test_rect_intersect ============= [22:36:28] ================ drm_test_rect_calc_hscale ================ [22:36:28] [PASSED] normal use [22:36:28] [PASSED] out of max range [22:36:28] [PASSED] out of min range [22:36:28] [PASSED] zero dst [22:36:28] [PASSED] negative src [22:36:28] [PASSED] negative dst [22:36:28] ============ [PASSED] drm_test_rect_calc_hscale ============ [22:36:28] ================ drm_test_rect_calc_vscale ================ [22:36:28] [PASSED] normal use [22:36:28] [PASSED] out of max range [22:36:28] [PASSED] out of min range [22:36:28] [PASSED] zero dst [22:36:28] [PASSED] negative src [22:36:28] [PASSED] negative dst [22:36:28] ============ [PASSED] drm_test_rect_calc_vscale ============ [22:36:28] ================== drm_test_rect_rotate =================== [22:36:28] [PASSED] reflect-x [22:36:28] [PASSED] reflect-y [22:36:28] [PASSED] rotate-0 [22:36:28] [PASSED] rotate-90 [22:36:28] [PASSED] rotate-180 [22:36:28] [PASSED] rotate-270 [22:36:28] ============== [PASSED] drm_test_rect_rotate =============== [22:36:28] ================ drm_test_rect_rotate_inv ================= [22:36:28] [PASSED] reflect-x [22:36:28] [PASSED] reflect-y [22:36:28] [PASSED] rotate-0 [22:36:28] [PASSED] rotate-90 [22:36:28] [PASSED] rotate-180 [22:36:28] [PASSED] rotate-270 [22:36:28] ============ [PASSED] drm_test_rect_rotate_inv ============= [22:36:28] ==================== [PASSED] drm_rect ===================== [22:36:28] ============ drm_sysfb_modeset_test (1 subtest) ============ [22:36:28] ============ drm_test_sysfb_build_fourcc_list ============= [22:36:28] [PASSED] no native formats [22:36:28] [PASSED] XRGB8888 as native format [22:36:28] [PASSED] remove duplicates [22:36:28] [PASSED] convert alpha formats [22:36:28] [PASSED] random formats [22:36:28] ======== [PASSED] drm_test_sysfb_build_fourcc_list ========= [22:36:28] ============= [PASSED] drm_sysfb_modeset_test ============== [22:36:28] ================== drm_fixp (2 subtests) =================== [22:36:28] [PASSED] drm_test_int2fixp [22:36:28] [PASSED] drm_test_sm2fixp [22:36:28] ==================== [PASSED] drm_fixp ===================== [22:36:28] ============================================================ [22:36:28] Testing complete. Ran 639 tests: passed: 639 [22:36:28] Elapsed time: 26.168s total, 1.746s configuring, 24.257s building, 0.136s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig [22:36:28] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [22:36: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 [22:36:39] Starting KUnit Kernel (1/1)... [22:36:39] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [22:36:39] ================= ttm_device (5 subtests) ================== [22:36:39] [PASSED] ttm_device_init_basic [22:36:39] [PASSED] ttm_device_init_multiple [22:36:39] [PASSED] ttm_device_fini_basic [22:36:39] [PASSED] ttm_device_init_no_vma_man [22:36:39] ================== ttm_device_init_pools ================== [22:36:39] [PASSED] No DMA allocations, no DMA32 required [22:36:39] [PASSED] DMA allocations, DMA32 required [22:36:39] [PASSED] No DMA allocations, DMA32 required [22:36:39] [PASSED] DMA allocations, no DMA32 required [22:36:39] ============== [PASSED] ttm_device_init_pools ============== [22:36:39] =================== [PASSED] ttm_device ==================== [22:36:39] ================== ttm_pool (8 subtests) =================== [22:36:39] ================== ttm_pool_alloc_basic =================== [22:36:39] [PASSED] One page [22:36:39] [PASSED] More than one page [22:36:39] [PASSED] Above the allocation limit [22:36:39] [PASSED] One page, with coherent DMA mappings enabled [22:36:39] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [22:36:39] ============== [PASSED] ttm_pool_alloc_basic =============== [22:36:39] ============== ttm_pool_alloc_basic_dma_addr ============== [22:36:39] [PASSED] One page [22:36:39] [PASSED] More than one page [22:36:39] [PASSED] Above the allocation limit [22:36:39] [PASSED] One page, with coherent DMA mappings enabled [22:36:39] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [22:36:39] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ========== [22:36:39] [PASSED] ttm_pool_alloc_order_caching_match [22:36:39] [PASSED] ttm_pool_alloc_caching_mismatch [22:36:39] [PASSED] ttm_pool_alloc_order_mismatch [22:36:39] [PASSED] ttm_pool_free_dma_alloc [22:36:39] [PASSED] ttm_pool_free_no_dma_alloc [22:36:39] [PASSED] ttm_pool_fini_basic [22:36:39] ==================== [PASSED] ttm_pool ===================== [22:36:39] ================ ttm_resource (8 subtests) ================= [22:36:39] ================= ttm_resource_init_basic ================= [22:36:39] [PASSED] Init resource in TTM_PL_SYSTEM [22:36:39] [PASSED] Init resource in TTM_PL_VRAM [22:36:39] [PASSED] Init resource in a private placement [22:36:39] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags [22:36:39] ============= [PASSED] ttm_resource_init_basic ============= [22:36:39] [PASSED] ttm_resource_init_pinned [22:36:39] [PASSED] ttm_resource_fini_basic [22:36:39] [PASSED] ttm_resource_manager_init_basic [22:36:39] [PASSED] ttm_resource_manager_usage_basic [22:36:39] [PASSED] ttm_resource_manager_set_used_basic [22:36:39] [PASSED] ttm_sys_man_alloc_basic [22:36:39] [PASSED] ttm_sys_man_free_basic [22:36:39] ================== [PASSED] ttm_resource =================== [22:36:39] =================== ttm_tt (15 subtests) =================== [22:36:39] ==================== ttm_tt_init_basic ==================== [22:36:39] [PASSED] Page-aligned size [22:36:39] [PASSED] Extra pages requested [22:36:39] ================ [PASSED] ttm_tt_init_basic ================ [22:36:39] [PASSED] ttm_tt_init_misaligned [22:36:39] [PASSED] ttm_tt_fini_basic [22:36:39] [PASSED] ttm_tt_fini_sg [22:36:39] [PASSED] ttm_tt_fini_shmem [22:36:39] [PASSED] ttm_tt_create_basic [22:36:39] [PASSED] ttm_tt_create_invalid_bo_type [22:36:39] [PASSED] ttm_tt_create_ttm_exists [22:36:39] [PASSED] ttm_tt_create_failed [22:36:39] [PASSED] ttm_tt_destroy_basic [22:36:39] [PASSED] ttm_tt_populate_null_ttm [22:36:39] [PASSED] ttm_tt_populate_populated_ttm [22:36:39] [PASSED] ttm_tt_unpopulate_basic [22:36:39] [PASSED] ttm_tt_unpopulate_empty_ttm [22:36:39] [PASSED] ttm_tt_swapin_basic [22:36:39] ===================== [PASSED] ttm_tt ====================== [22:36:39] =================== ttm_bo (14 subtests) =================== [22:36:39] =========== ttm_bo_reserve_optimistic_no_ticket =========== [22:36:39] [PASSED] Cannot be interrupted and sleeps [22:36:39] [PASSED] Cannot be interrupted, locks straight away [22:36:39] [PASSED] Can be interrupted, sleeps [22:36:39] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket ======= [22:36:39] [PASSED] ttm_bo_reserve_locked_no_sleep [22:36:39] [PASSED] ttm_bo_reserve_no_wait_ticket [22:36:39] [PASSED] ttm_bo_reserve_double_resv [22:36:39] [PASSED] ttm_bo_reserve_interrupted [22:36:39] [PASSED] ttm_bo_reserve_deadlock [22:36:39] [PASSED] ttm_bo_unreserve_basic [22:36:39] [PASSED] ttm_bo_unreserve_pinned [22:36:39] [PASSED] ttm_bo_unreserve_bulk [22:36:39] [PASSED] ttm_bo_fini_basic [22:36:39] [PASSED] ttm_bo_fini_shared_resv [22:36:39] [PASSED] ttm_bo_pin_basic [22:36:39] [PASSED] ttm_bo_pin_unpin_resource [22:36:39] [PASSED] ttm_bo_multiple_pin_one_unpin [22:36:39] ===================== [PASSED] ttm_bo ====================== [22:36:39] ============== ttm_bo_validate (22 subtests) =============== [22:36:39] ============== ttm_bo_init_reserved_sys_man =============== [22:36:39] [PASSED] Buffer object for userspace [22:36:39] [PASSED] Kernel buffer object [22:36:39] [PASSED] Shared buffer object [22:36:39] ========== [PASSED] ttm_bo_init_reserved_sys_man =========== [22:36:39] ============== ttm_bo_init_reserved_mock_man ============== [22:36:39] [PASSED] Buffer object for userspace [22:36:39] [PASSED] Kernel buffer object [22:36:39] [PASSED] Shared buffer object [22:36:39] ========== [PASSED] ttm_bo_init_reserved_mock_man ========== [22:36:39] [PASSED] ttm_bo_init_reserved_resv [22:36:39] ================== ttm_bo_validate_basic ================== [22:36:39] [PASSED] Buffer object for userspace [22:36:39] [PASSED] Kernel buffer object [22:36:39] [PASSED] Shared buffer object [22:36:39] ============== [PASSED] ttm_bo_validate_basic ============== [22:36:39] [PASSED] ttm_bo_validate_invalid_placement [22:36:39] ============= ttm_bo_validate_same_placement ============== [22:36:39] [PASSED] System manager [22:36:39] [PASSED] VRAM manager [22:36:39] ========= [PASSED] ttm_bo_validate_same_placement ========== [22:36:39] [PASSED] ttm_bo_validate_failed_alloc [22:36:39] [PASSED] ttm_bo_validate_pinned [22:36:39] [PASSED] ttm_bo_validate_busy_placement [22:36:39] ================ ttm_bo_validate_multihop ================= [22:36:39] [PASSED] Buffer object for userspace [22:36:39] [PASSED] Kernel buffer object [22:36:39] [PASSED] Shared buffer object [22:36:39] ============ [PASSED] ttm_bo_validate_multihop ============= [22:36:39] ========== ttm_bo_validate_no_placement_signaled ========== [22:36:39] [PASSED] Buffer object in system domain, no page vector [22:36:39] [PASSED] Buffer object in system domain with an existing page vector [22:36:39] ====== [PASSED] ttm_bo_validate_no_placement_signaled ====== [22:36:39] ======== ttm_bo_validate_no_placement_not_signaled ======== [22:36:39] [PASSED] Buffer object for userspace [22:36:39] [PASSED] Kernel buffer object [22:36:39] [PASSED] Shared buffer object [22:36:39] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ==== [22:36:39] [PASSED] ttm_bo_validate_move_fence_signaled [22:36:39] ========= ttm_bo_validate_move_fence_not_signaled ========= [22:36:39] [PASSED] Waits for GPU [22:36:39] [PASSED] Tries to lock straight away [22:36:39] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled ===== [22:36:39] [PASSED] ttm_bo_validate_swapout [22:36:39] [PASSED] ttm_bo_validate_happy_evict [22:36:39] [PASSED] ttm_bo_validate_all_pinned_evict [22:36:39] [PASSED] ttm_bo_validate_allowed_only_evict [22:36:39] [PASSED] ttm_bo_validate_deleted_evict [22:36:39] [PASSED] ttm_bo_validate_busy_domain_evict [22:36:39] [PASSED] ttm_bo_validate_evict_gutting [22:36:39] [PASSED] ttm_bo_validate_recrusive_evict [22:36:39] ================= [PASSED] ttm_bo_validate ================= [22:36:39] ============================================================ [22:36:39] Testing complete. Ran 102 tests: passed: 102 [22:36:39] Elapsed time: 11.510s total, 1.729s configuring, 9.565s building, 0.173s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
Patchwork
CI✓ Xe.CI.BAT: success for drm/ttm, drm/xe: Page defragmentation for sub-optimally backed BOs
In reply to Matthew Brost== Series Details ==
== Series Details ==
Series: drm/ttm, drm/xe: Page defragmentation for sub-optimally backed BOs
URL : https://patchwork.freedesktop.org/series/169053/
State : success
== Summary ==
CI Bug Log - changes from xe-5291-e2a6e04d045a56c6dc61e1eb9e2a6d7cf86512cd_BAT -> xe-pw-169053v1_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (12 -> 12)
------------------------------
No changes in participating hosts
Known issues
------------
Here are the changes found in xe-pw-169053v1_BAT that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@xe_live_ktest@xe_dma_buf:
- bat-bmg-vm: [PASS][1] -> [ABORT][2] ([Intel XE#8007] / [Intel XE#8023]) +1 other test abort
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5291-e2a6e04d045a56c6dc61e1eb9e2a6d7cf86512cd/bat-bmg-vm/igt@xe_live_ktest@xe_dma_buf.html
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/bat-bmg-vm/igt@xe_live_ktest@xe_dma_buf.html
[Intel XE#8007]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8007
[Intel XE#8023]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8023
Build changes
-------------
* Linux: xe-5291-e2a6e04d045a56c6dc61e1eb9e2a6d7cf86512cd -> xe-pw-169053v1
IGT_8981: 28416da6681a1afa167bdd73cdc934cb36d13133 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-5291-e2a6e04d045a56c6dc61e1eb9e2a6d7cf86512cd: e2a6e04d045a56c6dc61e1eb9e2a6d7cf86512cd
xe-pw-169053v1: 169053v1
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/index.html
Patchwork
CI✓ Xe.CI.FULL: success for drm/ttm, drm/xe: Page defragmentation for sub-optimally backed BOs
In reply to Matthew Brost== Series Details ==
== Series Details ==
Series: drm/ttm, drm/xe: Page defragmentation for sub-optimally backed BOs
URL : https://patchwork.freedesktop.org/series/169053/
State : success
== Summary ==
CI Bug Log - changes from xe-5291-e2a6e04d045a56c6dc61e1eb9e2a6d7cf86512cd_FULL -> xe-pw-169053v1_FULL
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (2 -> 2)
------------------------------
No changes in participating hosts
Known issues
------------
Here are the changes found in xe-pw-169053v1_FULL that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@asahi/asahi_get_time@get-time-flags-1:
- shard-bmg: NOTRUN -> [SKIP][1] ([Intel XE#8416])
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-bmg-10/igt@asahi/[email protected]
* igt@kms_big_fb@y-tiled-8bpp-rotate-90:
- shard-bmg: NOTRUN -> [SKIP][2] ([Intel XE#1124])
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-bmg-10/igt@[email protected]
* igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-180-hflip:
- shard-lnl: NOTRUN -> [SKIP][3] ([Intel XE#1124])
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-lnl-8/igt@[email protected]
* igt@kms_bw@connected-linear-tiling-4-displays-target-2160x1440p:
- shard-bmg: NOTRUN -> [SKIP][4] ([Intel XE#7679])
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-bmg-10/igt@[email protected]
* igt@kms_bw@linear-tiling-3-displays-target-1920x1080p:
- shard-bmg: NOTRUN -> [SKIP][5] ([Intel XE#367])
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-bmg-10/igt@[email protected]
* igt@kms_ccs@ccs-on-another-bo-4-tiled-mtl-rc-ccs:
- shard-bmg: NOTRUN -> [SKIP][6] ([Intel XE#2887]) +1 other test skip
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-bmg-10/igt@[email protected]
* igt@kms_ccs@crc-primary-suspend-y-tiled-gen12-mc-ccs:
- shard-lnl: NOTRUN -> [SKIP][7] ([Intel XE#3432])
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-lnl-8/igt@[email protected]
* igt@kms_chamelium_frames@dp-crc-single:
- shard-bmg: NOTRUN -> [SKIP][8] ([Intel XE#2252])
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-bmg-10/igt@[email protected]
* igt@kms_content_protection@lic-type-0-hdcp14@pipe-a-dp-2:
- shard-bmg: NOTRUN -> [FAIL][9] ([Intel XE#1178] / [Intel XE#3304] / [Intel XE#7374]) +1 other test fail
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-bmg-10/igt@kms_content_protection@[email protected]
* igt@kms_cursor_crc@cursor-random-128x42:
- shard-bmg: NOTRUN -> [SKIP][10] ([Intel XE#2320])
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-bmg-10/igt@[email protected]
* igt@kms_cursor_crc@cursor-rapid-movement-512x170:
- shard-bmg: NOTRUN -> [SKIP][11] ([Intel XE#2321] / [Intel XE#7355])
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-bmg-10/igt@[email protected]
* igt@kms_dirtyfb@drrs-dirtyfb-ioctl:
- shard-bmg: NOTRUN -> [SKIP][12] ([Intel XE#1508])
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-bmg-10/igt@[email protected]
* igt@kms_dsc@dsc-fractional-bpp-with-bpc-bigjoiner:
- shard-lnl: NOTRUN -> [SKIP][13] ([Intel XE#8265])
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-lnl-8/igt@[email protected]
* igt@kms_flip@flip-vs-absolute-wf_vblank:
- shard-bmg: [PASS][14] -> [FAIL][15] ([Intel XE#3149] / [Intel XE#6266]) +1 other test fail
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5291-e2a6e04d045a56c6dc61e1eb9e2a6d7cf86512cd/shard-bmg-9/igt@kms_flip@flip-vs-absolute-wf_vblank.html
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-bmg-9/igt@kms_flip@flip-vs-absolute-wf_vblank.html
* igt@kms_flip@flip-vs-expired-vblank@c-edp1:
- shard-lnl: [PASS][16] -> [FAIL][17] ([Intel XE#301] / [Intel XE#3149]) +1 other test fail
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5291-e2a6e04d045a56c6dc61e1eb9e2a6d7cf86512cd/shard-lnl-2/igt@kms_flip@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-lnl-3/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible:
- shard-bmg: [PASS][18] -> [INCOMPLETE][19] ([Intel XE#2049] / [Intel XE#2597] / [Intel XE#8155]) +1 other test incomplete
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5291-e2a6e04d045a56c6dc61e1eb9e2a6d7cf86512cd/shard-bmg-1/igt@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-bmg-6/igt@[email protected]
* igt@kms_flip@plain-flip-fb-recreate:
- shard-bmg: [PASS][20] -> [INCOMPLETE][21] ([Intel XE#2597] / [Intel XE#8155])
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5291-e2a6e04d045a56c6dc61e1eb9e2a6d7cf86512cd/shard-bmg-7/igt@[email protected]
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-bmg-3/igt@[email protected]
* igt@kms_flip@plain-flip-fb-recreate@b-dp2:
- shard-bmg: [PASS][22] -> [INCOMPLETE][23] ([Intel XE#8155])
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5291-e2a6e04d045a56c6dc61e1eb9e2a6d7cf86512cd/shard-bmg-7/igt@kms_flip@[email protected]
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-bmg-3/igt@kms_flip@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-upscaling:
- shard-bmg: NOTRUN -> [SKIP][24] ([Intel XE#7178] / [Intel XE#7351])
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-bmg-10/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-upscaling.html
* igt@kms_frontbuffer_tracking@drrshdr-1p-primscrn-spr-indfb-draw-blt:
- shard-lnl: NOTRUN -> [SKIP][25] ([Intel XE#6312]) +1 other test skip
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-lnl-8/igt@kms_frontbuffer_tracking@drrshdr-1p-primscrn-spr-indfb-draw-blt.html
* igt@kms_frontbuffer_tracking@drrshdr-argb161616f-draw-blt:
- shard-lnl: NOTRUN -> [SKIP][26] ([Intel XE#7061])
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-lnl-8/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-cur-indfb-draw-render:
- shard-bmg: NOTRUN -> [SKIP][27] ([Intel XE#4141]) +1 other test skip
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-bmg-10/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-cur-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbcdrrs-2p-primscrn-pri-indfb-draw-blt:
- shard-bmg: NOTRUN -> [SKIP][28] ([Intel XE#2311]) +6 other tests skip
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-bmg-10/igt@kms_frontbuffer_tracking@fbcdrrs-2p-primscrn-pri-indfb-draw-blt.html
* igt@kms_frontbuffer_tracking@fbcdrrshdr-2p-scndscrn-spr-indfb-fullscreen:
- shard-lnl: NOTRUN -> [SKIP][29] ([Intel XE#7905]) +2 other tests skip
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-lnl-8/igt@kms_frontbuffer_tracking@fbcdrrshdr-2p-scndscrn-spr-indfb-fullscreen.html
* igt@kms_frontbuffer_tracking@fbchdr-rgb565-draw-mmap-wc:
- shard-lnl: NOTRUN -> [SKIP][30] ([Intel XE#7865]) +1 other test skip
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-lnl-8/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-indfb-pgflip-blt:
- shard-lnl: NOTRUN -> [SKIP][31] ([Intel XE#656] / [Intel XE#7905]) +1 other test skip
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-lnl-8/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-indfb-pgflip-blt.html
* igt@kms_frontbuffer_tracking@psr-2p-scndscrn-indfb-pgflip-blt:
- shard-bmg: NOTRUN -> [SKIP][32] ([Intel XE#2313]) +4 other tests skip
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-bmg-10/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-argb161616f-draw-mmap-wc:
- shard-lnl: NOTRUN -> [SKIP][33] ([Intel XE#7061] / [Intel XE#7356])
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-lnl-8/igt@[email protected]
* igt@kms_pipe_stress@stress-xrgb8888-yftiled:
- shard-bmg: NOTRUN -> [SKIP][34] ([Intel XE#6912] / [Intel XE#7375])
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-bmg-10/igt@[email protected]
* igt@kms_plane@pixel-format-4-tiled-dg2-mc-ccs-modifier-source-clamping:
- shard-bmg: NOTRUN -> [SKIP][35] ([Intel XE#7283])
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-bmg-10/igt@kms_plane@pixel-format-4-tiled-dg2-mc-ccs-modifier-source-clamping.html
* igt@kms_plane@planar-pixel-format-settings@nv12-tile4-src-y:
- shard-bmg: NOTRUN -> [SKIP][36] ([Intel XE#8076])
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-bmg-10/igt@kms_plane@[email protected]
* igt@kms_psr2_sf@fbc-pr-plane-move-sf-dmg-area:
- shard-bmg: NOTRUN -> [SKIP][37] ([Intel XE#1489]) +1 other test skip
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-bmg-10/igt@[email protected]
* igt@kms_psr@psr-basic:
- shard-bmg: NOTRUN -> [SKIP][38] ([Intel XE#2234] / [Intel XE#2850]) +1 other test skip
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-bmg-10/igt@[email protected]
* igt@kms_rotation_crc@sprite-rotation-90-pos-100-0:
- shard-bmg: NOTRUN -> [SKIP][39] ([Intel XE#3904] / [Intel XE#7342])
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-bmg-10/igt@[email protected]
* igt@xe_eudebug@basic-vm-bind-metadata-discovery:
- shard-lnl: NOTRUN -> [SKIP][40] ([Intel XE#7636])
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-lnl-8/igt@[email protected]
* igt@xe_eudebug@basic-vm-bind-vm-destroy-discovery:
- shard-bmg: NOTRUN -> [SKIP][41] ([Intel XE#7636]) +2 other tests skip
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-bmg-10/igt@[email protected]
* igt@xe_evict@evict-beng-mixed-many-threads-small:
- shard-bmg: [PASS][42] -> [INCOMPLETE][43] ([Intel XE#6321] / [Intel XE#8355])
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5291-e2a6e04d045a56c6dc61e1eb9e2a6d7cf86512cd/shard-bmg-4/igt@[email protected]
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-bmg-5/igt@[email protected]
* igt@xe_exec_balancer@twice-cm-virtual-basic:
- shard-lnl: NOTRUN -> [SKIP][44] ([Intel XE#7482]) +1 other test skip
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-lnl-8/igt@[email protected]
* igt@xe_exec_basic@multigpu-many-execqueues-many-vm-bindexecqueue-userptr:
- shard-bmg: NOTRUN -> [SKIP][45] ([Intel XE#2322] / [Intel XE#7372]) +1 other test skip
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-bmg-10/igt@xe_exec_basic@multigpu-many-execqueues-many-vm-bindexecqueue-userptr.html
* igt@xe_exec_fault_mode@twice-multi-queue-invalid-userptr-fault:
- shard-lnl: NOTRUN -> [SKIP][46] ([Intel XE#8374]) +1 other test skip
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-lnl-8/igt@[email protected]
* igt@xe_exec_fault_mode@twice-multi-queue-userptr-rebind-prefetch:
- shard-bmg: NOTRUN -> [SKIP][47] ([Intel XE#8374]) +1 other test skip
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-bmg-10/igt@xe_exec_fault_mode@twice-multi-queue-userptr-rebind-prefetch.html
* igt@xe_exec_multi_queue@many-queues-close-fd-smem:
- shard-bmg: NOTRUN -> [SKIP][48] ([Intel XE#8364]) +2 other tests skip
[48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-bmg-10/igt@[email protected]
* igt@xe_exec_multi_queue@two-queues-preempt-mode-userptr-invalidate:
- shard-lnl: NOTRUN -> [SKIP][49] ([Intel XE#8364]) +1 other test skip
[49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-lnl-8/igt@xe_exec_multi_queue@two-queues-preempt-mode-userptr-invalidate.html
* igt@xe_exec_reset@long-spin-comp-reuse-many-preempt-threads:
- shard-bmg: [PASS][50] -> [FAIL][51] ([Intel XE#7850])
[50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5291-e2a6e04d045a56c6dc61e1eb9e2a6d7cf86512cd/shard-bmg-3/igt@[email protected]
[51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-bmg-9/igt@[email protected]
* igt@xe_exec_threads@threads-multi-queue-hang-fd-userptr-invalidate-race:
- shard-lnl: NOTRUN -> [SKIP][52] ([Intel XE#8378]) +1 other test skip
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-lnl-8/igt@xe_exec_threads@threads-multi-queue-hang-fd-userptr-invalidate-race.html
* igt@xe_exec_threads@threads-multi-queue-mixed-fd-basic:
- shard-bmg: NOTRUN -> [SKIP][53] ([Intel XE#8378]) +1 other test skip
[53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-bmg-10/igt@[email protected]
* igt@xe_multigpu_svm@mgpu-coherency-fail-basic:
- shard-bmg: NOTRUN -> [SKIP][54] ([Intel XE#6964])
[54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-bmg-10/igt@[email protected]
* igt@xe_page_reclaim@prl-invalidate-full:
- shard-lnl: NOTRUN -> [SKIP][55] ([Intel XE#7793])
[55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-lnl-8/igt@[email protected]
* igt@xe_pm@d3cold-mocs:
- shard-bmg: NOTRUN -> [SKIP][56] ([Intel XE#2284] / [Intel XE#7370])
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-bmg-10/igt@[email protected]
* igt@xe_pm_residency@aspm_link_residency:
- shard-lnl: NOTRUN -> [SKIP][57] ([Intel XE#7271])
[57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-lnl-8/igt@xe_pm_residency@aspm_link_residency.html
* igt@xe_query@multigpu-query-invalid-cs-cycles:
- shard-lnl: NOTRUN -> [SKIP][58] ([Intel XE#944])
[58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-lnl-8/igt@[email protected]
* igt@xe_sriov_admin@bulk-preempt-timeout-vfs-disabled:
- shard-lnl: NOTRUN -> [SKIP][59] ([Intel XE#7174])
[59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-lnl-8/igt@[email protected]
* igt@xe_survivability@runtime-survivability:
- shard-bmg: [PASS][60] -> [DMESG-WARN][61] ([Intel XE#6627] / [Intel XE#7419])
[60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5291-e2a6e04d045a56c6dc61e1eb9e2a6d7cf86512cd/shard-bmg-2/igt@[email protected]
[61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-bmg-5/igt@[email protected]
* igt@xe_wedged@wedged-mode-toggle:
- shard-lnl: [PASS][62] -> [ABORT][63] ([Intel XE#8007])
[62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5291-e2a6e04d045a56c6dc61e1eb9e2a6d7cf86512cd/shard-lnl-7/igt@[email protected]
[63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-lnl-6/igt@[email protected]
#### Possible fixes ####
* igt@kms_hdr@invalid-hdr:
- shard-bmg: [SKIP][64] ([Intel XE#1503]) -> [PASS][65]
[64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5291-e2a6e04d045a56c6dc61e1eb9e2a6d7cf86512cd/shard-bmg-1/igt@[email protected]
[65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-bmg-6/igt@[email protected]
* igt@kms_vrr@max-min:
- shard-lnl: [FAIL][66] ([Intel XE#4227]) -> [PASS][67] +1 other test pass
[66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5291-e2a6e04d045a56c6dc61e1eb9e2a6d7cf86512cd/shard-lnl-6/igt@[email protected]
[67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/shard-lnl-3/igt@[email protected]
[Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
[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#1508]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1508
[Intel XE#2049]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2049
[Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
[Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
[Intel XE#2284]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2284
[Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311
[Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313
[Intel XE#2320]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2320
[Intel XE#2321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2321
[Intel XE#2322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2322
[Intel XE#2597]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2597
[Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
[Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
[Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
[Intel XE#3149]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3149
[Intel XE#3304]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3304
[Intel XE#3432]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3432
[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#4227]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4227
[Intel XE#6266]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6266
[Intel XE#6312]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6312
[Intel XE#6321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6321
[Intel XE#656]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/656
[Intel XE#6627]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6627
[Intel XE#6912]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6912
[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#7174]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7174
[Intel XE#7178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7178
[Intel XE#7271]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7271
[Intel XE#7283]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7283
[Intel XE#7342]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7342
[Intel XE#7351]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7351
[Intel XE#7355]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7355
[Intel XE#7356]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7356
[Intel XE#7370]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7370
[Intel XE#7372]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7372
[Intel XE#7374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7374
[Intel XE#7375]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7375
[Intel XE#7419]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7419
[Intel XE#7482]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7482
[Intel XE#7636]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7636
[Intel XE#7679]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7679
[Intel XE#7793]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7793
[Intel XE#7850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7850
[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#8007]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8007
[Intel XE#8076]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8076
[Intel XE#8155]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8155
[Intel XE#8265]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8265
[Intel XE#8355]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8355
[Intel XE#8364]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8364
[Intel XE#8374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8374
[Intel XE#8378]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8378
[Intel XE#8416]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8416
[Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944
Build changes
-------------
* Linux: xe-5291-e2a6e04d045a56c6dc61e1eb9e2a6d7cf86512cd -> xe-pw-169053v1
IGT_8981: 28416da6681a1afa167bdd73cdc934cb36d13133 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-5291-e2a6e04d045a56c6dc61e1eb9e2a6d7cf86512cd: e2a6e04d045a56c6dc61e1eb9e2a6d7cf86512cd
xe-pw-169053v1: 169053v1
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169053v1/index.html