Convert multiple bind ops to 1 job
Subsystems (2)
Matthew Brost
maintainercover Convert multiple bind ops to 1 job
Continuation of merging parts of [1]. Patch #2 in this series is quite large but unsure how to split the patch without breaking functionality.
Matt
[1] https://patchwork.freedesktop.org/series/125608/
Matthew Brost (5):
drm/xe: s/xe_tile_migrate_engine/xe_tile_migrate_exec_queue drm/xe: Add xe_vm_pgtable_update_op to xe_vma_ops drm/xe: Convert multiple bind ops into single job drm/xe: Update VM trace events
drm/xe: Update PT layer with better error handling
drivers/gpu/drm/xe/xe_bo_types.h | 2 + drivers/gpu/drm/xe/xe_migrate.c | 307 ++++---- drivers/gpu/drm/xe/xe_migrate.h | 34 +- drivers/gpu/drm/xe/xe_pt.c | 1251 ++++++++++++++++++++---------- drivers/gpu/drm/xe/xe_pt.h | 14 +- drivers/gpu/drm/xe/xe_pt_types.h | 48 ++ drivers/gpu/drm/xe/xe_trace.h | 10 +- drivers/gpu/drm/xe/xe_vm.c | 623 +++++---------- drivers/gpu/drm/xe/xe_vm.h | 2 + drivers/gpu/drm/xe/xe_vm_types.h | 39 +- 10 files changed, 1274 insertions(+), 1056 deletions(-)
Signature · 1 line
2.34.1
Matthew Brost
maintainerPATCH 1/5 drm/xe: s/xe_tile_migrate_engine/xe_tile_migrate_exec_queue
Engine is old nomenclature, replace with exec queue.
--- drivers/gpu/drm/xe/xe_migrate.c | 9 ++++----- drivers/gpu/drm/xe/xe_migrate.h | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-)
drivers/gpu/drm/xe/xe_migrate.c +4 -5
@@ -85,15 +85,14 @@ struct xe_migrate {#define MAX_PTE_PER_SDI 0x1FE/** -* xe_tile_migrate_engine() - Get this tile's migrate engine. +* xe_tile_migrate_exec_queue() - Get this tile's migrate exec queue. * @tile: The tile. * -* Returns the default migrate engine of this tile. -* TODO: Perhaps this function is slightly misplaced, and even unneeded? +* Returns the default migrate exec queue of this tile. * -* Return: The default migrate engine +* Return: The default migrate exec queue */ -struct xe_exec_queue *xe_tile_migrate_engine (struct xe_tile *tile) +struct xe_exec_queue *xe_tile_migrate_exec_queue (struct xe_tile *tile) {return tile->migrate->q; }
drivers/gpu/drm/xe/xe_migrate.h +1 -1
@@ -106,5 +106,5 @@ xe_migrate_update_pgtables(struct xe_migrate *m,void xe_migrate_wait (struct xe_migrate *m); -struct xe_exec_queue *xe_tile_migrate_engine (struct xe_tile *tile); +struct xe_exec_queue *xe_tile_migrate_exec_queue (struct xe_tile *tile);#endif
Signature · 1 line
2.34.1
Matthew Brost
maintainerPATCH 2/5 drm/xe: Add xe_vm_pgtable_update_op to xe_vma_ops
In reply to Matthew BrostEach xe_vma_op resolves to 0-3 pt_ops. Add storage for the pt_ops to xe_vma_ops which is dynamically allocated based the number and types of xe_vma_op in the xe_vma_ops list. Allocation only implemented in this patch.
This will help with converting xe_vma_ops (multiple xe_vma_op) in a atomic update unit.
--- drivers/gpu/drm/xe/xe_pt_types.h | 12 ++++++ drivers/gpu/drm/xe/xe_vm.c | 66 +++++++++++++++++++++++++++++++- drivers/gpu/drm/xe/xe_vm_types.h | 8 ++++ 3 files changed, 84 insertions(+), 2 deletions(-)
drivers/gpu/drm/xe/xe_pt_types.h +12 -0
@@ -74,4 +74,16 @@ struct xe_vm_pgtable_update { u32 flags; }; +/** struct xe_vm_pgtable_update_op - Page table update operation */ +struct xe_vm_pgtable_update_op { +/** @entries: entries to update for this operation */ +struct xe_vm_pgtable_update entries[XE_VM_MAX_LEVEL *2 +1 ]; +/** @num_entries: number of entries for this update operation */ +u32 num_entries; +/** @bind: is a bind */ +bool bind; +/** @rebind: is a rebind */ +bool rebind; +}; +#endif
drivers/gpu/drm/xe/xe_vm.c +64 -2
143 lines not on this page · raw message
drivers/gpu/drm/xe/xe_vm_types.h +8 -0
@@ -21,6 +21,7 @@ struct xe_bo;struct xe_sync_entry ;struct xe_user_fence ;struct xe_vm ; +struct xe_vm_pgtable_update_op ;#define XE_VMA_READ_ONLY DRM_GPUVA_USERBITS#define XE_VMA_DESTROYED (DRM_GPUVA_USERBITS << 1)
@@ -368,6 +369,13 @@ struct xe_vma_ops {struct xe_sync_entry *syncs;/** @num_syncs: number of syncs */ u32 num_syncs; +/** @pt_update_ops: page table update operations */ +struct { +/** @ops: operations */ +struct xe_vm_pgtable_update_op *ops; +/** @num_ops: number of operations */ +u32 num_ops; + } pt_update_ops[XE_MAX_TILES_PER_DEVICE]; };#endif
Signature · 1 line
2.34.1
Matthew Brost
maintainerPATCH 3/5 drm/xe: Convert multiple bind ops into single job
In reply to Matthew BrostThis aligns with the uAPI of an array of binds or single bind that results in multiple GPUVA ops to be considered a single atomic operations.
The implemenation is roughly:
- xe_vma_ops is a list of xe_vma_op (GPUVA op)
- each xe_vma_op resolves to 0-3 PT ops
- xe_vma_ops creates a single job
- if at any point during binding a failure occurs, xe_vma_ops contains the information necessary unwind the PT and VMA (GPUVA) state
--- drivers/gpu/drm/xe/xe_bo_types.h | 2 + drivers/gpu/drm/xe/xe_migrate.c | 298 ++++---- drivers/gpu/drm/xe/xe_migrate.h | 32 +- drivers/gpu/drm/xe/xe_pt.c | 1083 +++++++++++++++++++----------- drivers/gpu/drm/xe/xe_pt.h | 14 +- drivers/gpu/drm/xe/xe_pt_types.h | 36 + drivers/gpu/drm/xe/xe_vm.c | 519 ++++---------- drivers/gpu/drm/xe/xe_vm.h | 2 + drivers/gpu/drm/xe/xe_vm_types.h | 43 +- 9 files changed, 1008 insertions(+), 1021 deletions(-)
drivers/gpu/drm/xe/xe_bo_types.h +2 -0
@@ -58,6 +58,8 @@ struct xe_bo {#endif /** @freed: List node for delayed put. */ struct llist_node freed; +/** @update_index: Update index if PT BO */ +int update_index;/** @created: Whether the bo has passed initial creation */ bool created;
drivers/gpu/drm/xe/xe_migrate.c +134 -164
409 lines not on this page · raw message
drivers/gpu/drm/xe/xe_migrate.h +20 -12
@@ -47,6 +47,24 @@ struct xe_migrate_pt_update_ops { struct xe_tile *tile, struct iosys_map *map, void *pos, u32 ofs, u32 num_qwords, const struct xe_vm_pgtable_update *update); +/** +* @clear: Clear a command buffer or page-table with ptes. +* @pt_update: Embeddable callback argument. +* @tile: The tile for the current operation. +* @map: struct iosys_map into the memory to be populated. +* @pos: If @map is NULL, map into the memory to be populated. +* @ofs: qword offset into @map, unused if @map is NULL. +* @num_qwords: Number of qwords to write. +* @update: Information about the PTEs to be inserted. +* +* This interface is intended to be used as a callback into the +* page-table system to populate command buffers or shared +* page-tables with PTEs. +*/ +void (*clear)(struct xe_migrate_pt_update *pt_update, +struct xe_tile *tile,struct iosys_map *map, +void *pos,u32 ofs,u32 num_qwords, +const struct xe_vm_pgtable_update *update);/** * @pre_commit: Callback to be called just before arming the
@@ -67,14 +85,10 @@ struct xe_migrate_pt_update_ops {struct xe_migrate_pt_update {/** @ops: Pointer to the struct xe_migrate_pt_update_ops callbacks */ const struct xe_migrate_pt_update_ops *ops; -/** @vma: The vma we're updating the pagetable for. */ -struct xe_vma *vma; +/** @vops: VMA operations */ +struct xe_vma_ops *vops;/** @job: The job if a GPU page-table update. NULL otherwise */ struct xe_sched_job *job; -/** @start: Start of update for the range fence */ -u64 start; -/** @last: Last of update for the range fence */ -u64 last;/** @tile_id: Tile ID of the update */ u8 tile_id; };
@@ -96,12 +110,6 @@ struct xe_vm *xe_migrate_get_vm(struct xe_migrate *m);struct dma_fence *xe_migrate_update_pgtables (struct xe_migrate *m, -struct xe_vm *vm, -struct xe_bo *bo, -struct xe_exec_queue *q, -const struct xe_vm_pgtable_update *updates, -u32 num_updates, -struct xe_sync_entry *syncs,u32 num_syncs,struct xe_migrate_pt_update *pt_update);void xe_migrate_wait (struct xe_migrate *m);
drivers/gpu/drm/xe/xe_pt.c +681 -402
1,235 lines not on this page · raw message
drivers/gpu/drm/xe/xe_pt.h +6 -8
@@ -17,6 +17,7 @@ struct xe_sync_entry;struct xe_tile ;struct xe_vm ;struct xe_vma ; +struct xe_vma_ops ;/* Largest huge pte is currently 1GiB. May become device dependent. */ #define MAX_HUGEPTE_LEVEL 2
@@ -34,14 +35,11 @@ void xe_pt_populate_empty(struct xe_tile *tile, struct xe_vm *vm,void xe_pt_destroy (struct xe_pt *pt,u32 flags,struct llist_head *deferred); -struct dma_fence * -__xe_pt_bind_vma (struct xe_tile *tile,struct xe_vma *vma,struct xe_exec_queue *q, -struct xe_sync_entry *syncs,u32 num_syncs, -bool rebind); - -struct dma_fence * -__xe_pt_unbind_vma (struct xe_tile *tile,struct xe_vma *vma,struct xe_exec_queue *q, -struct xe_sync_entry *syncs,u32 num_syncs); +int xe_pt_update_ops_prepare (struct xe_tile *tile,struct xe_vma_ops *vops); +struct dma_fence *xe_pt_update_ops_run (struct xe_tile *tile, +struct xe_vma_ops *vops); +void xe_pt_update_ops_fini (struct xe_tile *tile,struct xe_vma_ops *vops); +void xe_pt_update_ops_abort (struct xe_tile *tile,struct xe_vma_ops *vops);bool xe_pt_zap_ptes (struct xe_tile *tile,struct xe_vma *vma);
drivers/gpu/drm/xe/xe_pt_types.h +36 -0
@@ -78,6 +78,8 @@ struct xe_vm_pgtable_update {struct xe_vm_pgtable_update_op {/** @entries: entries to update for this operation */ struct xe_vm_pgtable_update entries[XE_VM_MAX_LEVEL *2 +1 ]; +/** @vma: VMA for operation, operation not valid if NULL */ +struct xe_vma *vma;/** @num_entries: number of entries for this update operation */ u32 num_entries;/** @bind: is a bind */
@@ -86,4 +88,38 @@ struct xe_vm_pgtable_update_op { bool rebind; }; +/** struct xe_vm_pgtable_update_ops: page table update operations */ +struct xe_vm_pgtable_update_ops { +/** @ops: operations */ +struct xe_vm_pgtable_update_op *ops; +/** @deferred: deferred list to destroy PT entries */ +struct llist_head deferred; +/** @q: exec queue for PT operations */ +struct xe_exec_queue *q; +/** @start: start address of ops */ +u64 start; +/** @last: last address of ops */ +u64 last; +/** @num_ops: number of operations */ +u32 num_ops; +/** @current_op: current operations */ +u32 current_op; +/** @needs_userptr_lock: Needs userptr lock */ +bool needs_userptr_lock; +/** @needs_invalidation: Needs invalidation */ +bool needs_invalidation; +/** +* @wait_vm_bookkeep: PT operations need to wait until VM is idle +* (bookkeep dma-resv slots are idle) and stage all future VM activity +* behind these operations (install PT operations into VM kernel +* dma-resv slot). +*/ +bool wait_vm_bookkeep; +/** +* @wait_vm_kernel: PT operations need to wait until VM kernel dma-resv +* slots are idle. +*/ +bool wait_vm_kernel; +}; +#endif
drivers/gpu/drm/xe/xe_vm.c +113 -406
633 lines not on this page · raw message
drivers/gpu/drm/xe/xe_vm.h +2 -0
@@ -260,6 +260,8 @@ static inline struct dma_resv *xe_vm_resv(struct xe_vm *vm)return drm_gpuvm_resv (&vm->gpuvm); } +void xe_vm_kill (struct xe_vm *vm,bool unlocked); +/** * xe_vm_assert_held(vm) - Assert that the vm's reservation object is held. * @vm: The vm
drivers/gpu/drm/xe/xe_vm_types.h +14 -29
82 lines not on this page · raw message
Signature · 1 line
2.34.1
Matthew Brost
maintainerPATCH 4/5 drm/xe: Update VM trace events
In reply to Matthew BrostThe trace events have changed moving to a single job per VM bind IOCTL, update the trace events align with old behavior as much as possible.
--- drivers/gpu/drm/xe/xe_trace.h | 10 ++++----- drivers/gpu/drm/xe/xe_vm.c | 42 +++++++++++++++++++++++++++++++++-- 2 files changed, 45 insertions(+), 7 deletions(-)
drivers/gpu/drm/xe/xe_trace.h +5 -5
@@ -423,11 +423,6 @@ DEFINE_EVENT(xe_vma, xe_vma_acc,TP_ARGS (vma) ); -DEFINE_EVENT (xe_vma, xe_vma_fail, - TP_PROTO(struct xe_vma *vma), -TP_ARGS (vma) -); -DEFINE_EVENT (xe_vma, xe_vma_bind, TP_PROTO(struct xe_vma *vma), TP_ARGS(vma)
@@ -541,6 +536,11 @@ DEFINE_EVENT(xe_vm, xe_vm_rebind_worker_exit,TP_ARGS (vm) ); +DEFINE_EVENT (xe_vm, xe_vm_ops_fail, + TP_PROTO(struct xe_vm *vm), +TP_ARGS (vm) +); +/* GuC */ DECLARE_EVENT_CLASS(xe_guc_ct_flow_control, TP_PROTO(u32 _head, u32 _tail, u32 size, u32 space, u32 len),
drivers/gpu/drm/xe/xe_vm.c +40 -2
66 lines not on this page · raw message
Signature · 1 line
2.34.1
Matthew Brost
maintainerPATCH 5/5 drm/xe: Update PT layer with better error handling
In reply to Matthew BrostUpdate PT layer so if a memory allocation for a PTE fails the error can be propagated to the user without requiring to be killed.
--- drivers/gpu/drm/xe/xe_pt.c | 208 ++++++++++++++++++++++++++++--------- 1 file changed, 160 insertions(+), 48 deletions(-)
drivers/gpu/drm/xe/xe_pt.c +160 -48
@@ -813,19 +813,27 @@ xe_vm_populate_pgtable(struct xe_migrate_pt_update *pt_update, struct xe_tile *t } } -static void xe_pt_abort_bind (struct xe_vma *vma, -struct xe_vm_pgtable_update *entries, -u32 num_entries) +static void xe_pt_cancel_bind (struct xe_vma *vma, +struct xe_vm_pgtable_update *entries, +u32 num_entries) {u32 i, j;for (i =0 ; i < num_entries; i++) { -if (!entries[i].pt_entries) +struct xe_pt *pt = entries[i].pt; + +if (!pt)continue ; -for (j =0 ; j < entries[i].qwords; j++) -xe_pt_destroy (entries[i].pt_entries[j].pt,xe_vma_vm (vma)->flags,NULL ); +if (pt->level) { +for (j =0 ; j < entries[i].qwords; j++) +xe_pt_destroy (entries[i].pt_entries[j].pt, +xe_vma_vm (vma)->flags,NULL ); + } +kfree (entries[i].pt_entries); + entries[i].pt_entries =NULL ; + entries[i].qwords =0 ; } }
@@ -841,10 +849,61 @@ static void xe_pt_commit_locks_assert(struct xe_vma *vma)xe_vm_assert_held (vm); } -static void xe_pt_commit_bind (struct xe_vma *vma, -struct xe_vm_pgtable_update *entries, -u32 num_entries,bool rebind, -struct llist_head *deferred) +static void xe_pt_commit (struct xe_vma *vma, +struct xe_vm_pgtable_update *entries, +u32 num_entries,struct llist_head *deferred) +{ +u32 i, j; + +xe_pt_commit_locks_assert (vma); + +for (i =0 ; i < num_entries; i++) { +struct xe_pt *pt = entries[i].pt; + +if (!pt->level) +continue ; + +for (j =0 ; j < entries[i].qwords; j++) { +struct xe_pt *oldpte = entries[i].pt_entries[j].pt; + +xe_pt_destroy (oldpte,xe_vma_vm (vma)->flags, deferred); + } + } +} + +static void xe_pt_abort_bind (struct xe_vma *vma, +struct xe_vm_pgtable_update *entries, +u32 num_entries,bool rebind) +{ +int i, j; + +xe_pt_commit_locks_assert (vma); + +for (i = num_entries -1 ; i >=0 ; --i) { +struct xe_pt *pt = entries[i].pt; +struct xe_pt_dir *pt_dir; + +if (!rebind) + pt->num_live -= entries[i].qwords; + +if (!pt->level) +continue ; + + pt_dir =as_xe_pt_dir (pt); +for (j =0 ; j < entries[i].qwords; j++) { +u32 j_ = j + entries[i].ofs; +struct xe_pt *newpte =xe_pt_entry (pt_dir, j_); +struct xe_pt *oldpte = entries[i].pt_entries[j].pt; + + pt_dir->children[j_] = oldpte ? &oldpte->base :0 ; +xe_pt_destroy (newpte,xe_vma_vm (vma)->flags,NULL ); + } + } +} + +static void xe_pt_commit_prepare_bind (struct xe_vma *vma, +struct xe_vm_pgtable_update *entries, +u32 num_entries,bool rebind) {u32 i, j;
@@ -864,12 +923,13 @@ static void xe_pt_commit_bind(struct xe_vma *vma,for (j =0 ; j < entries[i].qwords; j++) {u32 j_ = j + entries[i].ofs;struct xe_pt *newpte = entries[i].pt_entries[j].pt; +struct xe_pt *oldpte =NULL ;if (xe_pt_entry (pt_dir, j_)) -xe_pt_destroy (xe_pt_entry (pt_dir, j_), -xe_vma_vm (vma)->flags, deferred); + oldpte =xe_pt_entry (pt_dir, j_); pt_dir->children[j_] = &newpte->base; + entries[i].pt_entries[j].pt = oldpte; } } }
@@ -893,8 +953,6 @@ xe_pt_prepare_bind(struct xe_tile *tile, struct xe_vma *vma, err =xe_pt_stage_bind (tile, vma, entries, num_entries);if (!err)xe_tile_assert (tile, *num_entries); -else /* abort! */ -xe_pt_abort_bind (vma, entries, *num_entries);return err; }
@@ -1413,7 +1471,7 @@ xe_pt_stage_unbind_post_descend(struct xe_ptw *parent, pgoff_t offset, &end_offset))return 0 ; - (void )xe_pt_new_shared (&xe_walk->wupd, xe_child, offset, false); + (void )xe_pt_new_shared (&xe_walk->wupd, xe_child, offset, true); xe_walk->wupd.updates[level].update->qwords = end_offset - offset;return 0 ;
@@ -1481,32 +1539,57 @@ xe_migrate_clear_pgtable_callback(struct xe_migrate_pt_update *pt_update,memset64 (ptr, empty, num_qwords); } +static void xe_pt_abort_unbind (struct xe_vma *vma, +struct xe_vm_pgtable_update *entries, +u32 num_entries) +{ +int j, i; + +xe_pt_commit_locks_assert (vma); + +for (j = num_entries -1 ; j >=0 ; --j) { +struct xe_vm_pgtable_update *entry = &entries[j]; +struct xe_pt *pt = entry->pt; +struct xe_pt_dir *pt_dir =as_xe_pt_dir (pt); + + pt->num_live += entry->qwords; + +if (!pt->level) +continue ; + +for (i = entry->ofs; i < entry->ofs + entry->qwords; i++) + pt_dir->children[i] = + entries[j].pt_entries[i - entry->ofs].pt ? + &entries[j].pt_entries[i - entry->ofs].pt->base :0 ; + } +} +static void -xe_pt_commit_unbind (struct xe_vma *vma, -struct xe_vm_pgtable_update *entries,u32 num_entries, -struct llist_head *deferred) +xe_pt_commit_prepare_unbind (struct xe_vma *vma, +struct xe_vm_pgtable_update *entries, +u32 num_entries) { -u32 j; +int j, i;xe_pt_commit_locks_assert (vma);for (j =0 ; j < num_entries; ++j) {struct xe_vm_pgtable_update *entry = &entries[j];struct xe_pt *pt = entry->pt; +struct xe_pt_dir *pt_dir; pt->num_live -= entry->qwords; -if (pt->level) { -struct xe_pt_dir *pt_dir =as_xe_pt_dir (pt); -u32 i; - -for (i = entry->ofs; i < entry->ofs + entry->qwords; - i++) { -if (xe_pt_entry (pt_dir, i)) -xe_pt_destroy (xe_pt_entry (pt_dir, i), -xe_vma_vm (vma)->flags, deferred); +if (!pt->level) +continue ; - pt_dir->children[i] =NULL ; - } + pt_dir =as_xe_pt_dir (pt); +for (i = entry->ofs; i < entry->ofs + entry->qwords; i++) { +if (xe_pt_entry (pt_dir, i)) + entries[j].pt_entries[i - entry->ofs].pt = +xe_pt_entry (pt_dir, i); +else + entries[j].pt_entries[i - entry->ofs].pt =NULL ; + pt_dir->children[i] =NULL ; } } }
@@ -1543,7 +1626,6 @@ static int bind_op_prepare(struct xe_vm *vm, struct xe_tile *tile, {u32 current_op = pt_update_ops->current_op;struct xe_vm_pgtable_update_op *pt_op = &pt_update_ops->ops[current_op]; -struct llist_head *deferred = &pt_update_ops->deferred;int err;xe_bo_assert_held (xe_vma_bo (vma));
@@ -1586,11 +1668,12 @@ static int bind_op_prepare(struct xe_vm *vm, struct xe_tile *tile, (!pt_op->rebind && vm->scratch_pt[tile->id] &&xe_vm_in_preempt_fence_mode (vm)); -/* FIXME: Don't commit right away */ vma->tile_staged |=BIT (tile->id); pt_op->vma = vma; -xe_pt_commit_bind (vma, pt_op->entries, pt_op->num_entries, - pt_op->rebind, deferred); +xe_pt_commit_prepare_bind (vma, pt_op->entries, + pt_op->num_entries, pt_op->rebind); + }else { +xe_pt_cancel_bind (vma, pt_op->entries, pt_op->num_entries); }return err;
@@ -1602,7 +1685,6 @@ static int unbind_op_prepare(struct xe_tile *tile, {u32 current_op = pt_update_ops->current_op;struct xe_vm_pgtable_update_op *pt_op = &pt_update_ops->ops[current_op]; -struct llist_head *deferred = &pt_update_ops->deferred;if (!((vma->tile_present | vma->tile_staged) &BIT (tile->id)))return 0 ;
@@ -1633,9 +1715,7 @@ static int unbind_op_prepare(struct xe_tile *tile, pt_update_ops->needs_userptr_lock |=xe_vma_is_userptr (vma); pt_update_ops->needs_invalidation = true; -/* FIXME: Don't commit right away */ -xe_pt_commit_unbind (vma, pt_op->entries, pt_op->num_entries, - deferred); +xe_pt_commit_prepare_unbind (vma, pt_op->entries, pt_op->num_entries);return 0 ; }
@@ -1851,7 +1931,7 @@ xe_pt_update_ops_run(struct xe_tile *tile, struct xe_vma_ops *vops)struct invalidation_fence *ifence =NULL ;struct xe_range_fence *rfence;struct xe_vma_op *op; -int err =0 ; +int err =0 , i;struct xe_migrate_pt_update update = { .ops = pt_update_ops->needs_userptr_lock ? &userptr_migrate_ops :
@@ -1871,8 +1951,10 @@ xe_pt_update_ops_run(struct xe_tile *tile, struct xe_vma_ops *vops)if (pt_update_ops->needs_invalidation) { ifence =kzalloc (sizeof (*ifence),GFP_KERNEL ); -if (!ifence) -return ERR_PTR (-ENOMEM ); +if (!ifence) { + err = -ENOMEM ; + goto kill_vm_tile1; + } } rfence =kzalloc (sizeof (*rfence),GFP_KERNEL );
@@ -1887,6 +1969,15 @@ xe_pt_update_ops_run(struct xe_tile *tile, struct xe_vma_ops *vops) goto free_rfence; } +/* Point of no return - VM killed if failure after this */ +for (i =0 ; i < pt_update_ops->current_op; ++i) { +struct xe_vm_pgtable_update_op *pt_op = &pt_update_ops->ops[i]; + +xe_pt_commit (pt_op->vma, pt_op->entries, + pt_op->num_entries, &pt_update_ops->deferred); + pt_op->vma =NULL ;/* skip in xe_pt_update_ops_abort */ + } + err = xe_range_fence_insert(&vm->rftree[tile->id], rfence, &xe_range_fence_kfree_ops, pt_update_ops->start,
@@ -1922,10 +2013,15 @@ xe_pt_update_ops_run(struct xe_tile *tile, struct xe_vma_ops *vops)if (pt_update_ops->needs_userptr_lock)up_read (&vm->userptr.notifier_lock);dma_fence_put (fence); +if (!tile->id) +xe_vm_kill (vops->vm, false); free_rfence:kfree (rfence); free_ifence:kfree (ifence); +kill_vm_tile1: +if (tile->id) +xe_vm_kill (vops->vm, false);return ERR_PTR (err); }
@@ -1946,12 +2042,10 @@ void xe_pt_update_ops_fini(struct xe_tile *tile, struct xe_vma_ops *vops)lockdep_assert_held (&vops->vm->lock);xe_vm_assert_held (vops->vm); -/* FIXME: Not 100% correct */ -for (i =0 ; i < pt_update_ops->num_ops; ++i) { +for (i =0 ; i < pt_update_ops->current_op; ++i) {struct xe_vm_pgtable_update_op *pt_op = &pt_update_ops->ops[i]; -if (pt_op->bind) -xe_pt_free_bind (pt_op->entries, pt_op->num_entries); +xe_pt_free_bind (pt_op->entries, pt_op->num_entries); }xe_bo_put_commit (&vops->pt_update_ops[tile->id].deferred); }
@@ -1965,10 +2059,28 @@ void xe_pt_update_ops_fini(struct xe_tile *tile, struct xe_vma_ops *vops)*/ void xe_pt_update_ops_abort (struct xe_tile *tile,struct xe_vma_ops *vops) { +struct xe_vm_pgtable_update_ops *pt_update_ops = + &vops->pt_update_ops[tile->id]; +int i; +lockdep_assert_held (&vops->vm->lock);xe_vm_assert_held (vops->vm); -/* FIXME: Just kill VM for now + cleanup PTs */ +for (i = pt_update_ops->num_ops -1 ; i >=0 ; --i) { +struct xe_vm_pgtable_update_op *pt_op = + &pt_update_ops->ops[i]; + +if (!pt_op->vma || i >= pt_update_ops->current_op) +continue ; + +if (pt_op->bind) +xe_pt_abort_bind (pt_op->vma, pt_op->entries, + pt_op->num_entries, + pt_op->rebind); +else +xe_pt_abort_unbind (pt_op->vma, pt_op->entries, + pt_op->num_entries); + } +xe_bo_put_commit (&vops->pt_update_ops[tile->id].deferred); -xe_vm_kill (vops->vm, false); - } +}
Signature · 1 line
2.34.1
Patchwork
CI✓ CI.Patch_applied: success for Convert multiple bind ops to 1 job
In reply to Matthew Brost== Series Details ==
== Series Details ==
Series: Convert multiple bind ops to 1 job
URL : https://patchwork.freedesktop.org/series/133034/
State : success
== Summary ==
=== Applying kernel patches on branch 'drm-tip' with base: ===
Base commit: acf512bb5ff4 drm-tip: 2024y-04m-29d-15h-11m-22s UTC integration manifest === git am output follows ===
Applying: drm/xe: s/xe_tile_migrate_engine/xe_tile_migrate_exec_queue
Applying: drm/xe: Add xe_vm_pgtable_update_op to xe_vma_ops
Applying: drm/xe: Convert multiple bind ops into single job
Applying: drm/xe: Update VM trace events
Applying: drm/xe: Update PT layer with better error handling
Patchwork
CI✗ CI.checkpatch: warning for Convert multiple bind ops to 1 job
In reply to Matthew Brost== Series Details ==
== Series Details ==
Series: Convert multiple bind ops to 1 job
URL : https://patchwork.freedesktop.org/series/133034/
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 0daf0be5bb95eb0a0e42275e00a0e42d8d8fd543
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 20a4e151b919c37f9d45e82108101adee605704e
Author: Matthew Brost <[email protected]> Date: Mon Apr 29 09:47:13 2024 -0700
drm/xe: Update PT layer with better error handling
Update PT layer so if a memory allocation for a PTE fails the error can be propagated to the user without requiring to be killed.
+ /mt/dim checkpatch acf512bb5ff4d2e8ed5ef67444b6c1f92a222d77 drm-intel d7f72028c671 drm/xe: s/xe_tile_migrate_engine/xe_tile_migrate_exec_queue f04b0237f65d drm/xe: Add xe_vm_pgtable_update_op to xe_vma_opsed98bce36b51 drm/xe: Convert multiple bind ops into single job
-:13: WARNING:TYPO_SPELLING: 'implemenation' may be misspelled - perhaps 'implementation'? #13:
The implemenation is roughly:
^^^^^^^^^^^^^
-:878: WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 15) #878: FILE: drivers/gpu/drm/xe/xe_pt.c:1131:
+ if (uvma->userptr.initial_bind && !xe_vm_in_fault_mode(vm))
+ return 0;
-:879: ERROR:CODE_INDENT: code indent should use tabs where possible #879: FILE: drivers/gpu/drm/xe/xe_pt.c:1132:
+ return 0;$
-:879: WARNING:LEADING_SPACE: please, no spaces at the start of a line #879: FILE: drivers/gpu/drm/xe/xe_pt.c:1132:
+ return 0;$
-:1541: WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line #1541: FILE: drivers/gpu/drm/xe/xe_pt.c:1841:
+ * installing job fence in various places.
+ *
-:1542: WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line #1542: FILE: drivers/gpu/drm/xe/xe_pt.c:1842:
+ *
+ * Return: fence on success, negative ERR_PTR on error.
-:1768: WARNING:LEADING_SPACE: please, no spaces at the start of a line #1768: FILE: drivers/gpu/drm/xe/xe_pt.c:1974:
+ }$
total: 1 errors, 6 warnings, 0 checks, 2499 lines checked fa08171fd5c3 drm/xe: Update VM trace events 20a4e151b919 drm/xe: Update PT layer with better error handling
Patchwork
CI✓ CI.KUnit: success for Convert multiple bind ops to 1 job
In reply to Matthew Brost== Series Details ==
== Series Details ==
Series: Convert multiple bind ops to 1 job
URL : https://patchwork.freedesktop.org/series/133034/
State : success
== Summary ==
+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig [16:53:19] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[16:53:23] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make ARCH=um O=.kunit --jobs=48
../arch/x86/um/user-offsets.c:17:6: warning: no previous prototype for ‘foo’ [-Wmissing-prototypes]
17 | void foo(void)
| ^~~
In file included from ../arch/um/kernel/asm-offsets.c:1:
../arch/x86/um/shared/sysdep/kernel-offsets.h:9:6: warning: no previous prototype for ‘foo’ [-Wmissing-prototypes]
9 | void foo(void)
| ^~~
../arch/x86/um/bugs_64.c:9:6: warning: no previous prototype for ‘arch_check_bugs’ [-Wmissing-prototypes]
9 | void arch_check_bugs(void)
| ^~~~~~~~~~~~~~~
../arch/x86/um/bugs_64.c:13:6: warning: no previous prototype for ‘arch_examine_signal’ [-Wmissing-prototypes]
13 | void arch_examine_signal(int sig, struct uml_pt_regs *regs)
| ^~~~~~~~~~~~~~~~~~~
../arch/x86/um/fault.c:18:5: warning: no previous prototype for ‘arch_fixup’ [-Wmissing-prototypes]
18 | int arch_fixup(unsigned long address, struct uml_pt_regs *regs)
| ^~~~~~~~~~
../arch/x86/um/os-Linux/registers.c:146:15: warning: no previous prototype for ‘get_thread_reg’ [-Wmissing-prototypes]
146 | unsigned long get_thread_reg(int reg, jmp_buf *buf)
| ^~~~~~~~~~~~~~
../arch/x86/um/vdso/um_vdso.c:16:5: warning: no previous prototype for ‘__vdso_clock_gettime’ [-Wmissing-prototypes]
16 | int __vdso_clock_gettime(clockid_t clock, struct __kernel_old_timespec *ts)
| ^~~~~~~~~~~~~~~~~~~~
../arch/x86/um/vdso/um_vdso.c:30:5: warning: no previous prototype for ‘__vdso_gettimeofday’ [-Wmissing-prototypes]
30 | int __vdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz)
| ^~~~~~~~~~~~~~~~~~~
../arch/x86/um/vdso/um_vdso.c:44:21: warning: no previous prototype for ‘__vdso_time’ [-Wmissing-prototypes]
44 | __kernel_old_time_t __vdso_time(__kernel_old_time_t *t)
| ^~~~~~~~~~~
../arch/x86/um/vdso/um_vdso.c:57:1: warning: no previous prototype for ‘__vdso_getcpu’ [-Wmissing-prototypes]
57 | __vdso_getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *unused)
| ^~~~~~~~~~~~~
../arch/um/os-Linux/skas/process.c:107:6: warning: no previous prototype for ‘wait_stub_done’ [-Wmissing-prototypes]
107 | void wait_stub_done(int pid)
| ^~~~~~~~~~~~~~
../arch/um/os-Linux/skas/process.c:683:6: warning: no previous prototype for ‘__switch_mm’ [-Wmissing-prototypes]
683 | void __switch_mm(struct mm_id *mm_idp)
| ^~~~~~~~~~~
../arch/x86/um/os-Linux/mcontext.c:7:6: warning: no previous prototype for ‘get_regs_from_mc’ [-Wmissing-prototypes]
7 | void get_regs_from_mc(struct uml_pt_regs *regs, mcontext_t *mc)
| ^~~~~~~~~~~~~~~~
../arch/um/kernel/skas/process.c:36:12: warning: no previous prototype for ‘start_uml’ [-Wmissing-prototypes]
36 | int __init start_uml(void)
| ^~~~~~~~~
../arch/um/kernel/skas/mmu.c:17:5: warning: no previous prototype for ‘init_new_context’ [-Wmissing-prototypes]
17 | int init_new_context(struct task_struct *task, struct mm_struct *mm)
| ^~~~~~~~~~~~~~~~
../arch/um/kernel/skas/mmu.c:60:6: warning: no previous prototype for ‘destroy_context’ [-Wmissing-prototypes]
60 | void destroy_context(struct mm_struct *mm)
| ^~~~~~~~~~~~~~~
../arch/x86/um/ptrace_64.c:111:5: warning: no previous prototype for ‘poke_user’ [-Wmissing-prototypes]
111 | int poke_user(struct task_struct *child, long addr, long data)
| ^~~~~~~~~
../arch/x86/um/ptrace_64.c:171:5: warning: no previous prototype for ‘peek_user’ [-Wmissing-prototypes]
171 | int peek_user(struct task_struct *child, long addr, long data)
| ^~~~~~~~~
../arch/um/os-Linux/main.c:187:7: warning: no previous prototype for ‘__wrap_malloc’ [-Wmissing-prototypes]
187 | void *__wrap_malloc(int size)
| ^~~~~~~~~~~~~
../arch/um/os-Linux/main.c:208:7: warning: no previous prototype for ‘__wrap_calloc’ [-Wmissing-prototypes]
208 | void *__wrap_calloc(int n, int size)
| ^~~~~~~~~~~~~
../arch/um/os-Linux/main.c:222:6: warning: no previous prototype for ‘__wrap_free’ [-Wmissing-prototypes]
222 | void __wrap_free(void *ptr)
| ^~~~~~~~~~~
../arch/um/os-Linux/mem.c:28:6: warning: no previous prototype for ‘kasan_map_memory’ [-Wmissing-prototypes]
28 | void kasan_map_memory(void *start, size_t len)
| ^~~~~~~~~~~~~~~~
../arch/um/os-Linux/mem.c:212:13: warning: no previous prototype for ‘check_tmpexec’ [-Wmissing-prototypes]
212 | void __init check_tmpexec(void)
| ^~~~~~~~~~~~~
../arch/x86/um/signal.c:560:6: warning: no previous prototype for ‘sys_rt_sigreturn’ [-Wmissing-prototypes]
560 | long sys_rt_sigreturn(void)
| ^~~~~~~~~~~~~~~~
../arch/um/os-Linux/signal.c:75:6: warning: no previous prototype for ‘sig_handler’ [-Wmissing-prototypes]
75 | void sig_handler(int sig, struct siginfo *si, mcontext_t *mc)
| ^~~~~~~~~~~
../arch/um/os-Linux/signal.c:111:6: warning: no previous prototype for ‘timer_alarm_handler’ [-Wmissing-prototypes]
111 | void timer_alarm_handler(int sig, struct siginfo *unused_si, mcontext_t *mc)
| ^~~~~~~~~~~~~~~~~~~
../arch/um/os-Linux/start_up.c:301:12: warning: no previous prototype for ‘parse_iomem’ [-Wmissing-prototypes]
301 | int __init parse_iomem(char *str, int *add)
| ^~~~~~~~~~~
../arch/um/kernel/mem.c:202:8: warning: no previous prototype for ‘pgd_alloc’ [-Wmissing-prototypes]
202 | pgd_t *pgd_alloc(struct mm_struct *mm)
| ^~~~~~~~~
../arch/um/kernel/mem.c:215:7: warning: no previous prototype for ‘uml_kmalloc’ [-Wmissing-prototypes]
215 | void *uml_kmalloc(int size, int flags)
| ^~~~~~~~~~~
../arch/um/kernel/process.c:51:5: warning: no previous prototype for ‘pid_to_processor_id’ [-Wmissing-prototypes]
51 | int pid_to_processor_id(int pid)
| ^~~~~~~~~~~~~~~~~~~
../arch/um/kernel/process.c:87:7: warning: no previous prototype for ‘__switch_to’ [-Wmissing-prototypes]
87 | void *__switch_to(struct task_struct *from, struct task_struct *to)
| ^~~~~~~~~~~
../arch/um/kernel/process.c:140:6: warning: no previous prototype for ‘fork_handler’ [-Wmissing-prototypes]
140 | void fork_handler(void)
| ^~~~~~~~~~~~
../arch/um/kernel/process.c:217:6: warning: no previous prototype for ‘arch_cpu_idle’ [-Wmissing-prototypes]
217 | void arch_cpu_idle(void)
| ^~~~~~~~~~~~~
../arch/um/kernel/process.c:253:5: warning: no previous prototype for ‘copy_to_user_proc’ [-Wmissing-prototypes]
253 | int copy_to_user_proc(void __user *to, void *from, int size)
| ^~~~~~~~~~~~~~~~~
../arch/um/kernel/process.c:263:5: warning: no previous prototype for ‘clear_user_proc’ [-Wmissing-prototypes]
263 | int clear_user_proc(void __user *buf, int size)
| ^~~~~~~~~~~~~~~
../arch/um/kernel/process.c:271:6: warning: no previous prototype for ‘set_using_sysemu’ [-Wmissing-prototypes]
271 | void set_using_sysemu(int value)
| ^~~~~~~~~~~~~~~~
../arch/um/kernel/process.c:278:5: warning: no previous prototype for ‘get_using_sysemu’ [-Wmissing-prototypes]
278 | int get_using_sysemu(void)
| ^~~~~~~~~~~~~~~~
../arch/um/kernel/process.c:316:12: warning: no previous prototype for ‘make_proc_sysemu’ [-Wmissing-prototypes]
316 | int __init make_proc_sysemu(void)
| ^~~~~~~~~~~~~~~~
../arch/um/kernel/process.c:348:15: warning: no previous prototype for ‘arch_align_stack’ [-Wmissing-prototypes]
348 | unsigned long arch_align_stack(unsigned long sp)
| ^~~~~~~~~~~~~~~~
../arch/um/kernel/reboot.c:45:6: warning: no previous prototype for ‘machine_restart’ [-Wmissing-prototypes]
45 | void machine_restart(char * __unused)
| ^~~~~~~~~~~~~~~
../arch/um/kernel/reboot.c:51:6: warning: no previous prototype for ‘machine_power_off’ [-Wmissing-prototypes]
51 | void machine_power_off(void)
| ^~~~~~~~~~~~~~~~~
../arch/um/kernel/reboot.c:57:6: warning: no previous prototype for ‘machine_halt’ [-Wmissing-prototypes]
57 | void machine_halt(void)
| ^~~~~~~~~~~~
../arch/x86/um/syscalls_64.c:48:6: warning: no previous prototype for ‘arch_switch_to’ [-Wmissing-prototypes]
48 | void arch_switch_to(struct task_struct *to)
| ^~~~~~~~~~~~~~
../arch/um/kernel/tlb.c:579:6: warning: no previous prototype for ‘flush_tlb_mm_range’ [-Wmissing-prototypes]
579 | void flush_tlb_mm_range(struct mm_struct *mm, unsigned long start,
| ^~~~~~~~~~~~~~~~~~
../arch/um/kernel/tlb.c:594:6: warning: no previous prototype for ‘force_flush_all’ [-Wmissing-prototypes]
594 | void force_flush_all(void)
| ^~~~~~~~~~~~~~~
../arch/um/kernel/um_arch.c:408:19: warning: no previous prototype for ‘read_initrd’ [-Wmissing-prototypes]
408 | int __init __weak read_initrd(void)
| ^~~~~~~~~~~
../arch/um/kernel/um_arch.c:461:7: warning: no previous prototype for ‘text_poke’ [-Wmissing-prototypes]
461 | void *text_poke(void *addr, const void *opcode, size_t len)
| ^~~~~~~~~
../arch/um/kernel/um_arch.c:473:6: warning: no previous prototype for ‘text_poke_sync’ [-Wmissing-prototypes]
473 | void text_poke_sync(void)
| ^~~~~~~~~~~~~~
../arch/um/kernel/kmsg_dump.c:60:12: warning: no previous prototype for ‘kmsg_dumper_stdout_init’ [-Wmissing-prototypes]
60 | int __init kmsg_dumper_stdout_init(void)
| ^~~~~~~~~~~~~~~~~~~~~~~
../lib/iomap.c:156:5: warning: no previous prototype for ‘ioread64_lo_hi’ [-Wmissing-prototypes]
156 | u64 ioread64_lo_hi(const void __iomem *addr)
| ^~~~~~~~~~~~~~
../lib/iomap.c:163:5: warning: no previous prototype for ‘ioread64_hi_lo’ [-Wmissing-prototypes]
163 | u64 ioread64_hi_lo(const void __iomem *addr)
| ^~~~~~~~~~~~~~
../lib/iomap.c:170:5: warning: no previous prototype for ‘ioread64be_lo_hi’ [-Wmissing-prototypes]
170 | u64 ioread64be_lo_hi(const void __iomem *addr)
| ^~~~~~~~~~~~~~~~
../lib/iomap.c:178:5: warning: no previous prototype for ‘ioread64be_hi_lo’ [-Wmissing-prototypes]
178 | u64 ioread64be_hi_lo(const void __iomem *addr)
| ^~~~~~~~~~~~~~~~
../lib/iomap.c:264:6: warning: no previous prototype for ‘iowrite64_lo_hi’ [-Wmissing-prototypes]
264 | void iowrite64_lo_hi(u64 val, void __iomem *addr)
| ^~~~~~~~~~~~~~~
../lib/iomap.c:272:6: warning: no previous prototype for ‘iowrite64_hi_lo’ [-Wmissing-prototypes]
272 | void iowrite64_hi_lo(u64 val, void __iomem *addr)
| ^~~~~~~~~~~~~~~
../lib/iomap.c:280:6: warning: no previous prototype for ‘iowrite64be_lo_hi’ [-Wmissing-prototypes]
280 | void iowrite64be_lo_hi(u64 val, void __iomem *addr)
| ^~~~~~~~~~~~~~~~~
../lib/iomap.c:288:6: warning: no previous prototype for ‘iowrite64be_hi_lo’ [-Wmissing-prototypes]
288 | void iowrite64be_hi_lo(u64 val, void __iomem *addr)
| ^~~~~~~~~~~~~~~~~
stty: 'standard input': Inappropriate ioctl for device[16:53:49] Starting KUnit Kernel (1/1)...
[16:53:49] ============================================================ Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [16:53:49] =================== guc_dbm (7 subtests) =================== [16:53:49] [PASSED] test_empty [16:53:49] [PASSED] test_default [16:53:49] ======================== test_size ======================== [16:53:49] [PASSED] 4 [16:53:49] [PASSED] 8 [16:53:49] [PASSED] 32 [16:53:49] [PASSED] 256 [16:53:49] ==================== [PASSED] test_size ==================== [16:53:49] ======================= test_reuse ======================== [16:53:49] [PASSED] 4 [16:53:49] [PASSED] 8 [16:53:49] [PASSED] 32 [16:53:49] [PASSED] 256 [16:53:49] =================== [PASSED] test_reuse ==================== [16:53:49] =================== test_range_overlap ==================== [16:53:49] [PASSED] 4 [16:53:49] [PASSED] 8 [16:53:49] [PASSED] 32 [16:53:49] [PASSED] 256 [16:53:49] =============== [PASSED] test_range_overlap ================ [16:53:49] =================== test_range_compact ==================== [16:53:49] [PASSED] 4 [16:53:49] [PASSED] 8 [16:53:49] [PASSED] 32 [16:53:49] [PASSED] 256 [16:53:49] =============== [PASSED] test_range_compact ================ [16:53:49] ==================== test_range_spare ===================== [16:53:49] [PASSED] 4 [16:53:49] [PASSED] 8 [16:53:49] [PASSED] 32 [16:53:49] [PASSED] 256 [16:53:49] ================ [PASSED] test_range_spare ================= [16:53:49] ===================== [PASSED] guc_dbm ===================== [16:53:49] =================== guc_idm (6 subtests) =================== [16:53:49] [PASSED] bad_init [16:53:49] [PASSED] no_init [16:53:49] [PASSED] init_fini [16:53:49] [PASSED] check_used [16:53:49] [PASSED] check_quota [16:53:49] [PASSED] check_all [16:53:49] ===================== [PASSED] guc_idm ===================== [16:53:49] ================== no_relay (3 subtests) =================== [16:53:49] [PASSED] xe_drops_guc2pf_if_not_ready [16:53:49] [PASSED] xe_drops_guc2vf_if_not_ready [16:53:49] [PASSED] xe_rejects_send_if_not_ready [16:53:49] ==================== [PASSED] no_relay ===================== [16:53:49] ================== pf_relay (14 subtests) ================== [16:53:49] [PASSED] pf_rejects_guc2pf_too_short [16:53:49] [PASSED] pf_rejects_guc2pf_too_long [16:53:49] [PASSED] pf_rejects_guc2pf_no_payload [16:53:49] [PASSED] pf_fails_no_payload [16:53:49] [PASSED] pf_fails_bad_origin [16:53:49] [PASSED] pf_fails_bad_type [16:53:49] [PASSED] pf_txn_reports_error [16:53:49] [PASSED] pf_txn_sends_pf2guc [16:53:49] [PASSED] pf_sends_pf2guc [16:53:49] [SKIPPED] pf_loopback_nop [16:53:49] [SKIPPED] pf_loopback_echo [16:53:49] [SKIPPED] pf_loopback_fail [16:53:49] [SKIPPED] pf_loopback_busy [16:53:49] [SKIPPED] pf_loopback_retry [16:53:49] ==================== [PASSED] pf_relay ===================== [16:53:49] ================== vf_relay (3 subtests) =================== [16:53:49] [PASSED] vf_rejects_guc2vf_too_short [16:53:49] [PASSED] vf_rejects_guc2vf_too_long [16:53:49] [PASSED] vf_rejects_guc2vf_no_payload [16:53:49] ==================== [PASSED] vf_relay ===================== [16:53:49] ================= pf_service (11 subtests) ================= [16:53:49] [PASSED] pf_negotiate_any [16:53:49] [PASSED] pf_negotiate_base_match [16:53:49] [PASSED] pf_negotiate_base_newer [16:53:49] [PASSED] pf_negotiate_base_next [16:53:49] [SKIPPED] pf_negotiate_base_older [16:53:49] [PASSED] pf_negotiate_base_prev [16:53:49] [PASSED] pf_negotiate_latest_match [16:53:49] [PASSED] pf_negotiate_latest_newer [16:53:49] [PASSED] pf_negotiate_latest_next [16:53:49] [SKIPPED] pf_negotiate_latest_older [16:53:49] [SKIPPED] pf_negotiate_latest_prev [16:53:49] =================== [PASSED] pf_service ==================== [16:53:49] ===================== lmtt (1 subtest) ===================== [16:53:49] ======================== test_ops ========================= [16:53:49] [PASSED] 2-level [16:53:49] [PASSED] multi-level [16:53:49] ==================== [PASSED] test_ops ===================== [16:53:49] ====================== [PASSED] lmtt ======================= [16:53:49] ==================== xe_bo (2 subtests) ==================== [16:53:49] [SKIPPED] xe_ccs_migrate_kunit [16:53:49] [SKIPPED] xe_bo_evict_kunit [16:53:49] ===================== [SKIPPED] xe_bo ====================== [16:53:49] ================== xe_dma_buf (1 subtest) ================== [16:53:49] [SKIPPED] xe_dma_buf_kunit [16:53:49] =================== [SKIPPED] xe_dma_buf =================== [16:53:49] ================== xe_migrate (1 subtest) ================== [16:53:49] [SKIPPED] xe_migrate_sanity_kunit [16:53:49] =================== [SKIPPED] xe_migrate =================== [16:53:49] =================== xe_mocs (2 subtests) =================== [16:53:49] [SKIPPED] xe_live_mocs_kernel_kunit [16:53:49] [SKIPPED] xe_live_mocs_reset_kunit [16:53:49] ==================== [SKIPPED] xe_mocs ===================== [16:53:49] =================== xe_pci (2 subtests) ==================== [16:53:49] [PASSED] xe_gmdid_graphics_ip [16:53:49] [PASSED] xe_gmdid_media_ip [16:53:49] ===================== [PASSED] xe_pci ====================== [16:53:49] ==================== xe_rtp (1 subtest) ==================== [16:53:49] ================== xe_rtp_process_tests =================== [16:53:49] [PASSED] coalesce-same-reg [16:53:49] [PASSED] no-match-no-add [16:53:49] [PASSED] no-match-no-add-multiple-rules [16:53:49] [PASSED] two-regs-two-entries [16:53:49] [PASSED] clr-one-set-other [16:53:49] [PASSED] set-field [16:53:49] [PASSED] conflict-duplicate [16:53:49] [PASSED] conflict-not-disjoint [16:53:49] [PASSED] conflict-reg-type [16:53:49] ============== [PASSED] xe_rtp_process_tests =============== [16:53:49] ===================== [PASSED] xe_rtp ====================== [16:53:49] ==================== xe_wa (1 subtest) ===================== [16:53:49] ======================== xe_wa_gt ========================= [16:53:49] [PASSED] TIGERLAKE (B0) [16:53:49] [PASSED] DG1 (A0) [16:53:49] [PASSED] DG1 (B0) [16:53:49] [PASSED] ALDERLAKE_S (A0) [16:53:49] [PASSED] ALDERLAKE_S (B0) [16:53:49] [PASSED] ALDERLAKE_S (C0) [16:53:49] [PASSED] ALDERLAKE_S (D0) [16:53:49] [PASSED] ALDERLAKE_P (A0) [16:53:49] [PASSED] ALDERLAKE_P (B0) [16:53:49] [PASSED] ALDERLAKE_P (C0) [16:53:49] [PASSED] ALDERLAKE_S_RPLS (D0) [16:53:49] [PASSED] ALDERLAKE_P_RPLU (E0) [16:53:49] [PASSED] DG2_G10 (C0) [16:53:49] [PASSED] DG2_G11 (B1) [16:53:49] [PASSED] DG2_G12 (A1) [16:53:49] [PASSED] METEORLAKE (g:A0, m:A0) [16:53:49] [PASSED] METEORLAKE (g:A0, m:A0) [16:53:49] [PASSED] METEORLAKE (g:A0, m:A0) [16:53:49] [PASSED] LUNARLAKE (g:A0, m:A0) [16:53:49] [PASSED] LUNARLAKE (g:B0, m:A0) [16:53:49] ==================== [PASSED] xe_wa_gt ===================== [16:53:49] ====================== [PASSED] xe_wa ====================== [16:53:49] ============================================================ [16:53:49] Testing complete. Ran 98 tests: passed: 84, skipped: 14 [16:53:49] Elapsed time: 29.586s total, 4.255s configuring, 25.110s building, 0.190s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig [16:53:49] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[16:53:51] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make ARCH=um O=.kunit --jobs=48
In file included from ../arch/um/kernel/asm-offsets.c:1:
../arch/x86/um/shared/sysdep/kernel-offsets.h:9:6: warning: no previous prototype for ‘foo’ [-Wmissing-prototypes]
9 | void foo(void)
| ^~~
../arch/x86/um/ptrace_64.c:111:5: warning: no previous prototype for ‘poke_user’ [-Wmissing-prototypes]
111 | int poke_user(struct task_struct *child, long addr, long data)
| ^~~~~~~~~
../arch/x86/um/ptrace_64.c:171:5: warning: no previous prototype for ‘peek_user’ [-Wmissing-prototypes]
171 | int peek_user(struct task_struct *child, long addr, long data)
| ^~~~~~~~~
../arch/x86/um/signal.c:560:6: warning: no previous prototype for ‘sys_rt_sigreturn’ [-Wmissing-prototypes]
560 | long sys_rt_sigreturn(void)
| ^~~~~~~~~~~~~~~~
../arch/um/kernel/mem.c:202:8: warning: no previous prototype for ‘pgd_alloc’ [-Wmissing-prototypes]
202 | pgd_t *pgd_alloc(struct mm_struct *mm)
| ^~~~~~~~~
../arch/um/kernel/mem.c:215:7: warning: no previous prototype for ‘uml_kmalloc’ [-Wmissing-prototypes]
215 | void *uml_kmalloc(int size, int flags)
| ^~~~~~~~~~~
../arch/um/kernel/process.c:51:5: warning: no previous prototype for ‘pid_to_processor_id’ [-Wmissing-prototypes]
51 | int pid_to_processor_id(int pid)
| ^~~~~~~~~~~~~~~~~~~
../arch/um/kernel/process.c:87:7: warning: no previous prototype for ‘__switch_to’ [-Wmissing-prototypes]
87 | void *__switch_to(struct task_struct *from, struct task_struct *to)
| ^~~~~~~~~~~
../arch/um/kernel/process.c:140:6: warning: no previous prototype for ‘fork_handler’ [-Wmissing-prototypes]
140 | void fork_handler(void)
| ^~~~~~~~~~~~
../arch/um/kernel/process.c:217:6: warning: no previous prototype for ‘arch_cpu_idle’ [-Wmissing-prototypes]
217 | void arch_cpu_idle(void)
| ^~~~~~~~~~~~~
../arch/um/kernel/process.c:253:5: warning: no previous prototype for ‘copy_to_user_proc’ [-Wmissing-prototypes]
253 | int copy_to_user_proc(void __user *to, void *from, int size)
| ^~~~~~~~~~~~~~~~~
../arch/um/kernel/process.c:263:5: warning: no previous prototype for ‘clear_user_proc’ [-Wmissing-prototypes]
263 | int clear_user_proc(void __user *buf, int size)
| ^~~~~~~~~~~~~~~
../arch/um/kernel/process.c:271:6: warning: no previous prototype for ‘set_using_sysemu’ [-Wmissing-prototypes]
271 | void set_using_sysemu(int value)
| ^~~~~~~~~~~~~~~~
../arch/um/kernel/process.c:278:5: warning: no previous prototype for ‘get_using_sysemu’ [-Wmissing-prototypes]
278 | int get_using_sysemu(void)
| ^~~~~~~~~~~~~~~~
../arch/um/kernel/process.c:316:12: warning: no previous prototype for ‘make_proc_sysemu’ [-Wmissing-prototypes]
316 | int __init make_proc_sysemu(void)
| ^~~~~~~~~~~~~~~~
../arch/um/kernel/process.c:348:15: warning: no previous prototype for ‘arch_align_stack’ [-Wmissing-prototypes]
348 | unsigned long arch_align_stack(unsigned long sp)
| ^~~~~~~~~~~~~~~~
../arch/um/kernel/reboot.c:45:6: warning: no previous prototype for ‘machine_restart’ [-Wmissing-prototypes]
45 | void machine_restart(char * __unused)
| ^~~~~~~~~~~~~~~
../arch/um/kernel/reboot.c:51:6: warning: no previous prototype for ‘machine_power_off’ [-Wmissing-prototypes]
51 | void machine_power_off(void)
| ^~~~~~~~~~~~~~~~~
../arch/um/kernel/reboot.c:57:6: warning: no previous prototype for ‘machine_halt’ [-Wmissing-prototypes]
57 | void machine_halt(void)
| ^~~~~~~~~~~~
../arch/x86/um/syscalls_64.c:48:6: warning: no previous prototype for ‘arch_switch_to’ [-Wmissing-prototypes]
48 | void arch_switch_to(struct task_struct *to)
| ^~~~~~~~~~~~~~
../arch/um/kernel/tlb.c:579:6: warning: no previous prototype for ‘flush_tlb_mm_range’ [-Wmissing-prototypes]
579 | void flush_tlb_mm_range(struct mm_struct *mm, unsigned long start,
| ^~~~~~~~~~~~~~~~~~
../arch/um/kernel/tlb.c:594:6: warning: no previous prototype for ‘force_flush_all’ [-Wmissing-prototypes]
594 | void force_flush_all(void)
| ^~~~~~~~~~~~~~~
../arch/um/kernel/um_arch.c:408:19: warning: no previous prototype for ‘read_initrd’ [-Wmissing-prototypes]
408 | int __init __weak read_initrd(void)
| ^~~~~~~~~~~
../arch/um/kernel/um_arch.c:461:7: warning: no previous prototype for ‘text_poke’ [-Wmissing-prototypes]
461 | void *text_poke(void *addr, const void *opcode, size_t len)
| ^~~~~~~~~
../arch/um/kernel/um_arch.c:473:6: warning: no previous prototype for ‘text_poke_sync’ [-Wmissing-prototypes]
473 | void text_poke_sync(void)
| ^~~~~~~~~~~~~~
../arch/um/kernel/kmsg_dump.c:60:12: warning: no previous prototype for ‘kmsg_dumper_stdout_init’ [-Wmissing-prototypes]
60 | int __init kmsg_dumper_stdout_init(void)
| ^~~~~~~~~~~~~~~~~~~~~~~
../arch/um/kernel/skas/process.c:36:12: warning: no previous prototype for ‘start_uml’ [-Wmissing-prototypes]
36 | int __init start_uml(void)
| ^~~~~~~~~
../arch/um/kernel/skas/mmu.c:17:5: warning: no previous prototype for ‘init_new_context’ [-Wmissing-prototypes]
17 | int init_new_context(struct task_struct *task, struct mm_struct *mm)
| ^~~~~~~~~~~~~~~~
../arch/um/kernel/skas/mmu.c:60:6: warning: no previous prototype for ‘destroy_context’ [-Wmissing-prototypes]
60 | void destroy_context(struct mm_struct *mm)
| ^~~~~~~~~~~~~~~
../lib/iomap.c:156:5: warning: no previous prototype for ‘ioread64_lo_hi’ [-Wmissing-prototypes]
156 | u64 ioread64_lo_hi(const void __iomem *addr)
| ^~~~~~~~~~~~~~
../lib/iomap.c:163:5: warning: no previous prototype for ‘ioread64_hi_lo’ [-Wmissing-prototypes]
163 | u64 ioread64_hi_lo(const void __iomem *addr)
| ^~~~~~~~~~~~~~
../lib/iomap.c:170:5: warning: no previous prototype for ‘ioread64be_lo_hi’ [-Wmissing-prototypes]
170 | u64 ioread64be_lo_hi(const void __iomem *addr)
| ^~~~~~~~~~~~~~~~
../lib/iomap.c:178:5: warning: no previous prototype for ‘ioread64be_hi_lo’ [-Wmissing-prototypes]
178 | u64 ioread64be_hi_lo(const void __iomem *addr)
| ^~~~~~~~~~~~~~~~
../lib/iomap.c:264:6: warning: no previous prototype for ‘iowrite64_lo_hi’ [-Wmissing-prototypes]
264 | void iowrite64_lo_hi(u64 val, void __iomem *addr)
| ^~~~~~~~~~~~~~~
../lib/iomap.c:272:6: warning: no previous prototype for ‘iowrite64_hi_lo’ [-Wmissing-prototypes]
272 | void iowrite64_hi_lo(u64 val, void __iomem *addr)
| ^~~~~~~~~~~~~~~
../lib/iomap.c:280:6: warning: no previous prototype for ‘iowrite64be_lo_hi’ [-Wmissing-prototypes]
280 | void iowrite64be_lo_hi(u64 val, void __iomem *addr)
| ^~~~~~~~~~~~~~~~~
../lib/iomap.c:288:6: warning: no previous prototype for ‘iowrite64be_hi_lo’ [-Wmissing-prototypes]
288 | void iowrite64be_hi_lo(u64 val, void __iomem *addr)
| ^~~~~~~~~~~~~~~~~[16:54:12] Starting KUnit Kernel (1/1)...
[16:54:12] ============================================================ Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [16:54:12] ============ drm_test_pick_cmdline (2 subtests) ============ [16:54:12] [PASSED] drm_test_pick_cmdline_res_1920_1080_60 [16:54:12] =============== drm_test_pick_cmdline_named =============== [16:54:12] [PASSED] NTSC [16:54:12] [PASSED] NTSC-J [16:54:12] [PASSED] PAL [16:54:12] [PASSED] PAL-M [16:54:12] =========== [PASSED] drm_test_pick_cmdline_named =========== [16:54:12] ============== [PASSED] drm_test_pick_cmdline ============== [16:54:12] ================== drm_buddy (7 subtests) ================== [16:54:12] [PASSED] drm_test_buddy_alloc_limit [16:54:12] [PASSED] drm_test_buddy_alloc_optimistic [16:54:12] [PASSED] drm_test_buddy_alloc_pessimistic [16:54:12] [PASSED] drm_test_buddy_alloc_pathological [16:54:12] [PASSED] drm_test_buddy_alloc_contiguous [16:54:12] [PASSED] drm_test_buddy_alloc_clear [16:54:12] [PASSED] drm_test_buddy_alloc_range_bias [16:54:12] ==================== [PASSED] drm_buddy ==================== [16:54:12] ============= drm_cmdline_parser (40 subtests) ============= [16:54:12] [PASSED] drm_test_cmdline_force_d_only [16:54:12] [PASSED] drm_test_cmdline_force_D_only_dvi [16:54:12] [PASSED] drm_test_cmdline_force_D_only_hdmi [16:54:12] [PASSED] drm_test_cmdline_force_D_only_not_digital [16:54:12] [PASSED] drm_test_cmdline_force_e_only [16:54:12] [PASSED] drm_test_cmdline_res [16:54:12] [PASSED] drm_test_cmdline_res_vesa [16:54:12] [PASSED] drm_test_cmdline_res_vesa_rblank [16:54:12] [PASSED] drm_test_cmdline_res_rblank [16:54:12] [PASSED] drm_test_cmdline_res_bpp [16:54:12] [PASSED] drm_test_cmdline_res_refresh [16:54:12] [PASSED] drm_test_cmdline_res_bpp_refresh [16:54:12] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced [16:54:12] [PASSED] drm_test_cmdline_res_bpp_refresh_margins [16:54:12] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off [16:54:12] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on [16:54:12] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog [16:54:12] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital [16:54:12] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on [16:54:12] [PASSED] drm_test_cmdline_res_margins_force_on [16:54:12] [PASSED] drm_test_cmdline_res_vesa_margins [16:54:12] [PASSED] drm_test_cmdline_name [16:54:12] [PASSED] drm_test_cmdline_name_bpp [16:54:12] [PASSED] drm_test_cmdline_name_option [16:54:12] [PASSED] drm_test_cmdline_name_bpp_option [16:54:12] [PASSED] drm_test_cmdline_rotate_0 [16:54:12] [PASSED] drm_test_cmdline_rotate_90 [16:54:12] [PASSED] drm_test_cmdline_rotate_180 [16:54:12] [PASSED] drm_test_cmdline_rotate_270 [16:54:12] [PASSED] drm_test_cmdline_hmirror [16:54:12] [PASSED] drm_test_cmdline_vmirror [16:54:12] [PASSED] drm_test_cmdline_margin_options [16:54:12] [PASSED] drm_test_cmdline_multiple_options [16:54:12] [PASSED] drm_test_cmdline_bpp_extra_and_option [16:54:12] [PASSED] drm_test_cmdline_extra_and_option [16:54:12] [PASSED] drm_test_cmdline_freestanding_options [16:54:12] [PASSED] drm_test_cmdline_freestanding_force_e_and_options [16:54:12] [PASSED] drm_test_cmdline_panel_orientation [16:54:12] ================ drm_test_cmdline_invalid ================= [16:54:12] [PASSED] margin_only [16:54:12] [PASSED] interlace_only [16:54:12] [PASSED] res_missing_x [16:54:12] [PASSED] res_missing_y [16:54:12] [PASSED] res_bad_y [16:54:12] [PASSED] res_missing_y_bpp [16:54:12] [PASSED] res_bad_bpp [16:54:12] [PASSED] res_bad_refresh [16:54:12] [PASSED] res_bpp_refresh_force_on_off [16:54:12] [PASSED] res_invalid_mode [16:54:12] [PASSED] res_bpp_wrong_place_mode [16:54:12] [PASSED] name_bpp_refresh [16:54:12] [PASSED] name_refresh [16:54:12] [PASSED] name_refresh_wrong_mode [16:54:12] [PASSED] name_refresh_invalid_mode [16:54:12] [PASSED] rotate_multiple [16:54:12] [PASSED] rotate_invalid_val [16:54:12] [PASSED] rotate_truncated [16:54:12] [PASSED] invalid_option [16:54:12] [PASSED] invalid_tv_option [16:54:12] [PASSED] truncated_tv_option [16:54:12] ============ [PASSED] drm_test_cmdline_invalid ============= [16:54:12] =============== drm_test_cmdline_tv_options =============== [16:54:12] [PASSED] NTSC [16:54:12] [PASSED] NTSC_443 [16:54:12] [PASSED] NTSC_J [16:54:12] [PASSED] PAL [16:54:12] [PASSED] PAL_M [16:54:12] [PASSED] PAL_N [16:54:12] [PASSED] SECAM [16:54:12] =========== [PASSED] drm_test_cmdline_tv_options =========== [16:54:12] =============== [PASSED] drm_cmdline_parser ================ [16:54:12] ============= drmm_connector_init (3 subtests) ============= [16:54:12] [PASSED] drm_test_drmm_connector_init [16:54:12] [PASSED] drm_test_drmm_connector_init_null_ddc [16:54:12] ========= drm_test_drmm_connector_init_type_valid ========= [16:54:12] [PASSED] Unknown [16:54:12] [PASSED] VGA [16:54:12] [PASSED] DVI-I [16:54:12] [PASSED] DVI-D [16:54:12] [PASSED] DVI-A [16:54:12] [PASSED] Composite [16:54:12] [PASSED] SVIDEO [16:54:12] [PASSED] LVDS [16:54:12] [PASSED] Component [16:54:12] [PASSED] DIN [16:54:12] [PASSED] DP [16:54:12] [PASSED] HDMI-A [16:54:12] [PASSED] HDMI-B [16:54:12] [PASSED] TV [16:54:12] [PASSED] eDP [16:54:12] [PASSED] Virtual [16:54:12] [PASSED] DSI [16:54:12] [PASSED] DPI [16:54:12] [PASSED] Writeback [16:54:12] [PASSED] SPI [16:54:12] [PASSED] USB [16:54:12] ===== [PASSED] drm_test_drmm_connector_init_type_valid ===== [16:54:12] =============== [PASSED] drmm_connector_init =============== [16:54:12] ========== drm_get_tv_mode_from_name (2 subtests) ========== [16:54:12] ========== drm_test_get_tv_mode_from_name_valid =========== [16:54:12] [PASSED] NTSC [16:54:12] [PASSED] NTSC-443 [16:54:12] [PASSED] NTSC-J [16:54:12] [PASSED] PAL [16:54:12] [PASSED] PAL-M [16:54:12] [PASSED] PAL-N [16:54:12] [PASSED] SECAM [16:54:12] ====== [PASSED] drm_test_get_tv_mode_from_name_valid ======= [16:54:12] [PASSED] drm_test_get_tv_mode_from_name_truncated [16:54:12] ============ [PASSED] drm_get_tv_mode_from_name ============ [16:54:12] ============= drm_damage_helper (21 subtests) ============== [16:54:12] [PASSED] drm_test_damage_iter_no_damage [16:54:12] [PASSED] drm_test_damage_iter_no_damage_fractional_src [16:54:12] [PASSED] drm_test_damage_iter_no_damage_src_moved [16:54:12] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved [16:54:12] [PASSED] drm_test_damage_iter_no_damage_not_visible [16:54:12] [PASSED] drm_test_damage_iter_no_damage_no_crtc [16:54:12] [PASSED] drm_test_damage_iter_no_damage_no_fb [16:54:12] [PASSED] drm_test_damage_iter_simple_damage [16:54:12] [PASSED] drm_test_damage_iter_single_damage [16:54:12] [PASSED] drm_test_damage_iter_single_damage_intersect_src [16:54:12] [PASSED] drm_test_damage_iter_single_damage_outside_src [16:54:12] [PASSED] drm_test_damage_iter_single_damage_fractional_src [16:54:12] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src [16:54:12] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src [16:54:12] [PASSED] drm_test_damage_iter_single_damage_src_moved [16:54:12] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved [16:54:12] [PASSED] drm_test_damage_iter_damage [16:54:12] [PASSED] drm_test_damage_iter_damage_one_intersect [16:54:12] [PASSED] drm_test_damage_iter_damage_one_outside [16:54:12] [PASSED] drm_test_damage_iter_damage_src_moved [16:54:12] [PASSED] drm_test_damage_iter_damage_not_visible [16:54:12] ================ [PASSED] drm_damage_helper ================ [16:54:12] ============== drm_dp_mst_helper (3 subtests) ============== [16:54:12] ============== drm_test_dp_mst_calc_pbn_mode ============== [16:54:12] [PASSED] Clock 154000 BPP 30 DSC disabled [16:54:12] [PASSED] Clock 234000 BPP 30 DSC disabled [16:54:12] [PASSED] Clock 297000 BPP 24 DSC disabled [16:54:12] [PASSED] Clock 332880 BPP 24 DSC enabled [16:54:12] [PASSED] Clock 324540 BPP 24 DSC enabled [16:54:12] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ========== [16:54:12] ============== drm_test_dp_mst_calc_pbn_div =============== [16:54:12] [PASSED] Link rate 2000000 lane count 4 [16:54:12] [PASSED] Link rate 2000000 lane count 2 [16:54:12] [PASSED] Link rate 2000000 lane count 1 [16:54:12] [PASSED] Link rate 1350000 lane count 4 [16:54:12] [PASSED] Link rate 1350000 lane count 2 [16:54:12] [PASSED] Link rate 1350000 lane count 1 [16:54:12] [PASSED] Link rate 1000000 lane count 4 [16:54:12] [PASSED] Link rate 1000000 lane count 2 [16:54:12] [PASSED] Link rate 1000000 lane count 1 [16:54:12] [PASSED] Link rate 810000 lane count 4 [16:54:12] [PASSED] Link rate 810000 lane count 2 [16:54:12] [PASSED] Link rate 810000 lane count 1 [16:54:12] [PASSED] Link rate 540000 lane count 4 [16:54:12] [PASSED] Link rate 540000 lane count 2 [16:54:12] [PASSED] Link rate 540000 lane count 1 [16:54:12] [PASSED] Link rate 270000 lane count 4 [16:54:12] [PASSED] Link rate 270000 lane count 2 [16:54:12] [PASSED] Link rate 270000 lane count 1 [16:54:12] [PASSED] Link rate 162000 lane count 4 [16:54:12] [PASSED] Link rate 162000 lane count 2 [16:54:12] [PASSED] Link rate 162000 lane count 1 [16:54:12] ========== [PASSED] drm_test_dp_mst_calc_pbn_div =========== [16:54:12] ========= drm_test_dp_mst_sideband_msg_req_decode ========= [16:54:12] [PASSED] DP_ENUM_PATH_RESOURCES with port number [16:54:12] [PASSED] DP_POWER_UP_PHY with port number [16:54:12] [PASSED] DP_POWER_DOWN_PHY with port number [16:54:12] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks [16:54:12] [PASSED] DP_ALLOCATE_PAYLOAD with port number [16:54:12] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI [16:54:12] [PASSED] DP_ALLOCATE_PAYLOAD with PBN [16:54:12] [PASSED] DP_QUERY_PAYLOAD with port number [16:54:12] [PASSED] DP_QUERY_PAYLOAD with VCPI [16:54:12] [PASSED] DP_REMOTE_DPCD_READ with port number [16:54:12] [PASSED] DP_REMOTE_DPCD_READ with DPCD address [16:54:12] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes [16:54:12] [PASSED] DP_REMOTE_DPCD_WRITE with port number [16:54:12] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address [16:54:12] [PASSED] DP_REMOTE_DPCD_WRITE with data array [16:54:12] [PASSED] DP_REMOTE_I2C_READ with port number [16:54:12] [PASSED] DP_REMOTE_I2C_READ with I2C device ID [16:54:12] [PASSED] DP_REMOTE_I2C_READ with transactions array [16:54:12] [PASSED] DP_REMOTE_I2C_WRITE with port number [16:54:12] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID [16:54:12] [PASSED] DP_REMOTE_I2C_WRITE with data array [16:54:12] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID [16:54:12] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID [16:54:12] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event [16:54:12] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event [16:54:12] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior [16:54:12] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior [16:54:12] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode ===== [16:54:12] ================ [PASSED] drm_dp_mst_helper ================ [16:54:12] ================== drm_exec (7 subtests) =================== [16:54:12] [PASSED] sanitycheck [16:54:12] [PASSED] test_lock [16:54:12] [PASSED] test_lock_unlock [16:54:12] [PASSED] test_duplicates [16:54:12] [PASSED] test_prepare [16:54:12] [PASSED] test_prepare_array [16:54:12] [PASSED] test_multiple_loops [16:54:12] ==================== [PASSED] drm_exec ===================== [16:54:12] =========== drm_format_helper_test (17 subtests) =========== [16:54:12] ============== drm_test_fb_xrgb8888_to_gray8 ============== [16:54:12] [PASSED] single_pixel_source_buffer [16:54:12] [PASSED] single_pixel_clip_rectangle [16:54:12] [PASSED] well_known_colors [16:54:12] [PASSED] destination_pitch [16:54:12] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ========== [16:54:12] ============= drm_test_fb_xrgb8888_to_rgb332 ============== [16:54:12] [PASSED] single_pixel_source_buffer [16:54:12] [PASSED] single_pixel_clip_rectangle [16:54:12] [PASSED] well_known_colors [16:54:12] [PASSED] destination_pitch [16:54:12] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ========== [16:54:12] ============= drm_test_fb_xrgb8888_to_rgb565 ============== [16:54:12] [PASSED] single_pixel_source_buffer [16:54:12] [PASSED] single_pixel_clip_rectangle [16:54:12] [PASSED] well_known_colors [16:54:12] [PASSED] destination_pitch [16:54:12] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ========== [16:54:12] ============ drm_test_fb_xrgb8888_to_xrgb1555 ============= [16:54:12] [PASSED] single_pixel_source_buffer [16:54:12] [PASSED] single_pixel_clip_rectangle [16:54:12] [PASSED] well_known_colors [16:54:12] [PASSED] destination_pitch [16:54:12] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 ========= [16:54:12] ============ drm_test_fb_xrgb8888_to_argb1555 ============= [16:54:12] [PASSED] single_pixel_source_buffer [16:54:12] [PASSED] single_pixel_clip_rectangle [16:54:12] [PASSED] well_known_colors [16:54:12] [PASSED] destination_pitch [16:54:12] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 ========= [16:54:12] ============ drm_test_fb_xrgb8888_to_rgba5551 ============= [16:54:12] [PASSED] single_pixel_source_buffer [16:54:12] [PASSED] single_pixel_clip_rectangle [16:54:12] [PASSED] well_known_colors [16:54:12] [PASSED] destination_pitch [16:54:12] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 ========= [16:54:12] ============= drm_test_fb_xrgb8888_to_rgb888 ============== [16:54:12] [PASSED] single_pixel_source_buffer [16:54:12] [PASSED] single_pixel_clip_rectangle [16:54:12] [PASSED] well_known_colors [16:54:12] [PASSED] destination_pitch [16:54:12] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ========== [16:54:12] ============ drm_test_fb_xrgb8888_to_argb8888 ============= [16:54:12] [PASSED] single_pixel_source_buffer [16:54:12] [PASSED] single_pixel_clip_rectangle [16:54:12] [PASSED] well_known_colors [16:54:12] [PASSED] destination_pitch [16:54:12] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 ========= [16:54:12] =========== drm_test_fb_xrgb8888_to_xrgb2101010 =========== [16:54:12] [PASSED] single_pixel_source_buffer [16:54:12] [PASSED] single_pixel_clip_rectangle [16:54:12] [PASSED] well_known_colors [16:54:12] [PASSED] destination_pitch [16:54:12] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 ======= [16:54:12] =========== drm_test_fb_xrgb8888_to_argb2101010 =========== [16:54:12] [PASSED] single_pixel_source_buffer [16:54:12] [PASSED] single_pixel_clip_rectangle [16:54:12] [PASSED] well_known_colors [16:54:12] [PASSED] destination_pitch [16:54:12] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 ======= [16:54:12] ============== drm_test_fb_xrgb8888_to_mono =============== [16:54:12] [PASSED] single_pixel_source_buffer [16:54:12] [PASSED] single_pixel_clip_rectangle [16:54:12] [PASSED] well_known_colors [16:54:12] [PASSED] destination_pitch [16:54:12] ========== [PASSED] drm_test_fb_xrgb8888_to_mono =========== [16:54:12] ==================== drm_test_fb_swab ===================== [16:54:12] [PASSED] single_pixel_source_buffer [16:54:12] [PASSED] single_pixel_clip_rectangle [16:54:12] [PASSED] well_known_colors [16:54:12] [PASSED] destination_pitch [16:54:12] ================ [PASSED] drm_test_fb_swab ================= [16:54:12] ============ drm_test_fb_xrgb8888_to_xbgr8888 ============= [16:54:12] [PASSED] single_pixel_source_buffer [16:54:12] [PASSED] single_pixel_clip_rectangle [16:54:12] [PASSED] well_known_colors [16:54:12] [PASSED] destination_pitch [16:54:12] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 ========= [16:54:12] ============ drm_test_fb_xrgb8888_to_abgr8888 ============= [16:54:12] [PASSED] single_pixel_source_buffer [16:54:12] [PASSED] single_pixel_clip_rectangle [16:54:12] [PASSED] well_known_colors [16:54:12] [PASSED] destination_pitch [16:54:12] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 ========= [16:54:12] ================= drm_test_fb_clip_offset ================= [16:54:12] [PASSED] pass through [16:54:12] [PASSED] horizontal offset [16:54:12] [PASSED] vertical offset [16:54:12] [PASSED] horizontal and vertical offset [16:54:12] [PASSED] horizontal offset (custom pitch) [16:54:12] [PASSED] vertical offset (custom pitch) [16:54:12] [PASSED] horizontal and vertical offset (custom pitch) [16:54:12] ============= [PASSED] drm_test_fb_clip_offset ============= [16:54:12] ============== drm_test_fb_build_fourcc_list ============== [16:54:12] [PASSED] no native formats [16:54:12] [PASSED] XRGB8888 as native format [16:54:12] [PASSED] remove duplicates [16:54:12] [PASSED] convert alpha formats [16:54:12] [PASSED] random formats [16:54:12] ========== [PASSED] drm_test_fb_build_fourcc_list ========== [16:54:12] =================== drm_test_fb_memcpy ==================== [16:54:12] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258) [16:54:12] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258) [16:54:12] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559) [16:54:12] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258) [16:54:12] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258) [16:54:12] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559) [16:54:12] [PASSED] well_known_colors: XB24 little-endian (0x34324258) [16:54:12] [PASSED] well_known_colors: XRA8 little-endian (0x38415258) [16:54:12] [PASSED] well_known_colors: YU24 little-endian (0x34325559) [16:54:12] [PASSED] destination_pitch: XB24 little-endian (0x34324258) [16:54:12] [PASSED] destination_pitch: XRA8 little-endian (0x38415258) [16:54:12] [PASSED] destination_pitch: YU24 little-endian (0x34325559) [16:54:12] =============== [PASSED] drm_test_fb_memcpy ================ [16:54:12] ============= [PASSED] drm_format_helper_test ============== [16:54:12] ================= drm_format (18 subtests) ================= [16:54:12] [PASSED] drm_test_format_block_width_invalid [16:54:12] [PASSED] drm_test_format_block_width_one_plane [16:54:12] [PASSED] drm_test_format_block_width_two_plane [16:54:12] [PASSED] drm_test_format_block_width_three_plane [16:54:12] [PASSED] drm_test_format_block_width_tiled [16:54:12] [PASSED] drm_test_format_block_height_invalid [16:54:12] [PASSED] drm_test_format_block_height_one_plane [16:54:12] [PASSED] drm_test_format_block_height_two_plane [16:54:12] [PASSED] drm_test_format_block_height_three_plane [16:54:12] [PASSED] drm_test_format_block_height_tiled [16:54:12] [PASSED] drm_test_format_min_pitch_invalid [16:54:12] [PASSED] drm_test_format_min_pitch_one_plane_8bpp [16:54:12] [PASSED] drm_test_format_min_pitch_one_plane_16bpp [16:54:12] [PASSED] drm_test_format_min_pitch_one_plane_24bpp [16:54:12] [PASSED] drm_test_format_min_pitch_one_plane_32bpp [16:54:12] [PASSED] drm_test_format_min_pitch_two_plane [16:54:12] [PASSED] drm_test_format_min_pitch_three_plane_8bpp [16:54:12] [PASSED] drm_test_format_min_pitch_tiled [16:54:12] =================== [PASSED] drm_format ==================== [16:54:12] =============== drm_framebuffer (1 subtest) ================ [16:54:12] =============== drm_test_framebuffer_create =============== [16:54:12] [PASSED] ABGR8888 normal sizes [16:54:12] [PASSED] ABGR8888 max sizes [16:54:12] [PASSED] ABGR8888 pitch greater than min required [16:54:12] [PASSED] ABGR8888 pitch less than min required [16:54:12] [PASSED] ABGR8888 Invalid width [16:54:12] [PASSED] ABGR8888 Invalid buffer handle [16:54:12] [PASSED] No pixel format [16:54:12] [PASSED] ABGR8888 Width 0 [16:54:12] [PASSED] ABGR8888 Height 0 [16:54:12] [PASSED] ABGR8888 Out of bound height * pitch combination [16:54:12] [PASSED] ABGR8888 Large buffer offset [16:54:12] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers [16:54:12] [PASSED] ABGR8888 Valid buffer modifier [16:54:12] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE) [16:54:12] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS [16:54:12] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS [16:54:12] [PASSED] NV12 Normal sizes [16:54:12] [PASSED] NV12 Max sizes [16:54:12] [PASSED] NV12 Invalid pitch [16:54:12] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag [16:54:12] [PASSED] NV12 different modifier per-plane [16:54:12] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE [16:54:12] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS [16:54:12] [PASSED] NV12 Modifier for inexistent plane [16:54:12] [PASSED] NV12 Handle for inexistent plane [16:54:12] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS [16:54:12] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier [16:54:12] [PASSED] YVU420 Normal sizes [16:54:12] [PASSED] YVU420 Max sizes [16:54:12] [PASSED] YVU420 Invalid pitch [16:54:12] [PASSED] YVU420 Different pitches [16:54:12] [PASSED] YVU420 Different buffer offsets/pitches [16:54:12] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS [16:54:12] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS [16:54:12] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS [16:54:12] [PASSED] YVU420 Valid modifier [16:54:12] [PASSED] YVU420 Different modifiers per plane [16:54:12] [PASSED] YVU420 Modifier for inexistent plane [16:54:12] [PASSED] X0L2 Normal sizes [16:54:12] [PASSED] X0L2 Max sizes [16:54:12] [PASSED] X0L2 Invalid pitch [16:54:12] [PASSED] X0L2 Pitch greater than minimum required [16:54:12] [PASSED] X0L2 Handle for inexistent plane [16:54:12] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set [16:54:12] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set [16:54:12] [PASSED] X0L2 Valid modifier [16:54:12] [PASSED] X0L2 Modifier for inexistent plane [16:54:12] =========== [PASSED] drm_test_framebuffer_create =========== [16:54:12] ================= [PASSED] drm_framebuffer ================= [16:54:12] ================ drm_gem_shmem (8 subtests) ================ [16:54:12] [PASSED] drm_gem_shmem_test_obj_create [16:54:12] [PASSED] drm_gem_shmem_test_obj_create_private [16:54:12] [PASSED] drm_gem_shmem_test_pin_pages [16:54:12] [PASSED] drm_gem_shmem_test_vmap [16:54:12] [PASSED] drm_gem_shmem_test_get_pages_sgt [16:54:12] [PASSED] drm_gem_shmem_test_get_sg_table [16:54:12] [PASSED] drm_gem_shmem_test_madvise [16:54:12] [PASSED] drm_gem_shmem_test_purge [16:54:12] ================== [PASSED] drm_gem_shmem ================== [16:54:12] ================= drm_managed (2 subtests) ================= [16:54:12] [PASSED] drm_test_managed_release_action [16:54:12] [PASSED] drm_test_managed_run_action [16:54:12] =================== [PASSED] drm_managed =================== [16:54:12] =================== drm_mm (6 subtests) ==================== [16:54:12] [PASSED] drm_test_mm_init [16:54:12] [PASSED] drm_test_mm_debug [16:54:12] [PASSED] drm_test_mm_align32 [16:54:12] [PASSED] drm_test_mm_align64 [16:54:12] [PASSED] drm_test_mm_lowest [16:54:12] [PASSED] drm_test_mm_highest [16:54:12] ===================== [PASSED] drm_mm ====================== [16:54:12] ============= drm_modes_analog_tv (4 subtests) ============= [16:54:12] [PASSED] drm_test_modes_analog_tv_ntsc_480i [16:54:12] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined [16:54:12] [PASSED] drm_test_modes_analog_tv_pal_576i [16:54:12] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined [16:54:12] =============== [PASSED] drm_modes_analog_tv =============== [16:54:12] ============== drm_plane_helper (2 subtests) =============== [16:54:12] =============== drm_test_check_plane_state ================ [16:54:12] [PASSED] clipping_simple [16:54:12] [PASSED] clipping_rotate_reflect [16:54:12] [PASSED] positioning_simple [16:54:12] [PASSED] upscaling [16:54:12] [PASSED] downscaling [16:54:12] [PASSED] rounding1 [16:54:12] [PASSED] rounding2 [16:54:12] [PASSED] rounding3 [16:54:12] [PASSED] rounding4 [16:54:12] =========== [PASSED] drm_test_check_plane_state ============ [16:54:12] =========== drm_test_check_invalid_plane_state ============ [16:54:12] [PASSED] positioning_invalid [16:54:12] [PASSED] upscaling_invalid [16:54:12] [PASSED] downscaling_invalid [16:54:12] ======= [PASSED] drm_test_check_invalid_plane_state ======== [16:54:12] ================ [PASSED] drm_plane_helper ================= [16:54:12] ====== drm_connector_helper_tv_get_modes (1 subtest) ======= [16:54:12] ====== drm_test_connector_helper_tv_get_modes_check ======= [16:54:12] [PASSED] None [16:54:12] [PASSED] PAL [16:54:12] [PASSED] NTSC [16:54:12] [PASSED] Both, NTSC Default [16:54:12] [PASSED] Both, PAL Default [16:54:12] [PASSED] Both, NTSC Default, with PAL on command-line [16:54:12] [PASSED] Both, PAL Default, with NTSC on command-line [16:54:12] == [PASSED] drm_test_connector_helper_tv_get_modes_check === [16:54:12] ======== [PASSED] drm_connector_helper_tv_get_modes ======== [16:54:12] ================== drm_rect (9 subtests) =================== [16:54:12] [PASSED] drm_test_rect_clip_scaled_div_by_zero [16:54:12] [PASSED] drm_test_rect_clip_scaled_not_clipped [16:54:12] [PASSED] drm_test_rect_clip_scaled_clipped stty: 'standard input': Inappropriate ioctl for device [16:54:12] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned [16:54:12] ================= drm_test_rect_intersect ================= [16:54:12] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0 [16:54:12] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1 [16:54:12] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0 [16:54:12] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1 [16:54:12] [PASSED] right x left: 2x1+0+0 x 3x1+1+0 [16:54:12] [PASSED] left x right: 3x1+1+0 x 2x1+0+0 [16:54:12] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1 [16:54:12] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0 [16:54:12] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1 [16:54:12] [PASSED] touching side: 1x1+0+0 x 1x1+1+0 [16:54:12] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0 [16:54:12] [PASSED] inside another: 2x2+0+0 x 1x1+1+1 [16:54:12] [PASSED] far away: 1x1+0+0 x 1x1+3+6 [16:54:12] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10 [16:54:12] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10 [16:54:12] ============= [PASSED] drm_test_rect_intersect ============= [16:54:12] ================ drm_test_rect_calc_hscale ================ [16:54:12] [PASSED] normal use [16:54:12] [PASSED] out of max range [16:54:12] [PASSED] out of min range [16:54:12] [PASSED] zero dst [16:54:12] [PASSED] negative src [16:54:12] [PASSED] negative dst [16:54:12] ============ [PASSED] drm_test_rect_calc_hscale ============ [16:54:12] ================ drm_test_rect_calc_vscale ================ [16:54:12] [PASSED] normal use [16:54:12] [PASSED] out of max range [16:54:12] [PASSED] out of min range [16:54:12] [PASSED] zero dst [16:54:12] [PASSED] negative src [16:54:12] [PASSED] negative dst [16:54:12] ============ [PASSED] drm_test_rect_calc_vscale ============ [16:54:12] ================== drm_test_rect_rotate =================== [16:54:12] [PASSED] reflect-x [16:54:12] [PASSED] reflect-y [16:54:12] [PASSED] rotate-0 [16:54:12] [PASSED] rotate-90 [16:54:12] [PASSED] rotate-180 [16:54:12] [PASSED] rotate-270 [16:54:12] ============== [PASSED] drm_test_rect_rotate =============== [16:54:12] ================ drm_test_rect_rotate_inv ================= [16:54:12] [PASSED] reflect-x [16:54:12] [PASSED] reflect-y [16:54:12] [PASSED] rotate-0 [16:54:12] [PASSED] rotate-90 [16:54:12] [PASSED] rotate-180 [16:54:12] [PASSED] rotate-270 [16:54:12] ============ [PASSED] drm_test_rect_rotate_inv ============= [16:54:12] ==================== [PASSED] drm_rect ===================== [16:54:12] ============================================================ [16:54:12] Testing complete. Ran 417 tests: passed: 417 [16:54:13] Elapsed time: 23.707s total, 1.703s configuring, 21.835s building, 0.151s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel