Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/xe/xe_oa.c xe_oa_emit_oa_config() -> xe_oa_submit_bb()

Type Parameter Key Value
PARAM_VALUE 0 stream 4096-ptr_max
PARAM_VALUE 0 stream->exec_q->vm->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 stream->hwe->class 0-5
PARAM_VALUE 0 stream->hwe->eclass->sched_props.timeslice_us 1-10000000
PARAM_VALUE 0 stream->k_exec_q->vm->exec_queues.lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 stream->k_exec_q->vm->exec_queues.lock.first_waiter->type 0-1
PARAM_VALUE 0 stream->k_exec_q->vm->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 stream->k_exec_q->vm->lock.first_waiter->type 0-1
PARAM_VALUE 0 stream->k_exec_q->vm->svm.gpusvm.mm->mmap_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 stream->k_exec_q->vm->svm.gpusvm.mm->mmap_lock.first_waiter->type 0-1
PARAM_VALUE 0 stream->k_exec_q->vm->svm.gpusvm.notifier_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 stream->k_exec_q->vm->svm.gpusvm.notifier_lock.first_waiter->type 0-1
PARAM_VALUE 0 stream->k_exec_q->vm->svm.gpusvm.ops->invalidate 1822217023706652672
PARAM_VALUE 0 stream->k_exec_q->vm->xe->drm.mode_config.helper_private->atomic_commit_tail 0,113,234517204248432640,264416658693812224,1002985563129995264,1135616218159751168,1435312838172803072,1559742614509715456,1682444203744997376,2792895115794366464,3649211429048074240,4264110321136541696,4348468181405868032-s64max
PARAM_VALUE 0 stream->k_exec_q->vm->xe->ttm.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 stream->k_exec_q->vm->xe->ttm.dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 stream->num_syncs 0-1024,2147483648-u32max
PARAM_VALUE 0 stream->oa 4096-ptr_max
PARAM_VALUE 0 stream->oa->xe->drm.dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 stream->oa->xe->pxp->status s32min-s32max
PARAM_VALUE 0 stream->oa->xe->ttm.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 stream->oa->xe->ttm.dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 stream->oa->xe->val.lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 stream->oa_buffer.format->size 64,128,192,256,320,576,640
PARAM_VALUE 0 stream->oa_config 4096-ptr_max
PARAM_VALUE 0 stream->syncs 0,4096-ptr_max
PARAM_VALUE 0 *stream->k_exec_q->name 0-255
PARAM_VALUE 1 deps 1
PARAM_VALUE 2 bb 4096-ptr_max
PARAM_VALUE 2 bb->bo 4096-ptr_max
PARAM_VALUE 2 bb->cs 4096-ptr_max
BUF_SIZE 0 stream s32min-(-1),1-s32max
BUF_SIZE 0 stream s32min-(-1),1-s32max
BUF_SIZE 0 stream->k_exec_q (-1),528-524808
BUF_SIZE 0 stream->xef (-1),16,48,104,120,152,248,256,264,424,464,576,768,968,1120,1424,2256,4712,13184
CAPPED_DATA 0 stream->num_syncs 1
DATA_SOURCE 0 stream $0
BIT_INFO 0 stream->num_syncs 0x0,0x7ff
NOSPEC 0 stream->k_exec_q->width
NOSPEC 0 stream->num_syncs
USER_DATA 0 stream->k_exec_q->entity->priority 1-2[c]
USER_DATA 0 stream->k_exec_q->flags 0-u64max[c][u]
USER_DATA 0 stream->k_exec_q->multi_queue.priority 1
USER_DATA 0 stream->k_exec_q->sched_props.priority 1-2[c]
USER_DATA 0 stream->k_exec_q->sched_props.timeslice_us 0-u32max
USER_DATA 0 stream->k_exec_q->width 1[c]
USER_DATA 0 stream->no_preempt 0-1
USER_DATA 0 stream->num_syncs 0-1024[c]
USER_DATA 0 stream->oa_buffer.bo->flags 0-u32max[u]
USER_DATA 0 stream->oa_buffer.bo->ttm.base.size 0-u64max[c]
USER_DATA 0 stream->oa_buffer.bo->ttm.base.vma_node.vm_node.size 1-s32max[c]
USER_DATA 0 stream->oa_buffer.bo->ttm.base.vma_node.vm_node.start 0-s32max[c]
USER_DATA 0 stream->oa_buffer.bo->ttm.page_alignment 1,16,512
USER_DATA 0 stream->oa_buffer.circ_size 130433-134217728
USER_DATA 0 stream->period_exponent 0-31
USER_DATA 0 stream->periodic 1[c]
USER_DATA 0 stream->sample 0-1
NO_OVERFLOW_SIMPLE 0 stream->k_exec_q->entity->num_sched_list
NO_OVERFLOW_SIMPLE 0 stream->k_exec_q->execlist->entity.num_sched_list
HALF_LOCKED2 &param.hwe->gt->oa.gt_lock
HALF_LOCKED2 0 &stream->stream_lock

drivers/gpu/drm/xe/xe_oa.c xe_oa_load_with_lri() -> xe_oa_submit_bb()

Type Parameter Key Value
PARAM_VALUE 0 stream 4096-ptr_max
PARAM_VALUE 0 stream->exec_q 1-u64max
PARAM_VALUE 0 stream->exec_q->sched_props.job_timeout_ms 0-10000
PARAM_VALUE 0 stream->gt 4096-ptr_max
PARAM_VALUE 0 stream->gt->mmio.tile 4096-ptr_max
PARAM_VALUE 0 stream->gt->mmio.tile->xe 4096-ptr_max
PARAM_VALUE 0 stream->gt->tile->xe->drm.mode_config.helper_private->atomic_commit_tail 0,113,234517204248432640,264416658693812224,1002985563129995264,1135616218159751168,1435312838172803072,1559742614509715456,1682444203744997376,2792895115794366464,3649211429048074240,4264110321136541696,4348468181405868032-s64max
PARAM_VALUE 0 stream->hwe 4096-ptr_max
PARAM_VALUE 0 stream->hwe->class 0,5
PARAM_VALUE 0 stream->hwe->domain 1-2,8,16,32,64,128,256,512,1024,2048,4096,8192,16384,32768
PARAM_VALUE 0 stream->hwe->eclass->sched_props.job_timeout_ms 1-10000
PARAM_VALUE 0 stream->hwe->eclass->sched_props.preempt_timeout_us 1-10000000
PARAM_VALUE 0 stream->hwe->eclass->sched_props.timeslice_us 1-10000000
PARAM_VALUE 0 stream->hwe->engine_id 0-26
PARAM_VALUE 0 stream->hwe->hwsp 4096-u64max
PARAM_VALUE 0 stream->hwe->instance 0-8
PARAM_VALUE 0 stream->hwe->irq_handler 0,4096-ptr_max
PARAM_VALUE 0 stream->hwe->irq_offset 0-255
PARAM_VALUE 0 stream->hwe->irq_page 0-8
PARAM_VALUE 0 stream->hwe->mmio_base 8192,106496,114688,122880,139264,155648,1155072,1835008,1851392,1867776,1900544,1916928,1933312,1966080,1982464,1998848,2031616,2048000,2064384,4063232,4071424,4079616,4087808,4096000,4104192,4112384,4120576
PARAM_VALUE 0 stream->k_exec_q->hwe->domain 1-2,8,16,32,64,128,256,512,1024,2048,4096,8192,16384,32768
PARAM_VALUE 0 stream->k_exec_q->hwe->engine_id 0-26
PARAM_VALUE 0 stream->k_exec_q->hwe->instance 0-8
PARAM_VALUE 0 stream->k_exec_q->hwe->irq_handler 0,1079320861127557120,5448746199315255296
PARAM_VALUE 0 stream->k_exec_q->hwe->irq_offset 0-255
PARAM_VALUE 0 stream->k_exec_q->hwe->irq_page 0-8
PARAM_VALUE 0 stream->k_exec_q->hwe->mmio_base 8192,106496,114688,122880,139264,155648,1155072,1835008,1851392,1867776,1900544,1916928,1933312,1966080,1982464,1998848,2031616,2048000,2064384,4063232,4071424,4079616,4087808,4096000,4104192,4112384,4120576
PARAM_VALUE 0 stream->k_exec_q->sched_props.job_timeout_ms 1-10000
PARAM_VALUE 0 stream->k_exec_q->vm->exec_queues.lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 stream->k_exec_q->vm->exec_queues.lock.first_waiter->type 0-1
PARAM_VALUE 0 stream->k_exec_q->vm->gpuvm.ops->sm_step_map 0,912682263357759488,3850699923445227520,8379760394559614976,8609383518014025728
PARAM_VALUE 0 stream->k_exec_q->vm->gpuvm.ops->sm_step_remap 0,3850699923445227520,5121074557911261184,5420759306209017856,8609383518014025728
PARAM_VALUE 0 stream->k_exec_q->vm->gpuvm.ops->sm_step_unmap 0,3850699923445227520,5914183354706407424,7504656685248028672,8609383518014025728
PARAM_VALUE 0 stream->k_exec_q->vm->gpuvm.ops->vm_bo_free 0,5555473383884926976
PARAM_VALUE 0 stream->k_exec_q->vm->gpuvm.ops->vm_bo_validate 0,248747483245506560,265657736556892160,1638191084720013312,1986338527227244544
PARAM_VALUE 0 stream->k_exec_q->vm->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 stream->k_exec_q->vm->lock.first_waiter->type 0-1
PARAM_VALUE 0 stream->k_exec_q->vm->pt_ops->pde_encode_bo 1112305037473492992
PARAM_VALUE 0 stream->k_exec_q->vm->pt_ops->pte_encode_addr 5030287134347956224
PARAM_VALUE 0 stream->k_exec_q->vm->pt_ops->pte_encode_bo 1952612342773850112
PARAM_VALUE 0 stream->k_exec_q->vm->pt_ops->pte_encode_vma 6902146574108286976
PARAM_VALUE 0 stream->k_exec_q->vm->svm.gpusvm.mm->exe_file->f_cred->process_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 0 stream->k_exec_q->vm->svm.gpusvm.mm->exe_file->f_cred->session_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 0 stream->k_exec_q->vm->svm.gpusvm.mm->exe_file->f_cred->thread_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 0 stream->k_exec_q->vm->svm.gpusvm.mm->exe_file->f_cred->thread_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 0 stream->k_exec_q->vm->svm.gpusvm.mm->mmap_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 stream->k_exec_q->vm->svm.gpusvm.mm->mmap_lock.first_waiter->type 0-1
PARAM_VALUE 0 stream->k_exec_q->vm->svm.gpusvm.mm->notifier_subscriptions->invalidate_seq 0-s64max
PARAM_VALUE 0 stream->k_exec_q->vm->svm.gpusvm.notifier_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 stream->k_exec_q->vm->svm.gpusvm.notifier_lock.first_waiter->type 0-1
PARAM_VALUE 0 stream->k_exec_q->vm->svm.gpusvm.notifier_size 0-u32max,9157251904928550912
PARAM_VALUE 0 stream->k_exec_q->vm->svm.gpusvm.ops->invalidate 1822217023706652672
PARAM_VALUE 0 stream->k_exec_q->vm->svm.gpusvm.ops->range_alloc 2247529597885444096
PARAM_VALUE 0 stream->k_exec_q->vm->svm.gpusvm.ops->range_free 2375940009807314944
PARAM_VALUE 0 stream->k_exec_q->vm->xe->drm.mode_config.helper_private->atomic_commit_tail 0,113,234517204248432640,264416658693812224,1002985563129995264,1135616218159751168,1435312838172803072,1559742614509715456,1682444203744997376,2792895115794366464,3649211429048074240,4264110321136541696,4348468181405868032-s64max
PARAM_VALUE 0 stream->k_exec_q->vm->xe->heci_gsc.adev->irq s32min-s32max
PARAM_VALUE 0 stream->k_exec_q->vm->xe->pmu.base.dev->p->dead 0-1
PARAM_VALUE 0 stream->k_exec_q->vm->xe->pmu.base.dev->p->deferred_probe_reason 0-s64max
PARAM_VALUE 0 stream->k_exec_q->vm->xe->ttm.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 stream->k_exec_q->vm->xe->ttm.dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 stream->k_exec_q->vm->xe->ttm.pool.dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 stream->k_exec_q->vm->xe->ttm.pool.dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 stream->k_exec_q->vm->xe->ttm.pool.dev->iommu_group->default_domain 0-s64max
PARAM_VALUE 0 stream->k_exec_q->vm->xe->usm.pf_wq->flags 0-4294967295
PARAM_VALUE 0 stream->k_exec_q->vm->xe->usm.pf_wq->flush_color s32min-s32max
PARAM_VALUE 0 stream->k_exec_q->vm->xe->usm.pf_wq->nr_drainers s32min-s32max
PARAM_VALUE 0 stream->k_exec_q->vm->xe->usm.pf_wq->work_color s32min-s32max
PARAM_VALUE 0 stream->k_exec_q->vm->xe->usm.pf_wq->wq_dev 0-s64max
PARAM_VALUE 0 stream->last_fence->ops->set_deadline 0,2004285741546172416,2071105144755478528,2853440610722889728,3558081686514302976,5221404334427111424
PARAM_VALUE 0 stream->last_fence->ops->wait 0,3162960082638938112,3576649960670945280,4783308308267675648,5257098353859239936
PARAM_VALUE 0 stream->oa->xe->drm.dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 stream->oa->xe->pxp->status s32min-s32max
PARAM_VALUE 0 stream->oa->xe->ttm.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 stream->oa->xe->ttm.dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 stream->oa->xe->ttm.pool.dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 stream->oa->xe->ttm.pool.dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 stream->oa->xe->val.lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 stream->oa_buffer.bo->ttm.base.resv->fences->max_fences 0-4294967295
PARAM_VALUE 0 stream->oa_buffer.format 4096-ptr_max
PARAM_VALUE 0 stream->oa_buffer.format->size 64,128,192,256,320,576,640
PARAM_VALUE 0 stream->oa_unit 4096-ptr_max
PARAM_VALUE 0 stream->oa_unit->exclusive_stream 0
PARAM_VALUE 1 deps 0
PARAM_VALUE 2 bb 4096-ptr_max
PARAM_VALUE 2 bb->bo 4096-ptr_max
PARAM_VALUE 2 bb->cs 4096-ptr_max
BUF_SIZE 0 stream (-1),26
BUF_SIZE 0 stream (-1),26
BUF_SIZE 0 stream->k_exec_q (-1),520-524800
BUF_SIZE 0 stream->xef (-1),16,48,104,120,152,248,256,264,424,464,576,768,968,1120,1424,2256,4712,13184
BUF_SIZE 2 bb 24
DATA_SOURCE 0 stream $0
DATA_SOURCE 2 bb r xe_bb_new
NOSPEC 0 stream->k_exec_q->width
NOSPEC 0 stream->num_syncs
HARD_MAX 0 stream->hwe->class 5
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 stream->k_exec_q->width 1-u16max[c]
USER_DATA 0 stream->no_preempt 0-1
USER_DATA 0 stream->num_syncs 0-1024[c]
USER_DATA 0 stream->oa_buffer.bo->flags 0-u32max[u]
USER_DATA 0 stream->oa_buffer.bo->ttm.base.size 0-u64max[c]
USER_DATA 0 stream->oa_buffer.bo->ttm.base.vma_node.vm_node.size 1-s32max[c]
USER_DATA 0 stream->oa_buffer.bo->ttm.base.vma_node.vm_node.start 0-s32max[c]
USER_DATA 0 stream->oa_buffer.bo->ttm.page_alignment 1,16,512
USER_DATA 0 stream->oa_buffer.circ_size 130433-134217728
USER_DATA 0 stream->oa_unit->exclusive_stream->oa_buffer.circ_size 130433-134217728
USER_DATA 0 stream->oa_unit->exclusive_stream->periodic 1[c]
USER_DATA 0 stream->oa_unit->exclusive_stream->sample 0-1
USER_DATA 0 stream->period_exponent 0-31
USER_DATA 0 stream->periodic 1[c]
USER_DATA 0 stream->sample 0-1
NO_OVERFLOW_SIMPLE 0 stream->k_exec_q->entity->num_sched_list
HALF_LOCKED2 &param.hwe->gt->oa.gt_lock
TYPE_LOCK (struct xe_oa_gt)->gt_lock