Access counter squash
Subsystems (3)
PATCH v3 1/1 Access counter squash
--- drivers/gpu/drm/xe/Makefile | 4 +- drivers/gpu/drm/xe/regs/xe_gtt_defs.h | 1 + drivers/gpu/drm/xe/regs/xe_lrc_layout.h | 10 + drivers/gpu/drm/xe/xe_access_counter.c | 366 +++++++++++++++++++ drivers/gpu/drm/xe/xe_access_counter.h | 17 + drivers/gpu/drm/xe/xe_access_counter_types.h | 143 ++++++++ drivers/gpu/drm/xe/xe_device.c | 30 ++ drivers/gpu/drm/xe/xe_device.h | 1 + drivers/gpu/drm/xe/xe_device_types.h | 12 + drivers/gpu/drm/xe/xe_exec_queue.c | 35 +- drivers/gpu/drm/xe/xe_exec_queue_types.h | 9 + drivers/gpu/drm/xe/xe_execlist.c | 2 +- drivers/gpu/drm/xe/xe_guc_access_counter.c | 74 ++++ drivers/gpu/drm/xe/xe_guc_access_counter.h | 15 + drivers/gpu/drm/xe/xe_guc_ct.c | 4 + drivers/gpu/drm/xe/xe_guc_fwif.h | 1 + drivers/gpu/drm/xe/xe_lrc.c | 35 +- drivers/gpu/drm/xe/xe_lrc.h | 5 +- drivers/gpu/drm/xe/xe_pagefault.c | 78 +--- drivers/gpu/drm/xe/xe_pt.c | 21 ++ drivers/gpu/drm/xe/xe_svm.c | 197 ++++++++-- drivers/gpu/drm/xe/xe_svm.h | 49 +++ drivers/gpu/drm/xe/xe_trace_bo.h | 32 +- drivers/gpu/drm/xe/xe_usm_queue.h | 127 +++++++ drivers/gpu/drm/xe/xe_vm.c | 130 ++++++- drivers/gpu/drm/xe/xe_vm.h | 6 + drivers/gpu/drm/xe/xe_vm_types.h | 11 + include/uapi/drm/xe_drm.h | 205 +++++++++++ 28 files changed, 1505 insertions(+), 115 deletions(-) create mode 100644 drivers/gpu/drm/xe/xe_access_counter.c create mode 100644 drivers/gpu/drm/xe/xe_access_counter.h create mode 100644 drivers/gpu/drm/xe/xe_access_counter_types.h create mode 100644 drivers/gpu/drm/xe/xe_guc_access_counter.c create mode 100644 drivers/gpu/drm/xe/xe_guc_access_counter.h create mode 100644 drivers/gpu/drm/xe/xe_usm_queue.h
drivers/gpu/drm/xe/Makefile +3 -1
@@ -32,7 +32,8 @@ $(obj)/generated/%_device_wa_oob.c $(obj)/generated/%_device_wa_oob.h: $(obj)/xe # core driver code -xe-y += xe_bb.o \ +xe-y += xe_access_counter.o \ + xe_bb.o \ xe_bo.o \ xe_bo_evict.o \ xe_dep_scheduler.o \
@@ -73,6 +74,7 @@ xe-y += xe_bb.o \ xe_guc_id_mgr.o \ xe_guc_klv_helpers.o \ xe_guc_log.o \ + xe_guc_access_counter.o \ xe_guc_pagefault.o \ xe_guc_pc.o \ xe_guc_rc.o \
drivers/gpu/drm/xe/regs/xe_gtt_defs.h +1 -0
@@ -30,6 +30,7 @@#define XE_PDE_IPS_64K BIT_ULL(11)#define XE_GGTT_PTE_DM BIT_ULL(1) +#define XE_PPGTT_PTE_NC BIT_ULL(5)#define XE_USM_PPGTT_PTE_AE BIT_ULL(10)#define XE_PPGTT_PTE_DM BIT_ULL(11)#define XE_PDE_64K BIT_ULL(6)
drivers/gpu/drm/xe/regs/xe_lrc_layout.h +10 -0
@@ -45,4 +45,14 @@#define INDIRECT_CTX_RING_START_UDW (0x08 + 1)#define INDIRECT_CTX_RING_CTL (0x0a + 1) +/* Fields for CTX_ACC_CTR_THOLD */ +#define ACC_TRIGGER_MASK REG_GENMASK(15, 0) +#define ACC_TRIGGER_VAL (x) REG_FIELD_PREP(ACC_TRIGGER_MASK, x) +#define ACC_NOTIFY_MASK REG_GENMASK(31, 16) +#define ACC_NOTIFY_VAL (x) REG_FIELD_PREP(ACC_NOTIFY_MASK, x) + +/* Fields for CTX_ASID */ +#define ACC_GRANULARITY_MASK REG_GENMASK(22, 20) +#define ACC_GRANULARITY_VAL (x) REG_FIELD_PREP(ACC_GRANULARITY_MASK, x) +#endif
drivers/gpu/drm/xe/xe_access_counter.c new file +366 -0
366 lines not on this page · raw message
drivers/gpu/drm/xe/xe_access_counter.h new file +17 -0
@@ -0,0 +1,17 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2026 Intel Corporation +*/ + +#ifndef _XE_ACCESS_COUNTER_H_ +#define _XE_ACCESS_COUNTER_H_ + +struct xe_device ; +struct xe_gt ; +struct xe_access_counter ; + +int xe_access_counter_init (struct xe_device *xe); + +int xe_access_counter_handler (struct xe_device *xe,struct xe_access_counter *ac); + +#endif
drivers/gpu/drm/xe/xe_access_counter_types.h new file +143 -0
143 lines not on this page · raw message
drivers/gpu/drm/xe/xe_device.c +30 -0
@@ -23,6 +23,7 @@#include "instructions/xe_gpu_commands.h" #include "regs/xe_gt_regs.h" #include "regs/xe_regs.h" +#include "xe_access_counter.h" #include "xe_bo.h" #include "xe_bo_evict.h" #include "xe_configfs.h"
@@ -997,6 +998,10 @@ int xe_device_probe(struct xe_device *xe)if (err)return err; + err =xe_access_counter_init (xe); +if (err) +return err; +if (xe->tiles->media_gt && XE_GT_WA(xe->tiles->media_gt, 15015404425_disable))XE_DEVICE_WA_DISABLE (xe,15015404425 );
@@ -1501,3 +1506,28 @@ struct xe_vm *xe_device_asid_to_vm(struct xe_device *xe, u32 asid)return vm; } + +/** +* xe_device_asid_to_fault_vm() - Find FAULT VM from ASID +* @xe: the &xe_device +* @asid: Address space ID +* +* Find a FAULTING VM from ASID and take a reference to VM which +* caller must drop. Reclaim safe. +* +* Return: VM on success, ERR_PTR on failure +*/ +struct xe_vm *xe_device_asid_to_fault_vm (struct xe_device *xe,u32 asid) +{ +struct xe_vm *vm; + +down_read (&xe->usm.lock); + vm =xa_load (&xe->usm.asid_to_vm, asid); +if (vm &&xe_vm_in_fault_mode (vm)) +xe_vm_get (vm); +else + vm =ERR_PTR (-EINVAL ); +up_read (&xe->usm.lock); + +return vm; +}
drivers/gpu/drm/xe/xe_device.h +1 -0
@@ -273,6 +273,7 @@ int xe_is_injection_active(void);bool xe_is_xe_file (const struct file *file);struct xe_vm *xe_device_asid_to_vm (struct xe_device *xe,u32 asid); +struct xe_vm *xe_device_asid_to_fault_vm (struct xe_device *xe,u32 asid);#ifdef CONFIG_PCI_IOV bool xe_device_is_admin_only (const struct xe_device *xe);
drivers/gpu/drm/xe/xe_device_types.h +12 -0
@@ -12,6 +12,7 @@#include <drm/drm_file.h> #include <drm/ttm/ttm_device.h> +#include "xe_access_counter_types.h" #include "xe_devcoredump_types.h" #include "xe_drm_ras_types.h" #include "xe_heci_gsc.h"
@@ -29,6 +30,7 @@#include "xe_survivability_mode_types.h" #include "xe_sysctrl_types.h" #include "xe_tile_types.h" +#include "xe_usm_queue.h" #include "xe_validation.h" #if IS_ENABLED (CONFIG_DRM_XE_DEBUG )
@@ -336,6 +338,16 @@ struct xe_device {struct xe_pagefault_work pf_workers[XE_PAGEFAULT_WORK_MAX ];/** @usm.pf_queue: Page fault queue */ struct xe_pagefault_queue pf_queue; +/** +* @usm.ac_workers_indx: Round-robin index selecting the +* next access-counter worker to wake. +*/ +u32 ac_workers_indx; +#define XE_ACCESS_COUNTER_WORKER_COUNT 4 +/** @usm.ac_workers: Access counter workers */ +struct xe_ac_worker ac_workers[XE_ACCESS_COUNTER_WORKER_COUNT ]; +/** @usm.ac_queue: Access counter queue */ +struct xe_usm_queue ac_queue;#if IS_ENABLED (CONFIG_DRM_XE_PAGEMAP )/** @usm.dpagemap_shrinker: Shrinker for unused pagemaps */ struct drm_pagemap_shrinker *dpagemap_shrinker;
drivers/gpu/drm/xe/xe_exec_queue.c +34 -1
@@ -436,7 +436,7 @@ static int __xe_exec_queue_init(struct xe_exec_queue *q, u32 exec_queue_flags) marker =xe_gt_sriov_vf_wait_valid_ggtt (q->gt); - lrc =xe_lrc_create (q->hwe, q->vm, q->replay_state, + lrc =xe_lrc_create (q, q->hwe, q->vm, q->replay_state,xe_lrc_ring_size (), q->msix_vec, flags);if (IS_ERR (lrc)) { err =PTR_ERR (lrc);
@@ -1153,6 +1153,38 @@ static int exec_queue_user_ext_check_final(struct xe_exec_queue *q, u64 propertireturn 0 ; } +static int exec_queue_user_ext_set_acc_param (struct xe_device *xe, +struct xe_exec_queue *q, +u64 extension,u64 *properties) +{ +u64 __user *address =u64_to_user_ptr (extension); +struct drm_xe_exec_queue_set_acc_param ext; +int err; + +if (!xe->info.has_access_counter) +return -EINVAL ; + + err =copy_from_user (&ext, address,sizeof (ext)); +if (XE_IOCTL_DBG (xe, err)) +return -EFAULT ; + +if (XE_IOCTL_DBG (xe, ext.pad1 || ext.pad2)) +return -EINVAL ; + +if (XE_IOCTL_DBG (xe, ext.granularity >DRM_XE_ACCESS_COUNTER_GRANULARITY_64M )) +return -EINVAL ; + +if (XE_IOCTL_DBG (xe, ext.notify > ext.trigger)) +return -EINVAL ; + +/* Store access counter parameters in exec queue */ + q->acc.trigger = ext.trigger; + q->acc.notify = ext.notify; + q->acc.granularity = ext.granularity; + +return 0 ; +} +static int exec_queue_user_ext_set_property (struct xe_device *xe,struct xe_exec_queue *q,u64 extension,u64 *properties)
@@ -1199,6 +1231,7 @@ typedef int (*xe_exec_queue_user_extension_fn)(struct xe_device *xe,static const xe_exec_queue_user_extension_fn exec_queue_user_extension_funcs[] = { [DRM_XE_EXEC_QUEUE_EXTENSION_SET_PROPERTY ] = exec_queue_user_ext_set_property, + [DRM_XE_EXEC_QUEUE_EXTENSION_SET_ACC_PARAM ] = exec_queue_user_ext_set_acc_param, };#define MAX_USER_EXTENSIONS 16
drivers/gpu/drm/xe/xe_exec_queue_types.h +9 -0
@@ -265,6 +265,15 @@ struct xe_exec_queue {/** @replay_state: GPU hang replay state */ void *replay_state; +/** @acc: Access counter parameters */ +struct { +/** @acc.trigger: Access counter trigger threshold */ +u16 trigger; +/** @acc.notify: Access counter notify threshold */ +u16 notify; +/** @acc.granularity: Access counter granularity */ +u8 granularity; + } acc;/** @ops: submission backend exec queue operations */ const struct xe_exec_queue_ops *ops;
drivers/gpu/drm/xe/xe_execlist.c +1 -1
@@ -259,7 +259,7 @@ struct xe_execlist_port *xe_execlist_port_create(struct xe_device *xe, port->hwe = hwe; - port->lrc =xe_lrc_create (hwe,NULL ,NULL ,SZ_16K ,XE_IRQ_DEFAULT_MSIX ,0 ); + port->lrc =xe_lrc_create (NULL , hwe,NULL ,NULL ,SZ_16K ,XE_IRQ_DEFAULT_MSIX ,0 );if (IS_ERR (port->lrc)) { err =PTR_ERR (port->lrc); goto err;
drivers/gpu/drm/xe/xe_guc_access_counter.c new file +74 -0
74 lines not on this page · raw message
drivers/gpu/drm/xe/xe_guc_access_counter.h new file +15 -0
@@ -0,0 +1,15 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2025 Intel Corporation +*/ + +#ifndef _XE_GUC_ACCESS_COUNTER_H_ +#define _XE_GUC_ACCESS_COUNTER_H_ + +#include <linux/types.h> + +struct xe_guc ; + +int xe_guc_access_counter_handler (struct xe_guc *guc,u32 *msg,u32 len); + +#endif
drivers/gpu/drm/xe/xe_guc_ct.c +4 -0
@@ -26,6 +26,7 @@#include "xe_gt_sriov_pf_monitor.h" #include "xe_guc.h" #include "xe_guc_log.h" +#include "xe_guc_access_counter.h" #include "xe_guc_pagefault.h" #include "xe_guc_relay.h" #include "xe_guc_submit.h"
@@ -1753,6 +1754,9 @@ static int process_g2h_msg(struct xe_guc_ct *ct, u32 *msg, u32 len)case XE_GUC_ACTION_REPORT_PAGE_FAULT_REQ_DESC : ret =xe_guc_pagefault_handler (guc, payload, adj_len);break ; +case XE_GUC_ACTION_ACCESS_COUNTER_NOTIFY : + ret =xe_guc_access_counter_handler (guc, payload, adj_len); +break ;case XE_GUC_ACTION_TLB_INVALIDATION_DONE : ret =xe_guc_tlb_inval_done_handler (guc, payload, adj_len);break ;
drivers/gpu/drm/xe/xe_guc_fwif.h +1 -0
@@ -299,6 +299,7 @@ struct xe_guc_acc_desc {#define ACC_TRIGGER 0#define ACC_NOTIFY 1#define ACC_SUBG_LO GENMASK(31, 1) +#define ACC_SUBG_LO_WIDTH 31u32 dw1;#define ACC_SUBG_HI BIT(0)
drivers/gpu/drm/xe/xe_lrc.c +26 -9
@@ -1516,8 +1516,10 @@ static void xe_lrc_set_gpgpu_preemption_level(struct xe_lrc *lrc, struct xe_gt *xe_lrc_write_ctx_reg (lrc,CTX_CS_CHICKEN1 , val); } -static int xe_lrc_ctx_init (struct xe_lrc *lrc,struct xe_hw_engine *hwe,struct xe_vm *vm, -void *replay_state,u16 msix_vec,u32 init_flags) +static int xe_lrc_ctx_init (struct xe_lrc *lrc,struct xe_exec_queue *q, +struct xe_hw_engine *hwe,struct xe_vm *vm, +void *replay_state, +u16 msix_vec,u32 init_flags) {struct xe_gt *gt = hwe->gt;struct xe_tile *tile =gt_to_tile (gt);
@@ -1616,8 +1618,20 @@ static int xe_lrc_ctx_init(struct xe_lrc *lrc, struct xe_hw_engine *hwe, structxe_lrc_write_ctx_reg (lrc,CTX_QUEUE_TIMESTAMP_UDW ,0 ); } -if (xe->info.has_asid && vm) -xe_lrc_write_ctx_reg (lrc,CTX_ASID , vm->usm.asid); +if (xe->info.has_asid && vm) { +u32 asid; + +if (q) + asid = vm->usm.asid |ACC_GRANULARITY_VAL (q->acc.granularity); +else + asid = vm->usm.asid; +xe_lrc_write_ctx_reg (lrc,CTX_ASID , asid); + } + +if (q && xe->info.has_access_counter && vm) +xe_lrc_write_ctx_reg (lrc,CTX_ACC_CTR_THOLD , +ACC_NOTIFY_VAL (q->acc.notify) | +ACC_TRIGGER_VAL (q->acc.trigger));if (GRAPHICS_VER (xe) >=20 && hwe->class ==XE_ENGINE_CLASS_RENDER )xe_lrc_set_gpgpu_preemption_level (lrc, gt);
@@ -1662,7 +1676,8 @@ static int xe_lrc_ctx_init(struct xe_lrc *lrc, struct xe_hw_engine *hwe, structreturn err; } -static int xe_lrc_init (struct xe_lrc *lrc,struct xe_hw_engine *hwe,struct xe_vm *vm, +static int xe_lrc_init (struct xe_lrc *lrc,struct xe_exec_queue *q, +struct xe_hw_engine *hwe,struct xe_vm *vm,void *replay_state,u32 ring_size,u16 msix_vec,u32 init_flags) {struct xe_gt *gt = hwe->gt;
@@ -1718,7 +1733,7 @@ static int xe_lrc_init(struct xe_lrc *lrc, struct xe_hw_engine *hwe, struct xe_vxe_hw_fence_ctx_init (&lrc->fence_ctx, hwe->gt, hwe->fence_irq, hwe->name); - err =xe_lrc_ctx_init (lrc, hwe, vm, replay_state, msix_vec, init_flags); + err =xe_lrc_ctx_init (lrc, q, hwe, vm, replay_state, msix_vec, init_flags);if (err) goto err_lrc_finish;
@@ -1734,6 +1749,7 @@ static int xe_lrc_init(struct xe_lrc *lrc, struct xe_hw_engine *hwe, struct xe_v/** * xe_lrc_create - Create a LRC +* @q: Exec queue (can be NULL for kernel queues) * @hwe: Hardware Engine * @vm: The VM (address space) * @replay_state: GPU hang replay state
@@ -1746,8 +1762,9 @@ static int xe_lrc_init(struct xe_lrc *lrc, struct xe_hw_engine *hwe, struct xe_v* Return pointer to created LRC upon success and an error pointer * upon failure. */ -struct xe_lrc *xe_lrc_create (struct xe_hw_engine *hwe,struct xe_vm *vm, -void *replay_state,u32 ring_size,u16 msix_vec,u32 flags) +struct xe_lrc *xe_lrc_create (struct xe_exec_queue *q,struct xe_hw_engine *hwe, +struct xe_vm *vm,void *replay_state,u32 ring_size, +u16 msix_vec,u32 flags) {struct xe_lrc *lrc;int err;
@@ -1756,7 +1773,7 @@ struct xe_lrc *xe_lrc_create(struct xe_hw_engine *hwe, struct xe_vm *vm,if (!lrc)return ERR_PTR (-ENOMEM ); - err =xe_lrc_init (lrc, hwe, vm, replay_state, ring_size, msix_vec, flags); + err =xe_lrc_init (lrc, q, hwe, vm, replay_state, ring_size, msix_vec, flags);if (err) {kfree (lrc);return ERR_PTR (err);
drivers/gpu/drm/xe/xe_lrc.h +3 -2
@@ -61,8 +61,9 @@ struct xe_lrc_snapshot {#define XE_LRC_CREATE_USER_CTX BIT(2)#define XE_LRC_DISABLE_STATE_CACHE_PERF_FIX BIT(3) -struct xe_lrc *xe_lrc_create (struct xe_hw_engine *hwe,struct xe_vm *vm, -void *replay_state,u32 ring_size,u16 msix_vec,u32 flags); +struct xe_lrc *xe_lrc_create (struct xe_exec_queue *q,struct xe_hw_engine *hwe, +struct xe_vm *vm,void *replay_state, +u32 ring_size,u16 msix_vec,u32 flags);void xe_lrc_destroy (struct kref *ref);/**
drivers/gpu/drm/xe/xe_pagefault.c +14 -64
119 lines not on this page · raw message
drivers/gpu/drm/xe/xe_pt.c +21 -0
@@ -862,6 +862,27 @@ xe_pt_stage_bind(struct xe_tile *tile, struct xe_vma *vma, XE_USM_PPGTT_PTE_AE :0 ; } +if (!xe_vma_supports_access_ctr (xe, vma, tile)) { + xe_walk.default_vram_pte |=XE_PPGTT_PTE_NC ; + xe_walk.default_system_pte |=XE_PPGTT_PTE_NC ; + } + +if (range) { +/* +* Always set NC (no-count) on VRAM PTEs for SVM ranges so +* this GPU does not generate access counter events for memory +* it is already responsible for. Today default_vram_pte +* covers only local VRAM; once UAL lands, remote-device VRAM +* pages will also flow through default_vram_pte — NC remains +* the right setting there too, as the owning device handles +* AC for its own local memory. Update this comment when UAL +* support is added and adjust if the semantics change. +*/ + xe_walk.default_vram_pte |=XE_PPGTT_PTE_NC ; +if (!xe_svm_range_allowed_in_devmem (range)) + xe_walk.default_system_pte |=XE_PPGTT_PTE_NC ; + } + xe_walk.default_vram_pte |=XE_PPGTT_PTE_DM ; xe_walk.dma_offset = (bo && !is_purged) ?vram_region_gpu_offset (bo->ttm.resource) :0 ;if (!range)
drivers/gpu/drm/xe/xe_svm.c +165 -32
312 lines not on this page · raw message
drivers/gpu/drm/xe/xe_svm.h +49 -0
85 lines not on this page · raw message
drivers/gpu/drm/xe/xe_trace_bo.h +29 -3
@@ -12,6 +12,7 @@#include <linux/tracepoint.h> #include <linux/types.h> +#include "xe_access_counter_types.h" #include "xe_bo.h" #include "xe_bo_types.h" #include "xe_vm.h"
@@ -125,9 +126,34 @@ DEFINE_EVENT(xe_vma, xe_vma_pagefault,TP_ARGS (vma) ); -DEFINE_EVENT (xe_vma, xe_vma_acc, - TP_PROTO(struct xe_vma *vma), -TP_ARGS (vma) +TRACE_EVENT (xe_vma_acc, + TP_PROTO(struct xe_vma *vma, u8 counter_type), +TP_ARGS (vma, counter_type), + +TP_STRUCT__entry ( + __string(dev, __dev_name_vma(vma)) + __field(struct xe_vma *, vma) + __field(struct xe_vm *, vm) + __field(u32, asid) + __field(u64, start) + __field(u64, end) +__field (u8, counter_type) + ), + +TP_fast_assign ( + __assign_str(dev); + __entry->vma = vma; + __entry->vm = xe_vma_vm(vma); + __entry->asid = xe_vma_vm(vma)->usm.asid; + __entry->start = xe_vma_start(vma); + __entry->end = xe_vma_end(vma) - 1; + __entry->counter_type = counter_type; + ), + +TP_printk ("dev=%s, vma=%p, vm=%p, asid=0x%05x, start=0x%012llx, end=0x%012llx, type=%s" , +__get_str (dev), __entry->vma, __entry->vm, + __entry->asid, __entry->start, __entry->end, + __entry->counter_type ==XE_ACCESS_COUNTER_TYPE_NOTIFY ?"NOTIFY" :"TRIGGER" ) ); DEFINE_EVENT(xe_vma, xe_vma_bind,
drivers/gpu/drm/xe/xe_usm_queue.h new file +127 -0
127 lines not on this page · raw message
drivers/gpu/drm/xe/xe_vm.c +128 -2
178 lines not on this page · raw message
drivers/gpu/drm/xe/xe_vm.h +6 -0
@@ -185,6 +185,9 @@ struct xe_vma *xe_vm_find_vma_by_addr(struct xe_vm *vm, u64 page_addr);int xe_vma_need_vram_for_atomic (struct xe_device *xe,struct xe_vma *vma,bool is_atomic); +bool xe_vma_supports_access_ctr (struct xe_device *xe,struct xe_vma *vma, +struct xe_tile *tile); +int xe_vm_alloc_madvise_vma (struct xe_vm *vm,uint64_t addr,uint64_t size);int xe_vm_alloc_cpu_addr_mirror_vma (struct xe_vm *vm,uint64_t addr,uint64_t size);
@@ -281,6 +284,9 @@ static inline void xe_vm_reactivate_rebind(struct xe_vm *vm)int xe_vm_lock_vma (struct drm_exec *exec,struct xe_vma *vma); +int xe_vma_lock_and_validate (struct drm_exec *exec,struct xe_vma *vma, +struct xe_vram_region *vram,bool need_vram_move); +int xe_vm_validate_rebind (struct xe_vm *vm,struct drm_exec *exec,unsigned int num_fences);
drivers/gpu/drm/xe/xe_vm_types.h +11 -0
@@ -52,6 +52,7 @@ struct xe_vm_pgtable_update_op;#define XE_VMA_DUMPABLE (DRM_GPUVA_USERBITS << 8)#define XE_VMA_SYSTEM_ALLOCATOR (DRM_GPUVA_USERBITS << 9)#define XE_VMA_MADV_AUTORESET (DRM_GPUVA_USERBITS << 10) +#define XE_VMA_MIGRATE_ON_ACC (DRM_GPUVA_USERBITS << 11)/** * struct xe_vma_mem_attr - memory attributes associated with vma
@@ -175,6 +176,16 @@ struct xe_vma {*/ struct xe_user_fence *ufence; +/** +* @ac_move_fence: Fence for an in-progress access-counter triggered +* migration/rebind. Written by the AC service and read+cleared by the +* page-fault handler, both under down_read(&vm->lock) + @fault_lock; +* any access under the read lock MUST also hold @fault_lock. The final +* put on VMA destroy (xe_vma_destroy_late()) is unlocked - safe as no +* other reference to the VMA remains. +*/ +struct dma_fence *ac_move_fence; +/** * @attr: The attributes of vma which determines the migration policy * and encoding of the PTEs for this vma.
include/uapi/drm/xe_drm.h +205 -0
229 lines not on this page · raw message
Signature · 1 line
2.43.0
Patchwork
CI✗ CI.checkpatch: warning for Access counter squash (rev3)
== Series Details ==
== Series Details ==
Series: Access counter squash (rev3)
URL : https://patchwork.freedesktop.org/series/173728/
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 d875049d2b299159a272bd5151994970cdcd1e31
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 58f8b677b1a7129f3dfe994816698fc44ab05b87
Author: Himal Prasad Ghimiray <[email protected]> Date: Thu Sep 10 16:42:03 2026 +0530
Access counter squash
+ /mt/dim checkpatch 5adc9763607d7b5dd14ff99e6dcab3cd2dc2d225 drm-intel 58f8b677b1a7 Access counter squash
-:8: WARNING:COMMIT_MESSAGE: Missing commit description - Add an appropriate one
-:61: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #61:
new file mode 100644
-:1647: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #1647: FILE: drivers/gpu/drm/xe/xe_trace_bo.h:133:
+ TP_STRUCT__entry(
-:1657: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #1657: FILE: drivers/gpu/drm/xe/xe_trace_bo.h:143:
+ TP_fast_assign(
-:2286: ERROR:MISSING_SIGN_OFF: Missing Signed-off-by: line(s)
total: 1 errors, 2 warnings, 2 checks, 2083 lines checked
Patchwork
CI✓ CI.KUnit: success for Access counter squash (rev3)
In reply to Himal Prasad Ghimiray== Series Details ==
== Series Details ==
Series: Access counter squash (rev3)
URL : https://patchwork.freedesktop.org/series/173728/
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
[11:14:47] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [11:14: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 [11:15:11] Starting KUnit Kernel (1/1)... [11:15:11] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [11:15:11] ============= refcount_interrupt (4 subtests) ============== [11:15:11] [PASSED] test_single_irq_change [11:15:11] [PASSED] test_nested_irq_change [11:15:11] [PASSED] test_multiple_irq_change [11:15:11] [PASSED] test_irq_save [11:15:11] =============== [PASSED] refcount_interrupt ================ [11:15:11] ================= gpu_buddy (14 subtests) ================== [11:15:11] [PASSED] gpu_test_buddy_alloc_limit [11:15:11] [PASSED] gpu_test_buddy_alloc_optimistic [11:15:11] [PASSED] gpu_test_buddy_alloc_pessimistic [11:15:11] [PASSED] gpu_test_buddy_alloc_pathological [11:15:11] [PASSED] gpu_test_buddy_alloc_contiguous [11:15:11] [PASSED] gpu_test_buddy_alloc_clear [11:15:11] [PASSED] gpu_test_buddy_alloc_range [11:15:12] [PASSED] gpu_test_buddy_alloc_range_bias [11:15:13] [PASSED] gpu_test_buddy_fragmentation_performance [11:15:13] [PASSED] gpu_test_buddy_dirty_tracker_performance [11:15:13] [PASSED] gpu_test_buddy_alloc_exceeds_max_order [11:15:13] [PASSED] gpu_test_buddy_offset_aligned_allocation [11:15:13] [PASSED] gpu_test_buddy_subtree_offset_alignment_stress [11:15:13] [PASSED] gpu_test_buddy_addr_to_block [11:15:13] ==================== [PASSED] gpu_buddy ==================== [11:15:13] ============================================================ [11:15:13] Testing complete. Ran 18 tests: passed: 18 [11:15:13] Elapsed time: 26.284s total, 4.349s configuring, 20.017s building, 1.879s 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 [11:15:13] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [11:15:15] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [11:15:49] Starting KUnit Kernel (1/1)... [11:15:49] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [11:15:49] ============= refcount_interrupt (4 subtests) ============== [11:15:49] [PASSED] test_single_irq_change [11:15:49] [PASSED] test_nested_irq_change [11:15:49] [PASSED] test_multiple_irq_change [11:15:49] [PASSED] test_irq_save [11:15:49] =============== [PASSED] refcount_interrupt ================ [11:15:49] ================== guc_buf (11 subtests) =================== [11:15:49] [PASSED] test_smallest [11:15:49] [PASSED] test_largest [11:15:49] [PASSED] test_granular [11:15:49] [PASSED] test_unique [11:15:49] [PASSED] test_overlap [11:15:49] [PASSED] test_reusable [11:15:49] [PASSED] test_too_big [11:15:49] [PASSED] test_flush [11:15:49] [PASSED] test_lookup [11:15:49] [PASSED] test_data [11:15:49] [PASSED] test_class [11:15:49] ===================== [PASSED] guc_buf ===================== [11:15:49] =================== guc_dbm (7 subtests) =================== [11:15:49] [PASSED] test_empty [11:15:49] [PASSED] test_default [11:15:49] ======================== test_size ======================== [11:15:49] [PASSED] 4 [11:15:49] [PASSED] 8 [11:15:49] [PASSED] 32 [11:15:49] [PASSED] 256 [11:15:49] ==================== [PASSED] test_size ==================== [11:15:49] ======================= test_reuse ======================== [11:15:49] [PASSED] 4 [11:15:49] [PASSED] 8 [11:15:49] [PASSED] 32 [11:15:49] [PASSED] 256 [11:15:49] =================== [PASSED] test_reuse ==================== [11:15:49] =================== test_range_overlap ==================== [11:15:49] [PASSED] 4 [11:15:49] [PASSED] 8 [11:15:49] [PASSED] 32 [11:15:49] [PASSED] 256 [11:15:49] =============== [PASSED] test_range_overlap ================ [11:15:49] =================== test_range_compact ==================== [11:15:49] [PASSED] 4 [11:15:49] [PASSED] 8 [11:15:49] [PASSED] 32 [11:15:49] [PASSED] 256 [11:15:49] =============== [PASSED] test_range_compact ================ [11:15:49] ==================== test_range_spare ===================== [11:15:49] [PASSED] 4 [11:15:49] [PASSED] 8 [11:15:49] [PASSED] 32 [11:15:49] [PASSED] 256 [11:15:49] ================ [PASSED] test_range_spare ================= [11:15:49] ===================== [PASSED] guc_dbm ===================== [11:15:49] =================== guc_idm (6 subtests) =================== [11:15:49] [PASSED] bad_init [11:15:49] [PASSED] no_init [11:15:49] [PASSED] init_fini [11:15:49] [PASSED] check_used [11:15:49] [PASSED] check_quota [11:15:49] [PASSED] check_all [11:15:49] ===================== [PASSED] guc_idm ===================== [11:15:49] =============== guc_klv_helpers (9 subtests) =============== [11:15:49] [PASSED] test_count [11:15:49] [PASSED] test_encode_u32 [11:15:49] [PASSED] test_encode_u64 [11:15:49] [PASSED] test_encode_string [11:15:49] [PASSED] test_encode_object_raw [11:15:49] [PASSED] test_encode_object_klv [11:15:49] [PASSED] test_encode_object_nested [11:15:49] [PASSED] test_encode_object_basic [11:15:49] [PASSED] test_print [11:15:49] ================= [PASSED] guc_klv_helpers ================= [11:15:49] =================== xe_log (4 subtests) ==================== [11:15:49] [PASSED] demo_cper [11:15:49] [PASSED] demo_dmesg [11:15:49] ======================= test_dmesg ======================== [11:15:49] [PASSED] test_fatal [11:15:49] [PASSED] test_fatal_tile [11:15:49] [PASSED] test_fatal_gt [11:15:49] [PASSED] test_fatal_comp [11:15:49] [PASSED] test_fatal_comp_tile [11:15:49] [PASSED] test_fatal_comp_gt [11:15:49] [PASSED] test_fatal_all [11:15:49] [PASSED] test_recoverable [11:15:49] [PASSED] test_recoverable_tile [11:15:49] [PASSED] test_recoverable_gt [11:15:49] [PASSED] test_recoverable_comp [11:15:49] [PASSED] test_recoverable_comp_tile [11:15:49] [PASSED] test_recoverable_comp_gt [11:15:49] [PASSED] test_recoverable_all [11:15:49] [PASSED] test_info [11:15:49] [PASSED] test_info_tile [11:15:49] [PASSED] test_info_gt [11:15:49] [PASSED] test_info_err [11:15:49] [PASSED] test_info_comp [11:15:49] [PASSED] test_info_comp_tile [11:15:49] [PASSED] test_info_comp_gt [11:15:49] [PASSED] test_info_all [11:15:49] [PASSED] test_hw_fatal [11:15:49] [PASSED] test_hw_recoverable [11:15:49] [PASSED] test_hw_corrected [11:15:49] [PASSED] test_hw_informational [11:15:49] =================== [PASSED] test_dmesg ==================== [11:15:49] ====================== test_invalid ======================= [11:15:49] [SKIPPED] no-component no-location no-warn (requires CONFIG_DRM_XE_DEBUG) [11:15:49] [SKIPPED] reserved location (requires CONFIG_DRM_XE_DEBUG) [11:15:49] [SKIPPED] unknown location (requires CONFIG_DRM_XE_DEBUG) [11:15:49] [SKIPPED] nonzero-device-id location (requires CONFIG_DRM_XE_DEBUG) [11:15:49] [SKIPPED] invalid-tile-id location (requires CONFIG_DRM_XE_DEBUG) [11:15:49] [SKIPPED] invalid-gt-id location (requires CONFIG_DRM_XE_DEBUG) [11:15:49] [SKIPPED] unknown component class (requires CONFIG_DRM_XE_DEBUG) [11:15:49] [SKIPPED] unknown system component (requires CONFIG_DRM_XE_DEBUG) [11:15:49] [SKIPPED] unknown hardware component (requires CONFIG_DRM_XE_DEBUG) [11:15:49] [SKIPPED] unknown component and location (requires CONFIG_DRM_XE_DEBUG) [11:15:49] ================== [SKIPPED] test_invalid ================== [11:15:49] ===================== [PASSED] xe_log ====================== [11:15:49] ================== no_relay (3 subtests) =================== [11:15:49] [PASSED] xe_drops_guc2pf_if_not_ready [11:15:49] [PASSED] xe_drops_guc2vf_if_not_ready [11:15:49] [PASSED] xe_rejects_send_if_not_ready [11:15:49] ==================== [PASSED] no_relay ===================== [11:15:49] ================== pf_relay (14 subtests) ================== [11:15:49] [PASSED] pf_rejects_guc2pf_too_short [11:15:49] [PASSED] pf_rejects_guc2pf_too_long [11:15:49] [PASSED] pf_rejects_guc2pf_no_payload [11:15:49] [PASSED] pf_fails_no_payload [11:15:49] [PASSED] pf_fails_bad_origin [11:15:49] [PASSED] pf_fails_bad_type [11:15:49] [PASSED] pf_txn_reports_error [11:15:49] [PASSED] pf_txn_sends_pf2guc [11:15:49] [PASSED] pf_sends_pf2guc [11:15:49] [SKIPPED] pf_loopback_nop (requires CONFIG_DRM_XE_DEBUG_SRIOV) [11:15:49] [SKIPPED] pf_loopback_echo (requires CONFIG_DRM_XE_DEBUG_SRIOV) [11:15:49] [SKIPPED] pf_loopback_fail (requires CONFIG_DRM_XE_DEBUG_SRIOV) [11:15:49] [SKIPPED] pf_loopback_busy (requires CONFIG_DRM_XE_DEBUG_SRIOV) [11:15:49] [SKIPPED] pf_loopback_retry (requires CONFIG_DRM_XE_DEBUG_SRIOV) [11:15:49] ==================== [PASSED] pf_relay ===================== [11:15:49] ================== vf_relay (3 subtests) =================== [11:15:49] [PASSED] vf_rejects_guc2vf_too_short [11:15:49] [PASSED] vf_rejects_guc2vf_too_long [11:15:49] [PASSED] vf_rejects_guc2vf_no_payload [11:15:49] ==================== [PASSED] vf_relay ===================== [11:15:49] ================ pf_gt_config (9 subtests) ================= [11:15:49] [PASSED] fair_contexts_1vf [11:15:49] [PASSED] fair_doorbells_1vf [11:15:49] [PASSED] fair_ggtt_1vf [11:15:49] ====================== fair_vram_1vf ====================== [11:15:49] [PASSED] 3.50 GiB [11:15:49] [PASSED] 11.5 GiB [11:15:49] [PASSED] 15.5 GiB [11:15:49] [PASSED] 31.5 GiB [11:15:49] [PASSED] 63.5 GiB [11:15:49] [PASSED] 1.91 GiB [11:15:49] ================== [PASSED] fair_vram_1vf ================== [11:15:49] ================ fair_vram_1vf_admin_only ================= [11:15:49] [PASSED] 3.50 GiB [11:15:49] [PASSED] 11.5 GiB [11:15:49] [PASSED] 15.5 GiB [11:15:49] [PASSED] 31.5 GiB [11:15:49] [PASSED] 63.5 GiB [11:15:49] [PASSED] 1.91 GiB [11:15:49] ============ [PASSED] fair_vram_1vf_admin_only ============= [11:15:49] ====================== fair_contexts ====================== [11:15:49] [PASSED] 1 VF [11:15:49] [PASSED] 2 VFs [11:15:49] [PASSED] 3 VFs [11:15:49] [PASSED] 4 VFs [11:15:49] [PASSED] 5 VFs [11:15:49] [PASSED] 6 VFs [11:15:49] [PASSED] 7 VFs [11:15:49] [PASSED] 8 VFs [11:15:49] [PASSED] 9 VFs [11:15:49] [PASSED] 10 VFs [11:15:49] [PASSED] 11 VFs [11:15:49] [PASSED] 12 VFs [11:15:49] [PASSED] 13 VFs [11:15:49] [PASSED] 14 VFs [11:15:49] [PASSED] 15 VFs [11:15:49] [PASSED] 16 VFs [11:15:49] [PASSED] 17 VFs [11:15:49] [PASSED] 18 VFs [11:15:49] [PASSED] 19 VFs [11:15:49] [PASSED] 20 VFs [11:15:49] [PASSED] 21 VFs [11:15:49] [PASSED] 22 VFs [11:15:49] [PASSED] 23 VFs [11:15:49] [PASSED] 24 VFs [11:15:49] [PASSED] 25 VFs [11:15:49] [PASSED] 26 VFs [11:15:49] [PASSED] 27 VFs [11:15:49] [PASSED] 28 VFs [11:15:49] [PASSED] 29 VFs [11:15:49] [PASSED] 30 VFs [11:15:49] [PASSED] 31 VFs [11:15:49] [PASSED] 32 VFs [11:15:49] [PASSED] 33 VFs [11:15:49] [PASSED] 34 VFs [11:15:49] [PASSED] 35 VFs [11:15:49] [PASSED] 36 VFs [11:15:49] [PASSED] 37 VFs [11:15:49] [PASSED] 38 VFs [11:15:49] [PASSED] 39 VFs [11:15:49] [PASSED] 40 VFs [11:15:49] [PASSED] 41 VFs [11:15:49] [PASSED] 42 VFs [11:15:49] [PASSED] 43 VFs [11:15:49] [PASSED] 44 VFs [11:15:49] [PASSED] 45 VFs [11:15:49] [PASSED] 46 VFs [11:15:49] [PASSED] 47 VFs [11:15:49] [PASSED] 48 VFs [11:15:49] [PASSED] 49 VFs [11:15:49] [PASSED] 50 VFs [11:15:49] [PASSED] 51 VFs [11:15:49] [PASSED] 52 VFs [11:15:49] [PASSED] 53 VFs [11:15:49] [PASSED] 54 VFs [11:15:49] [PASSED] 55 VFs [11:15:49] [PASSED] 56 VFs [11:15:49] [PASSED] 57 VFs [11:15:49] [PASSED] 58 VFs [11:15:49] [PASSED] 59 VFs [11:15:49] [PASSED] 60 VFs [11:15:49] [PASSED] 61 VFs [11:15:49] [PASSED] 62 VFs [11:15:49] [PASSED] 63 VFs [11:15:49] ================== [PASSED] fair_contexts ================== [11:15:49] ===================== fair_doorbells ====================== [11:15:49] [PASSED] 1 VF [11:15:49] [PASSED] 2 VFs [11:15:49] [PASSED] 3 VFs [11:15:49] [PASSED] 4 VFs [11:15:49] [PASSED] 5 VFs [11:15:49] [PASSED] 6 VFs [11:15:49] [PASSED] 7 VFs [11:15:49] [PASSED] 8 VFs [11:15:49] [PASSED] 9 VFs [11:15:49] [PASSED] 10 VFs [11:15:49] [PASSED] 11 VFs [11:15:49] [PASSED] 12 VFs [11:15:49] [PASSED] 13 VFs [11:15:49] [PASSED] 14 VFs [11:15:49] [PASSED] 15 VFs [11:15:49] [PASSED] 16 VFs [11:15:49] [PASSED] 17 VFs [11:15:49] [PASSED] 18 VFs [11:15:49] [PASSED] 19 VFs [11:15:49] [PASSED] 20 VFs [11:15:49] [PASSED] 21 VFs [11:15:49] [PASSED] 22 VFs [11:15:49] [PASSED] 23 VFs [11:15:49] [PASSED] 24 VFs [11:15:49] [PASSED] 25 VFs [11:15:49] [PASSED] 26 VFs [11:15:49] [PASSED] 27 VFs [11:15:49] [PASSED] 28 VFs [11:15:49] [PASSED] 29 VFs [11:15:49] [PASSED] 30 VFs [11:15:49] [PASSED] 31 VFs [11:15:49] [PASSED] 32 VFs [11:15:49] [PASSED] 33 VFs [11:15:49] [PASSED] 34 VFs [11:15:49] [PASSED] 35 VFs [11:15:49] [PASSED] 36 VFs [11:15:49] [PASSED] 37 VFs [11:15:49] [PASSED] 38 VFs [11:15:49] [PASSED] 39 VFs [11:15:49] [PASSED] 40 VFs [11:15:49] [PASSED] 41 VFs [11:15:49] [PASSED] 42 VFs [11:15:49] [PASSED] 43 VFs [11:15:49] [PASSED] 44 VFs [11:15:49] [PASSED] 45 VFs [11:15:49] [PASSED] 46 VFs [11:15:49] [PASSED] 47 VFs [11:15:49] [PASSED] 48 VFs [11:15:49] [PASSED] 49 VFs [11:15:49] [PASSED] 50 VFs [11:15:49] [PASSED] 51 VFs [11:15:49] [PASSED] 52 VFs [11:15:49] [PASSED] 53 VFs [11:15:49] [PASSED] 54 VFs [11:15:49] [PASSED] 55 VFs [11:15:49] [PASSED] 56 VFs [11:15:49] [PASSED] 57 VFs [11:15:49] [PASSED] 58 VFs [11:15:49] [PASSED] 59 VFs [11:15:49] [PASSED] 60 VFs [11:15:49] [PASSED] 61 VFs [11:15:49] [PASSED] 62 VFs [11:15:49] [PASSED] 63 VFs [11:15:49] ================= [PASSED] fair_doorbells ================== [11:15:49] ======================== fair_ggtt ======================== [11:15:49] [PASSED] 1 VF [11:15:49] [PASSED] 2 VFs [11:15:49] [PASSED] 3 VFs [11:15:49] [PASSED] 4 VFs [11:15:49] [PASSED] 5 VFs [11:15:49] [PASSED] 6 VFs [11:15:49] [PASSED] 7 VFs [11:15:49] [PASSED] 8 VFs [11:15:49] [PASSED] 9 VFs [11:15:49] [PASSED] 10 VFs [11:15:49] [PASSED] 11 VFs [11:15:49] [PASSED] 12 VFs [11:15:49] [PASSED] 13 VFs [11:15:49] [PASSED] 14 VFs [11:15:49] [PASSED] 15 VFs [11:15:49] [PASSED] 16 VFs [11:15:49] [PASSED] 17 VFs [11:15:49] [PASSED] 18 VFs [11:15:49] [PASSED] 19 VFs [11:15:49] [PASSED] 20 VFs [11:15:49] [PASSED] 21 VFs [11:15:49] [PASSED] 22 VFs [11:15:49] [PASSED] 23 VFs [11:15:49] [PASSED] 24 VFs [11:15:49] [PASSED] 25 VFs [11:15:49] [PASSED] 26 VFs [11:15:49] [PASSED] 27 VFs [11:15:49] [PASSED] 28 VFs [11:15:49] [PASSED] 29 VFs [11:15:49] [PASSED] 30 VFs [11:15:49] [PASSED] 31 VFs [11:15:49] [PASSED] 32 VFs [11:15:49] [PASSED] 33 VFs [11:15:49] [PASSED] 34 VFs [11:15:49] [PASSED] 35 VFs [11:15:49] [PASSED] 36 VFs [11:15:49] [PASSED] 37 VFs [11:15:49] [PASSED] 38 VFs [11:15:49] [PASSED] 39 VFs [11:15:49] [PASSED] 40 VFs [11:15:49] [PASSED] 41 VFs [11:15:49] [PASSED] 42 VFs [11:15:49] [PASSED] 43 VFs [11:15:49] [PASSED] 44 VFs [11:15:49] [PASSED] 45 VFs [11:15:49] [PASSED] 46 VFs [11:15:49] [PASSED] 47 VFs [11:15:49] [PASSED] 48 VFs [11:15:49] [PASSED] 49 VFs [11:15:49] [PASSED] 50 VFs [11:15:49] [PASSED] 51 VFs [11:15:49] [PASSED] 52 VFs [11:15:49] [PASSED] 53 VFs [11:15:49] [PASSED] 54 VFs [11:15:49] [PASSED] 55 VFs [11:15:49] [PASSED] 56 VFs [11:15:49] [PASSED] 57 VFs [11:15:49] [PASSED] 58 VFs [11:15:49] [PASSED] 59 VFs [11:15:49] [PASSED] 60 VFs [11:15:49] [PASSED] 61 VFs [11:15:49] [PASSED] 62 VFs [11:15:49] [PASSED] 63 VFs [11:15:49] ==================== [PASSED] fair_ggtt ==================== [11:15:49] ======================== fair_vram ======================== [11:15:49] [PASSED] 1 VF [11:15:49] [PASSED] 2 VFs [11:15:49] [PASSED] 3 VFs [11:15:49] [PASSED] 4 VFs [11:15:49] [PASSED] 5 VFs [11:15:49] [PASSED] 6 VFs [11:15:49] [PASSED] 7 VFs [11:15:49] [PASSED] 8 VFs [11:15:49] [PASSED] 9 VFs [11:15:49] [PASSED] 10 VFs [11:15:49] [PASSED] 11 VFs [11:15:49] [PASSED] 12 VFs [11:15:49] [PASSED] 13 VFs [11:15:49] [PASSED] 14 VFs [11:15:49] [PASSED] 15 VFs [11:15:49] [PASSED] 16 VFs [11:15:49] [PASSED] 17 VFs [11:15:49] [PASSED] 18 VFs [11:15:49] [PASSED] 19 VFs [11:15:49] [PASSED] 20 VFs [11:15:49] [PASSED] 21 VFs [11:15:49] [PASSED] 22 VFs [11:15:49] [PASSED] 23 VFs [11:15:49] [PASSED] 24 VFs [11:15:49] [PASSED] 25 VFs [11:15:49] [PASSED] 26 VFs [11:15:49] [PASSED] 27 VFs [11:15:49] [PASSED] 28 VFs [11:15:49] [PASSED] 29 VFs [11:15:49] [PASSED] 30 VFs [11:15:49] [PASSED] 31 VFs [11:15:49] [PASSED] 32 VFs [11:15:49] [PASSED] 33 VFs [11:15:49] [PASSED] 34 VFs [11:15:49] [PASSED] 35 VFs [11:15:49] [PASSED] 36 VFs [11:15:49] [PASSED] 37 VFs [11:15:49] [PASSED] 38 VFs [11:15:49] [PASSED] 39 VFs [11:15:49] [PASSED] 40 VFs [11:15:49] [PASSED] 41 VFs [11:15:49] [PASSED] 42 VFs [11:15:49] [PASSED] 43 VFs [11:15:49] [PASSED] 44 VFs [11:15:49] [PASSED] 45 VFs [11:15:49] [PASSED] 46 VFs [11:15:49] [PASSED] 47 VFs [11:15:49] [PASSED] 48 VFs [11:15:49] [PASSED] 49 VFs [11:15:49] [PASSED] 50 VFs [11:15:49] [PASSED] 51 VFs [11:15:49] [PASSED] 52 VFs [11:15:49] [PASSED] 53 VFs [11:15:49] [PASSED] 54 VFs [11:15:49] [PASSED] 55 VFs [11:15:49] [PASSED] 56 VFs [11:15:49] [PASSED] 57 VFs [11:15:49] [PASSED] 58 VFs [11:15:49] [PASSED] 59 VFs [11:15:49] [PASSED] 60 VFs [11:15:49] [PASSED] 61 VFs [11:15:49] [PASSED] 62 VFs [11:15:49] [PASSED] 63 VFs [11:15:49] ==================== [PASSED] fair_vram ==================== [11:15:49] ================== [PASSED] pf_gt_config =================== [11:15:49] ===================== lmtt (1 subtest) ===================== [11:15:49] ======================== test_ops ========================= [11:15:49] [PASSED] 2-level [11:15:49] [PASSED] multi-level [11:15:49] ==================== [PASSED] test_ops ===================== [11:15:49] ====================== [PASSED] lmtt ======================= [11:15:49] ================= sriov_packet (1 subtest) ================= [11:15:49] [PASSED] test_descriptor_init [11:15:49] ================== [PASSED] sriov_packet =================== [11:15:49] ================= pf_service (11 subtests) ================= [11:15:49] [PASSED] pf_negotiate_any [11:15:49] [PASSED] pf_negotiate_base_match [11:15:49] [PASSED] pf_negotiate_base_newer [11:15:49] [PASSED] pf_negotiate_base_next [11:15:49] [SKIPPED] pf_negotiate_base_older (no older minor) [11:15:49] [PASSED] pf_negotiate_base_prev [11:15:49] [PASSED] pf_negotiate_latest_match [11:15:49] [PASSED] pf_negotiate_latest_newer [11:15:49] [PASSED] pf_negotiate_latest_next [11:15:49] [SKIPPED] pf_negotiate_latest_older (no older minor) [11:15:49] [SKIPPED] pf_negotiate_latest_prev (no prev major) [11:15:49] =================== [PASSED] pf_service ==================== [11:15:49] ================= xe_guc_g2g (2 subtests) ================== [11:15:49] ============== xe_live_guc_g2g_kunit_default ============== [11:15:49] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ========== [11:15:49] ============== xe_live_guc_g2g_kunit_allmem =============== [11:15:49] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ========== [11:15:49] =================== [SKIPPED] xe_guc_g2g =================== [11:15:49] =================== xe_mocs (2 subtests) =================== [11:15:49] ================ xe_live_mocs_kernel_kunit ================ [11:15:49] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============ [11:15:49] ================ xe_live_mocs_reset_kunit ================= [11:15:49] ============ [SKIPPED] xe_live_mocs_reset_kunit ============ [11:15:49] ==================== [SKIPPED] xe_mocs ===================== [11:15:49] ================= xe_migrate (2 subtests) ================== [11:15:49] ================= xe_migrate_sanity_kunit ================= [11:15:49] ============ [SKIPPED] xe_migrate_sanity_kunit ============= [11:15:49] ================== xe_validate_ccs_kunit ================== [11:15:49] ============= [SKIPPED] xe_validate_ccs_kunit ============== [11:15:49] =================== [SKIPPED] xe_migrate =================== [11:15:49] ================== xe_dma_buf (1 subtest) ================== [11:15:49] ==================== xe_dma_buf_kunit ===================== [11:15:49] ================ [SKIPPED] xe_dma_buf_kunit ================ [11:15:49] =================== [SKIPPED] xe_dma_buf =================== [11:15:49] ================= xe_bo_shrink (1 subtest) ================= [11:15:49] =================== xe_bo_shrink_kunit ==================== [11:15:49] =============== [SKIPPED] xe_bo_shrink_kunit =============== [11:15:49] ================== [SKIPPED] xe_bo_shrink ================== [11:15:49] ==================== xe_bo (2 subtests) ==================== [11:15:49] ================== xe_ccs_migrate_kunit =================== [11:15:49] ============== [SKIPPED] xe_ccs_migrate_kunit ============== [11:15:49] ==================== xe_bo_evict_kunit ==================== [11:15:49] =============== [SKIPPED] xe_bo_evict_kunit ================ [11:15:49] ===================== [SKIPPED] xe_bo ====================== [11:15:49] =================== xe_any (9 subtests) ==================== [11:15:49] [PASSED] test_to_xe [11:15:49] [PASSED] test_to_dev [11:15:49] [PASSED] test_to_pdev [11:15:49] [PASSED] test_to_drm [11:15:49] [PASSED] test_if_pdev [11:15:49] [PASSED] test_if_xe [11:15:49] [PASSED] test_if_tile [11:15:49] [PASSED] test_if_gt [11:15:49] [PASSED] test_to_id [11:15:49] ===================== [PASSED] xe_any ====================== [11:15:49] ==================== args (13 subtests) ==================== [11:15:49] [PASSED] count_args_test [11:15:49] [PASSED] call_args_example [11:15:49] [PASSED] call_args_test [11:15:49] [PASSED] drop_first_arg_example [11:15:49] [PASSED] drop_first_arg_test [11:15:49] [PASSED] first_arg_example [11:15:49] [PASSED] first_arg_test [11:15:49] [PASSED] last_arg_example [11:15:49] [PASSED] last_arg_test [11:15:49] [PASSED] pick_arg_example [11:15:49] [PASSED] if_args_example [11:15:49] [PASSED] if_args_test [11:15:49] [PASSED] sep_comma_example [11:15:49] ====================== [PASSED] args ======================= [11:15:49] =================== xe_pci (3 subtests) ==================== [11:15:49] ==================== check_graphics_ip ==================== [11:15:49] [PASSED] 12.00 Xe_LP [11:15:49] [PASSED] 12.10 Xe_LP+ [11:15:49] [PASSED] 12.55 Xe_HPG [11:15:49] [PASSED] 12.60 Xe_HPC [11:15:49] [PASSED] 12.70 Xe_LPG [11:15:49] [PASSED] 12.71 Xe_LPG [11:15:49] [PASSED] 12.74 Xe_LPG+ [11:15:49] [PASSED] 20.01 Xe2_HPG [11:15:49] [PASSED] 20.02 Xe2_HPG [11:15:49] [PASSED] 20.04 Xe2_LPG [11:15:49] [PASSED] 30.00 Xe3_LPG [11:15:49] [PASSED] 30.01 Xe3_LPG [11:15:49] [PASSED] 30.03 Xe3_LPG [11:15:49] [PASSED] 30.04 Xe3_LPG [11:15:49] [PASSED] 30.05 Xe3_LPG [11:15:49] [PASSED] 35.10 Xe3p_LPG [11:15:49] [PASSED] 35.11 Xe3p_XPC [11:15:49] ================ [PASSED] check_graphics_ip ================ [11:15:49] ===================== check_media_ip ====================== [11:15:49] [PASSED] 12.00 Xe_M [11:15:49] [PASSED] 12.55 Xe_HPM [11:15:49] [PASSED] 13.00 Xe_LPM+ [11:15:49] [PASSED] 13.01 Xe2_HPM [11:15:49] [PASSED] 20.00 Xe2_LPM [11:15:49] [PASSED] 30.00 Xe3_LPM [11:15:49] [PASSED] 30.02 Xe3_LPM [11:15:49] [PASSED] 35.00 Xe3p_LPM [11:15:49] [PASSED] 35.03 Xe3p_HPM [11:15:49] ================= [PASSED] check_media_ip ================== [11:15:49] =================== check_platform_desc =================== [11:15:49] [PASSED] 0x9A60 (TIGERLAKE) [11:15:49] [PASSED] 0x9A68 (TIGERLAKE) [11:15:49] [PASSED] 0x9A70 (TIGERLAKE) [11:15:49] [PASSED] 0x9A40 (TIGERLAKE) [11:15:49] [PASSED] 0x9A49 (TIGERLAKE) [11:15:49] [PASSED] 0x9A59 (TIGERLAKE) [11:15:49] [PASSED] 0x9A78 (TIGERLAKE) [11:15:49] [PASSED] 0x9AC0 (TIGERLAKE) [11:15:49] [PASSED] 0x9AC9 (TIGERLAKE) [11:15:49] [PASSED] 0x9AD9 (TIGERLAKE) [11:15:49] [PASSED] 0x9AF8 (TIGERLAKE) [11:15:49] [PASSED] 0x4C80 (ROCKETLAKE) [11:15:49] [PASSED] 0x4C8A (ROCKETLAKE) [11:15:49] [PASSED] 0x4C8B (ROCKETLAKE) [11:15:49] [PASSED] 0x4C8C (ROCKETLAKE) [11:15:49] [PASSED] 0x4C90 (ROCKETLAKE) [11:15:49] [PASSED] 0x4C9A (ROCKETLAKE) [11:15:49] [PASSED] 0x4680 (ALDERLAKE_S) [11:15:49] [PASSED] 0x4682 (ALDERLAKE_S) [11:15:49] [PASSED] 0x4688 (ALDERLAKE_S) [11:15:49] [PASSED] 0x468A (ALDERLAKE_S) [11:15:49] [PASSED] 0x468B (ALDERLAKE_S) [11:15:49] [PASSED] 0x4690 (ALDERLAKE_S) [11:15:49] [PASSED] 0x4692 (ALDERLAKE_S) [11:15:49] [PASSED] 0x4693 (ALDERLAKE_S) [11:15:49] [PASSED] 0x46A0 (ALDERLAKE_P) [11:15:49] [PASSED] 0x46A1 (ALDERLAKE_P) [11:15:49] [PASSED] 0x46A2 (ALDERLAKE_P) [11:15:49] [PASSED] 0x46A3 (ALDERLAKE_P) [11:15:49] [PASSED] 0x46A6 (ALDERLAKE_P) [11:15:49] [PASSED] 0x46A8 (ALDERLAKE_P) [11:15:49] [PASSED] 0x46AA (ALDERLAKE_P) [11:15:49] [PASSED] 0x462A (ALDERLAKE_P) [11:15:49] [PASSED] 0x4626 (ALDERLAKE_P) [11:15:49] [PASSED] 0x4628 (ALDERLAKE_P) [11:15:49] [PASSED] 0x46B0 (ALDERLAKE_P) [11:15:49] [PASSED] 0x46B1 (ALDERLAKE_P) [11:15:49] [PASSED] 0x46B2 (ALDERLAKE_P) [11:15:49] [PASSED] 0x46B3 (ALDERLAKE_P) [11:15:49] [PASSED] 0x46C0 (ALDERLAKE_P) [11:15:49] [PASSED] 0x46C1 (ALDERLAKE_P) [11:15:49] [PASSED] 0x46C2 (ALDERLAKE_P) [11:15:49] [PASSED] 0x46C3 (ALDERLAKE_P) [11:15:49] [PASSED] 0x46D0 (ALDERLAKE_N) [11:15:49] [PASSED] 0x46D1 (ALDERLAKE_N) [11:15:49] [PASSED] 0x46D2 (ALDERLAKE_N) [11:15:49] [PASSED] 0x46D3 (ALDERLAKE_N) [11:15:49] [PASSED] 0x46D4 (ALDERLAKE_N) [11:15:49] [PASSED] 0xA721 (ALDERLAKE_P) [11:15:49] [PASSED] 0xA7A1 (ALDERLAKE_P) [11:15:49] [PASSED] 0xA7A9 (ALDERLAKE_P) [11:15:49] [PASSED] 0xA7AC (ALDERLAKE_P) [11:15:49] [PASSED] 0xA7AD (ALDERLAKE_P) [11:15:49] [PASSED] 0xA720 (ALDERLAKE_P) [11:15:49] [PASSED] 0xA7A0 (ALDERLAKE_P) [11:15:49] [PASSED] 0xA7A8 (ALDERLAKE_P) [11:15:49] [PASSED] 0xA7AA (ALDERLAKE_P) [11:15:49] [PASSED] 0xA7AB (ALDERLAKE_P) [11:15:49] [PASSED] 0xA780 (ALDERLAKE_S) [11:15:49] [PASSED] 0xA781 (ALDERLAKE_S) [11:15:49] [PASSED] 0xA782 (ALDERLAKE_S) [11:15:49] [PASSED] 0xA783 (ALDERLAKE_S) [11:15:49] [PASSED] 0xA788 (ALDERLAKE_S) [11:15:49] [PASSED] 0xA789 (ALDERLAKE_S) [11:15:49] [PASSED] 0xA78A (ALDERLAKE_S) [11:15:49] [PASSED] 0xA78B (ALDERLAKE_S) [11:15:49] [PASSED] 0x4905 (DG1) [11:15:49] [PASSED] 0x4906 (DG1) [11:15:49] [PASSED] 0x4907 (DG1) [11:15:49] [PASSED] 0x4908 (DG1) [11:15:49] [PASSED] 0x4909 (DG1) [11:15:49] [PASSED] 0x56C0 (DG2) [11:15:49] [PASSED] 0x56C2 (DG2) [11:15:49] [PASSED] 0x56C1 (DG2) [11:15:49] [PASSED] 0x7D51 (METEORLAKE) [11:15:49] [PASSED] 0x7DD1 (METEORLAKE) [11:15:49] [PASSED] 0x7D41 (METEORLAKE) [11:15:49] [PASSED] 0x7D67 (METEORLAKE) [11:15:49] [PASSED] 0xB640 (METEORLAKE) [11:15:49] [PASSED] 0x56A0 (DG2) [11:15:49] [PASSED] 0x56A1 (DG2) [11:15:49] [PASSED] 0x56A2 (DG2) [11:15:49] [PASSED] 0x56BE (DG2) [11:15:49] [PASSED] 0x56BF (DG2) [11:15:49] [PASSED] 0x5690 (DG2) [11:15:49] [PASSED] 0x5691 (DG2) [11:15:49] [PASSED] 0x5692 (DG2) [11:15:49] [PASSED] 0x56A5 (DG2) [11:15:49] [PASSED] 0x56A6 (DG2) [11:15:49] [PASSED] 0x56B0 (DG2) [11:15:49] [PASSED] 0x56B1 (DG2) [11:15:49] [PASSED] 0x56BA (DG2) [11:15:49] [PASSED] 0x56BB (DG2) [11:15:49] [PASSED] 0x56BC (DG2) [11:15:49] [PASSED] 0x56BD (DG2) [11:15:49] [PASSED] 0x5693 (DG2) [11:15:49] [PASSED] 0x5694 (DG2) [11:15:49] [PASSED] 0x5695 (DG2) [11:15:49] [PASSED] 0x56A3 (DG2) [11:15:49] [PASSED] 0x56A4 (DG2) [11:15:49] [PASSED] 0x56B2 (DG2) [11:15:49] [PASSED] 0x56B3 (DG2) [11:15:49] [PASSED] 0x5696 (DG2) [11:15:49] [PASSED] 0x5697 (DG2) [11:15:49] [PASSED] 0xB69 (PVC) [11:15:49] [PASSED] 0xB6E (PVC) [11:15:49] [PASSED] 0xBD4 (PVC) [11:15:49] [PASSED] 0xBD5 (PVC) [11:15:49] [PASSED] 0xBD6 (PVC) [11:15:49] [PASSED] 0xBD7 (PVC) [11:15:49] [PASSED] 0xBD8 (PVC) [11:15:49] [PASSED] 0xBD9 (PVC) [11:15:49] [PASSED] 0xBDA (PVC) [11:15:49] [PASSED] 0xBDB (PVC) [11:15:49] [PASSED] 0xBE0 (PVC) [11:15:49] [PASSED] 0xBE1 (PVC) [11:15:49] [PASSED] 0xBE5 (PVC) [11:15:49] [PASSED] 0x7D40 (METEORLAKE) [11:15:49] [PASSED] 0x7D45 (METEORLAKE) [11:15:49] [PASSED] 0x7D55 (METEORLAKE) [11:15:49] [PASSED] 0x7D60 (METEORLAKE) [11:15:49] [PASSED] 0x7DD5 (METEORLAKE) [11:15:49] [PASSED] 0x6420 (LUNARLAKE) [11:15:49] [PASSED] 0x64A0 (LUNARLAKE) [11:15:49] [PASSED] 0x64B0 (LUNARLAKE) [11:15:49] [PASSED] 0xE202 (BATTLEMAGE) [11:15:49] [PASSED] 0xE209 (BATTLEMAGE) [11:15:49] [PASSED] 0xE20B (BATTLEMAGE) [11:15:49] [PASSED] 0xE20C (BATTLEMAGE) [11:15:49] [PASSED] 0xE20D (BATTLEMAGE) [11:15:49] [PASSED] 0xE210 (BATTLEMAGE) [11:15:49] [PASSED] 0xE211 (BATTLEMAGE) [11:15:49] [PASSED] 0xE212 (BATTLEMAGE) [11:15:49] [PASSED] 0xE216 (BATTLEMAGE) [11:15:49] [PASSED] 0xE220 (BATTLEMAGE) [11:15:49] [PASSED] 0xE221 (BATTLEMAGE) [11:15:49] [PASSED] 0xE222 (BATTLEMAGE) [11:15:49] [PASSED] 0xE223 (BATTLEMAGE) [11:15:49] [PASSED] 0xB080 (PANTHERLAKE) [11:15:49] [PASSED] 0xB081 (PANTHERLAKE) [11:15:49] [PASSED] 0xB082 (PANTHERLAKE) [11:15:49] [PASSED] 0xB083 (PANTHERLAKE) [11:15:49] [PASSED] 0xB084 (PANTHERLAKE) [11:15:49] [PASSED] 0xB085 (PANTHERLAKE) [11:15:49] [PASSED] 0xB086 (PANTHERLAKE) [11:15:49] [PASSED] 0xB087 (PANTHERLAKE) [11:15:49] [PASSED] 0xB08F (PANTHERLAKE) [11:15:49] [PASSED] 0xB090 (PANTHERLAKE) [11:15:49] [PASSED] 0xB0A0 (PANTHERLAKE) [11:15:49] [PASSED] 0xB0B0 (PANTHERLAKE) [11:15:49] [PASSED] 0xFD80 (PANTHERLAKE) [11:15:49] [PASSED] 0xFD81 (PANTHERLAKE) [11:15:49] [PASSED] 0xD740 (NOVALAKE_S) [11:15:49] [PASSED] 0xD741 (NOVALAKE_S) [11:15:49] [PASSED] 0xD742 (NOVALAKE_S) [11:15:49] [PASSED] 0xD743 (NOVALAKE_S) [11:15:49] [PASSED] 0xD745 (NOVALAKE_S) [11:15:49] [PASSED] 0xD74A (NOVALAKE_S) [11:15:49] [PASSED] 0xD74B (NOVALAKE_S) [11:15:49] [PASSED] 0x674C (CRESCENTISLAND) [11:15:49] [PASSED] 0x674D (CRESCENTISLAND) [11:15:49] [PASSED] 0x674E (CRESCENTISLAND) [11:15:49] [PASSED] 0x674F (CRESCENTISLAND) [11:15:49] [PASSED] 0x6750 (CRESCENTISLAND) [11:15:49] [PASSED] 0xD750 (NOVALAKE_P) [11:15:49] [PASSED] 0xD751 (NOVALAKE_P) [11:15:49] [PASSED] 0xD752 (NOVALAKE_P) [11:15:49] [PASSED] 0xD753 (NOVALAKE_P) [11:15:49] [PASSED] 0xD754 (NOVALAKE_P) [11:15:49] [PASSED] 0xD755 (NOVALAKE_P) [11:15:49] [PASSED] 0xD756 (NOVALAKE_P) [11:15:49] [PASSED] 0xD757 (NOVALAKE_P) [11:15:49] [PASSED] 0xD75F (NOVALAKE_P) [11:15:49] =============== [PASSED] check_platform_desc =============== [11:15:49] ===================== [PASSED] xe_pci ====================== [11:15:49] ============= xe_rtp_tables_test (5 subtests) ============== [11:15:49] ================== xe_rtp_table_gt_test =================== [11:15:49] [PASSED] gt_was/14011060649 [11:15:49] [PASSED] gt_was/14011059788 [11:15:49] [PASSED] gt_was/14015795083 [11:15:49] [PASSED] gt_was/16021867713 [11:15:49] [PASSED] gt_was/14019449301 [11:15:49] [PASSED] gt_was/16028005424 [11:15:49] [PASSED] gt_was/14026578760 [11:15:49] [PASSED] gt_was/1409420604 [11:15:49] [PASSED] gt_was/1408615072 [11:15:49] [PASSED] gt_was/22010523718 [11:15:49] [PASSED] gt_was/14011006942 [11:15:49] [PASSED] gt_was/14014830051 [11:15:49] [PASSED] gt_was/18018781329 [11:15:49] [PASSED] gt_was/1509235366 [11:15:49] [PASSED] gt_was/18018781329 [11:15:49] [PASSED] gt_was/16016694945 [11:15:49] [PASSED] gt_was/14018575942 [11:15:49] [PASSED] gt_was/22016670082 [11:15:49] [PASSED] gt_was/22016670082 [11:15:49] [PASSED] gt_was/14017421178 [11:15:49] [PASSED] gt_was/16025250150 [11:15:49] [PASSED] gt_was/14021871409 [11:15:49] [PASSED] gt_was/16021865536 [11:15:49] [PASSED] gt_was/14021486841 [11:15:49] [PASSED] gt_was/14025160223 [11:15:49] [PASSED] gt_was/14026144927, 16029437861, 14026127056 [11:15:49] [PASSED] gt_was/14025635424 [11:15:49] [PASSED] gt_was/16028005424 [11:15:49] ============== [PASSED] xe_rtp_table_gt_test =============== [11:15:49] ================== xe_rtp_table_gt_test =================== [11:15:49] [PASSED] gt_tunings/Tuning: Blend Fill Caching Optimization Disable [11:15:49] [PASSED] gt_tunings/Tuning: 32B Access Enable [11:15:49] [PASSED] gt_tunings/Tuning: L3 cache [11:15:49] [PASSED] gt_tunings/Tuning: L3 cache - media [11:15:49] [PASSED] gt_tunings/Tuning: Compression Overfetch [11:15:49] [PASSED] gt_tunings/Tuning: Compression Overfetch - media [11:15:49] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 [11:15:49] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 - media [11:15:49] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only [11:15:49] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only - media [11:15:49] [PASSED] gt_tunings/Tuning: Stateless compression control [11:15:49] [PASSED] gt_tunings/Tuning: Stateless compression control - media [11:15:49] [PASSED] gt_tunings/Tuning: L3 RW flush all Cache [11:15:49] [PASSED] gt_tunings/Tuning: L3 RW flush all cache - media [11:15:49] [PASSED] gt_tunings/Tuning: Set STLB Bank Hash Mode to 4KB [11:15:49] ============== [PASSED] xe_rtp_table_gt_test =============== [11:15:49] ================== xe_rtp_table_oob_test ================== [11:15:49] [PASSED] oob_was/1607983814 [11:15:49] [PASSED] oob_was/16010904313 [11:15:49] [PASSED] oob_was/18022495364 [11:15:49] [PASSED] oob_was/22012773006 [11:15:49] [PASSED] oob_was/14014475959 [11:15:49] [PASSED] oob_was/22011391025 [11:15:49] [PASSED] oob_was/22012727170 [11:15:49] [PASSED] oob_was/22012727685 [11:15:49] [PASSED] oob_was/22016596838 [11:15:49] [PASSED] oob_was/18020744125 [11:15:49] [PASSED] oob_was/1409600907 [11:15:49] [PASSED] oob_was/22014953428 [11:15:49] [PASSED] oob_was/16017236439 [11:15:49] [PASSED] oob_was/14019821291 [11:15:49] [PASSED] oob_was/14015076503 [11:15:49] [PASSED] oob_was/14018913170 [11:15:49] [PASSED] oob_was/14018094691 [11:15:49] [PASSED] oob_was/18024947630 [11:15:49] [PASSED] oob_was/16022287689 [11:15:49] [PASSED] oob_was/13011645652 [11:15:49] [PASSED] oob_was/14022293748 [11:15:49] [PASSED] oob_was/22019794406 [11:15:49] [PASSED] oob_was/22019338487 [11:15:49] [PASSED] oob_was/16023588340 [11:15:49] [PASSED] oob_was/14019789679 [11:15:49] [PASSED] oob_was/14022866841 [11:15:49] [PASSED] oob_was/16021333562 [11:15:49] [PASSED] oob_was/14016712196 [11:15:49] [PASSED] oob_was/14015568240 [11:15:49] [PASSED] oob_was/18013179988 [11:15:49] [PASSED] oob_was/1508761755 [11:15:49] [PASSED] oob_was/16023105232 [11:15:49] [PASSED] oob_was/16026508708 [11:15:49] [PASSED] oob_was/14020001231 [11:15:49] [PASSED] oob_was/16023683509 [11:15:49] [PASSED] oob_was/14025515070 [11:15:49] [PASSED] oob_was/15015404425_disable [11:15:49] [PASSED] oob_was/16026007364 [11:15:49] [PASSED] oob_was/14020316580 [11:15:49] [PASSED] oob_was/14025883347 [11:15:49] [PASSED] oob_was/16029380221 [11:15:49] [PASSED] oob_was/22022079272 [11:15:49] [PASSED] oob_was/16029897822 [11:15:49] [PASSED] oob_was/14027054324 [11:15:49] ============== [PASSED] xe_rtp_table_oob_test ============== [11:15:49] ================ xe_rtp_table_dev_oob_test ================ [11:15:49] [PASSED] device_oob_was/22010954014 [11:15:49] [PASSED] device_oob_was/15015404425 [11:15:49] [PASSED] device_oob_was/22019338487_display [11:15:49] [PASSED] device_oob_was/14022085890 [11:15:49] [PASSED] device_oob_was/14026539277 [11:15:49] [PASSED] device_oob_was/14026633728 [11:15:49] [PASSED] device_oob_was/14026746987 [11:15:49] [PASSED] device_oob_was/14026779378 [11:15:49] ============ [PASSED] xe_rtp_table_dev_oob_test ============ [11:15:49] ========== xe_rtp_table_missing_upper_bound_test ========== [11:15:49] [PASSED] register_whitelist/WaAllowPMDepthAndInvocationCountAccessFromUMD, 1408556865 [11:15:49] [PASSED] register_whitelist/1508744258, 14012131227, 1808121037 [11:15:49] [PASSED] register_whitelist/1806527549 [11:15:49] [PASSED] register_whitelist/allow_read_ctx_timestamp [11:15:49] [PASSED] register_whitelist/allow_read_queue_timestamp [11:15:49] [PASSED] register_whitelist/16014440446 [11:15:49] [PASSED] register_whitelist/16017236439 [11:15:49] [PASSED] register_whitelist/16020183090 [11:15:49] [PASSED] register_whitelist/14024997852 [11:15:49] [PASSED] register_whitelist/14024997852 [11:15:49] ====== [PASSED] xe_rtp_table_missing_upper_bound_test ====== [11:15:49] =============== [PASSED] xe_rtp_tables_test ================ [11:15:49] =================== xe_rtp (3 subtests) ==================== [11:15:49] =================== xe_rtp_rules_tests ==================== [11:15:49] [PASSED] no [11:15:49] [PASSED] yes [11:15:49] [PASSED] no-and-no [11:15:49] [PASSED] no-and-yes [11:15:49] [PASSED] yes-and-no [11:15:49] [PASSED] yes-and-yes [11:15:49] [PASSED] no-or-no [11:15:49] [PASSED] no-or-yes [11:15:49] [PASSED] yes-or-no [11:15:49] [PASSED] yes-or-yes [11:15:49] [PASSED] no-yes-or-yes-no [11:15:49] [PASSED] no-yes-or-yes-yes [11:15:49] [PASSED] yes-yes-or-no-yes [11:15:49] [PASSED] yes-yes-or-yes-yes [11:15:49] [PASSED] no-no-or-yes-or-no [11:15:49] [PASSED] or [11:15:49] [PASSED] or-yes [11:15:49] [PASSED] or-no [11:15:49] [PASSED] yes-or [11:15:49] [PASSED] no-or [11:15:49] [PASSED] no-or-or-yes [11:15:49] [PASSED] yes-or-or-no [11:15:49] [PASSED] no-or-or-no [11:15:49] [PASSED] missing-context-engine-class [11:15:49] [PASSED] missing-context-engine-class-or-yes [11:15:49] [PASSED] missing-context-engine-class-or-or-yes [11:15:49] =============== [PASSED] xe_rtp_rules_tests ================ [11:15:49] =============== xe_rtp_process_to_sr_tests ================ [11:15:49] [PASSED] coalesce-same-reg [11:15:49] [PASSED] coalesce-same-reg-literal-and-func [11:15:49] [PASSED] no-match-no-add [11:15:49] [PASSED] two-regs-two-entries [11:15:49] [PASSED] clr-one-set-other [11:15:49] [PASSED] set-field [11:15:49] [PASSED] conflict-duplicate [11:15:49] [PASSED] conflict-not-disjoint [11:15:49] [PASSED] conflict-not-disjoint-literal-and-func [11:15:49] [PASSED] conflict-reg-type [11:15:49] [PASSED] bad-mcr-reg-forced-to-regular [11:15:49] [PASSED] bad-regular-reg-forced-to-mcr [11:15:49] =========== [PASSED] xe_rtp_process_to_sr_tests ============ [11:15:49] ================== xe_rtp_process_tests =================== [11:15:49] [PASSED] active1 [11:15:49] [PASSED] active2 [11:15:49] [PASSED] active-inactive [11:15:49] [PASSED] inactive-active [11:15:49] [PASSED] inactive-active-inactive [11:15:49] [PASSED] inactive-inactive-inactive [11:15:49] ============== [PASSED] xe_rtp_process_tests =============== [11:15:49] ===================== [PASSED] xe_rtp ====================== [11:15:49] ==================== xe_wa (1 subtest) ===================== [11:15:49] ======================== xe_wa_gt ========================= [11:15:49] [PASSED] TIGERLAKE B0 [11:15:49] [PASSED] DG1 A0 [11:15:49] [PASSED] DG1 B0 [11:15:49] [PASSED] ALDERLAKE_S A0 [11:15:49] [PASSED] ALDERLAKE_S B0 [11:15:49] [PASSED] ALDERLAKE_S C0 [11:15:49] [PASSED] ALDERLAKE_S D0 [11:15:49] [PASSED] ALDERLAKE_P A0 [11:15:49] [PASSED] ALDERLAKE_P B0 [11:15:49] [PASSED] ALDERLAKE_P C0 [11:15:49] [PASSED] ALDERLAKE_S RPLS D0 [11:15:49] [PASSED] ALDERLAKE_P RPLU E0 [11:15:49] [PASSED] DG2 G10 C0 [11:15:49] [PASSED] DG2 G11 B1 [11:15:49] [PASSED] DG2 G12 A1 [11:15:49] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0 [11:15:49] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0 [11:15:49] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0 [11:15:49] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0 [11:15:49] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0 [11:15:49] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1 [11:15:49] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0 [11:15:49] ==================== [PASSED] xe_wa_gt ===================== [11:15:49] ====================== [PASSED] xe_wa ====================== [11:15:49] ============================================================ [11:15:49] Testing complete. Ran 793 tests: passed: 765, skipped: 28 [11:15:49] Elapsed time: 36.000s total, 1.756s configuring, 33.528s building, 0.701s 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 [11:15:50] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [11:15: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 [11:16:16] Starting KUnit Kernel (1/1)... [11:16:16] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [11:16:16] ============= refcount_interrupt (4 subtests) ============== [11:16:16] [PASSED] test_single_irq_change [11:16:16] [PASSED] test_nested_irq_change [11:16:16] [PASSED] test_multiple_irq_change [11:16:16] [PASSED] test_irq_save [11:16:16] =============== [PASSED] refcount_interrupt ================ [11:16:16] ============ drm_test_pick_cmdline (2 subtests) ============ [11:16:16] [PASSED] drm_test_pick_cmdline_res_1920_1080_60 [11:16:16] =============== drm_test_pick_cmdline_named =============== [11:16:16] [PASSED] NTSC [11:16:16] [PASSED] NTSC-J [11:16:16] [PASSED] PAL [11:16:16] [PASSED] PAL-M [11:16:16] =========== [PASSED] drm_test_pick_cmdline_named =========== [11:16:16] ============== [PASSED] drm_test_pick_cmdline ============== [11:16:16] == drm_test_atomic_get_connector_for_encoder (1 subtest) === [11:16:16] [PASSED] drm_test_drm_atomic_get_connector_for_encoder [11:16:16] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ==== [11:16:16] =========== drm_validate_clone_mode (2 subtests) =========== [11:16:16] ============== drm_test_check_in_clone_mode =============== [11:16:16] [PASSED] in_clone_mode [11:16:16] [PASSED] not_in_clone_mode [11:16:16] ========== [PASSED] drm_test_check_in_clone_mode =========== [11:16:16] =============== drm_test_check_valid_clones =============== [11:16:16] [PASSED] not_in_clone_mode [11:16:16] [PASSED] valid_clone [11:16:16] [PASSED] invalid_clone [11:16:16] =========== [PASSED] drm_test_check_valid_clones =========== [11:16:16] ============= [PASSED] drm_validate_clone_mode ============= [11:16:16] ============= drm_validate_modeset (1 subtest) ============= [11:16:16] [PASSED] drm_test_check_connector_changed_modeset [11:16:16] ============== [PASSED] drm_validate_modeset =============== [11:16:16] ====== drm_test_bridge_get_current_state (1 subtest) ======= [11:16:16] [PASSED] drm_test_drm_bridge_get_current_state_atomic [11:16:16] ======== [PASSED] drm_test_bridge_get_current_state ======== [11:16:16] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ====== [11:16:16] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic [11:16:16] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled [11:16:16] [PASSED] drm_test_drm_bridge_helper_hdmi_output_bus_fmts [11:16:16] ======== [PASSED] drm_test_bridge_helper_reset_crtc ======== [11:16:16] ============== drm_bridge_alloc (2 subtests) =============== [11:16:16] [PASSED] drm_test_drm_bridge_alloc_basic [11:16:16] [PASSED] drm_test_drm_bridge_alloc_get_put [11:16:16] ================ [PASSED] drm_bridge_alloc ================= [11:16:16] ============= drm_bridge_bus_fmt (5 subtests) ============== [11:16:16] [PASSED] drm_test_bridge_rgb_yuv_rgb [11:16:16] [PASSED] drm_test_bridge_must_convert_to_yuv444 [11:16:16] [PASSED] drm_test_bridge_hdmi_auto_rgb [11:16:16] [PASSED] drm_test_bridge_auto_first [11:16:16] [PASSED] drm_test_bridge_rgb_yuv_no_path [11:16:16] =============== [PASSED] drm_bridge_bus_fmt ================ [11:16:16] ============= drm_cmdline_parser (40 subtests) ============= [11:16:16] [PASSED] drm_test_cmdline_force_d_only [11:16:16] [PASSED] drm_test_cmdline_force_D_only_dvi [11:16:16] [PASSED] drm_test_cmdline_force_D_only_hdmi [11:16:16] [PASSED] drm_test_cmdline_force_D_only_not_digital [11:16:16] [PASSED] drm_test_cmdline_force_e_only [11:16:16] [PASSED] drm_test_cmdline_res [11:16:16] [PASSED] drm_test_cmdline_res_vesa [11:16:16] [PASSED] drm_test_cmdline_res_vesa_rblank [11:16:16] [PASSED] drm_test_cmdline_res_rblank [11:16:16] [PASSED] drm_test_cmdline_res_bpp [11:16:16] [PASSED] drm_test_cmdline_res_refresh [11:16:16] [PASSED] drm_test_cmdline_res_bpp_refresh [11:16:16] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced [11:16:16] [PASSED] drm_test_cmdline_res_bpp_refresh_margins [11:16:16] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off [11:16:16] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on [11:16:16] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog [11:16:16] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital [11:16:16] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on [11:16:16] [PASSED] drm_test_cmdline_res_margins_force_on [11:16:16] [PASSED] drm_test_cmdline_res_vesa_margins [11:16:16] [PASSED] drm_test_cmdline_name [11:16:16] [PASSED] drm_test_cmdline_name_bpp [11:16:16] [PASSED] drm_test_cmdline_name_option [11:16:16] [PASSED] drm_test_cmdline_name_bpp_option [11:16:16] [PASSED] drm_test_cmdline_rotate_0 [11:16:16] [PASSED] drm_test_cmdline_rotate_90 [11:16:16] [PASSED] drm_test_cmdline_rotate_180 [11:16:16] [PASSED] drm_test_cmdline_rotate_270 [11:16:16] [PASSED] drm_test_cmdline_hmirror [11:16:16] [PASSED] drm_test_cmdline_vmirror [11:16:16] [PASSED] drm_test_cmdline_margin_options [11:16:16] [PASSED] drm_test_cmdline_multiple_options [11:16:16] [PASSED] drm_test_cmdline_bpp_extra_and_option [11:16:16] [PASSED] drm_test_cmdline_extra_and_option [11:16:16] [PASSED] drm_test_cmdline_freestanding_options [11:16:16] [PASSED] drm_test_cmdline_freestanding_force_e_and_options [11:16:16] [PASSED] drm_test_cmdline_panel_orientation [11:16:16] ================ drm_test_cmdline_invalid ================= [11:16:16] [PASSED] margin_only [11:16:16] [PASSED] interlace_only [11:16:16] [PASSED] res_missing_x [11:16:16] [PASSED] res_missing_y [11:16:16] [PASSED] res_bad_y [11:16:16] [PASSED] res_missing_y_bpp [11:16:16] [PASSED] res_bad_bpp [11:16:16] [PASSED] res_bad_refresh [11:16:16] [PASSED] res_bpp_refresh_force_on_off [11:16:16] [PASSED] res_invalid_mode [11:16:16] [PASSED] res_bpp_wrong_place_mode [11:16:16] [PASSED] name_bpp_refresh [11:16:16] [PASSED] name_refresh [11:16:16] [PASSED] name_refresh_wrong_mode [11:16:16] [PASSED] name_refresh_invalid_mode [11:16:16] [PASSED] rotate_multiple [11:16:16] [PASSED] rotate_invalid_val [11:16:16] [PASSED] rotate_truncated [11:16:16] [PASSED] invalid_option [11:16:16] [PASSED] invalid_tv_option [11:16:16] [PASSED] truncated_tv_option [11:16:16] ============ [PASSED] drm_test_cmdline_invalid ============= [11:16:16] =============== drm_test_cmdline_tv_options =============== [11:16:16] [PASSED] NTSC [11:16:16] [PASSED] NTSC_443 [11:16:16] [PASSED] NTSC_J [11:16:16] [PASSED] PAL [11:16:16] [PASSED] PAL_M [11:16:16] [PASSED] PAL_N [11:16:16] [PASSED] SECAM [11:16:16] [PASSED] MONO_525 [11:16:16] [PASSED] MONO_625 [11:16:16] =========== [PASSED] drm_test_cmdline_tv_options =========== [11:16:16] =============== [PASSED] drm_cmdline_parser ================ [11:16:16] ========== drmm_connector_hdmi_init (20 subtests) ========== [11:16:16] [PASSED] drm_test_connector_hdmi_init_valid [11:16:16] [PASSED] drm_test_connector_hdmi_init_bpc_8 [11:16:16] [PASSED] drm_test_connector_hdmi_init_bpc_10 [11:16:16] [PASSED] drm_test_connector_hdmi_init_bpc_12 [11:16:16] [PASSED] drm_test_connector_hdmi_init_bpc_invalid [11:16:16] [PASSED] drm_test_connector_hdmi_init_bpc_null [11:16:16] [PASSED] drm_test_connector_hdmi_init_formats_empty [11:16:16] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb [11:16:16] === drm_test_connector_hdmi_init_formats_yuv420_allowed === [11:16:16] [PASSED] supported_formats=0x9 yuv420_allowed=1 [11:16:16] [PASSED] supported_formats=0x9 yuv420_allowed=0 [11:16:16] [PASSED] supported_formats=0x5 yuv420_allowed=1 [11:16:16] [PASSED] supported_formats=0x5 yuv420_allowed=0 [11:16:16] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed === [11:16:16] [PASSED] drm_test_connector_hdmi_init_null_ddc [11:16:16] [PASSED] drm_test_connector_hdmi_init_null_product [11:16:16] [PASSED] drm_test_connector_hdmi_init_null_vendor [11:16:16] [PASSED] drm_test_connector_hdmi_init_product_length_exact [11:16:16] [PASSED] drm_test_connector_hdmi_init_product_length_too_long [11:16:16] [PASSED] drm_test_connector_hdmi_init_product_valid [11:16:16] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact [11:16:16] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long [11:16:16] [PASSED] drm_test_connector_hdmi_init_vendor_valid [11:16:16] ========= drm_test_connector_hdmi_init_type_valid ========= [11:16:16] [PASSED] HDMI-A [11:16:16] [PASSED] HDMI-B [11:16:16] ===== [PASSED] drm_test_connector_hdmi_init_type_valid ===== [11:16:16] ======== drm_test_connector_hdmi_init_type_invalid ======== [11:16:16] [PASSED] Unknown [11:16:16] [PASSED] VGA [11:16:16] [PASSED] DVI-I [11:16:16] [PASSED] DVI-D [11:16:16] [PASSED] DVI-A [11:16:16] [PASSED] Composite [11:16:16] [PASSED] SVIDEO [11:16:16] [PASSED] LVDS [11:16:16] [PASSED] Component [11:16:16] [PASSED] DIN [11:16:16] [PASSED] DP [11:16:16] [PASSED] TV [11:16:16] [PASSED] eDP [11:16:16] [PASSED] Virtual [11:16:16] [PASSED] DSI [11:16:16] [PASSED] DPI [11:16:16] [PASSED] Writeback [11:16:16] [PASSED] SPI [11:16:16] [PASSED] USB [11:16:16] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ==== [11:16:16] ============ [PASSED] drmm_connector_hdmi_init ============= [11:16:16] ============= drmm_connector_init (3 subtests) ============= [11:16:16] [PASSED] drm_test_drmm_connector_init [11:16:16] [PASSED] drm_test_drmm_connector_init_null_ddc [11:16:16] ========= drm_test_drmm_connector_init_type_valid ========= [11:16:16] [PASSED] Unknown [11:16:16] [PASSED] VGA [11:16:16] [PASSED] DVI-I [11:16:16] [PASSED] DVI-D [11:16:16] [PASSED] DVI-A [11:16:16] [PASSED] Composite [11:16:16] [PASSED] SVIDEO [11:16:16] [PASSED] LVDS [11:16:16] [PASSED] Component [11:16:16] [PASSED] DIN [11:16:16] [PASSED] DP [11:16:16] [PASSED] HDMI-A [11:16:16] [PASSED] HDMI-B [11:16:16] [PASSED] TV [11:16:16] [PASSED] eDP [11:16:16] [PASSED] Virtual [11:16:16] [PASSED] DSI [11:16:16] [PASSED] DPI [11:16:16] [PASSED] Writeback [11:16:16] [PASSED] SPI [11:16:16] [PASSED] USB [11:16:16] ===== [PASSED] drm_test_drmm_connector_init_type_valid ===== [11:16:16] =============== [PASSED] drmm_connector_init =============== [11:16:16] ========= drm_connector_dynamic_init (6 subtests) ========== [11:16:16] [PASSED] drm_test_drm_connector_dynamic_init [11:16:16] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc [11:16:16] [PASSED] drm_test_drm_connector_dynamic_init_not_added [11:16:16] [PASSED] drm_test_drm_connector_dynamic_init_properties [11:16:16] ===== drm_test_drm_connector_dynamic_init_type_valid ====== [11:16:16] [PASSED] Unknown [11:16:16] [PASSED] VGA [11:16:16] [PASSED] DVI-I [11:16:16] [PASSED] DVI-D [11:16:16] [PASSED] DVI-A [11:16:16] [PASSED] Composite [11:16:16] [PASSED] SVIDEO [11:16:16] [PASSED] LVDS [11:16:16] [PASSED] Component [11:16:16] [PASSED] DIN [11:16:16] [PASSED] DP [11:16:16] [PASSED] HDMI-A [11:16:16] [PASSED] HDMI-B [11:16:16] [PASSED] TV [11:16:16] [PASSED] eDP [11:16:16] [PASSED] Virtual [11:16:16] [PASSED] DSI [11:16:16] [PASSED] DPI [11:16:16] [PASSED] Writeback [11:16:16] [PASSED] SPI [11:16:16] [PASSED] USB [11:16:16] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid == [11:16:16] ======== drm_test_drm_connector_dynamic_init_name ========= [11:16:16] [PASSED] Unknown [11:16:16] [PASSED] VGA [11:16:16] [PASSED] DVI-I [11:16:16] [PASSED] DVI-D [11:16:16] [PASSED] DVI-A [11:16:16] [PASSED] Composite [11:16:16] [PASSED] SVIDEO [11:16:16] [PASSED] LVDS [11:16:16] [PASSED] Component [11:16:16] [PASSED] DIN [11:16:16] [PASSED] DP [11:16:16] [PASSED] HDMI-A [11:16:16] [PASSED] HDMI-B [11:16:16] [PASSED] TV [11:16:16] [PASSED] eDP [11:16:16] [PASSED] Virtual [11:16:16] [PASSED] DSI [11:16:16] [PASSED] DPI [11:16:16] [PASSED] Writeback [11:16:16] [PASSED] SPI [11:16:16] [PASSED] USB [11:16:16] ==== [PASSED] drm_test_drm_connector_dynamic_init_name ===== [11:16:16] =========== [PASSED] drm_connector_dynamic_init ============ [11:16:16] ==== drm_connector_dynamic_register_early (4 subtests) ===== [11:16:16] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list [11:16:16] [PASSED] drm_test_drm_connector_dynamic_register_early_defer [11:16:16] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init [11:16:16] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object [11:16:16] ====== [PASSED] drm_connector_dynamic_register_early ======= [11:16:16] ======= drm_connector_dynamic_register (7 subtests) ======== [11:16:16] [PASSED] drm_test_drm_connector_dynamic_register_on_list [11:16:16] [PASSED] drm_test_drm_connector_dynamic_register_no_defer [11:16:16] [PASSED] drm_test_drm_connector_dynamic_register_no_init [11:16:16] [PASSED] drm_test_drm_connector_dynamic_register_mode_object [11:16:16] [PASSED] drm_test_drm_connector_dynamic_register_sysfs [11:16:16] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name [11:16:16] [PASSED] drm_test_drm_connector_dynamic_register_debugfs [11:16:16] ========= [PASSED] drm_connector_dynamic_register ========== [11:16:16] = drm_connector_attach_broadcast_rgb_property (2 subtests) = [11:16:16] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property [11:16:16] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector [11:16:16] === [PASSED] drm_connector_attach_broadcast_rgb_property === [11:16:16] ========== drm_get_tv_mode_from_name (2 subtests) ========== [11:16:16] ========== drm_test_get_tv_mode_from_name_valid =========== [11:16:16] [PASSED] NTSC [11:16:16] [PASSED] NTSC-443 [11:16:16] [PASSED] NTSC-J [11:16:16] [PASSED] PAL [11:16:16] [PASSED] PAL-M [11:16:16] [PASSED] PAL-N [11:16:16] [PASSED] SECAM [11:16:16] [PASSED] Mono [11:16:16] ====== [PASSED] drm_test_get_tv_mode_from_name_valid ======= [11:16:16] [PASSED] drm_test_get_tv_mode_from_name_truncated [11:16:16] ============ [PASSED] drm_get_tv_mode_from_name ============ [11:16:16] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) = [11:16:16] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb [11:16:16] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc [11:16:16] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1 [11:16:16] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc [11:16:16] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1 [11:16:16] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double [11:16:16] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid = [11:16:16] [PASSED] VIC 96 [11:16:16] [PASSED] VIC 97 [11:16:16] [PASSED] VIC 101 [11:16:16] [PASSED] VIC 102 [11:16:16] [PASSED] VIC 106 [11:16:16] [PASSED] VIC 107 [11:16:16] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid === [11:16:16] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc [11:16:16] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc [11:16:16] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc [11:16:16] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc [11:16:16] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc [11:16:16] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ==== [11:16:16] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) == [11:16:16] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ==== [11:16:16] [PASSED] Automatic [11:16:16] [PASSED] Full [11:16:16] [PASSED] Limited 16:235 [11:16:16] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name === [11:16:16] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid [11:16:16] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ==== [11:16:16] == drm_hdmi_connector_get_output_format_name (2 subtests) == [11:16:16] === drm_test_drm_hdmi_connector_get_output_format_name ==== [11:16:16] [PASSED] RGB [11:16:16] [PASSED] YUV 4:2:0 [11:16:16] [PASSED] YUV 4:2:2 [11:16:16] [PASSED] YUV 4:4:4 [11:16:16] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name === [11:16:16] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid [11:16:16] ==== [PASSED] drm_hdmi_connector_get_output_format_name ==== [11:16:16] ============= drm_damage_helper (21 subtests) ============== [11:16:16] [PASSED] drm_test_damage_iter_no_damage [11:16:16] [PASSED] drm_test_damage_iter_no_damage_fractional_src [11:16:16] [PASSED] drm_test_damage_iter_no_damage_src_moved [11:16:16] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved [11:16:16] [PASSED] drm_test_damage_iter_no_damage_not_visible [11:16:16] [PASSED] drm_test_damage_iter_no_damage_no_crtc [11:16:16] [PASSED] drm_test_damage_iter_no_damage_no_fb [11:16:16] [PASSED] drm_test_damage_iter_simple_damage [11:16:16] [PASSED] drm_test_damage_iter_single_damage [11:16:16] [PASSED] drm_test_damage_iter_single_damage_intersect_src [11:16:16] [PASSED] drm_test_damage_iter_single_damage_outside_src [11:16:16] [PASSED] drm_test_damage_iter_single_damage_fractional_src [11:16:16] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src [11:16:16] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src [11:16:16] [PASSED] drm_test_damage_iter_single_damage_src_moved [11:16:16] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved [11:16:16] [PASSED] drm_test_damage_iter_damage [11:16:16] [PASSED] drm_test_damage_iter_damage_one_intersect [11:16:16] [PASSED] drm_test_damage_iter_damage_one_outside [11:16:16] [PASSED] drm_test_damage_iter_damage_src_moved [11:16:16] [PASSED] drm_test_damage_iter_damage_not_visible [11:16:16] ================ [PASSED] drm_damage_helper ================ [11:16:16] ============== drm_dp_mst_helper (3 subtests) ============== [11:16:16] ============== drm_test_dp_mst_calc_pbn_mode ============== [11:16:16] [PASSED] Clock 154000 BPP 30 DSC disabled [11:16:16] [PASSED] Clock 234000 BPP 30 DSC disabled [11:16:16] [PASSED] Clock 297000 BPP 24 DSC disabled [11:16:16] [PASSED] Clock 332880 BPP 24 DSC enabled [11:16:16] [PASSED] Clock 324540 BPP 24 DSC enabled [11:16:16] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ========== [11:16:16] ============== drm_test_dp_mst_calc_pbn_div =============== [11:16:16] [PASSED] Link rate 2000000 lane count 4 [11:16:16] [PASSED] Link rate 2000000 lane count 2 [11:16:16] [PASSED] Link rate 2000000 lane count 1 [11:16:16] [PASSED] Link rate 1350000 lane count 4 [11:16:16] [PASSED] Link rate 1350000 lane count 2 [11:16:16] [PASSED] Link rate 1350000 lane count 1 [11:16:16] [PASSED] Link rate 1000000 lane count 4 [11:16:16] [PASSED] Link rate 1000000 lane count 2 [11:16:16] [PASSED] Link rate 1000000 lane count 1 [11:16:16] [PASSED] Link rate 810000 lane count 4 [11:16:16] [PASSED] Link rate 810000 lane count 2 [11:16:16] [PASSED] Link rate 810000 lane count 1 [11:16:16] [PASSED] Link rate 540000 lane count 4 [11:16:16] [PASSED] Link rate 540000 lane count 2 [11:16:16] [PASSED] Link rate 540000 lane count 1 [11:16:16] [PASSED] Link rate 270000 lane count 4 [11:16:16] [PASSED] Link rate 270000 lane count 2 [11:16:16] [PASSED] Link rate 270000 lane count 1 [11:16:16] [PASSED] Link rate 162000 lane count 4 [11:16:16] [PASSED] Link rate 162000 lane count 2 [11:16:16] [PASSED] Link rate 162000 lane count 1 [11:16:16] ========== [PASSED] drm_test_dp_mst_calc_pbn_div =========== [11:16:16] ========= drm_test_dp_mst_sideband_msg_req_decode ========= [11:16:16] [PASSED] DP_ENUM_PATH_RESOURCES with port number [11:16:16] [PASSED] DP_POWER_UP_PHY with port number [11:16:16] [PASSED] DP_POWER_DOWN_PHY with port number [11:16:16] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks [11:16:16] [PASSED] DP_ALLOCATE_PAYLOAD with port number [11:16:16] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI [11:16:16] [PASSED] DP_ALLOCATE_PAYLOAD with PBN [11:16:16] [PASSED] DP_QUERY_PAYLOAD with port number [11:16:16] [PASSED] DP_QUERY_PAYLOAD with VCPI [11:16:16] [PASSED] DP_REMOTE_DPCD_READ with port number [11:16:16] [PASSED] DP_REMOTE_DPCD_READ with DPCD address [11:16:16] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes [11:16:16] [PASSED] DP_REMOTE_DPCD_WRITE with port number [11:16:16] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address [11:16:16] [PASSED] DP_REMOTE_DPCD_WRITE with data array [11:16:16] [PASSED] DP_REMOTE_I2C_READ with port number [11:16:16] [PASSED] DP_REMOTE_I2C_READ with I2C device ID [11:16:16] [PASSED] DP_REMOTE_I2C_READ with transactions array [11:16:16] [PASSED] DP_REMOTE_I2C_WRITE with port number [11:16:16] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID [11:16:16] [PASSED] DP_REMOTE_I2C_WRITE with data array [11:16:16] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID [11:16:16] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID [11:16:16] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event [11:16:16] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event [11:16:16] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior [11:16:16] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior [11:16:16] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode ===== [11:16:16] ================ [PASSED] drm_dp_mst_helper ================ [11:16:16] ================== drm_exec (7 subtests) =================== [11:16:16] [PASSED] sanitycheck [11:16:16] [PASSED] test_lock [11:16:16] [PASSED] test_lock_unlock [11:16:16] [PASSED] test_duplicates [11:16:16] [PASSED] test_prepare [11:16:16] [PASSED] test_prepare_array [11:16:16] [PASSED] test_multiple_loops [11:16:16] ==================== [PASSED] drm_exec ===================== [11:16:16] =========== drm_format_helper_test (17 subtests) =========== [11:16:16] ============== drm_test_fb_xrgb8888_to_gray8 ============== [11:16:16] [PASSED] single_pixel_source_buffer [11:16:16] [PASSED] single_pixel_clip_rectangle [11:16:16] [PASSED] well_known_colors [11:16:16] [PASSED] destination_pitch [11:16:16] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ========== [11:16:16] ============= drm_test_fb_xrgb8888_to_rgb332 ============== [11:16:16] [PASSED] single_pixel_source_buffer [11:16:16] [PASSED] single_pixel_clip_rectangle [11:16:16] [PASSED] well_known_colors [11:16:16] [PASSED] destination_pitch [11:16:16] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ========== [11:16:16] ============= drm_test_fb_xrgb8888_to_rgb565 ============== [11:16:16] [PASSED] single_pixel_source_buffer [11:16:16] [PASSED] single_pixel_clip_rectangle [11:16:16] [PASSED] well_known_colors [11:16:16] [PASSED] destination_pitch [11:16:16] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ========== [11:16:16] ============ drm_test_fb_xrgb8888_to_xrgb1555 ============= [11:16:16] [PASSED] single_pixel_source_buffer [11:16:16] [PASSED] single_pixel_clip_rectangle [11:16:16] [PASSED] well_known_colors [11:16:16] [PASSED] destination_pitch [11:16:16] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 ========= [11:16:16] ============ drm_test_fb_xrgb8888_to_argb1555 ============= [11:16:16] [PASSED] single_pixel_source_buffer [11:16:16] [PASSED] single_pixel_clip_rectangle [11:16:16] [PASSED] well_known_colors [11:16:16] [PASSED] destination_pitch [11:16:16] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 ========= [11:16:16] ============ drm_test_fb_xrgb8888_to_rgba5551 ============= [11:16:16] [PASSED] single_pixel_source_buffer [11:16:16] [PASSED] single_pixel_clip_rectangle [11:16:16] [PASSED] well_known_colors [11:16:16] [PASSED] destination_pitch [11:16:16] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 ========= [11:16:16] ============= drm_test_fb_xrgb8888_to_rgb888 ============== [11:16:16] [PASSED] single_pixel_source_buffer [11:16:16] [PASSED] single_pixel_clip_rectangle [11:16:16] [PASSED] well_known_colors [11:16:16] [PASSED] destination_pitch [11:16:16] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ========== [11:16:16] ============= drm_test_fb_xrgb8888_to_bgr888 ============== [11:16:16] [PASSED] single_pixel_source_buffer [11:16:16] [PASSED] single_pixel_clip_rectangle [11:16:16] [PASSED] well_known_colors [11:16:16] [PASSED] destination_pitch [11:16:16] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ========== [11:16:16] ============ drm_test_fb_xrgb8888_to_argb8888 ============= [11:16:16] [PASSED] single_pixel_source_buffer [11:16:16] [PASSED] single_pixel_clip_rectangle [11:16:16] [PASSED] well_known_colors [11:16:16] [PASSED] destination_pitch [11:16:16] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 ========= [11:16:16] =========== drm_test_fb_xrgb8888_to_xrgb2101010 =========== [11:16:16] [PASSED] single_pixel_source_buffer [11:16:16] [PASSED] single_pixel_clip_rectangle [11:16:16] [PASSED] well_known_colors [11:16:16] [PASSED] destination_pitch [11:16:16] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 ======= [11:16:16] =========== drm_test_fb_xrgb8888_to_argb2101010 =========== [11:16:16] [PASSED] single_pixel_source_buffer [11:16:16] [PASSED] single_pixel_clip_rectangle [11:16:16] [PASSED] well_known_colors [11:16:16] [PASSED] destination_pitch [11:16:16] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 ======= [11:16:16] ============== drm_test_fb_xrgb8888_to_mono =============== [11:16:16] [PASSED] single_pixel_source_buffer [11:16:16] [PASSED] single_pixel_clip_rectangle [11:16:16] [PASSED] well_known_colors [11:16:16] [PASSED] destination_pitch [11:16:16] ========== [PASSED] drm_test_fb_xrgb8888_to_mono =========== [11:16:16] ==================== drm_test_fb_swab ===================== [11:16:16] [PASSED] single_pixel_source_buffer [11:16:16] [PASSED] single_pixel_clip_rectangle [11:16:16] [PASSED] well_known_colors [11:16:16] [PASSED] destination_pitch [11:16:16] ================ [PASSED] drm_test_fb_swab ================= [11:16:16] ============ drm_test_fb_xrgb8888_to_xbgr8888 ============= [11:16:16] [PASSED] single_pixel_source_buffer [11:16:16] [PASSED] single_pixel_clip_rectangle [11:16:16] [PASSED] well_known_colors [11:16:16] [PASSED] destination_pitch [11:16:16] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 ========= [11:16:16] ============ drm_test_fb_xrgb8888_to_abgr8888 ============= [11:16:16] [PASSED] single_pixel_source_buffer [11:16:16] [PASSED] single_pixel_clip_rectangle [11:16:16] [PASSED] well_known_colors [11:16:16] [PASSED] destination_pitch [11:16:16] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 ========= [11:16:16] ================= drm_test_fb_clip_offset ================= [11:16:16] [PASSED] pass through [11:16:16] [PASSED] horizontal offset [11:16:16] [PASSED] vertical offset [11:16:16] [PASSED] horizontal and vertical offset [11:16:16] [PASSED] horizontal offset (custom pitch) [11:16:16] [PASSED] vertical offset (custom pitch) [11:16:16] [PASSED] horizontal and vertical offset (custom pitch) [11:16:16] ============= [PASSED] drm_test_fb_clip_offset ============= [11:16:16] =================== drm_test_fb_memcpy ==================== [11:16:16] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258) [11:16:16] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258) [11:16:16] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559) [11:16:16] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258) [11:16:16] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258) [11:16:16] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559) [11:16:16] [PASSED] well_known_colors: XB24 little-endian (0x34324258) [11:16:16] [PASSED] well_known_colors: XRA8 little-endian (0x38415258) [11:16:16] [PASSED] well_known_colors: YU24 little-endian (0x34325559) [11:16:16] [PASSED] destination_pitch: XB24 little-endian (0x34324258) [11:16:16] [PASSED] destination_pitch: XRA8 little-endian (0x38415258) [11:16:16] [PASSED] destination_pitch: YU24 little-endian (0x34325559) [11:16:16] =============== [PASSED] drm_test_fb_memcpy ================ [11:16:16] ============= [PASSED] drm_format_helper_test ============== [11:16:16] ================= drm_format (18 subtests) ================= [11:16:16] [PASSED] drm_test_format_block_width_invalid [11:16:16] [PASSED] drm_test_format_block_width_one_plane [11:16:16] [PASSED] drm_test_format_block_width_two_plane [11:16:16] [PASSED] drm_test_format_block_width_three_plane [11:16:16] [PASSED] drm_test_format_block_width_tiled [11:16:16] [PASSED] drm_test_format_block_height_invalid [11:16:16] [PASSED] drm_test_format_block_height_one_plane [11:16:16] [PASSED] drm_test_format_block_height_two_plane [11:16:16] [PASSED] drm_test_format_block_height_three_plane [11:16:16] [PASSED] drm_test_format_block_height_tiled [11:16:16] [PASSED] drm_test_format_min_pitch_invalid [11:16:16] [PASSED] drm_test_format_min_pitch_one_plane_8bpp [11:16:16] [PASSED] drm_test_format_min_pitch_one_plane_16bpp [11:16:16] [PASSED] drm_test_format_min_pitch_one_plane_24bpp [11:16:16] [PASSED] drm_test_format_min_pitch_one_plane_32bpp [11:16:16] [PASSED] drm_test_format_min_pitch_two_plane [11:16:16] [PASSED] drm_test_format_min_pitch_three_plane_8bpp [11:16:16] [PASSED] drm_test_format_min_pitch_tiled [11:16:16] =================== [PASSED] drm_format ==================== [11:16:16] ============== drm_framebuffer (10 subtests) =============== [11:16:16] ========== drm_test_framebuffer_check_src_coords ========== [11:16:16] [PASSED] Success: source fits into fb [11:16:16] [PASSED] Fail: overflowing fb with x-axis coordinate [11:16:16] [PASSED] Fail: overflowing fb with y-axis coordinate [11:16:16] [PASSED] Fail: overflowing fb with source width [11:16:16] [PASSED] Fail: overflowing fb with source height [11:16:16] ====== [PASSED] drm_test_framebuffer_check_src_coords ====== [11:16:16] [PASSED] drm_test_framebuffer_cleanup [11:16:16] =============== drm_test_framebuffer_create =============== [11:16:16] [PASSED] ABGR8888 normal sizes [11:16:16] [PASSED] ABGR8888 max sizes [11:16:16] [PASSED] ABGR8888 pitch greater than min required [11:16:16] [PASSED] ABGR8888 pitch less than min required [11:16:16] [PASSED] ABGR8888 Invalid width [11:16:16] [PASSED] ABGR8888 Invalid buffer handle [11:16:16] [PASSED] No pixel format [11:16:16] [PASSED] ABGR8888 Width 0 [11:16:16] [PASSED] ABGR8888 Height 0 [11:16:16] [PASSED] ABGR8888 Out of bound height * pitch combination [11:16:16] [PASSED] ABGR8888 Large buffer offset [11:16:16] [PASSED] ABGR8888 Buffer offset for inexistent plane [11:16:16] [PASSED] ABGR8888 Invalid flag [11:16:16] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers [11:16:16] [PASSED] ABGR8888 Valid buffer modifier [11:16:16] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE) [11:16:16] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS [11:16:16] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS [11:16:16] [PASSED] NV12 Normal sizes [11:16:16] [PASSED] NV12 Max sizes [11:16:16] [PASSED] NV12 Invalid pitch [11:16:16] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag [11:16:16] [PASSED] NV12 different modifier per-plane [11:16:16] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE [11:16:16] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS [11:16:16] [PASSED] NV12 Modifier for inexistent plane [11:16:16] [PASSED] NV12 Handle for inexistent plane [11:16:16] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS [11:16:16] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier [11:16:16] [PASSED] YVU420 Normal sizes [11:16:16] [PASSED] YVU420 Max sizes [11:16:16] [PASSED] YVU420 Invalid pitch [11:16:16] [PASSED] YVU420 Different pitches [11:16:16] [PASSED] YVU420 Different buffer offsets/pitches [11:16:16] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS [11:16:16] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS [11:16:16] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS [11:16:16] [PASSED] YVU420 Valid modifier [11:16:16] [PASSED] YVU420 Different modifiers per plane [11:16:16] [PASSED] YVU420 Modifier for inexistent plane [11:16:16] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR) [11:16:16] [PASSED] X0L2 Normal sizes [11:16:16] [PASSED] X0L2 Max sizes [11:16:16] [PASSED] X0L2 Invalid pitch [11:16:16] [PASSED] X0L2 Pitch greater than minimum required [11:16:16] [PASSED] X0L2 Handle for inexistent plane [11:16:16] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set [11:16:16] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set [11:16:16] [PASSED] X0L2 Valid modifier [11:16:16] [PASSED] X0L2 Modifier for inexistent plane [11:16:16] =========== [PASSED] drm_test_framebuffer_create =========== [11:16:16] [PASSED] drm_test_framebuffer_free [11:16:16] [PASSED] drm_test_framebuffer_init [11:16:16] [PASSED] drm_test_framebuffer_init_bad_format [11:16:16] [PASSED] drm_test_framebuffer_init_dev_mismatch [11:16:16] [PASSED] drm_test_framebuffer_lookup [11:16:16] [PASSED] drm_test_framebuffer_lookup_inexistent [11:16:16] [PASSED] drm_test_framebuffer_modifiers_not_supported [11:16:16] ================= [PASSED] drm_framebuffer ================= [11:16:16] ================ drm_gem_shmem (8 subtests) ================ [11:16:16] [PASSED] drm_gem_shmem_test_obj_create [11:16:16] [PASSED] drm_gem_shmem_test_obj_create_private [11:16:16] [PASSED] drm_gem_shmem_test_pin_pages [11:16:16] [PASSED] drm_gem_shmem_test_vmap [11:16:16] [PASSED] drm_gem_shmem_test_get_sg_table [11:16:16] [PASSED] drm_gem_shmem_test_get_pages_sgt [11:16:16] [PASSED] drm_gem_shmem_test_madvise [11:16:16] [PASSED] drm_gem_shmem_test_purge [11:16:16] ================== [PASSED] drm_gem_shmem ================== [11:16:16] === drm_atomic_helper_connector_hdmi_check (29 subtests) === [11:16:16] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode [11:16:16] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1 [11:16:16] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode [11:16:16] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1 [11:16:16] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode [11:16:16] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1 [11:16:16] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 ======= [11:16:16] [PASSED] Automatic [11:16:16] [PASSED] Full [11:16:16] [PASSED] Limited 16:235 [11:16:16] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 === [11:16:16] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed [11:16:16] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed [11:16:16] [PASSED] drm_test_check_disable_connector [11:16:16] [PASSED] drm_test_check_hdmi_funcs_reject_rate [11:16:16] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb [11:16:16] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420 [11:16:16] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422 [11:16:16] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420 [11:16:16] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420 [11:16:16] [PASSED] drm_test_check_output_bpc_crtc_mode_changed [11:16:16] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed [11:16:16] [PASSED] drm_test_check_output_bpc_dvi [11:16:16] [PASSED] drm_test_check_output_bpc_format_vic_1 [11:16:16] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only [11:16:16] [PASSED] drm_test_check_output_bpc_format_display_rgb_only [11:16:16] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only [11:16:16] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only [11:16:16] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc [11:16:16] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc [11:16:16] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc [11:16:16] ============ drm_test_check_hdmi_color_format ============= [11:16:16] [PASSED] AUTO -> RGB [11:16:16] [PASSED] YCBCR422 -> YUV422 [11:16:16] [PASSED] YCBCR420 -> YUV420 [11:16:16] [PASSED] YCBCR444 -> YUV444 [11:16:16] [PASSED] RGB -> RGB [11:16:16] ======== [PASSED] drm_test_check_hdmi_color_format ========= [11:16:16] ======== drm_test_check_hdmi_color_format_420_only ======== [11:16:16] [PASSED] RGB should fail [11:16:16] [PASSED] YUV444 should fail [11:16:16] [PASSED] YUV422 should fail [11:16:16] [PASSED] YUV420 should work [11:16:16] ==== [PASSED] drm_test_check_hdmi_color_format_420_only ==== [11:16:16] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ====== [11:16:16] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ==== [11:16:16] [PASSED] drm_test_check_broadcast_rgb_value [11:16:16] [PASSED] drm_test_check_bpc_8_value [11:16:16] [PASSED] drm_test_check_bpc_10_value [11:16:16] [PASSED] drm_test_check_bpc_12_value [11:16:16] [PASSED] drm_test_check_format_value [11:16:16] [PASSED] drm_test_check_tmds_char_value [11:16:16] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ====== [11:16:16] = drm_atomic_helper_connector_hdmi_mode_valid (7 subtests) = [11:16:16] [PASSED] drm_test_check_mode_valid [11:16:16] [PASSED] drm_test_check_mode_valid_reject [11:16:16] [PASSED] drm_test_check_mode_valid_reject_rate [11:16:16] [PASSED] drm_test_check_mode_valid_reject_max_clock [11:16:16] [PASSED] drm_test_check_mode_valid_yuv420_only_max_clock [11:16:16] [PASSED] drm_test_check_mode_valid_reject_yuv420_only_connector [11:16:16] [PASSED] drm_test_check_mode_valid_accept_yuv420_also_connector_rgb [11:16:16] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid === [11:16:16] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) = [11:16:16] [PASSED] drm_test_check_infoframes [11:16:16] [PASSED] drm_test_check_reject_avi_infoframe [11:16:16] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8 [11:16:16] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10 [11:16:16] [PASSED] drm_test_check_reject_audio_infoframe [11:16:16] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes === [11:16:16] ================= drm_managed (2 subtests) ================= [11:16:16] [PASSED] drm_test_managed_release_action [11:16:16] [PASSED] drm_test_managed_run_action [11:16:16] =================== [PASSED] drm_managed =================== [11:16:16] =================== drm_mm (6 subtests) ==================== [11:16:16] [PASSED] drm_test_mm_init [11:16:16] [PASSED] drm_test_mm_debug [11:16:16] [PASSED] drm_test_mm_align32 [11:16:16] [PASSED] drm_test_mm_align64 [11:16:16] [PASSED] drm_test_mm_lowest [11:16:16] [PASSED] drm_test_mm_highest [11:16:16] ===================== [PASSED] drm_mm ====================== [11:16:16] ============= drm_modes_analog_tv (5 subtests) ============= [11:16:16] [PASSED] drm_test_modes_analog_tv_mono_576i [11:16:16] [PASSED] drm_test_modes_analog_tv_ntsc_480i [11:16:16] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined [11:16:16] [PASSED] drm_test_modes_analog_tv_pal_576i [11:16:16] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined [11:16:16] =============== [PASSED] drm_modes_analog_tv =============== [11:16:16] ============== drm_plane_helper (2 subtests) =============== [11:16:16] =============== drm_test_check_plane_state ================ [11:16:16] [PASSED] clipping_simple [11:16:16] [PASSED] clipping_rotate_reflect [11:16:16] [PASSED] positioning_simple [11:16:16] [PASSED] upscaling [11:16:16] [PASSED] downscaling [11:16:16] [PASSED] rounding1 [11:16:16] [PASSED] rounding2 [11:16:16] [PASSED] rounding3 [11:16:16] [PASSED] rounding4 [11:16:16] =========== [PASSED] drm_test_check_plane_state ============ [11:16:16] =========== drm_test_check_invalid_plane_state ============ [11:16:16] [PASSED] positioning_invalid [11:16:16] [PASSED] upscaling_invalid [11:16:16] [PASSED] downscaling_invalid [11:16:16] ======= [PASSED] drm_test_check_invalid_plane_state ======== [11:16:16] ================ [PASSED] drm_plane_helper ================= [11:16:16] ====== drm_connector_helper_tv_get_modes (1 subtest) ======= [11:16:16] ====== drm_test_connector_helper_tv_get_modes_check ======= [11:16:16] [PASSED] None [11:16:16] [PASSED] PAL [11:16:16] [PASSED] NTSC [11:16:16] [PASSED] Both, NTSC Default [11:16:16] [PASSED] Both, PAL Default [11:16:16] [PASSED] Both, NTSC Default, with PAL on command-line [11:16:16] [PASSED] Both, PAL Default, with NTSC on command-line [11:16:16] == [PASSED] drm_test_connector_helper_tv_get_modes_check === [11:16:16] ======== [PASSED] drm_connector_helper_tv_get_modes ======== [11:16:16] ================== drm_rect (9 subtests) =================== [11:16:16] [PASSED] drm_test_rect_clip_scaled_div_by_zero [11:16:16] [PASSED] drm_test_rect_clip_scaled_not_clipped [11:16:16] [PASSED] drm_test_rect_clip_scaled_clipped [11:16:16] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned [11:16:16] ================= drm_test_rect_intersect ================= [11:16:16] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0 [11:16:16] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1 [11:16:16] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0 [11:16:16] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1 [11:16:16] [PASSED] right x left: 2x1+0+0 x 3x1+1+0 [11:16:16] [PASSED] left x right: 3x1+1+0 x 2x1+0+0 [11:16:16] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1 [11:16:16] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0 [11:16:16] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1 [11:16:16] [PASSED] touching side: 1x1+0+0 x 1x1+1+0 [11:16:16] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0 [11:16:16] [PASSED] inside another: 2x2+0+0 x 1x1+1+1 [11:16:16] [PASSED] far away: 1x1+0+0 x 1x1+3+6 [11:16:16] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10 [11:16:16] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10 [11:16:16] ============= [PASSED] drm_test_rect_intersect ============= [11:16:16] ================ drm_test_rect_calc_hscale ================ [11:16:16] [PASSED] normal use [11:16:16] [PASSED] out of max range [11:16:16] [PASSED] out of min range [11:16:16] [PASSED] zero dst [11:16:16] [PASSED] negative src [11:16:16] [PASSED] negative dst [11:16:16] ============ [PASSED] drm_test_rect_calc_hscale ============ [11:16:16] ================ drm_test_rect_calc_vscale ================ [11:16:16] [PASSED] normal use [11:16:16] [PASSED] out of max range [11:16:16] [PASSED] out of min range [11:16:16] [PASSED] zero dst [11:16:16] [PASSED] negative src [11:16:16] [PASSED] negative dst [11:16:16] ============ [PASSED] drm_test_rect_calc_vscale ============ [11:16:16] ================== drm_test_rect_rotate =================== [11:16:16] [PASSED] reflect-x [11:16:16] [PASSED] reflect-y [11:16:16] [PASSED] rotate-0 [11:16:16] [PASSED] rotate-90 [11:16:16] [PASSED] rotate-180 [11:16:16] [PASSED] rotate-270 [11:16:16] ============== [PASSED] drm_test_rect_rotate =============== [11:16:16] ================ drm_test_rect_rotate_inv ================= [11:16:16] [PASSED] reflect-x [11:16:16] [PASSED] reflect-y [11:16:16] [PASSED] rotate-0 [11:16:16] [PASSED] rotate-90 [11:16:16] [PASSED] rotate-180 [11:16:16] [PASSED] rotate-270 [11:16:16] ============ [PASSED] drm_test_rect_rotate_inv ============= [11:16:16] ==================== [PASSED] drm_rect ===================== [11:16:16] ============ drm_sysfb_modeset_test (1 subtest) ============ [11:16:16] ============ drm_test_sysfb_build_fourcc_list ============= [11:16:16] [PASSED] no native formats [11:16:16] [PASSED] XRGB8888 as native format [11:16:16] [PASSED] remove duplicates [11:16:16] [PASSED] convert alpha formats [11:16:16] [PASSED] random formats [11:16:16] ======== [PASSED] drm_test_sysfb_build_fourcc_list ========= [11:16:16] ============= [PASSED] drm_sysfb_modeset_test ============== [11:16:16] ================== drm_fixp (2 subtests) =================== [11:16:16] [PASSED] drm_test_int2fixp [11:16:16] [PASSED] drm_test_sm2fixp [11:16:16] ==================== [PASSED] drm_fixp ===================== [11:16:16] ============================================================ [11:16:16] Testing complete. Ran 641 tests: passed: 641 [11:16:16] Elapsed time: 26.647s total, 1.785s configuring, 24.647s building, 0.190s 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 [11:16:16] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [11:16:18] 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 [11:16:28] Starting KUnit Kernel (1/1)... [11:16:28] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [11:16:28] ============= refcount_interrupt (4 subtests) ============== [11:16:28] [PASSED] test_single_irq_change [11:16:28] [PASSED] test_nested_irq_change [11:16:28] [PASSED] test_multiple_irq_change [11:16:28] [PASSED] test_irq_save [11:16:28] =============== [PASSED] refcount_interrupt ================ [11:16:28] ================= ttm_device (5 subtests) ================== [11:16:28] [PASSED] ttm_device_init_basic [11:16:28] [PASSED] ttm_device_init_multiple [11:16:28] [PASSED] ttm_device_fini_basic [11:16:28] [PASSED] ttm_device_init_no_vma_man [11:16:28] ================== ttm_device_init_pools ================== [11:16:28] [PASSED] No DMA allocations, no DMA32 required [11:16:28] [PASSED] DMA allocations, DMA32 required [11:16:28] [PASSED] No DMA allocations, DMA32 required [11:16:28] [PASSED] DMA allocations, no DMA32 required [11:16:28] ============== [PASSED] ttm_device_init_pools ============== [11:16:28] =================== [PASSED] ttm_device ==================== [11:16:28] ================== ttm_pool (8 subtests) =================== [11:16:28] ================== ttm_pool_alloc_basic =================== [11:16:28] [PASSED] One page [11:16:28] [PASSED] More than one page [11:16:28] [PASSED] Above the allocation limit [11:16:28] [PASSED] One page, with coherent DMA mappings enabled [11:16:28] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [11:16:28] ============== [PASSED] ttm_pool_alloc_basic =============== [11:16:28] ============== ttm_pool_alloc_basic_dma_addr ============== [11:16:28] [PASSED] One page [11:16:28] [PASSED] More than one page [11:16:28] [PASSED] Above the allocation limit [11:16:28] [PASSED] One page, with coherent DMA mappings enabled [11:16:28] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [11:16:28] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ========== [11:16:28] [PASSED] ttm_pool_alloc_order_caching_match [11:16:28] [PASSED] ttm_pool_alloc_caching_mismatch [11:16:28] [PASSED] ttm_pool_alloc_order_mismatch [11:16:28] [PASSED] ttm_pool_free_dma_alloc [11:16:28] [PASSED] ttm_pool_free_no_dma_alloc [11:16:28] [PASSED] ttm_pool_fini_basic [11:16:28] ==================== [PASSED] ttm_pool ===================== [11:16:28] ================ ttm_resource (8 subtests) ================= [11:16:28] ================= ttm_resource_init_basic ================= [11:16:28] [PASSED] Init resource in TTM_PL_SYSTEM [11:16:28] [PASSED] Init resource in TTM_PL_VRAM [11:16:28] [PASSED] Init resource in a private placement [11:16:28] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags [11:16:28] ============= [PASSED] ttm_resource_init_basic ============= [11:16:28] [PASSED] ttm_resource_init_pinned [11:16:28] [PASSED] ttm_resource_fini_basic [11:16:28] [PASSED] ttm_resource_manager_init_basic [11:16:28] [PASSED] ttm_resource_manager_usage_basic [11:16:28] [PASSED] ttm_resource_manager_set_used_basic [11:16:28] [PASSED] ttm_sys_man_alloc_basic [11:16:28] [PASSED] ttm_sys_man_free_basic [11:16:28] ================== [PASSED] ttm_resource =================== [11:16:28] =================== ttm_tt (15 subtests) =================== [11:16:28] ==================== ttm_tt_init_basic ==================== [11:16:28] [PASSED] Page-aligned size [11:16:28] [PASSED] Extra pages requested [11:16:28] ================ [PASSED] ttm_tt_init_basic ================ [11:16:28] [PASSED] ttm_tt_init_misaligned [11:16:28] [PASSED] ttm_tt_fini_basic [11:16:28] [PASSED] ttm_tt_fini_sg [11:16:28] [PASSED] ttm_tt_fini_shmem [11:16:28] [PASSED] ttm_tt_create_basic [11:16:28] [PASSED] ttm_tt_create_invalid_bo_type [11:16:28] [PASSED] ttm_tt_create_ttm_exists [11:16:28] [PASSED] ttm_tt_create_failed [11:16:28] [PASSED] ttm_tt_destroy_basic [11:16:28] [PASSED] ttm_tt_populate_null_ttm [11:16:28] [PASSED] ttm_tt_populate_populated_ttm [11:16:28] [PASSED] ttm_tt_unpopulate_basic [11:16:28] [PASSED] ttm_tt_unpopulate_empty_ttm [11:16:28] [PASSED] ttm_tt_swapin_basic [11:16:28] ===================== [PASSED] ttm_tt ====================== [11:16:28] =================== ttm_bo (14 subtests) =================== [11:16:28] =========== ttm_bo_reserve_optimistic_no_ticket =========== [11:16:28] [PASSED] Cannot be interrupted and sleeps [11:16:28] [PASSED] Cannot be interrupted, locks straight away [11:16:28] [PASSED] Can be interrupted, sleeps [11:16:28] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket ======= [11:16:28] [PASSED] ttm_bo_reserve_locked_no_sleep [11:16:28] [PASSED] ttm_bo_reserve_no_wait_ticket [11:16:28] [PASSED] ttm_bo_reserve_double_resv [11:16:28] [PASSED] ttm_bo_reserve_interrupted [11:16:28] [PASSED] ttm_bo_reserve_deadlock [11:16:28] [PASSED] ttm_bo_unreserve_basic [11:16:28] [PASSED] ttm_bo_unreserve_pinned [11:16:28] [PASSED] ttm_bo_unreserve_bulk [11:16:28] [PASSED] ttm_bo_fini_basic [11:16:28] [PASSED] ttm_bo_fini_shared_resv [11:16:28] [PASSED] ttm_bo_pin_basic [11:16:28] [PASSED] ttm_bo_pin_unpin_resource [11:16:28] [PASSED] ttm_bo_multiple_pin_one_unpin [11:16:28] ===================== [PASSED] ttm_bo ====================== [11:16:28] ============== ttm_bo_validate (22 subtests) =============== [11:16:28] ============== ttm_bo_init_reserved_sys_man =============== [11:16:28] [PASSED] Buffer object for userspace [11:16:28] [PASSED] Kernel buffer object [11:16:28] [PASSED] Shared buffer object [11:16:28] ========== [PASSED] ttm_bo_init_reserved_sys_man =========== [11:16:28] ============== ttm_bo_init_reserved_mock_man ============== [11:16:28] [PASSED] Buffer object for userspace [11:16:28] [PASSED] Kernel buffer object [11:16:28] [PASSED] Shared buffer object [11:16:28] ========== [PASSED] ttm_bo_init_reserved_mock_man ========== [11:16:28] [PASSED] ttm_bo_init_reserved_resv [11:16:28] ================== ttm_bo_validate_basic ================== [11:16:28] [PASSED] Buffer object for userspace [11:16:28] [PASSED] Kernel buffer object [11:16:28] [PASSED] Shared buffer object [11:16:28] ============== [PASSED] ttm_bo_validate_basic ============== [11:16:28] [PASSED] ttm_bo_validate_invalid_placement [11:16:28] ============= ttm_bo_validate_same_placement ============== [11:16:28] [PASSED] System manager [11:16:28] [PASSED] VRAM manager [11:16:28] ========= [PASSED] ttm_bo_validate_same_placement ========== [11:16:28] [PASSED] ttm_bo_validate_failed_alloc [11:16:28] [PASSED] ttm_bo_validate_pinned [11:16:28] [PASSED] ttm_bo_validate_busy_placement [11:16:28] ================ ttm_bo_validate_multihop ================= [11:16:28] [PASSED] Buffer object for userspace [11:16:28] [PASSED] Kernel buffer object [11:16:28] [PASSED] Shared buffer object [11:16:28] ============ [PASSED] ttm_bo_validate_multihop ============= [11:16:28] ========== ttm_bo_validate_no_placement_signaled ========== [11:16:28] [PASSED] Buffer object in system domain, no page vector [11:16:28] [PASSED] Buffer object in system domain with an existing page vector [11:16:28] ====== [PASSED] ttm_bo_validate_no_placement_signaled ====== [11:16:28] ======== ttm_bo_validate_no_placement_not_signaled ======== [11:16:28] [PASSED] Buffer object for userspace [11:16:28] [PASSED] Kernel buffer object [11:16:28] [PASSED] Shared buffer object [11:16:28] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ==== [11:16:28] [PASSED] ttm_bo_validate_move_fence_signaled [11:16:28] ========= ttm_bo_validate_move_fence_not_signaled ========= [11:16:28] [PASSED] Waits for GPU [11:16:28] [PASSED] Tries to lock straight away [11:16:28] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled ===== [11:16:28] [PASSED] ttm_bo_validate_swapout [11:16:28] [PASSED] ttm_bo_validate_happy_evict [11:16:28] [PASSED] ttm_bo_validate_all_pinned_evict [11:16:28] [PASSED] ttm_bo_validate_allowed_only_evict [11:16:28] [PASSED] ttm_bo_validate_deleted_evict [11:16:28] [PASSED] ttm_bo_validate_busy_domain_evict [11:16:28] [PASSED] ttm_bo_validate_evict_gutting [11:16:28] [PASSED] ttm_bo_validate_recrusive_evict [11:16:28] ================= [PASSED] ttm_bo_validate ================= [11:16:28] ============================================================ [11:16:28] Testing complete. Ran 106 tests: passed: 106 [11:16:28] Elapsed time: 11.923s total, 1.804s configuring, 9.904s building, 0.179s running
+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/dma-buf/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/dma-buf/.kunitconfig [11:16:28] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [11:16:30] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [11:16:39] Starting KUnit Kernel (1/1)... [11:16:39] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [11:16:39] ============= refcount_interrupt (4 subtests) ============== [11:16:39] [PASSED] test_single_irq_change [11:16:39] [PASSED] test_nested_irq_change [11:16:39] [PASSED] test_multiple_irq_change [11:16:39] [PASSED] test_irq_save [11:16:39] =============== [PASSED] refcount_interrupt ================ [11:16:39] =============== dma-buf-fence (12 subtests) ================ [11:16:39] [PASSED] test_sanitycheck [11:16:39] [PASSED] test_signaling [11:16:39] [PASSED] test_add_callback [11:16:39] [PASSED] test_late_add_callback [11:16:39] [PASSED] test_rm_callback [11:16:39] [PASSED] test_late_rm_callback [11:16:39] [PASSED] test_status [11:16:39] [PASSED] test_error [11:16:39] [PASSED] test_wait [11:16:39] [PASSED] test_wait_timeout [11:16:39] [PASSED] test_stub [11:16:39] [SKIPPED] test_race_signal_callback (requires at least 2 CPUs) [11:16:39] ================== [PASSED] dma-buf-fence ================== [11:16:39] ============ dma-buf-fence-chain (11 subtests) ============= [11:16:39] [PASSED] test_sanitycheck [11:16:39] [PASSED] test_find_seqno [11:16:39] [PASSED] test_find_signaled [11:16:39] [PASSED] test_find_out_of_order [11:16:44] [PASSED] test_find_gap [11:16:44] [PASSED] test_find_race [11:16:44] [PASSED] test_signal_forward [11:16:44] [PASSED] test_signal_backward [11:16:44] [PASSED] test_wait_forward [11:16:44] [PASSED] test_wait_backward [11:16:44] [PASSED] test_wait_random [11:16:44] =============== [PASSED] dma-buf-fence-chain =============== [11:16:44] ============ dma-buf-fence-unwrap (10 subtests) ============ [11:16:44] [PASSED] test_sanitycheck [11:16:44] [PASSED] test_unwrap_array [11:16:44] [PASSED] test_unwrap_chain [11:16:44] [PASSED] test_unwrap_chain_array [11:16:44] [PASSED] test_unwrap_merge [11:16:44] [PASSED] test_unwrap_merge_duplicate [11:16:44] [PASSED] test_unwrap_merge_seqno [11:16:44] [PASSED] test_unwrap_merge_order [11:16:44] [PASSED] test_unwrap_merge_complex [11:16:44] [PASSED] test_unwrap_merge_complex_seqno [11:16:44] ============== [PASSED] dma-buf-fence-unwrap =============== [11:16:44] ================ dma-buf-resv (5 subtests) ================= [11:16:44] [PASSED] test_sanitycheck [11:16:44] ===================== test_signaling ====================== [11:16:44] [PASSED] kernel [11:16:44] [PASSED] write [11:16:44] [PASSED] read [11:16:44] [PASSED] bookkeep [11:16:44] ================= [PASSED] test_signaling ================== [11:16:44] ====================== test_for_each ====================== [11:16:44] [PASSED] kernel [11:16:44] [PASSED] write [11:16:44] [PASSED] read [11:16:44] [PASSED] bookkeep [11:16:44] ================== [PASSED] test_for_each ================== [11:16:44] ================= test_for_each_unlocked ================== [11:16:44] [PASSED] kernel [11:16:44] [PASSED] write [11:16:44] [PASSED] read [11:16:44] [PASSED] bookkeep [11:16:44] ============= [PASSED] test_for_each_unlocked ============== [11:16:44] ===================== test_get_fences ===================== [11:16:44] [PASSED] kernel [11:16:44] [PASSED] write [11:16:44] [PASSED] read [11:16:44] [PASSED] bookkeep [11:16:44] ================= [PASSED] test_get_fences ================= [11:16:44] ================== [PASSED] dma-buf-resv =================== [11:16:44] ============================================================ [11:16:44] Testing complete. Ran 54 tests: passed: 53, skipped: 1 [11:16:44] Elapsed time: 15.672s total, 1.782s configuring, 8.567s building, 5.273s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
[email protected]
AI reviewThank you for your contribution! Sashiko AI review found 7 potential issue(s) to consider: - [High] Access counter events for SVM ranges that cannot be migrated to VRAM will cause an infinite AC…
Thank you for your contribution! Sashiko AI review found 7 potential issue(s) to consider:
- [High] Access counter events for SVM ranges that cannot be migrated to VRAM will cause an infinite AC interrupt storm because the driver fails to set the No-Count (NC) bit to silence the hardware.
- [High] Incorrect virtual address calculation in xe_guc_access_counter_page_va discards the sub-granule index, incorrectly shifting the entire access counter window.
- [High] XE_VMA_MIGRATE_ON_ACC flag suppresses mandatory migrations for device atomics and ignores explicit madvise preferred locations.
- [High] Returning -ENOSPC for a full advisory access counter queue triggers a fatal GPU reset.
- [High] Use-after-free of pagefault_wq due to teardown asymmetry between workqueue destruction and GuC CT disablement.
- [High] Access counter triggers on non-migratable SVM ranges fail with -EACCES instead of being gracefully skipped, due to unreachable code.
- [High] Overlapping bitmask definitions for ACC_GRANULARITY and ACC_VIRTUAL_ADDR_RANGE_LO cause virtual address corruption and incorrect granularity values.
--
commit d8aa5e34df6118bc5e5f7ead213c84de95b73180
Author: Himal Prasad Ghimiray <[email protected]> Access counter squash
This commit implements the Xe access counter mechanism for tracking memory access frequency and migrating hot regions to VRAM. It sets up the access counter queue, adds the GuC to host notification handler, and modifies the SVM page fault handler to service access counter triggers.
drivers/gpu/drm/xe/xe_device.c int xe_device_probe(struct xe_device *xe) · line 1004
Quoted 11 lines
drivers/gpu/drm/xe/xe_device.c +4
-0@@ -997,6 +998,10 @@ int xe_device_probe(struct xe_device *xe) err =xe_pagefault_init (xe);if (err)return err; + + err =xe_access_counter_init (xe); +if (err) +return err;
[Severity: High]
Will this initialization order lead to a use-after-free during teardown?
Since xe_pagefault_init() occurs before xe_access_counter_init(), its corresponding teardown will destroy pagefault_wq before the GuC CT is disabled. If an access counter notification arrives during this window, the handler will attempt to queue work on the destroyed pagefault_wq.
[ ... ]
Quoted 3 lines
drivers/gpu/drm/xe/xe_access_counter.c new file +0
-0
[ ... ]
drivers/gpu/drm/xe/xe_access_counter.c line 358
Quoted 13 lines
drivers/gpu/drm/xe/xe_access_counter.c new file +13
-0+int xe_access_counter_handler (struct xe_device *xe,struct xe_access_counter *ac) +{ +struct xe_usm_queue *ac_queue = &xe->usm.ac_queue; +int idx; +unsigned long flags; +bool full; + +spin_lock_irqsave (&ac_queue->lock, flags); + idx =xe_access_counter_work_index (xe); + full =xe_usm_queue_full (ac_queue); +if (!full) { +xe_usm_queue_push (ac_queue, ac); +queue_work (xe->usm.pagefault_wq, &xe->usm.ac_workers[idx].work);
[Severity: High]
Could this dereference the freed pagefault_wq during device removal?
As noted regarding the initialization order, a pending access counter notification received while the driver unbinds might reach this point after pagefault_wq has already been destroyed.
drivers/gpu/drm/xe/xe_access_counter.c line 365
Quoted 7 lines
drivers/gpu/drm/xe/xe_access_counter.c new file +7
-0+ }else { +drm_warn (&xe->drm, +"AccessCounter Queue full, shouldn't be possible\n" ); + } +spin_unlock_irqrestore (&ac_queue->lock, flags); + +return full ? -ENOSPC :0 ;
[Severity: High]
Does returning -ENOSPC for a full advisory queue trigger a fatal GPU reset?
This error propagates back to process_g2h_msg(), which interprets a non-zero return as a fatal error and calls CT_DEAD. If a heavy workload temporarily fills the queue, it seems this will wedge the device instead of gracefully dropping the hint.
[ ... ]
Quoted 4 lines
drivers/gpu/drm/xe/xe_guc_access_counter.c new file +0
-0@@ -0,0 +1,74 @@
[ ... ]
drivers/gpu/drm/xe/xe_guc_access_counter.c line 23
Quoted 7 lines
drivers/gpu/drm/xe/xe_guc_access_counter.c new file +7
-0+static u64 xe_guc_access_counter_page_va (struct xe_device *xe,u64 addr,u8 gran) +{ +u64 gran_size =xe_access_counter_granularity_to_size (gran); +u64 sub_gran_size = gran_size /32 ; +u64 region_base =ALIGN_DOWN (addr, gran_size); +u64 offset_in_subchunk = addr & (sub_gran_size -1 ); +u64 page_va = region_base + offset_in_subchunk;
[Severity: High]
Does this math inadvertently drop the active sub-chunk index?
By masking the address with (sub_gran_size - 1), it strips out the sub-granule offset. This will incorrectly shift the entire search window backwards in the virtual address space.
Quoted 5 lines
drivers/gpu/drm/xe/xe_guc_access_counter.c new file +5
-0+ +xe_dbg (xe,"gran_size = %llx, addr = = %llx, region_base = %llx, page_va=%llx\n" , + gran_size, addr, region_base, page_va); +return page_va; +}
[ ... ]
Quoted 2 lines
drivers/gpu/drm/xe/xe_guc_access_counter.c new file +2
-0+int xe_guc_access_counter_handler (struct xe_guc *guc,u32 *msg,u32 len) +{
[ ... ]
drivers/gpu/drm/xe/xe_guc_access_counter.c line 63
Quoted 6 lines
drivers/gpu/drm/xe/xe_guc_access_counter.c new file +6
-0+ ac.consumer.counter_type =FIELD_GET (ACC_TYPE , msg[0 ]); +if (ac.consumer.counter_type >XE_ACCESS_COUNTER_TYPE_NOTIFY ) +return -EINVAL ; + + addr = ((u64)(msg[3 ] &ACC_VIRTUAL_ADDR_RANGE_HI ) <<32 ) | + (msg[2 ] &ACC_VIRTUAL_ADDR_RANGE_LO );
[Severity: High]
Does extracting the address with ACC_VIRTUAL_ADDR_RANGE_LO unintentionally mix the granularity bits into the address?
Because the ACC_VIRTUAL_ADDR_RANGE_LO and ACC_GRANULARITY masks overlap, this operation corrupts the virtual address by injecting the granularity value into it.
drivers/gpu/drm/xe/xe_guc_access_counter.c line 66
Quoted 3 lines
drivers/gpu/drm/xe/xe_guc_access_counter.c new file +3
-0+ ac.consumer.page_va =xe_guc_access_counter_page_va (xe, addr, ac.consumer.granularity); + ac.gran_end = ac.consumer.page_va + +xe_access_counter_granularity_to_size (ac.consumer.granularity);
[Severity: High]
Will this boundary calculation use the corrupted start address from xe_guc_access_counter_page_va() and shift the search window out of alignment?
[ ... ]
Quoted 3 lines
drivers/gpu/drm/xe/xe_guc_ct.c +0
-0
[ ... ]
Quoted 1 line
drivers/gpu/drm/xe/xe_guc_ct.c +0
-0@@ -1753,6 +1754,9 @@ static int process_g2h_msg(struct xe_guc_ct *ct, u32 *msg, u32 len)
[ ... ]
drivers/gpu/drm/xe/xe_guc_ct.c
Quoted 5 lines
drivers/gpu/drm/xe/xe_guc_ct.c +0
-0if (ret) {xe_gt_err (gt,"G2H action %#04x failed (%pe) len %u msg %*ph\n" , action,ERR_PTR (ret), hxg_len, (int )sizeof (u32) * hxg_len, hxg);CT_DEAD (ct,NULL ,PROCESS_FAILED ); }
[Severity: High]
When xe_guc_access_counter_handler() returns -ENOSPC due to a full queue, does this block inadvertently trigger a fatal GPU reset?
[ ... ]
Quoted 3 lines
drivers/gpu/drm/xe/xe_guc_fwif.h +0
-0
[ ... ]
drivers/gpu/drm/xe/xe_guc_fwif.h
Quoted 3 lines
drivers/gpu/drm/xe/xe_guc_fwif.h +3
-0+u32 dw2; +#define ACC_VIRTUAL_ADDR_RANGE_LO GENMASK(31, 12) +#define ACC_GRANULARITY GENMASK(22, 20)
[Severity: High]
Do these bitmasks overlap?
Both masks cover bits 20-22, which causes the address reconstruction in xe_guc_access_counter_handler() to mix granularity data into the virtual address.
[ ... ]
Quoted 3 lines
drivers/gpu/drm/xe/xe_pt.c +0
-0
[ ... ]
Quoted 1 line
drivers/gpu/drm/xe/xe_pt.c +0
-0@@ -862,6 +862,27 @@ xe_pt_stage_bind(struct xe_tile *tile, struct xe_vma *vma,
[ ... ]
Quoted 4 lines
drivers/gpu/drm/xe/xe_pt.c +4
-0+if (range) { +/* +* Always set NC (no-count) on VRAM PTEs for SVM ranges so +* this GPU does not generate access counter events for memory
drivers/gpu/drm/xe/xe_pt.c xe_pt_stage_bind(struct xe_tile *tile, struct xe_vma *vma, · line 883
Quoted 10 lines
drivers/gpu/drm/xe/xe_pt.c +10
-0+* it is already responsible for. Today default_vram_pte +* covers only local VRAM; once UAL lands, remote-device VRAM +* pages will also flow through default_vram_pte — NC remains +* the right setting there too, as the owning device handles +* AC for its own local memory. Update this comment when UAL +* support is added and adjust if the semantics change. +*/ + xe_walk.default_vram_pte |=XE_PPGTT_PTE_NC ; +if (!xe_svm_range_allowed_in_devmem (range)) + xe_walk.default_system_pte |=XE_PPGTT_PTE_NC ;
[Severity: High]
Could this logic omit the No-Count (NC) bit for un-migratable SVM ranges?
If a sub-64K range triggers an event on a platform that does not support 4K migration, xe_svm_range_allowed_in_devmem() remains true, so the NC bit is not set here. The migration itself is skipped in __xe_svm_range_setup(), leaving the hardware free to repeatedly trigger access counter events for this same range, creating an interrupt storm.
[ ... ]
Quoted 3 lines
drivers/gpu/drm/xe/xe_svm.c +0
-0
[ ... ]
Quoted 1 line
drivers/gpu/drm/xe/xe_svm.c +0
-0@@ -1369,13 +1369,32 @@ static int __xe_svm_handle_pagefault(struct xe_vm *vm, struct xe_vma *vma,
[ ... ]
drivers/gpu/drm/xe/xe_svm.c
Quoted 6 lines
drivers/gpu/drm/xe/xe_svm.c +0
-0/* READ_ONCE pairs with WRITE_ONCE in drm_gpusvm_range_set_unmapped() */ range_flags.__flags =READ_ONCE (range->base.flags.__flags);if (ctx.devmem_only && !range_flags.migrate_devmem) { err = -EACCES ; goto err_out; }
[Severity: High]
Does this early error check prevent access counters from gracefully skipping non-migratable ranges?
Because an access counter trigger sets ctx.devmem_only = true, encountering a non-migratable range here returns -EACCES. This aborts the worker for the entire granularity window and prevents the graceful skip at the goto out below, silently ignoring any other hot VMAs in the same window.
Quoted 3 lines
drivers/gpu/drm/xe/xe_svm.c +0
-0if (xe_svm_range_is_valid (range, tile, ctx.devmem_only, dpagemap)) {xe_svm_range_valid_fault_count_stats_incr (gt, range);
[ ... ]
drivers/gpu/drm/xe/xe_svm.c static int __xe_svm_handle_pagefault(struct xe_vm *vm, struct xe_vma *vma, · line 1389
Quoted 9 lines
drivers/gpu/drm/xe/xe_svm.c +9
-0+/* +* AC-triggered setup: if the range is already in device memory a +* rebind is all that's needed. Otherwise proceed to the +* migration path — with no explicit madvise preferred location, the +* default first-touch-then-migrate-on-hot policy applies and we +* should attempt VRAM placement for this hot range. +*/ +if (acc_ctr_trigger && !range_flags.migrate_devmem) + goto out;
[Severity: High]
Is this intended graceful exit actually dead code?
As mentioned above, the earlier check for !range_flags.migrate_devmem already aborts the function with -EACCES before reaching this point.
drivers/gpu/drm/xe/xe_svm.c static int __xe_svm_handle_pagefault(struct xe_vm *vm, struct xe_vma *vma, · line 1398
Quoted 9 lines
drivers/gpu/drm/xe/xe_svm.c +6
-0+/* +* With MIGRATE_ON_ACCESS_COUNTER, defer first placement to access +* counters: skip the eager migrate on a normal page fault, but still +* migrate when this setup was itself triggered by an AC event. +*/ if (--migrate_try_count >=0 && + (acc_ctr_trigger || !(vma->gpuva.flags &XE_VMA_MIGRATE_ON_ACC )) &&xe_svm_range_needs_migrate_to_vram (range, vma, dpagemap)) {
[Severity: High]
Does checking XE_VMA_MIGRATE_ON_ACC here suppress mandatory migrations?
If userspace passes DRM_XE_VM_BIND_FLAG_MIGRATE_ON_ACCESS_COUNTER but then issues a device atomic operation (requiring VRAM) or sets an explicit madvise preferred location, this check short-circuits. Skipping eager migration in these cases violates UAPI guarantees for atomics and madvise.
Additionally, when an access counter event triggers for a range that is un-migratable (e.g. sub-64K size), xe_svm_range_needs_migrate_to_vram() returns false. This skips migration but takes no action to prevent further access counter triggers for this range, contributing to the interrupt storm issue mentioned earlier in xe_pt_stage_bind().
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1