dma-buf: dma-fence: Remove dma_fence_init64()
Subsystems (36)
Philipp Stanner
maintainerv2 cover dma-buf: dma-fence: Remove dma_fence_init64()
(Only adding vc4 and dma-fence folks to Cc to avoid noise)
Changes in v2:
- Rebase due to conflict in drm/vc4
- Change dma_fence_flags_invalid() to dma_fence_flags_valid() (Christian)
We recently had a discussion about reworking dma_fence init to close a race-window [1].
The community agreement seems to have been that we can get rid of dma_fence_init64(), so let's do that already. In the meantime we can continue our discussions regarding the race in [1].
This also touches the Rust dma_fence, which actually should use 64-bit seqnos (was forgotten so far). Rust fence has no users currently, so needs no backporting, so I would like to address that in a distinct patch.
Tested on Nouveau with and without the SEQNO64 flag. Nouveau also uses the USER flag, so I hope we're fine.
P.
[1] https://lore.kernel.org/dri-devel/[email protected]/
Philipp Stanner (3):
dma-buf: dma-fence: Add flags parameter to dma_fence_init()
dma-buf: Port users of dma_fence_init64()
dma-buf: dma-fence: Remove dma_fence_init64()
drivers/accel/amdxdna/amdxdna_ctx.c | 2 +- drivers/accel/ethosu/ethosu_job.c | 2 +- drivers/accel/ivpu/ivpu_job.c | 2 +- drivers/accel/rocket/rocket_job.c | 2 +- drivers/dma-buf/dma-fence-array.c | 2 +- drivers/dma-buf/dma-fence-chain.c | 4 +- drivers/dma-buf/dma-fence.c | 57 +++++++++---------- drivers/dma-buf/st-dma-fence-chain.c | 2 +- drivers/dma-buf/st-dma-fence-unwrap.c | 2 +- drivers/dma-buf/st-dma-fence.c | 2 +- drivers/dma-buf/st-dma-resv.c | 2 +- drivers/dma-buf/sw_sync.c | 2 +- .../gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c | 2 +- .../drm/amd/amdgpu/amdgpu_eviction_fence.c | 7 ++- drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 2 +- .../gpu/drm/amd/amdgpu/amdgpu_userq_fence.c | 5 +- .../gpu/drm/amd/amdgpu/amdgpu_vm_tlb_fence.c | 5 +- drivers/gpu/drm/drm_crtc.c | 2 +- drivers/gpu/drm/drm_writeback.c | 2 +- drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 2 +- drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c | 2 +- drivers/gpu/drm/i915/i915_request.c | 2 +- drivers/gpu/drm/i915/i915_sw_fence_work.c | 2 +- drivers/gpu/drm/i915/i915_vma_resource.c | 2 +- .../gpu/drm/i915/selftests/i915_sw_fence.c | 2 +- drivers/gpu/drm/imagination/pvr_ccb.c | 2 +- drivers/gpu/drm/imagination/pvr_queue.c | 2 +- drivers/gpu/drm/lima/lima_sched.c | 2 +- drivers/gpu/drm/msm/msm_fence.c | 2 +- drivers/gpu/drm/nouveau/nouveau_fence.c | 4 +- drivers/gpu/drm/panfrost/panfrost_job.c | 2 +- drivers/gpu/drm/panthor/panthor_sched.c | 2 +- drivers/gpu/drm/qxl/qxl_release.c | 2 +- drivers/gpu/drm/radeon/radeon_fence.c | 2 +- drivers/gpu/drm/scheduler/sched_fence.c | 4 +- .../gpu/drm/scheduler/tests/mock_scheduler.c | 2 +- drivers/gpu/drm/ttm/tests/ttm_bo_test.c | 2 +- .../gpu/drm/ttm/tests/ttm_bo_validate_test.c | 2 +- drivers/gpu/drm/v3d/v3d_fence.c | 2 +- drivers/gpu/drm/vc4/vc4_gem.c | 2 +- drivers/gpu/drm/vgem/vgem_fence.c | 2 +- drivers/gpu/drm/virtio/virtgpu_fence.c | 2 +- drivers/gpu/drm/vmwgfx/vmwgfx_fence.c | 2 +- drivers/gpu/drm/xe/xe_hw_fence.c | 2 +- drivers/gpu/drm/xe/xe_oa.c | 2 +- drivers/gpu/drm/xe/xe_preempt_fence.c | 2 +- drivers/gpu/drm/xe/xe_tlb_inval.c | 2 +- drivers/gpu/host1x/fence.c | 2 +- drivers/iio/industrialio-buffer.c | 2 +- drivers/usb/gadget/function/f_fs.c | 2 +- include/linux/dma-fence.h | 14 +++-- rust/kernel/dma_buf/dma_fence.rs | 2 +- 52 files changed, 95 insertions(+), 93 deletions(-)
base-commit: 17a180572ca50c8d38f3aa47d6fc81ce7c5594da
Signature · 1 line
2.56.0
Philipp Stanner
maintainerPATCH v2 1/3 dma-buf: dma-fence: Add flags parameter to dma_fence_init()
Currently, there are two init functions for dma_fence, dma_fence_init() and dma_fence_init64().
Since more future user options for dma_fence initialization would require distinct init functions, too, it is better to do this in a unified way.
Add a flags field to dma_fence_init(). Adjust all affected drivers, preserving the old behavior.
Support the SEQNO64 flag, and add a check-function so that the user only sets valid bits.
--- drivers/accel/amdxdna/amdxdna_ctx.c | 2 +- drivers/accel/ethosu/ethosu_job.c | 2 +- drivers/accel/ivpu/ivpu_job.c | 2 +- drivers/accel/rocket/rocket_job.c | 2 +- drivers/dma-buf/dma-fence-array.c | 2 +- drivers/dma-buf/dma-fence.c | 30 ++++++++++++++++--- drivers/dma-buf/st-dma-fence-chain.c | 2 +- drivers/dma-buf/st-dma-fence-unwrap.c | 2 +- drivers/dma-buf/st-dma-fence.c | 2 +- drivers/dma-buf/st-dma-resv.c | 2 +- drivers/dma-buf/sw_sync.c | 2 +- .../gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 2 +- drivers/gpu/drm/drm_crtc.c | 2 +- drivers/gpu/drm/drm_writeback.c | 2 +- drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 2 +- drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c | 2 +- drivers/gpu/drm/i915/i915_request.c | 2 +- drivers/gpu/drm/i915/i915_sw_fence_work.c | 2 +- drivers/gpu/drm/i915/i915_vma_resource.c | 2 +- .../gpu/drm/i915/selftests/i915_sw_fence.c | 2 +- drivers/gpu/drm/imagination/pvr_ccb.c | 2 +- drivers/gpu/drm/imagination/pvr_queue.c | 2 +- drivers/gpu/drm/lima/lima_sched.c | 2 +- drivers/gpu/drm/msm/msm_fence.c | 2 +- drivers/gpu/drm/nouveau/nouveau_fence.c | 4 +-- drivers/gpu/drm/panfrost/panfrost_job.c | 2 +- drivers/gpu/drm/panthor/panthor_sched.c | 2 +- drivers/gpu/drm/qxl/qxl_release.c | 2 +- drivers/gpu/drm/radeon/radeon_fence.c | 2 +- drivers/gpu/drm/scheduler/sched_fence.c | 4 +-- .../gpu/drm/scheduler/tests/mock_scheduler.c | 2 +- drivers/gpu/drm/ttm/tests/ttm_bo_test.c | 2 +- .../gpu/drm/ttm/tests/ttm_bo_validate_test.c | 2 +- drivers/gpu/drm/v3d/v3d_fence.c | 2 +- drivers/gpu/drm/vc4/vc4_gem.c | 2 +- drivers/gpu/drm/vgem/vgem_fence.c | 2 +- drivers/gpu/drm/virtio/virtgpu_fence.c | 2 +- drivers/gpu/drm/vmwgfx/vmwgfx_fence.c | 2 +- drivers/gpu/drm/xe/xe_hw_fence.c | 2 +- drivers/gpu/drm/xe/xe_oa.c | 2 +- drivers/gpu/drm/xe/xe_preempt_fence.c | 2 +- drivers/gpu/drm/xe/xe_tlb_inval.c | 2 +- drivers/gpu/host1x/fence.c | 2 +- drivers/iio/industrialio-buffer.c | 2 +- drivers/usb/gadget/function/f_fs.c | 2 +- include/linux/dma-fence.h | 12 ++++++-- rust/kernel/dma_buf/dma_fence.rs | 2 +- 48 files changed, 83 insertions(+), 55 deletions(-)
drivers/accel/amdxdna/amdxdna_ctx.c +1 -1
@@ -53,7 +53,7 @@ static struct dma_fence *amdxdna_fence_create(struct amdxdna_hwctx *hwctx)spin_lock_init (&fence->lock);/* Unique timeline context prevents eviction from shared BO reservation. */ -dma_fence_init (&fence->base, &fence_ops, &fence->lock,dma_fence_context_alloc (1 ),0 ); +dma_fence_init (&fence->base, &fence_ops, &fence->lock,dma_fence_context_alloc (1 ),0 ,0 );return &fence->base; }
drivers/accel/ethosu/ethosu_job.c +1 -1
@@ -219,7 +219,7 @@ static struct dma_fence *ethosu_job_run(struct drm_sched_job *sched_job)return NULL ;dma_fence_init (fence, ðosu_fence_ops, &dev->fence_lock, - dev->fence_context, ++dev->emit_seqno); + dev->fence_context, ++dev->emit_seqno,0 );dma_fence_get (fence);ethosu_switch_perfmon (dev, job);
drivers/accel/ivpu/ivpu_job.c +1 -1
@@ -519,7 +519,7 @@ static struct dma_fence *ivpu_fence_create(struct ivpu_device *vdev) fence->vdev = vdev;spin_lock_init (&fence->lock); -dma_fence_init (&fence->base, &ivpu_fence_ops, &fence->lock,dma_fence_context_alloc (1 ),1 ); +dma_fence_init (&fence->base, &ivpu_fence_ops, &fence->lock,dma_fence_context_alloc (1 ),1 ,0 );return &fence->base; }
drivers/accel/rocket/rocket_job.c +1 -1
@@ -61,7 +61,7 @@ static struct dma_fence *rocket_fence_create(struct rocket_core *core)return ERR_PTR (-ENOMEM );dma_fence_init (fence, &rocket_fence_ops, &core->fence_lock, - core->fence_context, ++core->emit_seqno); + core->fence_context, ++core->emit_seqno,0 );return fence; }
drivers/dma-buf/dma-fence-array.c +1 -1
@@ -205,7 +205,7 @@ void dma_fence_array_init(struct dma_fence_array *array, array->num_fences = num_fences;dma_fence_init (&array->base, &dma_fence_array_ops,NULL , context, - seqno); + seqno,0 );init_irq_work (&array->work, irq_dma_fence_array_work);/*
drivers/dma-buf/dma-fence.c +26 -4
@@ -122,7 +122,7 @@ static const struct dma_fence_ops dma_fence_stub_ops = {static int __init dma_fence_init_stub (void ) { -dma_fence_init (&dma_fence_stub, &dma_fence_stub_ops,NULL ,0 ,0 ); +dma_fence_init (&dma_fence_stub, &dma_fence_stub_ops,NULL ,0 ,0 ,0 );set_bit (DMA_FENCE_FLAG_ENABLE_SIGNAL_BIT , &dma_fence_stub.flags);dma_fence_signal (&dma_fence_stub);
@@ -156,7 +156,7 @@ struct dma_fence *dma_fence_allocate_private_stub(ktime_t timestamp)if (fence ==NULL )return NULL ; -dma_fence_init (fence, &dma_fence_stub_ops,NULL ,0 ,0 ); +dma_fence_init (fence, &dma_fence_stub_ops,NULL ,0 ,0 ,0 );set_bit (DMA_FENCE_FLAG_ENABLE_SIGNAL_BIT , &fence->flags);
@@ -1087,6 +1087,21 @@ __dma_fence_init(struct dma_fence *fence, const struct dma_fence_ops *ops,trace_dma_fence_init (fence); } +static bool dma_fence_flags_valid (unsigned long flags) +{ +const unsigned long valid_fence_bits = +BIT (DMA_FENCE_FLAG_SEQNO64_BIT ); +const unsigned long valid_user_bits = +GENMASK ( + BITS_PER_TYPE(unsigned long) - 1, +DMA_FENCE_FLAG_USER_BITS + ); +const unsigned long invalid_bits = + ~(valid_fence_bits | valid_user_bits); + +return !(flags & invalid_bits); +} +/** * dma_fence_init - Initialize a custom fence. * @fence: the fence to initialize
@@ -1094,6 +1109,7 @@ __dma_fence_init(struct dma_fence *fence, const struct dma_fence_ops *ops,* @lock: optional irqsafe spinlock to use for locking this fence * @context: the execution context this fence is run on * @seqno: a linear increasing sequence number for this context +* @flags: flags modifying a fence's behavior * * Initializes an allocated fence, the caller doesn't have to keep its * refcount after committing with this fence, but it will need to hold a
@@ -1108,12 +1124,18 @@ __dma_fence_init(struct dma_fence *fence, const struct dma_fence_ops *ops,* introduction of the callback, but the external lock is still around. New * users MUST NOT use external locks, as they force the issuer to outlive all * fences that reference the lock. +* +* The @flags you can specify here are either DMA_FENCE_FLAG_SEQNO64_BIT or +* user-specified bits >= DMA_FENCE_FLAG_USER_BITS. */ void dma_fence_init (struct dma_fence *fence,const struct dma_fence_ops *ops, -spinlock_t *lock,u64 context,u64 seqno) +spinlock_t *lock,u64 context,u64 seqno, +unsigned long flags) { -__dma_fence_init (fence, ops, lock, context, seqno,0UL ); +WARN_ON (!dma_fence_flags_valid (flags)); + +__dma_fence_init (fence, ops, lock, context, seqno, flags); }EXPORT_SYMBOL (dma_fence_init);
drivers/dma-buf/st-dma-fence-chain.c +1 -1
@@ -52,7 +52,7 @@ static struct dma_fence *mock_fence(void)return NULL ;spin_lock_init (&f->lock); -dma_fence_init (&f->base, &mock_ops, &f->lock,0 ,0 ); +dma_fence_init (&f->base, &mock_ops, &f->lock,0 ,0 ,0 );return &f->base; }
drivers/dma-buf/st-dma-fence-unwrap.c +1 -1
@@ -36,7 +36,7 @@ static struct dma_fence *__mock_fence(u64 context, u64 seqno)return NULL ;spin_lock_init (&f->lock); -dma_fence_init (&f->base, &mock_ops, &f->lock, context, seqno); +dma_fence_init (&f->base, &mock_ops, &f->lock, context, seqno,0 );return &f->base; }
drivers/dma-buf/st-dma-fence.c +1 -1
@@ -31,7 +31,7 @@ static struct dma_fence *mock_fence(void)if (!f)return NULL ; -dma_fence_init (f, &mock_ops,NULL ,0 ,0 ); +dma_fence_init (f, &mock_ops,NULL ,0 ,0 ,0 );return f; }
drivers/dma-buf/st-dma-resv.c +1 -1
@@ -35,7 +35,7 @@ static struct dma_fence *alloc_fence(void)if (!f)return NULL ; -dma_fence_init (f, &fence_ops, &fence_lock,0 ,0 ); +dma_fence_init (f, &fence_ops, &fence_lock,0 ,0 ,0 );return f; }
drivers/dma-buf/sw_sync.c +1 -1
@@ -258,7 +258,7 @@ static struct sync_pt *sync_pt_create(struct sync_timeline *obj,sync_timeline_get (obj);dma_fence_init (&pt->base, &timeline_fence_ops, &obj->lock, - obj->context, value); + obj->context, value,0 );INIT_LIST_HEAD (&pt->link);spin_lock_irq (&obj->lock);
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c +1 -1
@@ -77,7 +77,7 @@ struct amdgpu_amdkfd_fence *amdgpu_amdkfd_fence_create(u64 context,spin_lock_init (&fence->lock); fence->context_id = context_id;dma_fence_init (&fence->base, &amdkfd_fence_ops, &fence->lock, - context,atomic_inc_return (&fence_seq)); + context,atomic_inc_return (&fence_seq),0 );return fence; }
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c +1 -1
@@ -112,7 +112,7 @@ void amdgpu_fence_emit(struct amdgpu_ring *ring, struct amdgpu_fence *af, seq = ++ring->fence_drv.sync_seq;dma_fence_init (fence, &amdgpu_fence_ops, &ring->fence_drv.lock, - adev->fence_context + ring->idx, seq); + adev->fence_context + ring->idx, seq,0 );amdgpu_ring_emit_fence (ring, ring->fence_drv.gpu_addr, seq, flags |AMDGPU_FENCE_FLAG_INT );
drivers/gpu/drm/drm_crtc.c +1 -1
@@ -187,7 +187,7 @@ struct dma_fence *drm_crtc_create_fence(struct drm_crtc *crtc)return NULL ;dma_fence_init (fence, &drm_crtc_fence_ops, &crtc->fence_lock, - crtc->fence_context, ++crtc->fence_seqno); + crtc->fence_context, ++crtc->fence_seqno,0 );return fence; }
drivers/gpu/drm/drm_writeback.c +1 -1
@@ -592,7 +592,7 @@ drm_writeback_get_out_fence(struct drm_writeback_connector *wb_connector)dma_fence_init (fence, &drm_writeback_fence_ops, &wb_connector->fence_lock, wb_connector->fence_context, - ++wb_connector->fence_seqno); + ++wb_connector->fence_seqno,0 );return fence; }
drivers/gpu/drm/etnaviv/etnaviv_gpu.c +1 -1
@@ -1199,7 +1199,7 @@ static struct dma_fence *etnaviv_gpu_fence_alloc(struct etnaviv_gpu *gpu) f->gpu = gpu;dma_fence_init (&f->base, &etnaviv_fence_ops, &gpu->fence_spinlock, - gpu->fence_context, ++gpu->next_fence); + gpu->fence_context, ++gpu->next_fence,0 );return &f->base; }
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c +1 -1
@@ -437,7 +437,7 @@ i915_ttm_memcpy_work_arm(struct i915_ttm_memcpy_work *work,int ret;spin_lock_init (&work->lock); -dma_fence_init (&work->fence, &dma_fence_memcpy_ops, &work->lock,0 ,0 ); +dma_fence_init (&work->fence, &dma_fence_memcpy_ops, &work->lock,0 ,0 ,0 );dma_fence_get (&work->fence); ret =dma_fence_add_callback (dep, &work->cb, __memcpy_cb);if (ret) {
drivers/gpu/drm/i915/i915_request.c +1 -1
@@ -953,7 +953,7 @@ __i915_request_create(struct intel_context *ce, gfp_t gfp) goto err_free;dma_fence_init (&rq->fence, &i915_fence_ops, &rq->lock, - tl->fence_context, seqno); + tl->fence_context, seqno,0 );RCU_INIT_POINTER (rq->timeline, tl); rq->hwsp_seqno = tl->hwsp_seqno;
drivers/gpu/drm/i915/i915_sw_fence_work.c +1 -1
@@ -85,7 +85,7 @@ void dma_fence_work_init(struct dma_fence_work *f, { f->ops = ops;spin_lock_init (&f->lock); -dma_fence_init (&f->dma, &fence_ops, &f->lock,0 ,0 ); +dma_fence_init (&f->dma, &fence_ops, &f->lock,0 ,0 ,0 );i915_sw_fence_init (&f->chain, fence_notify);INIT_WORK (&f->work, fence_work); }
drivers/gpu/drm/i915/i915_vma_resource.c +1 -1
@@ -263,7 +263,7 @@ void __i915_vma_resource_init(struct i915_vma_resource *vma_res) {spin_lock_init (&vma_res->lock);dma_fence_init (&vma_res->unbind_fence, &unbind_fence_ops, - &vma_res->lock,0 ,0 ); + &vma_res->lock,0 ,0 ,0 );refcount_set (&vma_res->hold_count,1 );i915_sw_fence_init (&vma_res->chain, i915_vma_resource_fence_notify); }
drivers/gpu/drm/i915/selftests/i915_sw_fence.c +1 -1
@@ -641,7 +641,7 @@ static struct dma_fence *alloc_dma_fence(void) dma =kmalloc_obj (*dma);if (dma) -dma_fence_init (dma, &mock_fence_ops, &mock_fence_lock,0 ,0 ); +dma_fence_init (dma, &mock_fence_ops, &mock_fence_lock,0 ,0 ,0 );return dma; }
drivers/gpu/drm/imagination/pvr_ccb.c +1 -1
@@ -645,7 +645,7 @@ pvr_kccb_reserve_slot(struct pvr_device *pvr_dev, struct dma_fence *f)dma_fence_init (&fence->base, &pvr_kccb_fence_ops, &pvr_dev->kccb.fence_ctx.lock, pvr_dev->kccb.fence_ctx.id, -atomic_inc_return (&pvr_dev->kccb.fence_ctx.seqno)); +atomic_inc_return (&pvr_dev->kccb.fence_ctx.seqno),0 ); out_fence =dma_fence_get (&fence->base);list_add_tail (&fence->node, &pvr_dev->kccb.waiters); }else {
drivers/gpu/drm/imagination/pvr_queue.c +1 -1
@@ -305,7 +305,7 @@ pvr_queue_fence_init(struct dma_fence *f,INIT_WORK (&fence->release_work, pvr_queue_fence_release_work);dma_fence_init (&fence->base, fence_ops, &fence_ctx->lock, fence_ctx->id, -atomic_inc_return (&fence_ctx->seqno)); +atomic_inc_return (&fence_ctx->seqno),0 ); }/**
drivers/gpu/drm/lima/lima_sched.c +1 -1
@@ -97,7 +97,7 @@ static struct lima_fence *lima_fence_create(struct lima_sched_pipe *pipe) fence->pipe = pipe;dma_fence_init (&fence->base, &lima_fence_ops, &pipe->fence_lock, - pipe->fence_context, ++pipe->fence_seqno); + pipe->fence_context, ++pipe->fence_seqno,0 );return fence; }
drivers/gpu/drm/msm/msm_fence.c +1 -1
@@ -197,5 +197,5 @@ msm_fence_init(struct dma_fence *fence, struct msm_fence_context *fctx)WARN_ON (kref_read (&fence->refcount));dma_fence_init (&f->base, &msm_fence_ops, &fctx->spinlock, - fctx->context, ++fctx->last_fence); + fctx->context, ++fctx->last_fence,0 ); }
drivers/gpu/drm/nouveau/nouveau_fence.c +2 -2
@@ -216,10 +216,10 @@ nouveau_fence_emit(struct nouveau_fence *fence)if (priv->uevent)dma_fence_init (&fence->base, &nouveau_fence_ops_uevent, - &fctx->lock, fctx->context, ++fctx->sequence); + &fctx->lock, fctx->context, ++fctx->sequence,0 );else dma_fence_init (&fence->base, &nouveau_fence_ops_legacy, - &fctx->lock, fctx->context, ++fctx->sequence); + &fctx->lock, fctx->context, ++fctx->sequence,0 );kref_get (&fctx->fence_ref); ret = fctx->emit (fence);
drivers/gpu/drm/panfrost/panfrost_job.c +1 -1
@@ -105,7 +105,7 @@ static struct dma_fence *panfrost_fence_create(struct panfrost_device *pfdev, in fence->queue = js_num; fence->seqno = ++js->queue[js_num].emit_seqno;dma_fence_init (&fence->base, &panfrost_fence_ops, &js->job_lock, - js->queue[js_num].fence_context, fence->seqno); + js->queue[js_num].fence_context, fence->seqno,0 );return &fence->base; }
drivers/gpu/drm/panthor/panthor_sched.c +1 -1
@@ -3322,7 +3322,7 @@ queue_run_job(struct drm_sched_job *sched_job) &panthor_queue_fence_ops, &queue->fence_ctx.lock, queue->fence_ctx.id, - atomic64_inc_return(&queue->fence_ctx.seqno)); + atomic64_inc_return(&queue->fence_ctx.seqno), 0); job->profiling.slot = queue->profiling.seqno++;if (queue->profiling.seqno == queue->profiling.slot_count)
drivers/gpu/drm/qxl/qxl_release.c +1 -1
@@ -430,7 +430,7 @@ void qxl_release_fence_buffer_objects(struct qxl_release *release)* set the highest bits. This will break if we really allow exporting of dma-bufs. */ dma_fence_init (&release->base, &qxl_fence_ops, &qdev->release_lock, - release->id |0xf0000000 , release->base.seqno); + release->id |0xf0000000 , release->base.seqno,0 );trace_dma_fence_emit (&release->base);list_for_each_entry (entry, &release->bos, list) {
drivers/gpu/drm/radeon/radeon_fence.c +1 -1
@@ -148,7 +148,7 @@ int radeon_fence_emit(struct radeon_device *rdev,dma_fence_init (&(*fence)->base, &radeon_fence_ops, &rdev->fence_queue.lock, rdev->fence_context + ring, - seq); + seq,0 );radeon_fence_ring_emit (rdev, ring, *fence);trace_radeon_fence_emit (rdev_to_drm (rdev), ring, (*fence)->seq);radeon_fence_schedule_check (rdev, ring);
drivers/gpu/drm/scheduler/sched_fence.c +2 -2
@@ -229,9 +229,9 @@ void drm_sched_fence_init(struct drm_sched_fence *fence, fence->sched = entity->rq->sched; seq =atomic_inc_return (&entity->fence_seq);dma_fence_init (&fence->scheduled, &drm_sched_fence_ops_scheduled, - &fence->lock, entity->fence_context, seq); + &fence->lock, entity->fence_context, seq,0 );dma_fence_init (&fence->finished, &drm_sched_fence_ops_finished, - &fence->lock, entity->fence_context +1 , seq); + &fence->lock, entity->fence_context +1 , seq,0 ); }module_init (drm_sched_fence_slab_init);
drivers/gpu/drm/scheduler/tests/mock_scheduler.c +1 -1
@@ -173,7 +173,7 @@ static struct dma_fence *mock_sched_run_job(struct drm_sched_job *sched_job) &drm_mock_sched_hw_fence_ops, &sched->lock, sched->hw_timeline.context, - atomic_inc_return(&sched->hw_timeline.next_seqno)); + atomic_inc_return(&sched->hw_timeline.next_seqno), 0);dma_fence_get (&job->hw_fence);/* Reference for the job_list */
drivers/gpu/drm/ttm/tests/ttm_bo_test.c +1 -1
@@ -450,7 +450,7 @@ static void ttm_bo_fini_shared_resv(struct kunit *test)KUNIT_ASSERT_NOT_NULL (test, fence);spin_lock_init (&fence_lock); -dma_fence_init (fence, &mock_fence_ops, &fence_lock,0 ,0 ); +dma_fence_init (fence, &mock_fence_ops, &fence_lock,0 ,0 ,0 );dma_resv_lock (external_resv,NULL );dma_resv_reserve_fences (external_resv,1 );
drivers/gpu/drm/ttm/tests/ttm_bo_validate_test.c +1 -1
@@ -57,7 +57,7 @@ static struct dma_fence *alloc_mock_fence(struct kunit *test) fence =kunit_kzalloc (test,sizeof (*fence),GFP_KERNEL );KUNIT_ASSERT_NOT_NULL (test, fence); -dma_fence_init (fence, &fence_ops, &fence_lock,0 ,0 ); +dma_fence_init (fence, &fence_ops, &fence_lock,0 ,0 ,0 );return fence; }
drivers/gpu/drm/v3d/v3d_fence.c +1 -1
@@ -16,7 +16,7 @@ struct dma_fence *v3d_fence_create(struct v3d_dev *v3d, enum v3d_queue q) fence->queue = q; fence->seqno = ++queue->emit_seqno;dma_fence_init (&fence->base, &v3d_fence_ops, &queue->queue_lock, - queue->fence_context, fence->seqno); + queue->fence_context, fence->seqno,0 );return &fence->base; }
drivers/gpu/drm/vc4/vc4_gem.c +1 -1
@@ -641,7 +641,7 @@ vc4_queue_submit(struct drm_device *dev, struct vc4_exec_info *exec, exec->seqno = ++vc4->emit_seqno;dma_fence_init (&fence->base, &vc4_fence_ops,NULL , - vc4->dma_fence_context, exec->seqno); + vc4->dma_fence_context, exec->seqno,0 ); fence->seqno = exec->seqno; exec->fence = &fence->base;
drivers/gpu/drm/vgem/vgem_fence.c +1 -1
@@ -77,7 +77,7 @@ static struct dma_fence *vgem_fence_create(struct vgem_file *vfile,spin_lock_init (&fence->lock);dma_fence_init (&fence->base, &vgem_fence_ops, &fence->lock, -dma_fence_context_alloc (1 ),1 ); +dma_fence_context_alloc (1 ),1 ,0 );timer_setup (&fence->timer, vgem_fence_timeout,TIMER_IRQSAFE );
drivers/gpu/drm/virtio/virtgpu_fence.c +1 -1
@@ -76,7 +76,7 @@ struct virtio_gpu_fence *virtio_gpu_fence_alloc(struct virtio_gpu_device *vgdev,*/ dma_fence_init (&fence->f, &virtio_gpu_fence_ops, &drv->lock, - fence_context,0 ); + fence_context,0 ,0 );return fence; }
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c +1 -1
@@ -163,7 +163,7 @@ static int vmw_fence_obj_init(struct vmw_fence_manager *fman,int ret =0 ;dma_fence_init (&fence->base, &vmw_fence_ops, &fman->lock, - fman->ctx, seqno); + fman->ctx, seqno,0 ); fence->destroy = destroy;spin_lock (&fman->lock);
drivers/gpu/drm/xe/xe_hw_fence.c +1 -1
@@ -243,7 +243,7 @@ void xe_hw_fence_init(struct dma_fence *fence, struct xe_hw_fence_ctx *ctx,INIT_LIST_HEAD (&hw_fence->irq_link);dma_fence_init (fence, &xe_hw_fence_ops, &ctx->irq->lock, - ctx->dma_fence_ctx, ctx->next_seqno++); + ctx->dma_fence_ctx, ctx->next_seqno++,0 );trace_xe_hw_fence_create (hw_fence); }
drivers/gpu/drm/xe/xe_oa.c +1 -1
@@ -1053,7 +1053,7 @@ static int xe_oa_emit_oa_config(struct xe_oa_stream *stream, struct xe_oa_config/* Point of no return: initialize and set fence to signal */ spin_lock_init (&ofence->lock); -dma_fence_init (&ofence->base, &xe_oa_fence_ops, &ofence->lock,0 ,0 ); +dma_fence_init (&ofence->base, &xe_oa_fence_ops, &ofence->lock,0 ,0 ,0 );for (i =0 ; i < stream->num_syncs; i++) {if (stream->syncs[i].flags &DRM_XE_SYNC_FLAG_SIGNAL )
drivers/gpu/drm/xe/xe_preempt_fence.c +1 -1
@@ -154,7 +154,7 @@ xe_preempt_fence_arm(struct xe_preempt_fence *pfence, struct xe_exec_queue *q, pfence->q =xe_exec_queue_get (q);spin_lock_init (&pfence->lock);dma_fence_init (&pfence->base, &preempt_fence_ops, - &pfence->lock, context, seqno); + &pfence->lock, context, seqno,0 );return &pfence->base; }
drivers/gpu/drm/xe/xe_tlb_inval.c +1 -1
@@ -544,7 +544,7 @@ void xe_tlb_inval_fence_init(struct xe_tlb_inval *tlb_inval,spin_lock_irq (&tlb_inval->lock);dma_fence_init (&fence->base, &inval_fence_ops, &tlb_inval->lock, -dma_fence_context_alloc (1 ),1 ); +dma_fence_context_alloc (1 ),1 ,0 );spin_unlock_irq (&tlb_inval->lock);INIT_LIST_HEAD (&fence->link);if (stack)
drivers/gpu/host1x/fence.c +1 -1
@@ -136,7 +136,7 @@ struct dma_fence *host1x_fence_create(struct host1x_syncpt *sp, u32 threshold, fence->timeout = timeout;dma_fence_init (&fence->base, &host1x_syncpt_fence_ops, &sp->fences.lock, -dma_fence_context_alloc (1 ),0 ); +dma_fence_context_alloc (1 ),0 ,0 );INIT_DELAYED_WORK (&fence->timeout_work, do_fence_timeout);
drivers/iio/industrialio-buffer.c +1 -1
@@ -1904,7 +1904,7 @@ static int iio_buffer_enqueue_dmabuf(struct iio_dev_buffer_pair *ib,* the dma_fence. */ dma_fence_init (&fence->base, &iio_buffer_dma_fence_ops, - &fence->lock, priv->context, seqno); + &fence->lock, priv->context, seqno,0 ); ret =iio_dma_resv_lock (dmabuf, nonblock);if (ret)
drivers/usb/gadget/function/f_fs.c +1 -1
@@ -1733,7 +1733,7 @@ static int ffs_dmabuf_transfer(struct file *file, seqno =atomic_add_return (1 , &epfile->seqno);dma_fence_init (&fence->base, &ffs_dmabuf_fence_ops, - &priv->lock, priv->context, seqno); + &priv->lock, priv->context, seqno,0 ); resv_dir = epfile->in ?DMA_RESV_USAGE_READ :DMA_RESV_USAGE_WRITE ;
include/linux/dma-fence.h +9 -3
@@ -103,6 +103,12 @@ struct dma_fence {int error; }; +/** enum dma_fence_flag_bits - internal dma_fence flags +* +* These flags are all only for internal usage, except for +* @DMA_FENCE_FLAG_SEQNO64_BIT and the user bits beginning at +* @DMA_FENCE_FLAG_USER_BITS. +*/ enum dma_fence_flag_bits {DMA_FENCE_FLAG_INITIALIZED_BIT ,DMA_FENCE_FLAG_INLINE_LOCK_BIT ,
@@ -110,6 +116,7 @@ enum dma_fence_flag_bits {DMA_FENCE_FLAG_SIGNALED_BIT ,DMA_FENCE_FLAG_TIMESTAMP_BIT ,DMA_FENCE_FLAG_ENABLE_SIGNAL_BIT , + DMA_FENCE_FLAG_USER_BITS, /* must always be last member */ };
@@ -279,11 +286,10 @@ struct dma_fence_ops { };void dma_fence_init (struct dma_fence *fence,const struct dma_fence_ops *ops, -spinlock_t *lock,u64 context,u64 seqno); - +spinlock_t *lock,u64 context,u64 seqno, +unsigned long flags);void dma_fence_init64 (struct dma_fence *fence,const struct dma_fence_ops *ops,spinlock_t *lock,u64 context,u64 seqno); -void dma_fence_release (struct kref *kref);void dma_fence_free (struct dma_fence *fence);void dma_fence_describe (struct dma_fence *fence,struct seq_file *seq);
rust/kernel/dma_buf/dma_fence.rs +1 -1
@@ -736,7 +736,7 @@ pub fn new_fence(self) -> DriverFence<'a, T> {// SAFETY: `fence_ptr` has been created directly above. It will live // at least as long as `Self`. The same applies to `&Self::OPS`. unsafe { - bindings::dma_fence_init (fence_ptr, self.ops, null_ptr, self.data.fctx.nr, seqno) + bindings::dma_fence_init (fence_ptr, self.ops, null_ptr, self.data.fctx.nr, seqno,0 ) }; self.data.fctx.nr_of_unsignaled_fences.fetch_add (1 ,Relaxed );
Signature · 1 line
2.56.0
[email protected]
AI reviewRe: [PATCH v2 1/3] dma-buf: dma-fence: Add flags parameter to dma_fence_init()
Sashiko has reviewed this patch and found no issues.
Quoted 7 lines
Currently, there are two init functions for
dma_fence,dma_fence_init()anddma_fence_init64().Since more future user options for
dma_fenceinitialization would require distinct init functions, too, it is better to do this in a unified way.
Quoted 7 lines
Add a flags field to
dma_fence_init(). Adjust all affected drivers, preserving the old behavior.Support the SEQNO64 flag, and add a check-function so that the user only sets valid bits.
Signed-off-by Philipp Stanner <[email protected]>
Sashiko has reviewed this patch and found no issues.
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
Philipp Stanner
maintainerPATCH v2 2/3 dma-buf: Port users of dma_fence_init64()
In reply to Philipp Stannerdma_fence_init() now natively allows for selecting 64-bit seqno support. Port all users of dma_fence_init64() to this unified method.
--- drivers/dma-buf/dma-fence-chain.c | 4 ++-- drivers/gpu/drm/amd/amdgpu/amdgpu_eviction_fence.c | 7 ++++--- drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c | 5 +++-- drivers/gpu/drm/amd/amdgpu/amdgpu_vm_tlb_fence.c | 5 +++-- 4 files changed, 12 insertions(+), 9 deletions(-)
drivers/dma-buf/dma-fence-chain.c +2 -2
@@ -261,8 +261,8 @@ void dma_fence_chain_init(struct dma_fence_chain *chain, seqno =max (prev->seqno, seqno); } -dma_fence_init64 (&chain->base, &dma_fence_chain_ops,NULL , - context, seqno); +dma_fence_init (&chain->base, &dma_fence_chain_ops,NULL , + context, seqno,BIT (DMA_FENCE_FLAG_SEQNO64_BIT ));/* * dma_fence_chain_enable_signaling() is invoked while holding
drivers/gpu/drm/amd/amdgpu/amdgpu_eviction_fence.c +4 -3
@@ -133,9 +133,10 @@ int amdgpu_evf_mgr_rearm(struct amdgpu_eviction_fence_mgr *evf_mgr, ev_fence->evf_mgr = evf_mgr;get_task_comm (ev_fence->timeline_name, current);spin_lock_init (&ev_fence->lock); -dma_fence_init64 (&ev_fence->base, &amdgpu_eviction_fence_ops, - &ev_fence->lock, evf_mgr->ev_fence_ctx, -atomic_inc_return (&evf_mgr->ev_fence_seq)); +dma_fence_init (&ev_fence->base, &amdgpu_eviction_fence_ops, + &ev_fence->lock, evf_mgr->ev_fence_ctx, +atomic_inc_return (&evf_mgr->ev_fence_seq), +BIT (DMA_FENCE_FLAG_SEQNO64_BIT ));/* Remember it for newly added BOs */ dma_fence_put (evf_mgr->ev_fence);
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c +3 -2
@@ -274,8 +274,9 @@ static void amdgpu_userq_fence_init(struct amdgpu_usermode_queue *userq,bool signaled = false;spin_lock_init (&fence->lock); -dma_fence_init64 (&fence->base, &amdgpu_userq_fence_ops, &fence->lock, - fence_drv->context, seq); +dma_fence_init (&fence->base, &amdgpu_userq_fence_ops, &fence->lock, + fence_drv->context, seq, +BIT (DMA_FENCE_FLAG_SEQNO64_BIT ));/* Make sure the fence is visible to the hang detect worker */ dma_fence_put (userq->last_fence);
drivers/gpu/drm/amd/amdgpu/amdgpu_vm_tlb_fence.c +3 -2
@@ -100,8 +100,9 @@ void amdgpu_vm_tlb_fence_create(struct amdgpu_device *adev, struct amdgpu_vm *vmINIT_WORK (&f->work, amdgpu_tlb_fence_work);spin_lock_init (&f->lock); -dma_fence_init64 (&f->base, &amdgpu_tlb_fence_ops, &f->lock, - vm->tlb_fence_context,atomic64_read (&vm->tlb_seq)); +dma_fence_init (&f->base, &amdgpu_tlb_fence_ops, &f->lock, + vm->tlb_fence_context,atomic64_read (&vm->tlb_seq), +BIT (DMA_FENCE_FLAG_SEQNO64_BIT ));/* TODO: We probably need a separate wq here */ dma_fence_get (&f->base);
Signature · 1 line
2.56.0
[email protected]
AI reviewRe: [PATCH v2 2/3] dma-buf: Port users of dma_fence_init64()
Sashiko has reviewed this patch and found no issues.
Quoted 4 lines
dma_fence_init()now natively allows for selecting 64-bit seqno support. Port all users ofdma_fence_init64()to this unified method.Signed-off-by Philipp Stanner <[email protected]>
Sashiko has reviewed this patch and found no issues.
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=2
Philipp Stanner
maintainerPATCH v2 3/3 dma-buf: dma-fence: Remove dma_fence_init64()
In reply to Philipp StannerAll users of dma_fence_init64() have been removed. They now use the respective initialization flag in dma_fence_init().
Remove dma_fence_init64().
--- drivers/dma-buf/dma-fence.c | 27 --------------------------- include/linux/dma-fence.h | 2 -- 2 files changed, 29 deletions(-)
drivers/dma-buf/dma-fence.c +0 -27
@@ -1139,33 +1139,6 @@ dma_fence_init(struct dma_fence *fence, const struct dma_fence_ops *ops, }EXPORT_SYMBOL (dma_fence_init); -/** -* dma_fence_init64 - Initialize a custom fence with 64-bit seqno support. -* @fence: the fence to initialize -* @ops: the dma_fence_ops for operations on this fence -* @lock: optional irqsafe spinlock to use for locking this fence -* @context: the execution context this fence is run on -* @seqno: a linear increasing sequence number for this context -* -* Initializes an allocated fence, the caller doesn't have to keep its -* refcount after committing with this fence, but it will need to hold a -* refcount again if &dma_fence_ops.enable_signaling gets called. -* -* Context and seqno are used for easy comparison between fences, allowing -* to check which fence is later by simply using dma_fence_later(). -* -* New users MUST NOT use external locks. Check the documentation in -* dma_fence_init() to understand the motives behind the legacy use cases. -*/ -void -dma_fence_init64 (struct dma_fence *fence,const struct dma_fence_ops *ops, -spinlock_t *lock,u64 context,u64 seqno) -{ -__dma_fence_init (fence, ops, lock, context, seqno, -BIT (DMA_FENCE_FLAG_SEQNO64_BIT )); -} -EXPORT_SYMBOL (dma_fence_init64); -/** * dma_fence_driver_name - Access the driver name * @fence: the fence to query
include/linux/dma-fence.h +0 -2
@@ -288,8 +288,6 @@ struct dma_fence_ops {void dma_fence_init (struct dma_fence *fence,const struct dma_fence_ops *ops,spinlock_t *lock,u64 context,u64 seqno,unsigned long flags); -void dma_fence_init64 (struct dma_fence *fence,const struct dma_fence_ops *ops, -spinlock_t *lock,u64 context,u64 seqno);void dma_fence_release (struct kref *kref);void dma_fence_free (struct dma_fence *fence);void dma_fence_describe (struct dma_fence *fence,struct seq_file *seq);
Signature · 1 line
2.56.0
[email protected]
AI reviewSashiko has reviewed this patch and found no issues.
Quoted 6 lines
All users of
dma_fence_init64()have been removed. They now use the respective initialization flag indma_fence_init().Remove
dma_fence_init64().Signed-off-by Philipp Stanner <[email protected]>
Sashiko has reviewed this patch and found no issues.
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=3
✗ CI.checkpatch: warning for dma-buf: dma-fence: Remove dma_fence_init64() (rev2)
In reply to Philipp Stanner== Series Details ==
== Series Details ==
Series: dma-buf: dma-fence: Remove dma_fence_init64() (rev2)
URL : https://patchwork.freedesktop.org/series/177858/
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 3009867cd31863246e4afc138520a7a8bd37bb11
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 415b801cd5dbf17ab9c06dc6171a54fafc953d8f
Author: Philipp Stanner <[email protected]> Date: Wed Nov 18 14:45:23 2026 +0100
dma-buf: dma-fence: Remove dma_fence_init64()
All users of dma_fence_init64() have been removed. They now use the respective initialization flag in dma_fence_init().
Remove dma_fence_init64().
+ /mt/dim checkpatch 6d6b6ed3d20eb8db677d6463fd2f267fc29cd510 drm-intel c67e8feb5bec dma-buf: dma-fence: Add flags parameter to dma_fence_init() -:61: WARNING:LONG_LINE: line length of 102 exceeds 100 columns #61: FILE: drivers/accel/ivpu/ivpu_job.c:522:
+ dma_fence_init(&fence->base, &ivpu_fence_ops, &fence->lock, dma_fence_context_alloc(1), 1, 0);
-:122: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #122: FILE: drivers/dma-buf/dma-fence.c:1095:
+ GENMASK(
-:123: CHECK:SPACING: No space is necessary after a cast #123: FILE: drivers/dma-buf/dma-fence.c:1096:
+ BITS_PER_TYPE(unsigned long) - 1,
total: 0 errors, 1 warnings, 2 checks, 469 lines checked be6e51836d66 dma-buf: Port users of dma_fence_init64() 415b801cd5db dma-buf: dma-fence: Remove dma_fence_init64()
Patchwork
CI✓ CI.KUnit: success for dma-buf: dma-fence: Remove dma_fence_init64() (rev2)
In reply to Philipp Stanner== Series Details ==
== Series Details ==
Series: dma-buf: dma-fence: Remove dma_fence_init64() (rev2)
URL : https://patchwork.freedesktop.org/series/177858/
State : success
== Summary ==
+ trap cleanup EXIT
+ kunitconfigs=('/kernel/drivers/gpu/tests/.kunitconfig' '/kernel/drivers/gpu/drm/xe/.kunitconfig' '/kernel/drivers/gpu/drm/tests/.kunitconfig' '/kernel/drivers/gpu/drm/ttm/tests/.kunitconfig' '/kernel/drivers/dma-buf/.kunitconfig')
+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/tests/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/tests/.kunitconfig
[18:37:46] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [18:37:51] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [18:38:12] Starting KUnit Kernel (1/1)... [18:38:12] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [18:38:12] ================= gpu_buddy (15 subtests) ================== [18:38:12] [PASSED] gpu_test_buddy_alloc_limit [18:38:12] [PASSED] gpu_test_buddy_alloc_optimistic [18:38:12] [PASSED] gpu_test_buddy_alloc_pessimistic [18:38:12] [PASSED] gpu_test_buddy_alloc_pathological [18:38:12] [PASSED] gpu_test_buddy_alloc_contiguous [18:38:12] [PASSED] gpu_test_buddy_alloc_clear [18:38:12] [PASSED] gpu_test_buddy_alloc_range [18:38:12] [PASSED] gpu_test_buddy_alloc_range_bias [18:38:12] [PASSED] gpu_test_buddy_alloc_range_clear_guard [18:38:13] [PASSED] gpu_test_buddy_fragmentation_performance [18:38:14] [PASSED] gpu_test_buddy_dirty_tracker_performance [18:38:14] [PASSED] gpu_test_buddy_alloc_exceeds_max_order [18:38:14] [PASSED] gpu_test_buddy_offset_aligned_allocation [18:38:14] [PASSED] gpu_test_buddy_subtree_offset_alignment_stress [18:38:14] [PASSED] gpu_test_buddy_addr_to_block [18:38:14] ==================== [PASSED] gpu_buddy ==================== [18:38:14] ============================================================ [18:38:14] Testing complete. Ran 15 tests: passed: 15 [18:38:14] Elapsed time: 27.723s total, 5.035s configuring, 20.621s building, 2.034s running
+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/drm/xe/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig [18:38:14] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [18:38:17] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [18:38:56] Starting KUnit Kernel (1/1)... [18:38:56] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [18:38:56] ================= xe_ggtt_iov (9 subtests) ================= [18:38:56] [PASSED] init_shared_pf [18:38:56] [PASSED] init_partial_overlap [18:38:56] [PASSED] alloc_usable_pool_low [18:38:56] [PASSED] alloc_shareable_pool_high [18:38:56] [PASSED] alloc_partial_overlap [18:38:56] [PASSED] alloc_partial_overlap_usable_full [18:38:56] [PASSED] alloc_partial_overlap_shareable_full [18:38:56] [PASSED] alloc_shareable_pool_unavailable [18:38:56] [PASSED] alloc_shareable_pool_oversized [18:38:56] =================== [PASSED] xe_ggtt_iov =================== [18:38:56] =================== xe_ggtt (3 subtests) =================== [18:38:56] [PASSED] init_native [18:38:56] [PASSED] alloc_usable_pool_native [18:38:56] [PASSED] alloc_usable_pool_oversized [18:38:56] ===================== [PASSED] xe_ggtt ===================== [18:38:56] ================== guc_buf (11 subtests) =================== [18:38:56] [PASSED] test_smallest [18:38:56] [PASSED] test_largest [18:38:56] [PASSED] test_granular [18:38:56] [PASSED] test_unique [18:38:56] [PASSED] test_overlap [18:38:56] [PASSED] test_reusable [18:38:56] [PASSED] test_too_big [18:38:56] [PASSED] test_flush [18:38:56] [PASSED] test_lookup [18:38:56] [PASSED] test_data [18:38:56] [PASSED] test_class [18:38:56] ===================== [PASSED] guc_buf ===================== [18:38:56] =================== guc_dbm (7 subtests) =================== [18:38:56] [PASSED] test_empty [18:38:56] [PASSED] test_default [18:38:56] ======================== test_size ======================== [18:38:56] [PASSED] 4 [18:38:56] [PASSED] 8 [18:38:56] [PASSED] 32 [18:38:56] [PASSED] 256 [18:38:56] ==================== [PASSED] test_size ==================== [18:38:56] ======================= test_reuse ======================== [18:38:56] [PASSED] 4 [18:38:56] [PASSED] 8 [18:38:56] [PASSED] 32 [18:38:56] [PASSED] 256 [18:38:56] =================== [PASSED] test_reuse ==================== [18:38:56] =================== test_range_overlap ==================== [18:38:56] [PASSED] 4 [18:38:56] [PASSED] 8 [18:38:56] [PASSED] 32 [18:38:56] [PASSED] 256 [18:38:56] =============== [PASSED] test_range_overlap ================ [18:38:56] =================== test_range_compact ==================== [18:38:56] [PASSED] 4 [18:38:56] [PASSED] 8 [18:38:56] [PASSED] 32 [18:38:56] [PASSED] 256 [18:38:56] =============== [PASSED] test_range_compact ================ [18:38:56] ==================== test_range_spare ===================== [18:38:56] [PASSED] 4 [18:38:56] [PASSED] 8 [18:38:56] [PASSED] 32 [18:38:56] [PASSED] 256 [18:38:56] ================ [PASSED] test_range_spare ================= [18:38:56] ===================== [PASSED] guc_dbm ===================== [18:38:56] ================== guc_idm (22 subtests) =================== [18:38:56] [PASSED] bad_init [18:38:56] [PASSED] no_init [18:38:56] [PASSED] init_fini [18:38:56] [PASSED] check_init_small [18:38:56] [PASSED] check_init_shared [18:38:56] [PASSED] check_used [18:38:56] [PASSED] check_quota [18:38:56] [PASSED] check_all [18:38:56] [PASSED] check_limits [18:38:56] [PASSED] check_overlap [18:38:56] [PASSED] check_overlap_alloc [18:38:56] [PASSED] check_overlap_release [18:38:56] [PASSED] check_overlap_partial_init [18:38:56] [PASSED] check_overlap_partial_shared_range_blocking [18:38:56] [PASSED] check_used_usable [18:38:56] [PASSED] check_used_shareable [18:38:56] [PASSED] check_used_mixed [18:38:56] [PASSED] check_release_usable_range [18:38:56] [PASSED] check_release_shareable_range [18:38:56] [PASSED] check_split_boundaries [18:38:56] [PASSED] check_shareable_spare [18:38:56] [PASSED] check_shareable_spare_fragmented_tail [18:38:56] ===================== [PASSED] guc_idm ===================== [18:38:56] ============== guc_klv_helpers (13 subtests) =============== [18:38:56] [PASSED] test_count [18:38:56] [PASSED] test_encode_u32 [18:38:56] [PASSED] test_encode_u64 [18:38:56] [PASSED] test_encode_string [18:38:56] [PASSED] test_encode_object_raw [18:38:56] [PASSED] test_encode_object_klv [18:38:56] [PASSED] test_encode_object_nested [18:38:56] [PASSED] test_encode_object_basic [18:38:56] ===================== test_decode_u16 ===================== [18:38:56] [PASSED] empty [18:38:56] [PASSED] valid [18:38:56] [PASSED] max [18:38:56] [PASSED] big [18:38:56] [PASSED] long [18:38:56] ================= [PASSED] test_decode_u16 ================= [18:38:56] ===================== test_decode_u32 ===================== [18:38:56] [PASSED] empty [18:38:56] [PASSED] valid [18:38:56] [PASSED] max [18:38:56] [PASSED] long [18:38:56] ================= [PASSED] test_decode_u32 ================= [18:38:56] ===================== test_decode_u64 ===================== [18:38:56] [PASSED] empty [18:38:56] [PASSED] short [18:38:56] [PASSED] valid [18:38:56] [PASSED] max [18:38:56] [PASSED] long [18:38:56] ================= [PASSED] test_decode_u64 ================= [18:38:56] ===================== test_decode_str ===================== [18:38:56] [PASSED] empty [18:38:56] [PASSED] one [18:38:56] [PASSED] one_trash [18:38:56] [PASSED] two [18:38:56] [PASSED] two_trash [18:38:56] [PASSED] three [18:38:56] [PASSED] dword [18:38:56] [PASSED] four [18:38:56] [PASSED] five [18:38:56] [PASSED] six [18:38:56] [PASSED] seven [18:38:56] [PASSED] qword [18:38:56] ================= [PASSED] test_decode_str ================= [18:38:56] [PASSED] test_print [18:38:56] ================= [PASSED] guc_klv_helpers ================= [18:38:56] =================== xe_log (4 subtests) ==================== [18:38:56] [PASSED] demo_cper [18:38:56] [PASSED] demo_dmesg [18:38:56] ======================= test_dmesg ======================== [18:38:56] [PASSED] test_fatal [18:38:56] [PASSED] test_fatal_tile [18:38:56] [PASSED] test_fatal_gt [18:38:56] [PASSED] test_fatal_comp [18:38:56] [PASSED] test_fatal_comp_tile [18:38:56] [PASSED] test_fatal_comp_gt [18:38:56] [PASSED] test_fatal_all [18:38:56] [PASSED] test_recoverable [18:38:56] [PASSED] test_recoverable_tile [18:38:56] [PASSED] test_recoverable_gt [18:38:56] [PASSED] test_recoverable_comp [18:38:56] [PASSED] test_recoverable_comp_tile [18:38:56] [PASSED] test_recoverable_comp_gt [18:38:56] [PASSED] test_recoverable_all [18:38:56] [PASSED] test_info [18:38:56] [PASSED] test_info_tile [18:38:56] [PASSED] test_info_gt [18:38:56] [PASSED] test_info_err [18:38:56] [PASSED] test_info_comp [18:38:56] [PASSED] test_info_comp_tile [18:38:56] [PASSED] test_info_comp_gt [18:38:56] [PASSED] test_info_all [18:38:56] [PASSED] test_hw_fatal [18:38:56] [PASSED] test_hw_recoverable [18:38:56] [PASSED] test_hw_corrected [18:38:56] [PASSED] test_hw_informational [18:38:56] =================== [PASSED] test_dmesg ==================== [18:38:56] ====================== test_invalid ======================= [18:38:56] [SKIPPED] no-component no-location no-warn (requires CONFIG_DRM_XE_DEBUG) [18:38:56] [SKIPPED] reserved location (requires CONFIG_DRM_XE_DEBUG) [18:38:56] [SKIPPED] unknown location (requires CONFIG_DRM_XE_DEBUG) [18:38:56] [SKIPPED] nonzero-device-id location (requires CONFIG_DRM_XE_DEBUG) [18:38:56] [SKIPPED] invalid-tile-id location (requires CONFIG_DRM_XE_DEBUG) [18:38:56] [SKIPPED] invalid-gt-id location (requires CONFIG_DRM_XE_DEBUG) [18:38:56] [SKIPPED] unknown component class (requires CONFIG_DRM_XE_DEBUG) [18:38:56] [SKIPPED] unknown system component (requires CONFIG_DRM_XE_DEBUG) [18:38:56] [SKIPPED] unknown hardware component (requires CONFIG_DRM_XE_DEBUG) [18:38:56] [SKIPPED] unknown component and location (requires CONFIG_DRM_XE_DEBUG) [18:38:56] ================== [SKIPPED] test_invalid ================== [18:38:56] ===================== [PASSED] xe_log ====================== [18:38:56] ================== no_relay (3 subtests) =================== [18:38:56] [PASSED] xe_drops_guc2pf_if_not_ready [18:38:56] [PASSED] xe_drops_guc2vf_if_not_ready [18:38:56] [PASSED] xe_rejects_send_if_not_ready [18:38:56] ==================== [PASSED] no_relay ===================== [18:38:56] ================== pf_relay (14 subtests) ================== [18:38:56] [PASSED] pf_rejects_guc2pf_too_short [18:38:56] [PASSED] pf_rejects_guc2pf_too_long [18:38:56] [PASSED] pf_rejects_guc2pf_no_payload [18:38:56] [PASSED] pf_fails_no_payload [18:38:56] [PASSED] pf_fails_bad_origin [18:38:56] [PASSED] pf_fails_bad_type [18:38:56] [PASSED] pf_txn_reports_error [18:38:56] [PASSED] pf_txn_sends_pf2guc [18:38:56] [PASSED] pf_sends_pf2guc [18:38:56] [SKIPPED] pf_loopback_nop (requires CONFIG_DRM_XE_DEBUG_SRIOV) [18:38:56] [SKIPPED] pf_loopback_echo (requires CONFIG_DRM_XE_DEBUG_SRIOV) [18:38:56] [SKIPPED] pf_loopback_fail (requires CONFIG_DRM_XE_DEBUG_SRIOV) [18:38:56] [SKIPPED] pf_loopback_busy (requires CONFIG_DRM_XE_DEBUG_SRIOV) [18:38:56] [SKIPPED] pf_loopback_retry (requires CONFIG_DRM_XE_DEBUG_SRIOV) [18:38:56] ==================== [PASSED] pf_relay ===================== [18:38:56] ================== vf_relay (3 subtests) =================== [18:38:56] [PASSED] vf_rejects_guc2vf_too_short [18:38:56] [PASSED] vf_rejects_guc2vf_too_long [18:38:56] [PASSED] vf_rejects_guc2vf_no_payload [18:38:56] ==================== [PASSED] vf_relay ===================== [18:38:56] ================ pf_gt_config (9 subtests) ================= [18:38:56] [PASSED] fair_contexts_1vf [18:38:56] [PASSED] fair_doorbells_1vf [18:38:56] [PASSED] fair_ggtt_1vf [18:38:56] ====================== fair_vram_1vf ====================== [18:38:56] [PASSED] 3.50 GiB [18:38:56] [PASSED] 11.5 GiB [18:38:56] [PASSED] 15.5 GiB [18:38:56] [PASSED] 31.5 GiB [18:38:56] [PASSED] 63.5 GiB [18:38:56] [PASSED] 1.91 GiB [18:38:56] ================== [PASSED] fair_vram_1vf ================== [18:38:56] ================ fair_vram_1vf_admin_only ================= [18:38:56] [PASSED] 3.50 GiB [18:38:56] [PASSED] 11.5 GiB [18:38:56] [PASSED] 15.5 GiB [18:38:56] [PASSED] 31.5 GiB [18:38:56] [PASSED] 63.5 GiB [18:38:56] [PASSED] 1.91 GiB [18:38:56] ============ [PASSED] fair_vram_1vf_admin_only ============= [18:38:56] ====================== fair_contexts ====================== [18:38:56] [PASSED] 1 VF [18:38:56] [PASSED] 2 VFs [18:38:56] [PASSED] 3 VFs [18:38:56] [PASSED] 4 VFs [18:38:56] [PASSED] 5 VFs [18:38:56] [PASSED] 6 VFs [18:38:56] [PASSED] 7 VFs [18:38:56] [PASSED] 8 VFs [18:38:56] [PASSED] 9 VFs [18:38:56] [PASSED] 10 VFs [18:38:56] [PASSED] 11 VFs [18:38:56] [PASSED] 12 VFs [18:38:56] [PASSED] 13 VFs [18:38:56] [PASSED] 14 VFs [18:38:56] [PASSED] 15 VFs [18:38:56] [PASSED] 16 VFs [18:38:56] [PASSED] 17 VFs [18:38:56] [PASSED] 18 VFs [18:38:56] [PASSED] 19 VFs [18:38:56] [PASSED] 20 VFs [18:38:56] [PASSED] 21 VFs [18:38:56] [PASSED] 22 VFs [18:38:56] [PASSED] 23 VFs [18:38:56] [PASSED] 24 VFs [18:38:56] [PASSED] 25 VFs [18:38:56] [PASSED] 26 VFs [18:38:56] [PASSED] 27 VFs [18:38:56] [PASSED] 28 VFs [18:38:56] [PASSED] 29 VFs [18:38:56] [PASSED] 30 VFs [18:38:56] [PASSED] 31 VFs [18:38:56] [PASSED] 32 VFs [18:38:56] [PASSED] 33 VFs [18:38:56] [PASSED] 34 VFs [18:38:56] [PASSED] 35 VFs [18:38:56] [PASSED] 36 VFs [18:38:56] [PASSED] 37 VFs [18:38:56] [PASSED] 38 VFs [18:38:56] [PASSED] 39 VFs [18:38:56] [PASSED] 40 VFs [18:38:56] [PASSED] 41 VFs [18:38:56] [PASSED] 42 VFs [18:38:56] [PASSED] 43 VFs [18:38:56] [PASSED] 44 VFs [18:38:56] [PASSED] 45 VFs [18:38:56] [PASSED] 46 VFs [18:38:56] [PASSED] 47 VFs [18:38:56] [PASSED] 48 VFs [18:38:56] [PASSED] 49 VFs [18:38:56] [PASSED] 50 VFs [18:38:56] [PASSED] 51 VFs [18:38:56] [PASSED] 52 VFs [18:38:56] [PASSED] 53 VFs [18:38:56] [PASSED] 54 VFs [18:38:56] [PASSED] 55 VFs [18:38:56] [PASSED] 56 VFs [18:38:56] [PASSED] 57 VFs [18:38:56] [PASSED] 58 VFs [18:38:56] [PASSED] 59 VFs [18:38:56] [PASSED] 60 VFs [18:38:56] [PASSED] 61 VFs [18:38:56] [PASSED] 62 VFs [18:38:56] [PASSED] 63 VFs [18:38:56] ================== [PASSED] fair_contexts ================== [18:38:56] ===================== fair_doorbells ====================== [18:38:56] [PASSED] 1 VF [18:38:56] [PASSED] 2 VFs [18:38:56] [PASSED] 3 VFs [18:38:56] [PASSED] 4 VFs [18:38:56] [PASSED] 5 VFs [18:38:56] [PASSED] 6 VFs [18:38:56] [PASSED] 7 VFs [18:38:56] [PASSED] 8 VFs [18:38:56] [PASSED] 9 VFs [18:38:56] [PASSED] 10 VFs [18:38:56] [PASSED] 11 VFs [18:38:56] [PASSED] 12 VFs [18:38:56] [PASSED] 13 VFs [18:38:56] [PASSED] 14 VFs [18:38:56] [PASSED] 15 VFs [18:38:56] [PASSED] 16 VFs [18:38:56] [PASSED] 17 VFs [18:38:56] [PASSED] 18 VFs [18:38:56] [PASSED] 19 VFs [18:38:56] [PASSED] 20 VFs [18:38:56] [PASSED] 21 VFs [18:38:56] [PASSED] 22 VFs [18:38:56] [PASSED] 23 VFs [18:38:56] [PASSED] 24 VFs [18:38:56] [PASSED] 25 VFs [18:38:56] [PASSED] 26 VFs [18:38:56] [PASSED] 27 VFs [18:38:56] [PASSED] 28 VFs [18:38:56] [PASSED] 29 VFs [18:38:56] [PASSED] 30 VFs [18:38:56] [PASSED] 31 VFs [18:38:56] [PASSED] 32 VFs [18:38:56] [PASSED] 33 VFs [18:38:56] [PASSED] 34 VFs [18:38:56] [PASSED] 35 VFs [18:38:56] [PASSED] 36 VFs [18:38:56] [PASSED] 37 VFs [18:38:56] [PASSED] 38 VFs [18:38:56] [PASSED] 39 VFs [18:38:56] [PASSED] 40 VFs [18:38:56] [PASSED] 41 VFs [18:38:56] [PASSED] 42 VFs [18:38:56] [PASSED] 43 VFs [18:38:56] [PASSED] 44 VFs [18:38:56] [PASSED] 45 VFs [18:38:56] [PASSED] 46 VFs [18:38:56] [PASSED] 47 VFs [18:38:56] [PASSED] 48 VFs [18:38:56] [PASSED] 49 VFs [18:38:56] [PASSED] 50 VFs [18:38:56] [PASSED] 51 VFs [18:38:56] [PASSED] 52 VFs [18:38:56] [PASSED] 53 VFs [18:38:56] [PASSED] 54 VFs [18:38:56] [PASSED] 55 VFs [18:38:56] [PASSED] 56 VFs [18:38:56] [PASSED] 57 VFs [18:38:56] [PASSED] 58 VFs [18:38:56] [PASSED] 59 VFs [18:38:56] [PASSED] 60 VFs [18:38:56] [PASSED] 61 VFs [18:38:56] [PASSED] 62 VFs [18:38:56] [PASSED] 63 VFs [18:38:56] ================= [PASSED] fair_doorbells ================== [18:38:56] ======================== fair_ggtt ======================== [18:38:56] [PASSED] 1 VF [18:38:56] [PASSED] 2 VFs [18:38:56] [PASSED] 3 VFs [18:38:56] [PASSED] 4 VFs [18:38:56] [PASSED] 5 VFs [18:38:56] [PASSED] 6 VFs [18:38:56] [PASSED] 7 VFs [18:38:56] [PASSED] 8 VFs [18:38:56] [PASSED] 9 VFs [18:38:56] [PASSED] 10 VFs [18:38:56] [PASSED] 11 VFs [18:38:56] [PASSED] 12 VFs [18:38:56] [PASSED] 13 VFs [18:38:56] [PASSED] 14 VFs [18:38:56] [PASSED] 15 VFs [18:38:56] [PASSED] 16 VFs [18:38:56] [PASSED] 17 VFs [18:38:56] [PASSED] 18 VFs [18:38:56] [PASSED] 19 VFs [18:38:56] [PASSED] 20 VFs [18:38:56] [PASSED] 21 VFs [18:38:56] [PASSED] 22 VFs [18:38:56] [PASSED] 23 VFs [18:38:56] [PASSED] 24 VFs [18:38:56] [PASSED] 25 VFs [18:38:56] [PASSED] 26 VFs [18:38:56] [PASSED] 27 VFs [18:38:56] [PASSED] 28 VFs [18:38:56] [PASSED] 29 VFs [18:38:56] [PASSED] 30 VFs [18:38:56] [PASSED] 31 VFs [18:38:56] [PASSED] 32 VFs [18:38:56] [PASSED] 33 VFs [18:38:56] [PASSED] 34 VFs [18:38:56] [PASSED] 35 VFs [18:38:56] [PASSED] 36 VFs [18:38:56] [PASSED] 37 VFs [18:38:56] [PASSED] 38 VFs [18:38:56] [PASSED] 39 VFs [18:38:56] [PASSED] 40 VFs [18:38:56] [PASSED] 41 VFs [18:38:56] [PASSED] 42 VFs [18:38:56] [PASSED] 43 VFs [18:38:56] [PASSED] 44 VFs [18:38:56] [PASSED] 45 VFs [18:38:56] [PASSED] 46 VFs [18:38:56] [PASSED] 47 VFs [18:38:56] [PASSED] 48 VFs [18:38:56] [PASSED] 49 VFs [18:38:56] [PASSED] 50 VFs [18:38:56] [PASSED] 51 VFs [18:38:56] [PASSED] 52 VFs [18:38:56] [PASSED] 53 VFs [18:38:56] [PASSED] 54 VFs [18:38:56] [PASSED] 55 VFs [18:38:56] [PASSED] 56 VFs [18:38:56] [PASSED] 57 VFs [18:38:56] [PASSED] 58 VFs [18:38:56] [PASSED] 59 VFs [18:38:56] [PASSED] 60 VFs [18:38:56] [PASSED] 61 VFs [18:38:56] [PASSED] 62 VFs [18:38:56] [PASSED] 63 VFs [18:38:56] ==================== [PASSED] fair_ggtt ==================== [18:38:56] ======================== fair_vram ======================== [18:38:56] [PASSED] 1 VF [18:38:56] [PASSED] 2 VFs [18:38:56] [PASSED] 3 VFs [18:38:56] [PASSED] 4 VFs [18:38:56] [PASSED] 5 VFs [18:38:56] [PASSED] 6 VFs [18:38:56] [PASSED] 7 VFs [18:38:56] [PASSED] 8 VFs [18:38:56] [PASSED] 9 VFs [18:38:56] [PASSED] 10 VFs [18:38:56] [PASSED] 11 VFs [18:38:56] [PASSED] 12 VFs [18:38:56] [PASSED] 13 VFs [18:38:56] [PASSED] 14 VFs [18:38:56] [PASSED] 15 VFs [18:38:56] [PASSED] 16 VFs [18:38:56] [PASSED] 17 VFs [18:38:56] [PASSED] 18 VFs [18:38:56] [PASSED] 19 VFs [18:38:56] [PASSED] 20 VFs [18:38:56] [PASSED] 21 VFs [18:38:56] [PASSED] 22 VFs [18:38:56] [PASSED] 23 VFs [18:38:56] [PASSED] 24 VFs [18:38:56] [PASSED] 25 VFs [18:38:56] [PASSED] 26 VFs [18:38:56] [PASSED] 27 VFs [18:38:56] [PASSED] 28 VFs [18:38:56] [PASSED] 29 VFs [18:38:56] [PASSED] 30 VFs [18:38:56] [PASSED] 31 VFs [18:38:56] [PASSED] 32 VFs [18:38:56] [PASSED] 33 VFs [18:38:56] [PASSED] 34 VFs [18:38:56] [PASSED] 35 VFs [18:38:56] [PASSED] 36 VFs [18:38:56] [PASSED] 37 VFs [18:38:56] [PASSED] 38 VFs [18:38:56] [PASSED] 39 VFs [18:38:56] [PASSED] 40 VFs [18:38:56] [PASSED] 41 VFs [18:38:56] [PASSED] 42 VFs [18:38:56] [PASSED] 43 VFs [18:38:56] [PASSED] 44 VFs [18:38:56] [PASSED] 45 VFs [18:38:56] [PASSED] 46 VFs [18:38:56] [PASSED] 47 VFs [18:38:56] [PASSED] 48 VFs [18:38:56] [PASSED] 49 VFs [18:38:56] [PASSED] 50 VFs [18:38:56] [PASSED] 51 VFs [18:38:56] [PASSED] 52 VFs [18:38:56] [PASSED] 53 VFs [18:38:56] [PASSED] 54 VFs [18:38:56] [PASSED] 55 VFs [18:38:56] [PASSED] 56 VFs [18:38:56] [PASSED] 57 VFs [18:38:56] [PASSED] 58 VFs [18:38:56] [PASSED] 59 VFs [18:38:56] [PASSED] 60 VFs [18:38:56] [PASSED] 61 VFs [18:38:56] [PASSED] 62 VFs [18:38:56] [PASSED] 63 VFs [18:38:56] ==================== [PASSED] fair_vram ==================== [18:38:56] ================== [PASSED] pf_gt_config =================== [18:38:56] ===================== lmtt (1 subtest) ===================== [18:38:56] ======================== test_ops ========================= [18:38:56] [PASSED] 2-level [18:38:56] [PASSED] multi-level [18:38:56] ==================== [PASSED] test_ops ===================== [18:38:56] ====================== [PASSED] lmtt ======================= [18:38:56] ================= sriov_packet (1 subtest) ================= [18:38:56] [PASSED] test_descriptor_init [18:38:56] ================== [PASSED] sriov_packet =================== [18:38:56] ================= pf_service (11 subtests) ================= [18:38:56] [PASSED] pf_negotiate_any [18:38:56] [PASSED] pf_negotiate_base_match [18:38:56] [PASSED] pf_negotiate_base_newer [18:38:56] [PASSED] pf_negotiate_base_next [18:38:56] [SKIPPED] pf_negotiate_base_older (no older minor) [18:38:56] [PASSED] pf_negotiate_base_prev [18:38:56] [PASSED] pf_negotiate_latest_match [18:38:56] [PASSED] pf_negotiate_latest_newer [18:38:56] [PASSED] pf_negotiate_latest_next [18:38:56] [SKIPPED] pf_negotiate_latest_older (no older minor) [18:38:56] [SKIPPED] pf_negotiate_latest_prev (no prev major) [18:38:56] =================== [PASSED] pf_service ==================== [18:38:56] ================= xe_guc_g2g (2 subtests) ================== [18:38:56] ============== xe_live_guc_g2g_kunit_default ============== [18:38:56] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ========== [18:38:56] ============== xe_live_guc_g2g_kunit_allmem =============== [18:38:56] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ========== [18:38:56] =================== [SKIPPED] xe_guc_g2g =================== [18:38:56] =================== xe_mocs (2 subtests) =================== [18:38:56] ================ xe_live_mocs_kernel_kunit ================ [18:38:56] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============ [18:38:56] ================ xe_live_mocs_reset_kunit ================= [18:38:56] ============ [SKIPPED] xe_live_mocs_reset_kunit ============ [18:38:56] ==================== [SKIPPED] xe_mocs ===================== [18:38:56] ================= xe_migrate (3 subtests) ================== [18:38:56] ================= xe_migrate_sanity_kunit ================= [18:38:56] ============ [SKIPPED] xe_migrate_sanity_kunit ============= [18:38:56] ================== xe_validate_ccs_kunit ================== [18:38:56] ============= [SKIPPED] xe_validate_ccs_kunit ============== [18:38:56] ============= xe_migrate_access_memory_kunit ============== [18:38:56] ========= [SKIPPED] xe_migrate_access_memory_kunit ========= [18:38:56] =================== [SKIPPED] xe_migrate =================== [18:38:56] ================== xe_dma_buf (1 subtest) ================== [18:38:56] ==================== xe_dma_buf_kunit ===================== [18:38:56] ================ [SKIPPED] xe_dma_buf_kunit ================ [18:38:56] =================== [SKIPPED] xe_dma_buf =================== [18:38:56] ================= xe_bo_shrink (1 subtest) ================= [18:38:56] =================== xe_bo_shrink_kunit ==================== [18:38:56] =============== [SKIPPED] xe_bo_shrink_kunit =============== [18:38:56] ================== [SKIPPED] xe_bo_shrink ================== [18:38:56] ==================== xe_bo (2 subtests) ==================== [18:38:56] ================== xe_ccs_migrate_kunit =================== [18:38:56] ============== [SKIPPED] xe_ccs_migrate_kunit ============== [18:38:56] ==================== xe_bo_evict_kunit ==================== [18:38:56] =============== [SKIPPED] xe_bo_evict_kunit ================ [18:38:56] ===================== [SKIPPED] xe_bo ====================== [18:38:56] =================== xe_any (9 subtests) ==================== [18:38:56] [PASSED] test_to_xe [18:38:56] [PASSED] test_to_dev [18:38:56] [PASSED] test_to_pdev [18:38:56] [PASSED] test_to_drm [18:38:56] [PASSED] test_if_pdev [18:38:56] [PASSED] test_if_xe [18:38:56] [PASSED] test_if_tile [18:38:56] [PASSED] test_if_gt [18:38:56] [PASSED] test_to_id [18:38:56] ===================== [PASSED] xe_any ====================== [18:38:56] ==================== args (13 subtests) ==================== [18:38:56] [PASSED] count_args_test [18:38:56] [PASSED] call_args_example [18:38:56] [PASSED] call_args_test [18:38:56] [PASSED] drop_first_arg_example [18:38:56] [PASSED] drop_first_arg_test [18:38:56] [PASSED] first_arg_example [18:38:56] [PASSED] first_arg_test [18:38:56] [PASSED] last_arg_example [18:38:56] [PASSED] last_arg_test [18:38:56] [PASSED] pick_arg_example [18:38:56] [PASSED] if_args_example [18:38:56] [PASSED] if_args_test [18:38:56] [PASSED] sep_comma_example [18:38:56] ====================== [PASSED] args ======================= [18:38:56] =================== xe_pci (3 subtests) ==================== [18:38:56] ==================== check_graphics_ip ==================== [18:38:56] [PASSED] 12.00 Xe_LP [18:38:56] [PASSED] 12.10 Xe_LP+ [18:38:56] [PASSED] 12.55 Xe_HPG [18:38:56] [PASSED] 12.60 Xe_HPC [18:38:56] [PASSED] 12.70 Xe_LPG [18:38:56] [PASSED] 12.71 Xe_LPG [18:38:56] [PASSED] 12.74 Xe_LPG+ [18:38:56] [PASSED] 20.01 Xe2_HPG [18:38:56] [PASSED] 20.02 Xe2_HPG [18:38:56] [PASSED] 20.04 Xe2_LPG [18:38:56] [PASSED] 30.00 Xe3_LPG [18:38:56] [PASSED] 30.01 Xe3_LPG [18:38:56] [PASSED] 30.03 Xe3_LPG [18:38:56] [PASSED] 30.04 Xe3_LPG [18:38:56] [PASSED] 30.05 Xe3_LPG [18:38:56] [PASSED] 35.10 Xe3p_LPG [18:38:56] [PASSED] 35.11 Xe3p_XPC [18:38:56] ================ [PASSED] check_graphics_ip ================ [18:38:56] ===================== check_media_ip ====================== [18:38:56] [PASSED] 12.00 Xe_M [18:38:56] [PASSED] 12.55 Xe_HPM [18:38:56] [PASSED] 13.00 Xe_LPM+ [18:38:56] [PASSED] 13.01 Xe2_HPM [18:38:56] [PASSED] 20.00 Xe2_LPM [18:38:56] [PASSED] 30.00 Xe3_LPM [18:38:56] [PASSED] 30.02 Xe3_LPM [18:38:56] [PASSED] 35.00 Xe3p_LPM [18:38:56] [PASSED] 35.03 Xe3p_HPM [18:38:56] ================= [PASSED] check_media_ip ================== [18:38:56] =================== check_platform_desc =================== [18:38:56] [PASSED] 0x9A60 (TIGERLAKE) [18:38:56] [PASSED] 0x9A68 (TIGERLAKE) [18:38:56] [PASSED] 0x9A70 (TIGERLAKE) [18:38:56] [PASSED] 0x9A40 (TIGERLAKE) [18:38:56] [PASSED] 0x9A49 (TIGERLAKE) [18:38:56] [PASSED] 0x9A59 (TIGERLAKE) [18:38:56] [PASSED] 0x9A78 (TIGERLAKE) [18:38:56] [PASSED] 0x9AC0 (TIGERLAKE) [18:38:56] [PASSED] 0x9AC9 (TIGERLAKE) [18:38:56] [PASSED] 0x9AD9 (TIGERLAKE) [18:38:56] [PASSED] 0x9AF8 (TIGERLAKE) [18:38:56] [PASSED] 0x4C80 (ROCKETLAKE) [18:38:56] [PASSED] 0x4C8A (ROCKETLAKE) [18:38:56] [PASSED] 0x4C8B (ROCKETLAKE) [18:38:56] [PASSED] 0x4C8C (ROCKETLAKE) [18:38:56] [PASSED] 0x4C90 (ROCKETLAKE) [18:38:56] [PASSED] 0x4C9A (ROCKETLAKE) [18:38:56] [PASSED] 0x4680 (ALDERLAKE_S) [18:38:56] [PASSED] 0x4682 (ALDERLAKE_S) [18:38:56] [PASSED] 0x4688 (ALDERLAKE_S) [18:38:56] [PASSED] 0x468A (ALDERLAKE_S) [18:38:56] [PASSED] 0x468B (ALDERLAKE_S) [18:38:56] [PASSED] 0x4690 (ALDERLAKE_S) [18:38:56] [PASSED] 0x4692 (ALDERLAKE_S) [18:38:56] [PASSED] 0x4693 (ALDERLAKE_S) [18:38:56] [PASSED] 0x46A0 (ALDERLAKE_P) [18:38:56] [PASSED] 0x46A1 (ALDERLAKE_P) [18:38:56] [PASSED] 0x46A2 (ALDERLAKE_P) [18:38:56] [PASSED] 0x46A3 (ALDERLAKE_P) [18:38:56] [PASSED] 0x46A6 (ALDERLAKE_P) [18:38:56] [PASSED] 0x46A8 (ALDERLAKE_P) [18:38:56] [PASSED] 0x46AA (ALDERLAKE_P) [18:38:56] [PASSED] 0x462A (ALDERLAKE_P) [18:38:56] [PASSED] 0x4626 (ALDERLAKE_P) [18:38:56] [PASSED] 0x4628 (ALDERLAKE_P) [18:38:56] [PASSED] 0x46B0 (ALDERLAKE_P) [18:38:56] [PASSED] 0x46B1 (ALDERLAKE_P) [18:38:56] [PASSED] 0x46B2 (ALDERLAKE_P) [18:38:56] [PASSED] 0x46B3 (ALDERLAKE_P) [18:38:56] [PASSED] 0x46C0 (ALDERLAKE_P) [18:38:56] [PASSED] 0x46C1 (ALDERLAKE_P) [18:38:56] [PASSED] 0x46C2 (ALDERLAKE_P) [18:38:56] [PASSED] 0x46C3 (ALDERLAKE_P) [18:38:56] [PASSED] 0x46D0 (ALDERLAKE_N) [18:38:56] [PASSED] 0x46D1 (ALDERLAKE_N) [18:38:56] [PASSED] 0x46D2 (ALDERLAKE_N) [18:38:56] [PASSED] 0x46D3 (ALDERLAKE_N) [18:38:56] [PASSED] 0x46D4 (ALDERLAKE_N) [18:38:56] [PASSED] 0xA721 (ALDERLAKE_P) [18:38:56] [PASSED] 0xA7A1 (ALDERLAKE_P) [18:38:56] [PASSED] 0xA7A9 (ALDERLAKE_P) [18:38:56] [PASSED] 0xA7AC (ALDERLAKE_P) [18:38:56] [PASSED] 0xA7AD (ALDERLAKE_P) [18:38:56] [PASSED] 0xA720 (ALDERLAKE_P) [18:38:56] [PASSED] 0xA7A0 (ALDERLAKE_P) [18:38:56] [PASSED] 0xA7A8 (ALDERLAKE_P) [18:38:56] [PASSED] 0xA7AA (ALDERLAKE_P) [18:38:56] [PASSED] 0xA7AB (ALDERLAKE_P) [18:38:56] [PASSED] 0xA780 (ALDERLAKE_S) [18:38:56] [PASSED] 0xA781 (ALDERLAKE_S) [18:38:56] [PASSED] 0xA782 (ALDERLAKE_S) [18:38:56] [PASSED] 0xA783 (ALDERLAKE_S) [18:38:56] [PASSED] 0xA788 (ALDERLAKE_S) [18:38:56] [PASSED] 0xA789 (ALDERLAKE_S) [18:38:56] [PASSED] 0xA78A (ALDERLAKE_S) [18:38:56] [PASSED] 0xA78B (ALDERLAKE_S) [18:38:56] [PASSED] 0x4905 (DG1) [18:38:56] [PASSED] 0x4906 (DG1) [18:38:56] [PASSED] 0x4907 (DG1) [18:38:56] [PASSED] 0x4908 (DG1) [18:38:56] [PASSED] 0x4909 (DG1) [18:38:56] [PASSED] 0x56C0 (DG2) [18:38:56] [PASSED] 0x56C2 (DG2) [18:38:56] [PASSED] 0x56C1 (DG2) [18:38:56] [PASSED] 0x7D51 (METEORLAKE) [18:38:56] [PASSED] 0x7DD1 (METEORLAKE) [18:38:56] [PASSED] 0x7D41 (METEORLAKE) [18:38:56] [PASSED] 0x7D67 (METEORLAKE) [18:38:56] [PASSED] 0xB640 (METEORLAKE) [18:38:56] [PASSED] 0x56A0 (DG2) [18:38:56] [PASSED] 0x56A1 (DG2) [18:38:56] [PASSED] 0x56A2 (DG2) [18:38:56] [PASSED] 0x56BE (DG2) [18:38:56] [PASSED] 0x56BF (DG2) [18:38:56] [PASSED] 0x5690 (DG2) [18:38:56] [PASSED] 0x5691 (DG2) [18:38:56] [PASSED] 0x5692 (DG2) [18:38:56] [PASSED] 0x56A5 (DG2) [18:38:56] [PASSED] 0x56A6 (DG2) [18:38:56] [PASSED] 0x56B0 (DG2) [18:38:56] [PASSED] 0x56B1 (DG2) [18:38:56] [PASSED] 0x56BA (DG2) [18:38:56] [PASSED] 0x56BB (DG2) [18:38:56] [PASSED] 0x56BC (DG2) [18:38:56] [PASSED] 0x56BD (DG2) [18:38:56] [PASSED] 0x5693 (DG2) [18:38:56] [PASSED] 0x5694 (DG2) [18:38:56] [PASSED] 0x5695 (DG2) [18:38:56] [PASSED] 0x56A3 (DG2) [18:38:56] [PASSED] 0x56A4 (DG2) [18:38:56] [PASSED] 0x56B2 (DG2) [18:38:56] [PASSED] 0x56B3 (DG2) [18:38:56] [PASSED] 0x5696 (DG2) [18:38:56] [PASSED] 0x5697 (DG2) [18:38:56] [PASSED] 0xB69 (PVC) [18:38:56] [PASSED] 0xB6E (PVC) [18:38:56] [PASSED] 0xBD4 (PVC) [18:38:56] [PASSED] 0xBD5 (PVC) [18:38:56] [PASSED] 0xBD6 (PVC) [18:38:56] [PASSED] 0xBD7 (PVC) [18:38:56] [PASSED] 0xBD8 (PVC) [18:38:56] [PASSED] 0xBD9 (PVC) [18:38:56] [PASSED] 0xBDA (PVC) [18:38:56] [PASSED] 0xBDB (PVC) [18:38:56] [PASSED] 0xBE0 (PVC) [18:38:56] [PASSED] 0xBE1 (PVC) [18:38:56] [PASSED] 0xBE5 (PVC) [18:38:56] [PASSED] 0x7D40 (METEORLAKE) [18:38:56] [PASSED] 0x7D45 (METEORLAKE) [18:38:56] [PASSED] 0x7D55 (METEORLAKE) [18:38:56] [PASSED] 0x7D60 (METEORLAKE) [18:38:56] [PASSED] 0x7DD5 (METEORLAKE) [18:38:56] [PASSED] 0x6420 (LUNARLAKE) [18:38:56] [PASSED] 0x64A0 (LUNARLAKE) [18:38:56] [PASSED] 0x64B0 (LUNARLAKE) [18:38:56] [PASSED] 0xE202 (BATTLEMAGE) [18:38:56] [PASSED] 0xE209 (BATTLEMAGE) [18:38:56] [PASSED] 0xE20B (BATTLEMAGE) [18:38:56] [PASSED] 0xE20C (BATTLEMAGE) [18:38:56] [PASSED] 0xE20D (BATTLEMAGE) [18:38:56] [PASSED] 0xE210 (BATTLEMAGE) [18:38:56] [PASSED] 0xE211 (BATTLEMAGE) [18:38:56] [PASSED] 0xE212 (BATTLEMAGE) [18:38:56] [PASSED] 0xE216 (BATTLEMAGE) [18:38:56] [PASSED] 0xE220 (BATTLEMAGE) [18:38:56] [PASSED] 0xE221 (BATTLEMAGE) [18:38:56] [PASSED] 0xE222 (BATTLEMAGE) [18:38:56] [PASSED] 0xE223 (BATTLEMAGE) [18:38:56] [PASSED] 0xB080 (PANTHERLAKE) [18:38:56] [PASSED] 0xB081 (PANTHERLAKE) [18:38:56] [PASSED] 0xB082 (PANTHERLAKE) [18:38:56] [PASSED] 0xB083 (PANTHERLAKE) [18:38:56] [PASSED] 0xB084 (PANTHERLAKE) [18:38:56] [PASSED] 0xB085 (PANTHERLAKE) [18:38:56] [PASSED] 0xB086 (PANTHERLAKE) [18:38:56] [PASSED] 0xB087 (PANTHERLAKE) [18:38:56] [PASSED] 0xB08F (PANTHERLAKE) [18:38:56] [PASSED] 0xB090 (PANTHERLAKE) [18:38:56] [PASSED] 0xB0A0 (PANTHERLAKE) [18:38:56] [PASSED] 0xB0A1 (PANTHERLAKE) [18:38:56] [PASSED] 0xB0B0 (PANTHERLAKE) [18:38:56] [PASSED] 0xFD80 (PANTHERLAKE) [18:38:56] [PASSED] 0xFD81 (PANTHERLAKE) [18:38:56] [PASSED] 0xD740 (NOVALAKE_S) [18:38:56] [PASSED] 0xD741 (NOVALAKE_S) [18:38:56] [PASSED] 0xD742 (NOVALAKE_S) [18:38:56] [PASSED] 0xD743 (NOVALAKE_S) [18:38:56] [PASSED] 0xD745 (NOVALAKE_S) [18:38:56] [PASSED] 0xD74A (NOVALAKE_S) [18:38:56] [PASSED] 0xD74B (NOVALAKE_S) [18:38:56] [PASSED] 0x674C (CRESCENTISLAND) [18:38:56] [PASSED] 0x674D (CRESCENTISLAND) [18:38:56] [PASSED] 0x674E (CRESCENTISLAND) [18:38:56] [PASSED] 0x674F (CRESCENTISLAND) [18:38:56] [PASSED] 0x6750 (CRESCENTISLAND) [18:38:56] [PASSED] 0x6751 (CRESCENTISLAND) [18:38:56] [PASSED] 0x6752 (CRESCENTISLAND) [18:38:56] [PASSED] 0x6753 (CRESCENTISLAND) [18:38:56] [PASSED] 0x6754 (CRESCENTISLAND) [18:38:56] [PASSED] 0x6755 (CRESCENTISLAND) [18:38:56] [PASSED] 0x6756 (CRESCENTISLAND) [18:38:56] [PASSED] 0xD750 (NOVALAKE_P) [18:38:56] [PASSED] 0xD751 (NOVALAKE_P) [18:38:56] [PASSED] 0xD752 (NOVALAKE_P) [18:38:56] [PASSED] 0xD753 (NOVALAKE_P) [18:38:56] [PASSED] 0xD754 (NOVALAKE_P) [18:38:56] [PASSED] 0xD755 (NOVALAKE_P) [18:38:56] [PASSED] 0xD756 (NOVALAKE_P) [18:38:56] [PASSED] 0xD757 (NOVALAKE_P) [18:38:56] [PASSED] 0xD75F (NOVALAKE_P) [18:38:56] =============== [PASSED] check_platform_desc =============== [18:38:56] ===================== [PASSED] xe_pci ====================== [18:38:56] ============= xe_rtp_tables_test (5 subtests) ============== [18:38:56] ================== xe_rtp_table_gt_test =================== [18:38:56] [PASSED] gt_was/14011060649 [18:38:56] [PASSED] gt_was/14011059788 [18:38:56] [PASSED] gt_was/14015795083 [18:38:56] [PASSED] gt_was/16021867713 [18:38:56] [PASSED] gt_was/14019449301 [18:38:56] [PASSED] gt_was/16028005424 [18:38:56] [PASSED] gt_was/14026578760 [18:38:56] [PASSED] gt_was/1409420604 [18:38:56] [PASSED] gt_was/1408615072 [18:38:56] [PASSED] gt_was/22010523718 [18:38:56] [PASSED] gt_was/14011006942 [18:38:56] [PASSED] gt_was/14014830051 [18:38:56] [PASSED] gt_was/18018781329 [18:38:56] [PASSED] gt_was/1509235366 [18:38:56] [PASSED] gt_was/18018781329 [18:38:56] [PASSED] gt_was/16016694945 [18:38:56] [PASSED] gt_was/14018575942 [18:38:56] [PASSED] gt_was/22016670082 [18:38:56] [PASSED] gt_was/22016670082 [18:38:56] [PASSED] gt_was/14017421178 [18:38:56] [PASSED] gt_was/16025250150 [18:38:56] [PASSED] gt_was/14021871409 [18:38:56] [PASSED] gt_was/16021865536 [18:38:56] [PASSED] gt_was/14021486841 [18:38:56] [PASSED] gt_was/14025160223 [18:38:56] [PASSED] gt_was/14026144927, 16029437861, 14026127056 [18:38:56] [PASSED] gt_was/14025635424 [18:38:56] [PASSED] gt_was/16028005424 [18:38:56] ============== [PASSED] xe_rtp_table_gt_test =============== [18:38:56] ================== xe_rtp_table_gt_test =================== [18:38:56] [PASSED] gt_tunings/Tuning: Blend Fill Caching Optimization Disable [18:38:56] [PASSED] gt_tunings/Tuning: 32B Access Enable [18:38:56] [PASSED] gt_tunings/Tuning: L3 cache [18:38:56] [PASSED] gt_tunings/Tuning: L3 cache - media [18:38:56] [PASSED] gt_tunings/Tuning: Compression Overfetch [18:38:56] [PASSED] gt_tunings/Tuning: Compression Overfetch - media [18:38:56] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 [18:38:56] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 - media [18:38:56] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only [18:38:56] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only - media [18:38:56] [PASSED] gt_tunings/Tuning: Stateless compression control [18:38:56] [PASSED] gt_tunings/Tuning: Stateless compression control - media [18:38:56] [PASSED] gt_tunings/Tuning: L3 RW flush all Cache [18:38:56] [PASSED] gt_tunings/Tuning: L3 RW flush all cache - media [18:38:56] [PASSED] gt_tunings/Tuning: Set STLB Bank Hash Mode to 4KB [18:38:56] [PASSED] gt_tunings/Tuning: Force All Non-Compressible Memory Reads to be 256B Overfetches [18:38:56] ============== [PASSED] xe_rtp_table_gt_test =============== [18:38:56] ================== xe_rtp_table_oob_test ================== [18:38:56] [PASSED] oob_was/1607983814 [18:38:56] [PASSED] oob_was/16010904313 [18:38:56] [PASSED] oob_was/18022495364 [18:38:56] [PASSED] oob_was/22012773006 [18:38:56] [PASSED] oob_was/14014475959 [18:38:56] [PASSED] oob_was/22011391025 [18:38:56] [PASSED] oob_was/22012727170 [18:38:56] [PASSED] oob_was/22012727685 [18:38:56] [PASSED] oob_was/22016596838 [18:38:56] [PASSED] oob_was/18020744125 [18:38:56] [PASSED] oob_was/1409600907 [18:38:56] [PASSED] oob_was/22014953428 [18:38:56] [PASSED] oob_was/16017236439 [18:38:56] [PASSED] oob_was/14019821291 [18:38:56] [PASSED] oob_was/14015076503 [18:38:56] [PASSED] oob_was/22016122933 [18:38:56] [PASSED] oob_was/14018913170 [18:38:56] [PASSED] oob_was/14018094691 [18:38:56] [PASSED] oob_was/18024947630 [18:38:56] [PASSED] oob_was/16022287689 [18:38:56] [PASSED] oob_was/13011645652 [18:38:56] [PASSED] oob_was/14022293748 [18:38:56] [PASSED] oob_was/22019794406 [18:38:56] [PASSED] oob_was/22019338487 [18:38:56] [PASSED] oob_was/16023588340 [18:38:56] [PASSED] oob_was/14019789679 [18:38:56] [PASSED] oob_was/14022866841 [18:38:56] [PASSED] oob_was/16021333562 [18:38:56] [PASSED] oob_was/14016712196 [18:38:56] [PASSED] oob_was/14015568240 [18:38:56] [PASSED] oob_was/18013179988 [18:38:56] [PASSED] oob_was/1508761755 [18:38:56] [PASSED] oob_was/16023105232 [18:38:56] [PASSED] oob_was/16026508708 [18:38:56] [PASSED] oob_was/14020001231 [18:38:56] [PASSED] oob_was/16023683509 [18:38:56] [PASSED] oob_was/14025515070 [18:38:56] [PASSED] oob_was/15015404425_disable [18:38:56] [PASSED] oob_was/16026007364 [18:38:56] [PASSED] oob_was/14020316580 [18:38:56] [PASSED] oob_was/14025883347 [18:38:56] [PASSED] oob_was/16029380221 [18:38:56] [PASSED] oob_was/22022079272 [18:38:56] [PASSED] oob_was/16029897822 [18:38:56] [PASSED] oob_was/14026539277 [18:38:56] [PASSED] oob_was/14027054324 [18:38:56] [PASSED] oob_was/14025941587 [18:38:56] [PASSED] oob_was/16030224309 [18:38:56] [PASSED] oob_was/14028709524 [18:38:56] [PASSED] oob_was/14028250015 [18:38:56] [PASSED] oob_was/16031259911 [18:38:56] ============== [PASSED] xe_rtp_table_oob_test ============== [18:38:56] ================ xe_rtp_table_dev_oob_test ================ [18:38:56] [PASSED] device_oob_was/22010954014 [18:38:56] [PASSED] device_oob_was/15015404425 [18:38:56] [PASSED] device_oob_was/22019338487_display [18:38:56] [PASSED] device_oob_was/14022085890 [18:38:56] [PASSED] device_oob_was/14026633728 [18:38:56] [PASSED] device_oob_was/14026746987 [18:38:56] [PASSED] device_oob_was/14026779378 [18:38:56] [PASSED] device_oob_was/14028586678 [18:38:56] [PASSED] device_oob_was/14028434957 [18:38:56] ============ [PASSED] xe_rtp_table_dev_oob_test ============ [18:38:56] ========== xe_rtp_table_missing_upper_bound_test ========== [18:38:56] [PASSED] register_whitelist/WaAllowPMDepthAndInvocationCountAccessFromUMD, 1408556865 [18:38:56] [PASSED] register_whitelist/1508744258, 14012131227, 1808121037 [18:38:56] [PASSED] register_whitelist/1806527549 [18:38:56] [PASSED] register_whitelist/allow_read_ctx_timestamp [18:38:56] [PASSED] register_whitelist/allow_read_queue_timestamp [18:38:56] [PASSED] register_whitelist/16014440446 [18:38:56] [PASSED] register_whitelist/16017236439 [18:38:56] [PASSED] register_whitelist/16020183090 [18:38:56] [PASSED] register_whitelist/14024997852 [18:38:56] [PASSED] register_whitelist/14024997852 [18:38:56] ====== [PASSED] xe_rtp_table_missing_upper_bound_test ====== [18:38:56] =============== [PASSED] xe_rtp_tables_test ================ [18:38:56] =================== xe_rtp (3 subtests) ==================== [18:38:56] =================== xe_rtp_rules_tests ==================== [18:38:56] [PASSED] no [18:38:56] [PASSED] yes [18:38:56] [PASSED] no-and-no [18:38:56] [PASSED] no-and-yes [18:38:56] [PASSED] yes-and-no [18:38:56] [PASSED] yes-and-yes [18:38:56] [PASSED] no-or-no [18:38:56] [PASSED] no-or-yes [18:38:56] [PASSED] yes-or-no [18:38:56] [PASSED] yes-or-yes [18:38:56] [PASSED] no-yes-or-yes-no [18:38:56] [PASSED] no-yes-or-yes-yes [18:38:56] [PASSED] yes-yes-or-no-yes [18:38:56] [PASSED] yes-yes-or-yes-yes [18:38:56] [PASSED] no-no-or-yes-or-no [18:38:56] [PASSED] or [18:38:56] [PASSED] or-yes [18:38:56] [PASSED] or-no [18:38:56] [PASSED] yes-or [18:38:56] [PASSED] no-or [18:38:56] [PASSED] no-or-or-yes [18:38:56] [PASSED] yes-or-or-no [18:38:56] [PASSED] no-or-or-no [18:38:56] [PASSED] missing-context-engine-class [18:38:56] [PASSED] missing-context-engine-class-or-yes [18:38:56] [PASSED] missing-context-engine-class-or-or-yes [18:38:56] =============== [PASSED] xe_rtp_rules_tests ================ [18:38:56] =============== xe_rtp_process_to_sr_tests ================ [18:38:56] [PASSED] coalesce-same-reg [18:38:56] [PASSED] coalesce-same-reg-literal-and-func [18:38:56] [PASSED] no-match-no-add [18:38:56] [PASSED] two-regs-two-entries [18:38:56] [PASSED] clr-one-set-other [18:38:56] [PASSED] set-field [18:38:56] [PASSED] conflict-duplicate [18:38:56] [PASSED] conflict-not-disjoint [18:38:56] [PASSED] conflict-not-disjoint-literal-and-func [18:38:56] [PASSED] conflict-reg-type [18:38:56] [PASSED] bad-mcr-reg-forced-to-regular [18:38:56] [PASSED] bad-regular-reg-forced-to-mcr [18:38:56] =========== [PASSED] xe_rtp_process_to_sr_tests ============ [18:38:56] ================== xe_rtp_process_tests =================== [18:38:56] [PASSED] active1 [18:38:56] [PASSED] active2 [18:38:56] [PASSED] active-inactive [18:38:56] [PASSED] inactive-active [18:38:56] [PASSED] inactive-active-inactive [18:38:56] [PASSED] inactive-inactive-inactive [18:38:56] ============== [PASSED] xe_rtp_process_tests =============== [18:38:56] ===================== [PASSED] xe_rtp ====================== [18:38:56] ==================== xe_wa (1 subtest) ===================== [18:38:56] ======================== xe_wa_gt ========================= [18:38:56] [PASSED] TIGERLAKE B0 [18:38:56] [PASSED] DG1 A0 [18:38:56] [PASSED] DG1 B0 [18:38:56] [PASSED] ALDERLAKE_S A0 [18:38:56] [PASSED] ALDERLAKE_S B0 [18:38:56] [PASSED] ALDERLAKE_S C0 [18:38:56] [PASSED] ALDERLAKE_S D0 [18:38:56] [PASSED] ALDERLAKE_P A0 [18:38:56] [PASSED] ALDERLAKE_P B0 [18:38:56] [PASSED] ALDERLAKE_P C0 [18:38:56] [PASSED] ALDERLAKE_S RPLS D0 [18:38:56] [PASSED] ALDERLAKE_P RPLU E0 [18:38:56] [PASSED] DG2 G10 C0 [18:38:56] [PASSED] DG2 G11 B1 [18:38:56] [PASSED] DG2 G12 A1 [18:38:56] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0 [18:38:56] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0 [18:38:56] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0 [18:38:56] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0 [18:38:56] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0 [18:38:56] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1 [18:38:56] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0 [18:38:56] ==================== [PASSED] xe_wa_gt ===================== [18:38:56] ====================== [PASSED] xe_wa ====================== [18:38:56] ============================================================ [18:38:56] Testing complete. Ran 860 tests: passed: 831, skipped: 29 [18:38:56] Elapsed time: 42.296s total, 2.548s configuring, 38.982s building, 0.727s running
+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/drm/tests/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig [18:38:57] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [18:38:59] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [18:39:25] Starting KUnit Kernel (1/1)... [18:39:25] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [18:39:25] ============ drm_test_pick_cmdline (2 subtests) ============ [18:39:25] [PASSED] drm_test_pick_cmdline_res_1920_1080_60 [18:39:25] =============== drm_test_pick_cmdline_named =============== [18:39:25] [PASSED] NTSC [18:39:25] [PASSED] NTSC-J [18:39:25] [PASSED] PAL [18:39:25] [PASSED] PAL-M [18:39:25] =========== [PASSED] drm_test_pick_cmdline_named =========== [18:39:25] ============== [PASSED] drm_test_pick_cmdline ============== [18:39:25] == drm_test_atomic_get_connector_for_encoder (1 subtest) === [18:39:25] [PASSED] drm_test_drm_atomic_get_connector_for_encoder [18:39:25] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ==== [18:39:25] =========== drm_validate_clone_mode (2 subtests) =========== [18:39:25] ============== drm_test_check_in_clone_mode =============== [18:39:25] [PASSED] in_clone_mode [18:39:25] [PASSED] not_in_clone_mode [18:39:25] ========== [PASSED] drm_test_check_in_clone_mode =========== [18:39:25] =============== drm_test_check_valid_clones =============== [18:39:25] [PASSED] not_in_clone_mode [18:39:25] [PASSED] valid_clone [18:39:25] [PASSED] invalid_clone [18:39:25] =========== [PASSED] drm_test_check_valid_clones =========== [18:39:25] ============= [PASSED] drm_validate_clone_mode ============= [18:39:25] ============= drm_validate_modeset (1 subtest) ============= [18:39:25] [PASSED] drm_test_check_connector_changed_modeset [18:39:25] ============== [PASSED] drm_validate_modeset =============== [18:39:25] ====== drm_test_bridge_get_current_state (1 subtest) ======= [18:39:25] [PASSED] drm_test_drm_bridge_get_current_state_atomic [18:39:25] ======== [PASSED] drm_test_bridge_get_current_state ======== [18:39:25] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ====== [18:39:25] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic [18:39:25] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled [18:39:25] [PASSED] drm_test_drm_bridge_helper_hdmi_output_bus_fmts [18:39:25] ======== [PASSED] drm_test_bridge_helper_reset_crtc ======== [18:39:25] ============== drm_bridge_alloc (2 subtests) =============== [18:39:25] [PASSED] drm_test_drm_bridge_alloc_basic [18:39:25] [PASSED] drm_test_drm_bridge_alloc_get_put [18:39:25] ================ [PASSED] drm_bridge_alloc ================= [18:39:25] ============= drm_bridge_bus_fmt (5 subtests) ============== [18:39:25] [PASSED] drm_test_bridge_rgb_yuv_rgb [18:39:25] [PASSED] drm_test_bridge_must_convert_to_yuv444 [18:39:25] [PASSED] drm_test_bridge_hdmi_auto_rgb [18:39:25] [PASSED] drm_test_bridge_auto_first [18:39:25] [PASSED] drm_test_bridge_rgb_yuv_no_path [18:39:25] =============== [PASSED] drm_bridge_bus_fmt ================ [18:39:25] ============= drm_cmdline_parser (40 subtests) ============= [18:39:25] [PASSED] drm_test_cmdline_force_d_only [18:39:25] [PASSED] drm_test_cmdline_force_D_only_dvi [18:39:25] [PASSED] drm_test_cmdline_force_D_only_hdmi [18:39:25] [PASSED] drm_test_cmdline_force_D_only_not_digital [18:39:25] [PASSED] drm_test_cmdline_force_e_only [18:39:25] [PASSED] drm_test_cmdline_res [18:39:25] [PASSED] drm_test_cmdline_res_vesa [18:39:25] [PASSED] drm_test_cmdline_res_vesa_rblank [18:39:25] [PASSED] drm_test_cmdline_res_rblank [18:39:25] [PASSED] drm_test_cmdline_res_bpp [18:39:25] [PASSED] drm_test_cmdline_res_refresh [18:39:25] [PASSED] drm_test_cmdline_res_bpp_refresh [18:39:25] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced [18:39:25] [PASSED] drm_test_cmdline_res_bpp_refresh_margins [18:39:25] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off [18:39:25] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on [18:39:25] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog [18:39:25] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital [18:39:25] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on [18:39:25] [PASSED] drm_test_cmdline_res_margins_force_on [18:39:25] [PASSED] drm_test_cmdline_res_vesa_margins [18:39:25] [PASSED] drm_test_cmdline_name [18:39:25] [PASSED] drm_test_cmdline_name_bpp [18:39:25] [PASSED] drm_test_cmdline_name_option [18:39:25] [PASSED] drm_test_cmdline_name_bpp_option [18:39:25] [PASSED] drm_test_cmdline_rotate_0 [18:39:25] [PASSED] drm_test_cmdline_rotate_90 [18:39:25] [PASSED] drm_test_cmdline_rotate_180 [18:39:25] [PASSED] drm_test_cmdline_rotate_270 [18:39:25] [PASSED] drm_test_cmdline_hmirror [18:39:25] [PASSED] drm_test_cmdline_vmirror [18:39:25] [PASSED] drm_test_cmdline_margin_options [18:39:25] [PASSED] drm_test_cmdline_multiple_options [18:39:25] [PASSED] drm_test_cmdline_bpp_extra_and_option [18:39:25] [PASSED] drm_test_cmdline_extra_and_option [18:39:25] [PASSED] drm_test_cmdline_freestanding_options [18:39:25] [PASSED] drm_test_cmdline_freestanding_force_e_and_options [18:39:25] [PASSED] drm_test_cmdline_panel_orientation [18:39:25] ================ drm_test_cmdline_invalid ================= [18:39:25] [PASSED] margin_only [18:39:25] [PASSED] interlace_only [18:39:25] [PASSED] res_missing_x [18:39:25] [PASSED] res_missing_y [18:39:25] [PASSED] res_bad_y [18:39:25] [PASSED] res_missing_y_bpp [18:39:25] [PASSED] res_bad_bpp [18:39:25] [PASSED] res_bad_refresh [18:39:25] [PASSED] res_bpp_refresh_force_on_off [18:39:25] [PASSED] res_invalid_mode [18:39:25] [PASSED] res_bpp_wrong_place_mode [18:39:25] [PASSED] name_bpp_refresh [18:39:25] [PASSED] name_refresh [18:39:25] [PASSED] name_refresh_wrong_mode [18:39:25] [PASSED] name_refresh_invalid_mode [18:39:25] [PASSED] rotate_multiple [18:39:25] [PASSED] rotate_invalid_val [18:39:25] [PASSED] rotate_truncated [18:39:25] [PASSED] invalid_option [18:39:25] [PASSED] invalid_tv_option [18:39:25] [PASSED] truncated_tv_option [18:39:25] ============ [PASSED] drm_test_cmdline_invalid ============= [18:39:25] =============== drm_test_cmdline_tv_options =============== [18:39:25] [PASSED] NTSC [18:39:25] [PASSED] NTSC_443 [18:39:25] [PASSED] NTSC_J [18:39:25] [PASSED] PAL [18:39:25] [PASSED] PAL_M [18:39:25] [PASSED] PAL_N [18:39:25] [PASSED] SECAM [18:39:25] [PASSED] MONO_525 [18:39:25] [PASSED] MONO_625 [18:39:25] =========== [PASSED] drm_test_cmdline_tv_options =========== [18:39:25] =============== [PASSED] drm_cmdline_parser ================ [18:39:25] ========== drmm_connector_hdmi_init (20 subtests) ========== [18:39:25] [PASSED] drm_test_connector_hdmi_init_valid [18:39:25] [PASSED] drm_test_connector_hdmi_init_bpc_8 [18:39:25] [PASSED] drm_test_connector_hdmi_init_bpc_10 [18:39:25] [PASSED] drm_test_connector_hdmi_init_bpc_12 [18:39:25] [PASSED] drm_test_connector_hdmi_init_bpc_invalid [18:39:25] [PASSED] drm_test_connector_hdmi_init_bpc_null [18:39:25] [PASSED] drm_test_connector_hdmi_init_formats_empty [18:39:25] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb [18:39:25] === drm_test_connector_hdmi_init_formats_yuv420_allowed === [18:39:25] [PASSED] supported_formats=0x9 yuv420_allowed=1 [18:39:25] [PASSED] supported_formats=0x9 yuv420_allowed=0 [18:39:25] [PASSED] supported_formats=0x5 yuv420_allowed=1 [18:39:25] [PASSED] supported_formats=0x5 yuv420_allowed=0 [18:39:25] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed === [18:39:25] [PASSED] drm_test_connector_hdmi_init_null_ddc [18:39:25] [PASSED] drm_test_connector_hdmi_init_null_product [18:39:25] [PASSED] drm_test_connector_hdmi_init_null_vendor [18:39:25] [PASSED] drm_test_connector_hdmi_init_product_length_exact [18:39:25] [PASSED] drm_test_connector_hdmi_init_product_length_too_long [18:39:25] [PASSED] drm_test_connector_hdmi_init_product_valid [18:39:25] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact [18:39:25] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long [18:39:25] [PASSED] drm_test_connector_hdmi_init_vendor_valid [18:39:25] ========= drm_test_connector_hdmi_init_type_valid ========= [18:39:25] [PASSED] HDMI-A [18:39:25] [PASSED] HDMI-B [18:39:25] ===== [PASSED] drm_test_connector_hdmi_init_type_valid ===== [18:39:25] ======== drm_test_connector_hdmi_init_type_invalid ======== [18:39:25] [PASSED] Unknown [18:39:25] [PASSED] VGA [18:39:25] [PASSED] DVI-I [18:39:25] [PASSED] DVI-D [18:39:25] [PASSED] DVI-A [18:39:25] [PASSED] Composite [18:39:25] [PASSED] SVIDEO [18:39:25] [PASSED] LVDS [18:39:25] [PASSED] Component [18:39:25] [PASSED] DIN [18:39:25] [PASSED] DP [18:39:25] [PASSED] TV [18:39:25] [PASSED] eDP [18:39:25] [PASSED] Virtual [18:39:25] [PASSED] DSI [18:39:25] [PASSED] DPI [18:39:25] [PASSED] Writeback [18:39:25] [PASSED] SPI [18:39:25] [PASSED] USB [18:39:25] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ==== [18:39:25] ============ [PASSED] drmm_connector_hdmi_init ============= [18:39:25] ============= drmm_connector_init (3 subtests) ============= [18:39:25] [PASSED] drm_test_drmm_connector_init [18:39:25] [PASSED] drm_test_drmm_connector_init_null_ddc [18:39:25] ========= drm_test_drmm_connector_init_type_valid ========= [18:39:25] [PASSED] Unknown [18:39:25] [PASSED] VGA [18:39:25] [PASSED] DVI-I [18:39:25] [PASSED] DVI-D [18:39:25] [PASSED] DVI-A [18:39:25] [PASSED] Composite [18:39:25] [PASSED] SVIDEO [18:39:25] [PASSED] LVDS [18:39:25] [PASSED] Component [18:39:25] [PASSED] DIN [18:39:25] [PASSED] DP [18:39:25] [PASSED] HDMI-A [18:39:25] [PASSED] HDMI-B [18:39:25] [PASSED] TV [18:39:25] [PASSED] eDP [18:39:25] [PASSED] Virtual [18:39:25] [PASSED] DSI [18:39:25] [PASSED] DPI [18:39:25] [PASSED] Writeback [18:39:25] [PASSED] SPI [18:39:25] [PASSED] USB [18:39:25] ===== [PASSED] drm_test_drmm_connector_init_type_valid ===== [18:39:25] =============== [PASSED] drmm_connector_init =============== [18:39:25] ========= drm_connector_dynamic_init (6 subtests) ========== [18:39:25] [PASSED] drm_test_drm_connector_dynamic_init [18:39:25] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc [18:39:25] [PASSED] drm_test_drm_connector_dynamic_init_not_added [18:39:25] [PASSED] drm_test_drm_connector_dynamic_init_properties [18:39:25] ===== drm_test_drm_connector_dynamic_init_type_valid ====== [18:39:25] [PASSED] Unknown [18:39:25] [PASSED] VGA [18:39:25] [PASSED] DVI-I [18:39:25] [PASSED] DVI-D [18:39:25] [PASSED] DVI-A [18:39:25] [PASSED] Composite [18:39:25] [PASSED] SVIDEO [18:39:25] [PASSED] LVDS [18:39:25] [PASSED] Component [18:39:25] [PASSED] DIN [18:39:25] [PASSED] DP [18:39:25] [PASSED] HDMI-A [18:39:25] [PASSED] HDMI-B [18:39:25] [PASSED] TV [18:39:25] [PASSED] eDP [18:39:25] [PASSED] Virtual [18:39:25] [PASSED] DSI [18:39:25] [PASSED] DPI [18:39:25] [PASSED] Writeback [18:39:25] [PASSED] SPI [18:39:25] [PASSED] USB [18:39:25] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid == [18:39:25] ======== drm_test_drm_connector_dynamic_init_name ========= [18:39:25] [PASSED] Unknown [18:39:25] [PASSED] VGA [18:39:25] [PASSED] DVI-I [18:39:25] [PASSED] DVI-D [18:39:25] [PASSED] DVI-A [18:39:25] [PASSED] Composite [18:39:25] [PASSED] SVIDEO [18:39:25] [PASSED] LVDS [18:39:25] [PASSED] Component [18:39:25] [PASSED] DIN [18:39:25] [PASSED] DP [18:39:25] [PASSED] HDMI-A [18:39:25] [PASSED] HDMI-B [18:39:25] [PASSED] TV [18:39:25] [PASSED] eDP [18:39:25] [PASSED] Virtual [18:39:25] [PASSED] DSI [18:39:25] [PASSED] DPI [18:39:25] [PASSED] Writeback [18:39:25] [PASSED] SPI [18:39:25] [PASSED] USB [18:39:25] ==== [PASSED] drm_test_drm_connector_dynamic_init_name ===== [18:39:25] =========== [PASSED] drm_connector_dynamic_init ============ [18:39:25] ==== drm_connector_dynamic_register_early (4 subtests) ===== [18:39:25] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list [18:39:25] [PASSED] drm_test_drm_connector_dynamic_register_early_defer [18:39:25] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init [18:39:25] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object [18:39:25] ====== [PASSED] drm_connector_dynamic_register_early ======= [18:39:25] ======= drm_connector_dynamic_register (7 subtests) ======== [18:39:25] [PASSED] drm_test_drm_connector_dynamic_register_on_list [18:39:25] [PASSED] drm_test_drm_connector_dynamic_register_no_defer [18:39:25] [PASSED] drm_test_drm_connector_dynamic_register_no_init [18:39:25] [PASSED] drm_test_drm_connector_dynamic_register_mode_object [18:39:25] [PASSED] drm_test_drm_connector_dynamic_register_sysfs [18:39:25] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name [18:39:25] [PASSED] drm_test_drm_connector_dynamic_register_debugfs [18:39:25] ========= [PASSED] drm_connector_dynamic_register ========== [18:39:25] = drm_connector_attach_broadcast_rgb_property (2 subtests) = [18:39:25] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property [18:39:25] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector [18:39:25] === [PASSED] drm_connector_attach_broadcast_rgb_property === [18:39:25] ========== drm_get_tv_mode_from_name (2 subtests) ========== [18:39:25] ========== drm_test_get_tv_mode_from_name_valid =========== [18:39:25] [PASSED] NTSC [18:39:25] [PASSED] NTSC-443 [18:39:25] [PASSED] NTSC-J [18:39:25] [PASSED] PAL [18:39:25] [PASSED] PAL-M [18:39:25] [PASSED] PAL-N [18:39:25] [PASSED] SECAM [18:39:25] [PASSED] Mono [18:39:25] ====== [PASSED] drm_test_get_tv_mode_from_name_valid ======= [18:39:25] [PASSED] drm_test_get_tv_mode_from_name_truncated [18:39:25] ============ [PASSED] drm_get_tv_mode_from_name ============ [18:39:25] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) = [18:39:25] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb [18:39:25] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc [18:39:25] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1 [18:39:25] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc [18:39:25] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1 [18:39:25] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double [18:39:25] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid = [18:39:25] [PASSED] VIC 96 [18:39:25] [PASSED] VIC 97 [18:39:25] [PASSED] VIC 101 [18:39:25] [PASSED] VIC 102 [18:39:25] [PASSED] VIC 106 [18:39:25] [PASSED] VIC 107 [18:39:25] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid === [18:39:25] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc [18:39:25] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc [18:39:25] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc [18:39:25] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc [18:39:25] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc [18:39:25] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ==== [18:39:25] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) == [18:39:25] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ==== [18:39:25] [PASSED] Automatic [18:39:25] [PASSED] Full [18:39:25] [PASSED] Limited 16:235 [18:39:25] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name === [18:39:25] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid [18:39:25] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ==== [18:39:25] == drm_hdmi_connector_get_output_format_name (2 subtests) == [18:39:25] === drm_test_drm_hdmi_connector_get_output_format_name ==== [18:39:25] [PASSED] RGB [18:39:25] [PASSED] YUV 4:2:0 [18:39:25] [PASSED] YUV 4:2:2 [18:39:25] [PASSED] YUV 4:4:4 [18:39:25] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name === [18:39:25] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid [18:39:25] ==== [PASSED] drm_hdmi_connector_get_output_format_name ==== [18:39:25] ============= drm_damage_helper (21 subtests) ============== [18:39:25] [PASSED] drm_test_damage_iter_no_damage [18:39:25] [PASSED] drm_test_damage_iter_no_damage_fractional_src [18:39:25] [PASSED] drm_test_damage_iter_no_damage_src_moved [18:39:25] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved [18:39:25] [PASSED] drm_test_damage_iter_no_damage_not_visible [18:39:25] [PASSED] drm_test_damage_iter_no_damage_no_crtc [18:39:25] [PASSED] drm_test_damage_iter_no_damage_no_fb [18:39:25] [PASSED] drm_test_damage_iter_simple_damage [18:39:25] [PASSED] drm_test_damage_iter_single_damage [18:39:25] [PASSED] drm_test_damage_iter_single_damage_intersect_src [18:39:25] [PASSED] drm_test_damage_iter_single_damage_outside_src [18:39:25] [PASSED] drm_test_damage_iter_single_damage_fractional_src [18:39:25] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src [18:39:25] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src [18:39:25] [PASSED] drm_test_damage_iter_single_damage_src_moved [18:39:25] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved [18:39:25] [PASSED] drm_test_damage_iter_damage [18:39:25] [PASSED] drm_test_damage_iter_damage_one_intersect [18:39:25] [PASSED] drm_test_damage_iter_damage_one_outside [18:39:25] [PASSED] drm_test_damage_iter_damage_src_moved [18:39:25] [PASSED] drm_test_damage_iter_damage_not_visible [18:39:25] ================ [PASSED] drm_damage_helper ================ [18:39:25] ============== drm_dp_mst_helper (3 subtests) ============== [18:39:25] ============== drm_test_dp_mst_calc_pbn_mode ============== [18:39:25] [PASSED] Clock 154000 BPP 30 DSC disabled [18:39:25] [PASSED] Clock 234000 BPP 30 DSC disabled [18:39:25] [PASSED] Clock 297000 BPP 24 DSC disabled [18:39:25] [PASSED] Clock 332880 BPP 24 DSC enabled [18:39:25] [PASSED] Clock 324540 BPP 24 DSC enabled [18:39:25] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ========== [18:39:25] ============== drm_test_dp_mst_calc_pbn_div =============== [18:39:25] [PASSED] Link rate 2000000 lane count 4 [18:39:25] [PASSED] Link rate 2000000 lane count 2 [18:39:25] [PASSED] Link rate 2000000 lane count 1 [18:39:25] [PASSED] Link rate 1350000 lane count 4 [18:39:25] [PASSED] Link rate 1350000 lane count 2 [18:39:25] [PASSED] Link rate 1350000 lane count 1 [18:39:25] [PASSED] Link rate 1000000 lane count 4 [18:39:25] [PASSED] Link rate 1000000 lane count 2 [18:39:25] [PASSED] Link rate 1000000 lane count 1 [18:39:25] [PASSED] Link rate 810000 lane count 4 [18:39:25] [PASSED] Link rate 810000 lane count 2 [18:39:25] [PASSED] Link rate 810000 lane count 1 [18:39:25] [PASSED] Link rate 540000 lane count 4 [18:39:25] [PASSED] Link rate 540000 lane count 2 [18:39:25] [PASSED] Link rate 540000 lane count 1 [18:39:25] [PASSED] Link rate 270000 lane count 4 [18:39:25] [PASSED] Link rate 270000 lane count 2 [18:39:25] [PASSED] Link rate 270000 lane count 1 [18:39:25] [PASSED] Link rate 162000 lane count 4 [18:39:25] [PASSED] Link rate 162000 lane count 2 [18:39:25] [PASSED] Link rate 162000 lane count 1 [18:39:25] ========== [PASSED] drm_test_dp_mst_calc_pbn_div =========== [18:39:25] ========= drm_test_dp_mst_sideband_msg_req_decode ========= [18:39:25] [PASSED] DP_ENUM_PATH_RESOURCES with port number [18:39:25] [PASSED] DP_POWER_UP_PHY with port number [18:39:25] [PASSED] DP_POWER_DOWN_PHY with port number [18:39:25] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks [18:39:25] [PASSED] DP_ALLOCATE_PAYLOAD with port number [18:39:25] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI [18:39:25] [PASSED] DP_ALLOCATE_PAYLOAD with PBN [18:39:25] [PASSED] DP_QUERY_PAYLOAD with port number [18:39:25] [PASSED] DP_QUERY_PAYLOAD with VCPI [18:39:25] [PASSED] DP_REMOTE_DPCD_READ with port number [18:39:25] [PASSED] DP_REMOTE_DPCD_READ with DPCD address [18:39:25] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes [18:39:25] [PASSED] DP_REMOTE_DPCD_WRITE with port number [18:39:25] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address [18:39:25] [PASSED] DP_REMOTE_DPCD_WRITE with data array [18:39:25] [PASSED] DP_REMOTE_I2C_READ with port number [18:39:25] [PASSED] DP_REMOTE_I2C_READ with I2C device ID [18:39:25] [PASSED] DP_REMOTE_I2C_READ with transactions array [18:39:25] [PASSED] DP_REMOTE_I2C_WRITE with port number [18:39:25] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID [18:39:25] [PASSED] DP_REMOTE_I2C_WRITE with data array [18:39:25] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID [18:39:25] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID [18:39:25] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event [18:39:25] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event [18:39:25] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior [18:39:25] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior [18:39:25] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode ===== [18:39:25] ================ [PASSED] drm_dp_mst_helper ================ [18:39:25] ================== drm_exec (7 subtests) =================== [18:39:25] [PASSED] sanitycheck [18:39:25] [PASSED] test_lock [18:39:25] [PASSED] test_lock_unlock [18:39:25] [PASSED] test_duplicates [18:39:25] [PASSED] test_prepare [18:39:25] [PASSED] test_prepare_array [18:39:25] [PASSED] test_multiple_loops [18:39:25] ==================== [PASSED] drm_exec ===================== [18:39:25] =========== drm_format_helper_test (17 subtests) =========== [18:39:25] ============== drm_test_fb_xrgb8888_to_gray8 ============== [18:39:25] [PASSED] single_pixel_source_buffer [18:39:25] [PASSED] single_pixel_clip_rectangle [18:39:25] [PASSED] well_known_colors [18:39:25] [PASSED] destination_pitch [18:39:25] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ========== [18:39:25] ============= drm_test_fb_xrgb8888_to_rgb332 ============== [18:39:25] [PASSED] single_pixel_source_buffer [18:39:25] [PASSED] single_pixel_clip_rectangle [18:39:25] [PASSED] well_known_colors [18:39:25] [PASSED] destination_pitch [18:39:25] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ========== [18:39:25] ============= drm_test_fb_xrgb8888_to_rgb565 ============== [18:39:25] [PASSED] single_pixel_source_buffer [18:39:25] [PASSED] single_pixel_clip_rectangle [18:39:25] [PASSED] well_known_colors [18:39:25] [PASSED] destination_pitch [18:39:25] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ========== [18:39:25] ============ drm_test_fb_xrgb8888_to_xrgb1555 ============= [18:39:25] [PASSED] single_pixel_source_buffer [18:39:25] [PASSED] single_pixel_clip_rectangle [18:39:25] [PASSED] well_known_colors [18:39:25] [PASSED] destination_pitch [18:39:25] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 ========= [18:39:25] ============ drm_test_fb_xrgb8888_to_argb1555 ============= [18:39:25] [PASSED] single_pixel_source_buffer [18:39:25] [PASSED] single_pixel_clip_rectangle [18:39:25] [PASSED] well_known_colors [18:39:25] [PASSED] destination_pitch [18:39:25] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 ========= [18:39:25] ============ drm_test_fb_xrgb8888_to_rgba5551 ============= [18:39:25] [PASSED] single_pixel_source_buffer [18:39:25] [PASSED] single_pixel_clip_rectangle [18:39:25] [PASSED] well_known_colors [18:39:25] [PASSED] destination_pitch [18:39:25] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 ========= [18:39:25] ============= drm_test_fb_xrgb8888_to_rgb888 ============== [18:39:25] [PASSED] single_pixel_source_buffer [18:39:25] [PASSED] single_pixel_clip_rectangle [18:39:25] [PASSED] well_known_colors [18:39:25] [PASSED] destination_pitch [18:39:25] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ========== [18:39:25] ============= drm_test_fb_xrgb8888_to_bgr888 ============== [18:39:25] [PASSED] single_pixel_source_buffer [18:39:25] [PASSED] single_pixel_clip_rectangle [18:39:25] [PASSED] well_known_colors [18:39:25] [PASSED] destination_pitch [18:39:25] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ========== [18:39:25] ============ drm_test_fb_xrgb8888_to_argb8888 ============= [18:39:25] [PASSED] single_pixel_source_buffer [18:39:25] [PASSED] single_pixel_clip_rectangle [18:39:25] [PASSED] well_known_colors [18:39:25] [PASSED] destination_pitch [18:39:25] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 ========= [18:39:25] =========== drm_test_fb_xrgb8888_to_xrgb2101010 =========== [18:39:25] [PASSED] single_pixel_source_buffer [18:39:25] [PASSED] single_pixel_clip_rectangle [18:39:25] [PASSED] well_known_colors [18:39:25] [PASSED] destination_pitch [18:39:25] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 ======= [18:39:25] =========== drm_test_fb_xrgb8888_to_argb2101010 =========== [18:39:25] [PASSED] single_pixel_source_buffer [18:39:25] [PASSED] single_pixel_clip_rectangle [18:39:25] [PASSED] well_known_colors [18:39:25] [PASSED] destination_pitch [18:39:25] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 ======= [18:39:25] ============== drm_test_fb_xrgb8888_to_mono =============== [18:39:25] [PASSED] single_pixel_source_buffer [18:39:25] [PASSED] single_pixel_clip_rectangle [18:39:25] [PASSED] well_known_colors [18:39:25] [PASSED] destination_pitch [18:39:25] ========== [PASSED] drm_test_fb_xrgb8888_to_mono =========== [18:39:25] ==================== drm_test_fb_swab ===================== [18:39:25] [PASSED] single_pixel_source_buffer [18:39:25] [PASSED] single_pixel_clip_rectangle [18:39:25] [PASSED] well_known_colors [18:39:25] [PASSED] destination_pitch [18:39:25] ================ [PASSED] drm_test_fb_swab ================= [18:39:25] ============ drm_test_fb_xrgb8888_to_xbgr8888 ============= [18:39:25] [PASSED] single_pixel_source_buffer [18:39:25] [PASSED] single_pixel_clip_rectangle [18:39:25] [PASSED] well_known_colors [18:39:25] [PASSED] destination_pitch [18:39:25] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 ========= [18:39:25] ============ drm_test_fb_xrgb8888_to_abgr8888 ============= [18:39:25] [PASSED] single_pixel_source_buffer [18:39:25] [PASSED] single_pixel_clip_rectangle [18:39:25] [PASSED] well_known_colors [18:39:25] [PASSED] destination_pitch [18:39:25] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 ========= [18:39:25] ================= drm_test_fb_clip_offset ================= [18:39:25] [PASSED] pass through [18:39:25] [PASSED] horizontal offset [18:39:25] [PASSED] vertical offset [18:39:25] [PASSED] horizontal and vertical offset [18:39:25] [PASSED] horizontal offset (custom pitch) [18:39:25] [PASSED] vertical offset (custom pitch) [18:39:25] [PASSED] horizontal and vertical offset (custom pitch) [18:39:25] ============= [PASSED] drm_test_fb_clip_offset ============= [18:39:25] =================== drm_test_fb_memcpy ==================== [18:39:25] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258) [18:39:25] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258) [18:39:25] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559) [18:39:25] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258) [18:39:25] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258) [18:39:25] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559) [18:39:25] [PASSED] well_known_colors: XB24 little-endian (0x34324258) [18:39:25] [PASSED] well_known_colors: XRA8 little-endian (0x38415258) [18:39:25] [PASSED] well_known_colors: YU24 little-endian (0x34325559) [18:39:25] [PASSED] destination_pitch: XB24 little-endian (0x34324258) [18:39:25] [PASSED] destination_pitch: XRA8 little-endian (0x38415258) [18:39:25] [PASSED] destination_pitch: YU24 little-endian (0x34325559) [18:39:25] =============== [PASSED] drm_test_fb_memcpy ================ [18:39:25] ============= [PASSED] drm_format_helper_test ============== [18:39:25] ================= drm_format (18 subtests) ================= [18:39:25] [PASSED] drm_test_format_block_width_invalid [18:39:25] [PASSED] drm_test_format_block_width_one_plane [18:39:25] [PASSED] drm_test_format_block_width_two_plane [18:39:25] [PASSED] drm_test_format_block_width_three_plane [18:39:25] [PASSED] drm_test_format_block_width_tiled [18:39:25] [PASSED] drm_test_format_block_height_invalid [18:39:25] [PASSED] drm_test_format_block_height_one_plane [18:39:25] [PASSED] drm_test_format_block_height_two_plane [18:39:25] [PASSED] drm_test_format_block_height_three_plane [18:39:25] [PASSED] drm_test_format_block_height_tiled [18:39:25] [PASSED] drm_test_format_min_pitch_invalid [18:39:25] [PASSED] drm_test_format_min_pitch_one_plane_8bpp [18:39:25] [PASSED] drm_test_format_min_pitch_one_plane_16bpp [18:39:25] [PASSED] drm_test_format_min_pitch_one_plane_24bpp [18:39:25] [PASSED] drm_test_format_min_pitch_one_plane_32bpp [18:39:25] [PASSED] drm_test_format_min_pitch_two_plane [18:39:25] [PASSED] drm_test_format_min_pitch_three_plane_8bpp [18:39:25] [PASSED] drm_test_format_min_pitch_tiled [18:39:25] =================== [PASSED] drm_format ==================== [18:39:25] ============== drm_framebuffer (10 subtests) =============== [18:39:25] ========== drm_test_framebuffer_check_src_coords ========== [18:39:25] [PASSED] Success: source fits into fb [18:39:25] [PASSED] Fail: overflowing fb with x-axis coordinate [18:39:25] [PASSED] Fail: overflowing fb with y-axis coordinate [18:39:25] [PASSED] Fail: overflowing fb with source width [18:39:25] [PASSED] Fail: overflowing fb with source height [18:39:25] ====== [PASSED] drm_test_framebuffer_check_src_coords ====== [18:39:25] [PASSED] drm_test_framebuffer_cleanup [18:39:25] =============== drm_test_framebuffer_create =============== [18:39:25] [PASSED] ABGR8888 normal sizes [18:39:25] [PASSED] ABGR8888 max sizes [18:39:25] [PASSED] ABGR8888 pitch greater than min required [18:39:25] [PASSED] ABGR8888 pitch less than min required [18:39:25] [PASSED] ABGR8888 Invalid width [18:39:25] [PASSED] ABGR8888 Invalid buffer handle [18:39:25] [PASSED] No pixel format [18:39:25] [PASSED] ABGR8888 Width 0 [18:39:25] [PASSED] ABGR8888 Height 0 [18:39:25] [PASSED] ABGR8888 Out of bound height * pitch combination [18:39:25] [PASSED] ABGR8888 Large buffer offset [18:39:25] [PASSED] ABGR8888 Buffer offset for inexistent plane [18:39:25] [PASSED] ABGR8888 Invalid flag [18:39:25] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers [18:39:25] [PASSED] ABGR8888 Valid buffer modifier [18:39:25] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE) [18:39:25] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS [18:39:25] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS [18:39:25] [PASSED] NV12 Normal sizes [18:39:25] [PASSED] NV12 Max sizes [18:39:25] [PASSED] NV12 Invalid pitch [18:39:25] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag [18:39:25] [PASSED] NV12 different modifier per-plane [18:39:25] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE [18:39:25] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS [18:39:25] [PASSED] NV12 Modifier for inexistent plane [18:39:25] [PASSED] NV12 Handle for inexistent plane [18:39:25] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS [18:39:25] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier [18:39:25] [PASSED] YVU420 Normal sizes [18:39:25] [PASSED] YVU420 Max sizes [18:39:25] [PASSED] YVU420 Invalid pitch [18:39:25] [PASSED] YVU420 Different pitches [18:39:25] [PASSED] YVU420 Different buffer offsets/pitches [18:39:25] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS [18:39:25] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS [18:39:25] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS [18:39:25] [PASSED] YVU420 Valid modifier [18:39:25] [PASSED] YVU420 Different modifiers per plane [18:39:25] [PASSED] YVU420 Modifier for inexistent plane [18:39:25] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR) [18:39:25] [PASSED] X0L2 Normal sizes [18:39:25] [PASSED] X0L2 Max sizes [18:39:25] [PASSED] X0L2 Invalid pitch [18:39:25] [PASSED] X0L2 Pitch greater than minimum required [18:39:25] [PASSED] X0L2 Handle for inexistent plane [18:39:25] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set [18:39:25] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set [18:39:25] [PASSED] X0L2 Valid modifier [18:39:25] [PASSED] X0L2 Modifier for inexistent plane [18:39:25] =========== [PASSED] drm_test_framebuffer_create =========== [18:39:25] [PASSED] drm_test_framebuffer_free [18:39:25] [PASSED] drm_test_framebuffer_init [18:39:25] [PASSED] drm_test_framebuffer_init_bad_format [18:39:25] [PASSED] drm_test_framebuffer_init_dev_mismatch [18:39:25] [PASSED] drm_test_framebuffer_lookup [18:39:25] [PASSED] drm_test_framebuffer_lookup_inexistent [18:39:25] [PASSED] drm_test_framebuffer_modifiers_not_supported [18:39:25] ================= [PASSED] drm_framebuffer ================= [18:39:25] ================ drm_gem_shmem (8 subtests) ================ [18:39:25] [PASSED] drm_gem_shmem_test_obj_create [18:39:25] [PASSED] drm_gem_shmem_test_obj_create_private [18:39:25] [PASSED] drm_gem_shmem_test_pin_pages [18:39:25] [PASSED] drm_gem_shmem_test_vmap [18:39:25] [PASSED] drm_gem_shmem_test_get_sg_table [18:39:25] [PASSED] drm_gem_shmem_test_get_pages_sgt [18:39:25] [PASSED] drm_gem_shmem_test_madvise [18:39:25] [PASSED] drm_gem_shmem_test_purge [18:39:25] ================== [PASSED] drm_gem_shmem ================== [18:39:25] === drm_atomic_helper_connector_hdmi_check (29 subtests) === [18:39:25] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode [18:39:25] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1 [18:39:25] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode [18:39:25] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1 [18:39:25] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode [18:39:25] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1 [18:39:25] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 ======= [18:39:25] [PASSED] Automatic [18:39:25] [PASSED] Full [18:39:25] [PASSED] Limited 16:235 [18:39:25] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 === [18:39:25] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed [18:39:25] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed [18:39:25] [PASSED] drm_test_check_disable_connector [18:39:25] [PASSED] drm_test_check_hdmi_funcs_reject_rate [18:39:25] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb [18:39:25] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420 [18:39:25] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422 [18:39:25] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420 [18:39:25] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420 [18:39:25] [PASSED] drm_test_check_output_bpc_crtc_mode_changed [18:39:25] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed [18:39:25] [PASSED] drm_test_check_output_bpc_dvi [18:39:25] [PASSED] drm_test_check_output_bpc_format_vic_1 [18:39:25] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only [18:39:25] [PASSED] drm_test_check_output_bpc_format_display_rgb_only [18:39:25] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only [18:39:25] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only [18:39:25] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc [18:39:25] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc [18:39:25] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc [18:39:25] ============ drm_test_check_hdmi_color_format ============= [18:39:25] [PASSED] AUTO -> RGB [18:39:25] [PASSED] YCBCR422 -> YUV422 [18:39:25] [PASSED] YCBCR420 -> YUV420 [18:39:25] [PASSED] YCBCR444 -> YUV444 [18:39:25] [PASSED] RGB -> RGB [18:39:25] ======== [PASSED] drm_test_check_hdmi_color_format ========= [18:39:25] ======== drm_test_check_hdmi_color_format_420_only ======== [18:39:25] [PASSED] RGB should fail [18:39:25] [PASSED] YUV444 should fail [18:39:25] [PASSED] YUV422 should fail [18:39:25] [PASSED] YUV420 should work [18:39:25] ==== [PASSED] drm_test_check_hdmi_color_format_420_only ==== [18:39:25] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ====== [18:39:25] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ==== [18:39:25] [PASSED] drm_test_check_broadcast_rgb_value [18:39:25] [PASSED] drm_test_check_bpc_8_value [18:39:25] [PASSED] drm_test_check_bpc_10_value [18:39:25] [PASSED] drm_test_check_bpc_12_value [18:39:25] [PASSED] drm_test_check_format_value [18:39:25] [PASSED] drm_test_check_tmds_char_value [18:39:25] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ====== [18:39:25] = drm_atomic_helper_connector_hdmi_mode_valid (7 subtests) = [18:39:25] [PASSED] drm_test_check_mode_valid [18:39:25] [PASSED] drm_test_check_mode_valid_reject [18:39:25] [PASSED] drm_test_check_mode_valid_reject_rate [18:39:25] [PASSED] drm_test_check_mode_valid_reject_max_clock [18:39:25] [PASSED] drm_test_check_mode_valid_yuv420_only_max_clock [18:39:25] [PASSED] drm_test_check_mode_valid_reject_yuv420_only_connector [18:39:25] [PASSED] drm_test_check_mode_valid_accept_yuv420_also_connector_rgb [18:39:25] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid === [18:39:25] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) = [18:39:25] [PASSED] drm_test_check_infoframes [18:39:25] [PASSED] drm_test_check_reject_avi_infoframe [18:39:25] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8 [18:39:25] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10 [18:39:25] [PASSED] drm_test_check_reject_audio_infoframe [18:39:25] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes === [18:39:25] ================= drm_managed (2 subtests) ================= [18:39:25] [PASSED] drm_test_managed_release_action [18:39:25] [PASSED] drm_test_managed_run_action [18:39:25] =================== [PASSED] drm_managed =================== [18:39:25] =================== drm_mm (6 subtests) ==================== [18:39:25] [PASSED] drm_test_mm_init [18:39:25] [PASSED] drm_test_mm_debug [18:39:25] [PASSED] drm_test_mm_align32 [18:39:25] [PASSED] drm_test_mm_align64 [18:39:25] [PASSED] drm_test_mm_lowest [18:39:25] [PASSED] drm_test_mm_highest [18:39:25] ===================== [PASSED] drm_mm ====================== [18:39:25] ============= drm_modes_analog_tv (5 subtests) ============= [18:39:25] [PASSED] drm_test_modes_analog_tv_mono_576i [18:39:25] [PASSED] drm_test_modes_analog_tv_ntsc_480i [18:39:25] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined [18:39:25] [PASSED] drm_test_modes_analog_tv_pal_576i [18:39:25] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined [18:39:25] =============== [PASSED] drm_modes_analog_tv =============== [18:39:25] ============== drm_panic_helper (3 subtests) =============== [18:39:25] ============= drm_test_panic_screen_user_map ============== [18:39:25] [PASSED] Panic screen user, mode: 1024 x 768 XR24 little-endian (0x34325258) [18:39:25] [PASSED] Panic screen user, mode: 494 x 494 XR24 little-endian (0x34325258) [18:39:25] [PASSED] Panic screen user, mode: 1920 x 1080 XR24 little-endian (0x34325258) [18:39:25] [PASSED] Panic screen user, mode: 1024 x 768 RG16 little-endian (0x36314752) [18:39:25] [PASSED] Panic screen user, mode: 1024 x 768 RG24 little-endian (0x34324752) [18:39:25] [PASSED] Panic screen kmsg, mode: 1024 x 768 XR24 little-endian (0x34325258) [18:39:25] [PASSED] Panic screen kmsg, mode: 494 x 494 XR24 little-endian (0x34325258) [18:39:25] [PASSED] Panic screen kmsg, mode: 1920 x 1080 XR24 little-endian (0x34325258) [18:39:25] [PASSED] Panic screen kmsg, mode: 1024 x 768 RG16 little-endian (0x36314752) [18:39:25] [PASSED] Panic screen kmsg, mode: 1024 x 768 RG24 little-endian (0x34324752) [18:39:25] ========= [PASSED] drm_test_panic_screen_user_map ========== [18:39:25] ============= drm_test_panic_screen_user_page ============= [18:39:25] [PASSED] Panic screen user, mode: 1024 x 768 XR24 little-endian (0x34325258) [18:39:25] [PASSED] Panic screen user, mode: 494 x 494 XR24 little-endian (0x34325258) [18:39:25] [PASSED] Panic screen user, mode: 1920 x 1080 XR24 little-endian (0x34325258) [18:39:25] [PASSED] Panic screen user, mode: 1024 x 768 RG16 little-endian (0x36314752) [18:39:25] [PASSED] Panic screen user, mode: 1024 x 768 RG24 little-endian (0x34324752) [18:39:25] [PASSED] Panic screen kmsg, mode: 1024 x 768 XR24 little-endian (0x34325258) [18:39:25] [PASSED] Panic screen kmsg, mode: 494 x 494 XR24 little-endian (0x34325258) [18:39:25] [PASSED] Panic screen kmsg, mode: 1920 x 1080 XR24 little-endian (0x34325258) [18:39:25] [PASSED] Panic screen kmsg, mode: 1024 x 768 RG16 little-endian (0x36314752) [18:39:25] [PASSED] Panic screen kmsg, mode: 1024 x 768 RG24 little-endian (0x34324752) [18:39:25] ========= [PASSED] drm_test_panic_screen_user_page ========= [18:39:25] ========== drm_test_panic_screen_user_set_pixel =========== [18:39:25] [PASSED] Panic screen user, mode: 1024 x 768 XR24 little-endian (0x34325258) [18:39:25] [PASSED] Panic screen user, mode: 494 x 494 XR24 little-endian (0x34325258) [18:39:25] [PASSED] Panic screen user, mode: 1920 x 1080 XR24 little-endian (0x34325258) [18:39:25] [PASSED] Panic screen user, mode: 1024 x 768 RG16 little-endian (0x36314752) [18:39:25] [PASSED] Panic screen user, mode: 1024 x 768 RG24 little-endian (0x34324752) [18:39:25] [PASSED] Panic screen kmsg, mode: 1024 x 768 XR24 little-endian (0x34325258) [18:39:25] [PASSED] Panic screen kmsg, mode: 494 x 494 XR24 little-endian (0x34325258) [18:39:25] [PASSED] Panic screen kmsg, mode: 1920 x 1080 XR24 little-endian (0x34325258) [18:39:25] [PASSED] Panic screen kmsg, mode: 1024 x 768 RG16 little-endian (0x36314752) [18:39:25] [PASSED] Panic screen kmsg, mode: 1024 x 768 RG24 little-endian (0x34324752) [18:39:25] ====== [PASSED] drm_test_panic_screen_user_set_pixel ======= [18:39:25] ================ [PASSED] drm_panic_helper ================= [18:39:25] ============== drm_plane_helper (2 subtests) =============== [18:39:25] =============== drm_test_check_plane_state ================ [18:39:25] [PASSED] clipping_simple [18:39:25] [PASSED] clipping_rotate_reflect [18:39:25] [PASSED] positioning_simple [18:39:25] [PASSED] upscaling [18:39:25] [PASSED] downscaling [18:39:25] [PASSED] rounding1 [18:39:25] [PASSED] rounding2 [18:39:25] [PASSED] rounding3 [18:39:25] [PASSED] rounding4 [18:39:25] =========== [PASSED] drm_test_check_plane_state ============ [18:39:25] =========== drm_test_check_invalid_plane_state ============ [18:39:25] [PASSED] positioning_invalid [18:39:25] [PASSED] upscaling_invalid [18:39:25] [PASSED] downscaling_invalid [18:39:25] ======= [PASSED] drm_test_check_invalid_plane_state ======== [18:39:25] ================ [PASSED] drm_plane_helper ================= [18:39:25] ====== drm_connector_helper_tv_get_modes (1 subtest) ======= [18:39:25] ====== drm_test_connector_helper_tv_get_modes_check ======= [18:39:25] [PASSED] None [18:39:25] [PASSED] PAL [18:39:25] [PASSED] NTSC [18:39:25] [PASSED] Both, NTSC Default [18:39:25] [PASSED] Both, PAL Default [18:39:25] [PASSED] Both, NTSC Default, with PAL on command-line [18:39:25] [PASSED] Both, PAL Default, with NTSC on command-line [18:39:25] == [PASSED] drm_test_connector_helper_tv_get_modes_check === [18:39:25] ======== [PASSED] drm_connector_helper_tv_get_modes ======== [18:39:25] ================== drm_rect (9 subtests) =================== [18:39:25] [PASSED] drm_test_rect_clip_scaled_div_by_zero [18:39:25] [PASSED] drm_test_rect_clip_scaled_not_clipped [18:39:25] [PASSED] drm_test_rect_clip_scaled_clipped [18:39:25] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned [18:39:25] ================= drm_test_rect_intersect ================= [18:39:25] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0 [18:39:25] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1 [18:39:25] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0 [18:39:25] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1 [18:39:25] [PASSED] right x left: 2x1+0+0 x 3x1+1+0 [18:39:25] [PASSED] left x right: 3x1+1+0 x 2x1+0+0 [18:39:25] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1 [18:39:25] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0 [18:39:25] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1 [18:39:25] [PASSED] touching side: 1x1+0+0 x 1x1+1+0 [18:39:25] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0 [18:39:25] [PASSED] inside another: 2x2+0+0 x 1x1+1+1 [18:39:25] [PASSED] far away: 1x1+0+0 x 1x1+3+6 [18:39:25] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10 [18:39:25] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10 [18:39:25] ============= [PASSED] drm_test_rect_intersect ============= [18:39:25] ================ drm_test_rect_calc_hscale ================ [18:39:25] [PASSED] normal use [18:39:25] [PASSED] out of max range [18:39:25] [PASSED] out of min range [18:39:25] [PASSED] zero dst [18:39:25] [PASSED] negative src [18:39:25] [PASSED] negative dst [18:39:25] ============ [PASSED] drm_test_rect_calc_hscale ============ [18:39:25] ================ drm_test_rect_calc_vscale ================ [18:39:25] [PASSED] normal use [18:39:25] [PASSED] out of max range [18:39:25] [PASSED] out of min range [18:39:25] [PASSED] zero dst [18:39:25] [PASSED] negative src [18:39:25] [PASSED] negative dst [18:39:25] ============ [PASSED] drm_test_rect_calc_vscale ============ [18:39:25] ================== drm_test_rect_rotate =================== [18:39:25] [PASSED] reflect-x [18:39:25] [PASSED] reflect-y [18:39:25] [PASSED] rotate-0 [18:39:25] [PASSED] rotate-90 [18:39:25] [PASSED] rotate-180 [18:39:25] [PASSED] rotate-270 [18:39:25] ============== [PASSED] drm_test_rect_rotate =============== [18:39:25] ================ drm_test_rect_rotate_inv ================= [18:39:25] [PASSED] reflect-x [18:39:25] [PASSED] reflect-y [18:39:25] [PASSED] rotate-0 [18:39:25] [PASSED] rotate-90 [18:39:25] [PASSED] rotate-180 [18:39:25] [PASSED] rotate-270 [18:39:25] ============ [PASSED] drm_test_rect_rotate_inv ============= [18:39:25] ==================== [PASSED] drm_rect ===================== [18:39:25] ============ drm_sysfb_modeset_test (1 subtest) ============ [18:39:25] ============ drm_test_sysfb_build_fourcc_list ============= [18:39:25] [PASSED] no native formats [18:39:25] [PASSED] XRGB8888 as native format [18:39:25] [PASSED] remove duplicates [18:39:25] [PASSED] convert alpha formats [18:39:25] [PASSED] random formats [18:39:25] ======== [PASSED] drm_test_sysfb_build_fourcc_list ========= [18:39:25] ============= [PASSED] drm_sysfb_modeset_test ============== [18:39:25] ================== drm_fixp (2 subtests) =================== [18:39:25] [PASSED] drm_test_int2fixp [18:39:25] [PASSED] drm_test_sm2fixp [18:39:25] ==================== [PASSED] drm_fixp ===================== [18:39:25] ============================================================ [18:39:25] Testing complete. Ran 667 tests: passed: 667 [18:39:25] Elapsed time: 28.642s total, 2.518s configuring, 25.659s building, 0.455s running
+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig [18:39:25] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [18:39:28] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [18:39:38] Starting KUnit Kernel (1/1)... [18:39:38] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [18:39:38] ================= ttm_device (5 subtests) ================== [18:39:38] [PASSED] ttm_device_init_basic [18:39:38] [PASSED] ttm_device_init_multiple [18:39:38] [PASSED] ttm_device_fini_basic [18:39:38] [PASSED] ttm_device_init_no_vma_man [18:39:38] ================== ttm_device_init_pools ================== [18:39:38] [PASSED] No DMA allocations, no DMA32 required [18:39:38] [PASSED] DMA allocations, DMA32 required [18:39:38] [PASSED] No DMA allocations, DMA32 required [18:39:38] [PASSED] DMA allocations, no DMA32 required [18:39:38] ============== [PASSED] ttm_device_init_pools ============== [18:39:38] =================== [PASSED] ttm_device ==================== [18:39:38] ================== ttm_pool (8 subtests) =================== [18:39:38] ================== ttm_pool_alloc_basic =================== [18:39:38] [PASSED] One page [18:39:38] [PASSED] More than one page [18:39:38] [PASSED] Above the allocation limit [18:39:38] [PASSED] One page, with coherent DMA mappings enabled [18:39:38] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [18:39:38] ============== [PASSED] ttm_pool_alloc_basic =============== [18:39:38] ============== ttm_pool_alloc_basic_dma_addr ============== [18:39:38] [PASSED] One page [18:39:38] [PASSED] More than one page [18:39:38] [PASSED] Above the allocation limit [18:39:38] [PASSED] One page, with coherent DMA mappings enabled [18:39:38] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [18:39:38] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ========== [18:39:38] [PASSED] ttm_pool_alloc_order_caching_match [18:39:38] [PASSED] ttm_pool_alloc_caching_mismatch [18:39:38] [PASSED] ttm_pool_alloc_order_mismatch [18:39:38] [PASSED] ttm_pool_free_dma_alloc [18:39:38] [PASSED] ttm_pool_free_no_dma_alloc [18:39:38] [PASSED] ttm_pool_fini_basic [18:39:38] ==================== [PASSED] ttm_pool ===================== [18:39:38] ================ ttm_resource (8 subtests) ================= [18:39:38] ================= ttm_resource_init_basic ================= [18:39:38] [PASSED] Init resource in TTM_PL_SYSTEM [18:39:38] [PASSED] Init resource in TTM_PL_VRAM [18:39:38] [PASSED] Init resource in a private placement [18:39:38] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags [18:39:38] ============= [PASSED] ttm_resource_init_basic ============= [18:39:38] [PASSED] ttm_resource_init_pinned [18:39:38] [PASSED] ttm_resource_fini_basic [18:39:38] [PASSED] ttm_resource_manager_init_basic [18:39:38] [PASSED] ttm_resource_manager_usage_basic [18:39:38] [PASSED] ttm_resource_manager_set_used_basic [18:39:38] [PASSED] ttm_sys_man_alloc_basic [18:39:38] [PASSED] ttm_sys_man_free_basic [18:39:38] ================== [PASSED] ttm_resource =================== [18:39:38] =================== ttm_tt (15 subtests) =================== [18:39:38] ==================== ttm_tt_init_basic ==================== [18:39:38] [PASSED] Page-aligned size [18:39:38] [PASSED] Extra pages requested [18:39:38] ================ [PASSED] ttm_tt_init_basic ================ [18:39:38] [PASSED] ttm_tt_init_misaligned [18:39:38] [PASSED] ttm_tt_fini_basic [18:39:38] [PASSED] ttm_tt_fini_sg [18:39:38] [PASSED] ttm_tt_fini_shmem [18:39:38] [PASSED] ttm_tt_create_basic [18:39:38] [PASSED] ttm_tt_create_invalid_bo_type [18:39:38] [PASSED] ttm_tt_create_ttm_exists [18:39:38] [PASSED] ttm_tt_create_failed [18:39:38] [PASSED] ttm_tt_destroy_basic [18:39:38] [PASSED] ttm_tt_populate_null_ttm [18:39:38] [PASSED] ttm_tt_populate_populated_ttm [18:39:38] [PASSED] ttm_tt_unpopulate_basic [18:39:38] [PASSED] ttm_tt_unpopulate_empty_ttm [18:39:38] [PASSED] ttm_tt_swapin_basic [18:39:38] ===================== [PASSED] ttm_tt ====================== [18:39:38] =================== ttm_bo (14 subtests) =================== [18:39:38] =========== ttm_bo_reserve_optimistic_no_ticket =========== [18:39:38] [PASSED] Cannot be interrupted and sleeps [18:39:38] [PASSED] Cannot be interrupted, locks straight away [18:39:38] [PASSED] Can be interrupted, sleeps [18:39:38] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket ======= [18:39:38] [PASSED] ttm_bo_reserve_locked_no_sleep [18:39:38] [PASSED] ttm_bo_reserve_no_wait_ticket [18:39:39] [PASSED] ttm_bo_reserve_double_resv [18:39:39] [PASSED] ttm_bo_reserve_interrupted [18:39:39] [PASSED] ttm_bo_reserve_deadlock [18:39:39] [PASSED] ttm_bo_unreserve_basic [18:39:39] [PASSED] ttm_bo_unreserve_pinned [18:39:39] [PASSED] ttm_bo_unreserve_bulk [18:39:39] [PASSED] ttm_bo_fini_basic [18:39:39] [PASSED] ttm_bo_fini_shared_resv [18:39:39] [PASSED] ttm_bo_pin_basic [18:39:39] [PASSED] ttm_bo_pin_unpin_resource [18:39:39] [PASSED] ttm_bo_multiple_pin_one_unpin [18:39:39] ===================== [PASSED] ttm_bo ====================== [18:39:39] ============== ttm_bo_validate (22 subtests) =============== [18:39:39] ============== ttm_bo_init_reserved_sys_man =============== [18:39:39] [PASSED] Buffer object for userspace [18:39:39] [PASSED] Kernel buffer object [18:39:39] [PASSED] Shared buffer object [18:39:39] ========== [PASSED] ttm_bo_init_reserved_sys_man =========== [18:39:39] ============== ttm_bo_init_reserved_mock_man ============== [18:39:39] [PASSED] Buffer object for userspace [18:39:39] [PASSED] Kernel buffer object [18:39:39] [PASSED] Shared buffer object [18:39:39] ========== [PASSED] ttm_bo_init_reserved_mock_man ========== [18:39:39] [PASSED] ttm_bo_init_reserved_resv [18:39:39] ================== ttm_bo_validate_basic ================== [18:39:39] [PASSED] Buffer object for userspace [18:39:39] [PASSED] Kernel buffer object [18:39:39] [PASSED] Shared buffer object [18:39:39] ============== [PASSED] ttm_bo_validate_basic ============== [18:39:39] [PASSED] ttm_bo_validate_invalid_placement [18:39:39] ============= ttm_bo_validate_same_placement ============== [18:39:39] [PASSED] System manager [18:39:39] [PASSED] VRAM manager [18:39:39] ========= [PASSED] ttm_bo_validate_same_placement ========== [18:39:39] [PASSED] ttm_bo_validate_failed_alloc [18:39:39] [PASSED] ttm_bo_validate_pinned [18:39:39] [PASSED] ttm_bo_validate_busy_placement [18:39:39] ================ ttm_bo_validate_multihop ================= [18:39:39] [PASSED] Buffer object for userspace [18:39:39] [PASSED] Kernel buffer object [18:39:39] [PASSED] Shared buffer object [18:39:39] ============ [PASSED] ttm_bo_validate_multihop ============= [18:39:39] ========== ttm_bo_validate_no_placement_signaled ========== [18:39:39] [PASSED] Buffer object in system domain, no page vector [18:39:39] [PASSED] Buffer object in system domain with an existing page vector [18:39:39] ====== [PASSED] ttm_bo_validate_no_placement_signaled ====== [18:39:39] ======== ttm_bo_validate_no_placement_not_signaled ======== [18:39:39] [PASSED] Buffer object for userspace [18:39:39] [PASSED] Kernel buffer object [18:39:39] [PASSED] Shared buffer object [18:39:39] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ==== [18:39:39] [PASSED] ttm_bo_validate_move_fence_signaled [18:39:39] ========= ttm_bo_validate_move_fence_not_signaled ========= [18:39:39] [PASSED] Waits for GPU [18:39:39] [PASSED] Tries to lock straight away [18:39:39] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled ===== [18:39:39] [PASSED] ttm_bo_validate_swapout [18:39:39] [PASSED] ttm_bo_validate_happy_evict [18:39:39] [PASSED] ttm_bo_validate_all_pinned_evict [18:39:39] [PASSED] ttm_bo_validate_allowed_only_evict [18:39:39] [PASSED] ttm_bo_validate_deleted_evict [18:39:39] [PASSED] ttm_bo_validate_busy_domain_evict [18:39:39] [PASSED] ttm_bo_validate_evict_gutting [18:39:39] [PASSED] ttm_bo_validate_recrusive_evict [18:39:39] ================= [PASSED] ttm_bo_validate ================= [18:39:39] ============================================================ [18:39:39] Testing complete. Ran 102 tests: passed: 102 [18:39:39] Elapsed time: 13.271s total, 2.492s configuring, 10.515s building, 0.227s running
+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/dma-buf/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/dma-buf/.kunitconfig [18:39:39] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [18:39:41] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [18:39:51] Starting KUnit Kernel (1/1)... [18:39:51] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [18:39:51] =============== dma-buf-fence (12 subtests) ================ [18:39:51] [PASSED] test_sanitycheck [18:39:51] [PASSED] test_signaling [18:39:51] [PASSED] test_add_callback [18:39:51] [PASSED] test_late_add_callback [18:39:51] [PASSED] test_rm_callback [18:39:51] [PASSED] test_late_rm_callback [18:39:51] [PASSED] test_status [18:39:51] [PASSED] test_error [18:39:51] [PASSED] test_wait [18:39:51] [PASSED] test_wait_timeout [18:39:51] [PASSED] test_stub [18:39:51] [SKIPPED] test_race_signal_callback (requires at least 2 CPUs) [18:39:51] ================== [PASSED] dma-buf-fence ================== [18:39:51] ============ dma-buf-fence-chain (11 subtests) ============= [18:39:51] [PASSED] test_sanitycheck [18:39:51] [PASSED] test_find_seqno [18:39:51] [PASSED] test_find_signaled [18:39:51] [PASSED] test_find_out_of_order [18:39:56] [PASSED] test_find_gap [18:39:56] [PASSED] test_find_race [18:39:56] [PASSED] test_signal_forward [18:39:56] [PASSED] test_signal_backward [18:39:56] [PASSED] test_wait_forward [18:39:56] [PASSED] test_wait_backward [18:39:56] [PASSED] test_wait_random [18:39:56] =============== [PASSED] dma-buf-fence-chain =============== [18:39:56] ============ dma-buf-fence-unwrap (11 subtests) ============ [18:39:56] [PASSED] test_sanitycheck [18:39:56] [PASSED] test_unwrap_array [18:39:56] [PASSED] test_unwrap_chain [18:39:56] [PASSED] test_unwrap_chain_array [18:39:56] [PASSED] test_unwrap_merge [18:39:56] [PASSED] test_unwrap_merge_duplicate [18:39:56] [PASSED] test_unwrap_merge_seqno [18:39:56] [PASSED] test_unwrap_merge_order [18:39:56] [PASSED] test_unwrap_merge_complex [18:39:56] [PASSED] test_unwrap_merge_complex_seqno [18:39:56] [PASSED] test_dedup_empty [18:39:56] ============== [PASSED] dma-buf-fence-unwrap =============== [18:39:56] ================ dma-buf-resv (5 subtests) ================= [18:39:56] [PASSED] test_sanitycheck [18:39:56] ===================== test_signaling ====================== [18:39:56] [PASSED] kernel [18:39:56] [PASSED] write [18:39:56] [PASSED] read [18:39:56] [PASSED] bookkeep [18:39:56] ================= [PASSED] test_signaling ================== [18:39:56] ====================== test_for_each ====================== [18:39:56] [PASSED] kernel [18:39:56] [PASSED] write [18:39:56] [PASSED] read [18:39:56] [PASSED] bookkeep [18:39:56] ================== [PASSED] test_for_each ================== [18:39:56] ================= test_for_each_unlocked ================== [18:39:56] [PASSED] kernel [18:39:56] [PASSED] write [18:39:56] [PASSED] read [18:39:56] [PASSED] bookkeep [18:39:56] ============= [PASSED] test_for_each_unlocked ============== [18:39:56] ===================== test_get_fences ===================== [18:39:56] [PASSED] kernel [18:39:56] [PASSED] write [18:39:56] [PASSED] read [18:39:56] [PASSED] bookkeep [18:39:56] ================= [PASSED] test_get_fences ================= [18:39:56] ================== [PASSED] dma-buf-resv =================== [18:39:56] ============================================================ [18:39:56] Testing complete. Ran 51 tests: passed: 50, skipped: 1 [18:39:56] Elapsed time: 17.344s total, 2.479s configuring, 9.493s building, 5.358s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
Patchwork
CI✓ Xe.CI.BAT: success for dma-buf: dma-fence: Remove dma_fence_init64() (rev2)
In reply to Philipp Stanner== Series Details ==
== Series Details ==
Series: dma-buf: dma-fence: Remove dma_fence_init64() (rev2)
URL : https://patchwork.freedesktop.org/series/177858/
State : success
== Summary ==
CI Bug Log - changes from xe-6175-e7c60d65b141a5bd0916a4aecf0423496da8455c_BAT -> xe-pw-177858v2_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (15 -> 15)
------------------------------
No changes in participating hosts
Changes
-------
No changes found
Build changes
-------------
* Linux: xe-6175-e7c60d65b141a5bd0916a4aecf0423496da8455c -> xe-pw-177858v2
IGT_9197: 9197
xe-6175-e7c60d65b141a5bd0916a4aecf0423496da8455c: e7c60d65b141a5bd0916a4aecf0423496da8455c
xe-pw-177858v2: 177858v2
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-177858v2/index.html
Patchwork
CI✓ i915.CI.BAT: success for dma-buf: dma-fence: Remove dma_fence_init64() (rev2)
In reply to Philipp Stanner== Series Details ==
== Series Details ==
Series: dma-buf: dma-fence: Remove dma_fence_init64() (rev2)
URL : https://patchwork.freedesktop.org/series/177862/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_19557 -> Patchwork_177862v2
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_177862v2/index.html
Participating hosts (40 -> 39)
------------------------------
Missing (1): bat-dg2-13
Known issues
------------
Here are the changes found in Patchwork_177862v2 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@vgem_basic@unload:
- bat-rpls-4: [PASS][1] -> [DMESG-WARN][2] ([i915#13400])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_19557/bat-rpls-4/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_177862v2/bat-rpls-4/igt@[email protected]
[i915#13400]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/13400
Build changes
-------------
* Linux: CI_DRM_19557 -> Patchwork_177862v2
CI-20190529: 20190529
CI_DRM_19557: 6d6b6ed3d20eb8db677d6463fd2f267fc29cd510 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_9197: 9197
Patchwork_177862v2: 6d6b6ed3d20eb8db677d6463fd2f267fc29cd510 @ git://anongit.freedesktop.org/gfx-ci/linux
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_177862v2/index.html