Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/i915/gt/intel_lrc.c lrc_update_regs() -> setup_per_ctx_bb()

Type Parameter Key Value
PARAM_VALUE 0 ce 4096-ptr_max
PARAM_VALUE 0 ce->engine 4096-ptr_max
PARAM_VALUE 0 ce->engine->gt->i915->drm.anon_inode->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 ce->engine->gt->i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 ce->engine->wakeref.i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 ce->lrc_reg_state 4096-ptr_max
PARAM_VALUE 0 ce->ops->alloc 4096-ptr_max
PARAM_VALUE 0 ce->ops->cancel_request 0,91490286640926720,7587403903737016320,7734987898920275968
PARAM_VALUE 0 ce->ops->close 0,4096-ptr_max
PARAM_VALUE 0 ce->ops->create_parallel 0,4344691657821306880,7260410288512454656
PARAM_VALUE 0 ce->ops->create_virtual 0,1146300204672368640,3892326905403764736
PARAM_VALUE 0 ce->ops->destroy 4096-ptr_max
PARAM_VALUE 0 ce->ops->enter 4096-ptr_max
PARAM_VALUE 0 ce->ops->exit 4096-ptr_max
PARAM_VALUE 0 ce->ops->flags 0,2-3
PARAM_VALUE 0 ce->ops->get_sibling 0,3801568794821824512,3867194115167576064
PARAM_VALUE 0 ce->ops->pin 4096-ptr_max
PARAM_VALUE 0 ce->ops->post_unpin 4096-ptr_max
PARAM_VALUE 0 ce->ops->pre_pin 4096-ptr_max
PARAM_VALUE 0 ce->ops->reset 0,4096-ptr_max
PARAM_VALUE 0 ce->ops->revoke 0,4096-ptr_max
PARAM_VALUE 0 ce->ops->sched_disable 0,3470322737079640064
PARAM_VALUE 0 ce->ops->unpin 4096-ptr_max
PARAM_VALUE 0 ce->ops->update_stats 0,7182017842297241600
PARAM_VALUE 0 ce->parallel.parent->engine->gt->i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 ce->ring 4096-ptr_max
PARAM_VALUE 0 ce->ring->vma 4096-ptr_max
PARAM_VALUE 0 ce->ring->vma->obj->ops->flags 0,2,6,8,26
PARAM_VALUE 0 ce->ring->vma->vm->gt->uncore->rpm->kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 ce->ring->vma->vm->i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 ce->state 4096-ptr_max
PARAM_VALUE 0 ce->state->obj->base.dev->mode_config.helper_private->atomic_commit_tail 0,113,234517204248432640,264416658693812224,1002985563129995264,1135616218159751168,1435312838172803072,1559742614509715456,1682444203744997376,2792895115794366464,3649211429048074240,4264110321136541696,4348468181405868032-s64max
PARAM_VALUE 0 ce->state->vm->i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 ce->timeline->hwsp_ggtt->vm->i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 ce->vm->gt->wakeref.i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 ce->wa_bb_page 1-255
PARAM_VALUE 0 *ce->lrc_reg_state 0,832,1472,1664,2432
PARAM_VALUE 1 engine 4096-ptr_max
PARAM_VALUE 1 engine->cops->alloc 4096-ptr_max
PARAM_VALUE 1 engine->cops->close 0,4096-ptr_max
PARAM_VALUE 1 engine->cops->destroy 4096-ptr_max
PARAM_VALUE 1 engine->cops->enter 4096-ptr_max
PARAM_VALUE 1 engine->cops->exit 4096-ptr_max
PARAM_VALUE 1 engine->cops->flags 0,2-3
PARAM_VALUE 1 engine->cops->pin 4096-ptr_max
PARAM_VALUE 1 engine->cops->post_unpin 4096-ptr_max
PARAM_VALUE 1 engine->cops->pre_pin 4096-ptr_max
PARAM_VALUE 1 engine->cops->reset 0,4096-ptr_max
PARAM_VALUE 1 engine->cops->revoke 0,4096-ptr_max
PARAM_VALUE 1 engine->cops->unpin 4096-ptr_max
PARAM_VALUE 1 engine->gt->i915->drm.anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry 0,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max
PARAM_VALUE 1 engine->gt->i915->drm.anon_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 1 engine->gt->i915->drm.anon_inode->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 engine->gt->i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 engine->gt->uncore->rpm->kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 engine->gt->wakeref.i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 engine->i915 4096-ptr_max
PARAM_VALUE 1 engine->uncore->rpm->kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 engine->wakeref.i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
BUF_SIZE 0 ce (-1)-s32max
BUF_SIZE 0 ce (-1)-s32max
BUF_SIZE 0 ce->timeline (-1),728
BUF_SIZE 0 ce->vm (-1),1208
BUF_SIZE 1 engine (-1),3608,6504
BUF_SIZE 1 engine (-1),3608,6504
CAPPED_DATA 0 ce 1
DATA_SOURCE 0 ce $0
DATA_SOURCE 1 engine $1
STR_LEN 0 ce (-1),3-4,6-8,11,14,17,19,21,23
STR_LEN 0 ce (-1),3-4,6-8,11,14,17,19,21,23
STR_LEN 0 ce->engine (-1),3,6-7,11,14,17
STR_LEN 1 engine (-1),3-4,6-8,11,14,17,19,21,23
STR_LEN 1 engine (-1),3-4,6-8,11,14,17,19,21,23
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 ce->engine->execlists.reset_ccid 0-u32max
HOST_DATA 0 ce->engine->gt->i915->uncore.fifo_count 0-127,u32max
HOST_DATA 0 ce->engine->gt->uc.guc.mmio_msg 0
HOST_DATA 0 ce->engine->gt->uncore->fifo_count 0-127,u32max
HOST_DATA 0 ce->engine->uncore->fifo_count 0-127,u32max
HOST_DATA 1 engine->execlists.reset_ccid 0-u32max
HOST_DATA 1 engine->gt->i915->uncore.fifo_count 0-127,u32max
HOST_DATA 1 engine->gt->uc.guc.mmio_msg 0
HOST_DATA 1 engine->gt->uc.guc.timestamp.gt_stamp 0-u64max
HOST_DATA 1 engine->gt->uncore->fifo_count 0-127,u32max
HOST_DATA 1 engine->uncore->fifo_count 0-127,u32max
NO_OVERFLOW_SIMPLE 0 ce->ring->effective_size
NO_OVERFLOW_SIMPLE 0 ce->ring->size
NO_OVERFLOW_SIMPLE 0 ce->ring->vma->fence_size
NO_OVERFLOW_SIMPLE 0 ce->ring->vma->obj->base.size
NO_OVERFLOW_SIMPLE 0 ce->ring->vma->size
NO_OVERFLOW_SIMPLE 0 ce->ring->vma->vm->total
NO_OVERFLOW_SIMPLE 0 ce->ring_size
NO_OVERFLOW_SIMPLE 0 ce->state->fence_size
NO_OVERFLOW_SIMPLE 0 ce->state->size
HALF_LOCKED2 irq
HALF_LOCKED2 rcu_read
HALF_LOCKED2 0 ce->ring->vma->obj->base.resv
HALF_LOCKED2 0 ce->state->obj->base.resv
HALF_LOCKED2 0 ce->timeline->hwsp_ggtt->obj->base.resv
HALF_LOCKED2 0 &ce->pin_mutex

drivers/gpu/drm/i915/gt/intel_lrc.c wabb_ctx_setup() -> setup_per_ctx_bb()

Type Parameter Key Value
PARAM_VALUE 0 ce 4096-ptr_max
PARAM_VALUE 0 ce->active.active 3338555125794725888
PARAM_VALUE 0 ce->active.cache->timeline 0-s64max
PARAM_VALUE 0 ce->active.excl.cb.func 1-u64max
PARAM_VALUE 0 ce->active.excl.fence 0
PARAM_VALUE 0 ce->active.flags 0
PARAM_VALUE 0 ce->active.retire 549235443701104640
PARAM_VALUE 0 ce->destroyed_link.next 4096-ptr_max
PARAM_VALUE 0 ce->destroyed_link.next->next 4096-ptr_max
PARAM_VALUE 0 ce->destroyed_link.prev 4096-ptr_max
PARAM_VALUE 0 ce->destroyed_link.prev->next 4096-ptr_max
PARAM_VALUE 0 ce->destroyed_link.prev->prev 4096-ptr_max
PARAM_VALUE 0 ce->engine 4096-ptr_max
PARAM_VALUE 0 ce->engine->wakeref.i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 ce->guc_id.link.next->next 4096-ptr_max
PARAM_VALUE 0 ce->guc_id.link.prev->next 4096-ptr_max
PARAM_VALUE 0 ce->guc_id.link.prev->prev 4096-ptr_max
PARAM_VALUE 0 ce->guc_state.blocked.pending.counter (-1)
PARAM_VALUE 0 ce->guc_state.blocked.wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 ce->guc_state.blocked.wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 ce->guc_state.blocked.wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 ce->guc_state.fences.next 4096-ptr_max
PARAM_VALUE 0 ce->guc_state.fences.next->next 4096-ptr_max
PARAM_VALUE 0 ce->guc_state.fences.prev 4096-ptr_max
PARAM_VALUE 0 ce->guc_state.fences.prev->next 4096-ptr_max
PARAM_VALUE 0 ce->guc_state.fences.prev->prev 4096-ptr_max
PARAM_VALUE 0 ce->guc_state.requests.next 4096-ptr_max
PARAM_VALUE 0 ce->guc_state.requests.next->next 4096-ptr_max
PARAM_VALUE 0 ce->guc_state.requests.prev 4096-ptr_max
PARAM_VALUE 0 ce->guc_state.requests.prev->next 4096-ptr_max
PARAM_VALUE 0 ce->guc_state.requests.prev->prev 4096-ptr_max
PARAM_VALUE 0 ce->ops->alloc 2227177286644301824,2970246185069228032,3206062465178124288,4392277175098716160,4914706846599946240,7879799952533626880
PARAM_VALUE 0 ce->ops->cancel_request 0,91490286640926720,7587403903737016320,7734987898920275968
PARAM_VALUE 0 ce->ops->close 0,1799950565580234752
PARAM_VALUE 0 ce->ops->create_parallel 0,4344691657821306880,7260410288512454656
PARAM_VALUE 0 ce->ops->create_virtual 0,1146300204672368640,3892326905403764736
PARAM_VALUE 0 ce->ops->destroy 4317080809805844480,4329967421435736064,6390641909654368256,6692175863814242304,8605599423800901632,8839630131348783104
PARAM_VALUE 0 ce->ops->enter 2035758305947381760,3062915639313915904,8436669650233004032
PARAM_VALUE 0 ce->ops->exit 4477962219188862976,5343545689217974272,8613935069289041920
PARAM_VALUE 0 ce->ops->flags 0,2-3
PARAM_VALUE 0 ce->ops->get_sibling 0,3801568794821824512,3867194115167576064
PARAM_VALUE 0 ce->ops->pin 582588847431282688,972309994596749312,1709076353535090688,2959108315551182848,3254282842421321728,5151393257184047104,6570608196069306368,6940239203582308352
PARAM_VALUE 0 ce->ops->post_unpin 1633242942253780992,4235355252069527552,4243007301222789120,5369733591384109056,6808983520059121664
PARAM_VALUE 0 ce->ops->pre_pin 352364314217218048,1168282635364016128,1917794447730376704,3704736307551993856,4223051122703777792,9026398550050959360
PARAM_VALUE 0 ce->ops->reset 0,87879463663824896,611050065406488576,8659965229682802688
PARAM_VALUE 0 ce->ops->revoke 0,2938255850853117952,3415482471362973696
PARAM_VALUE 0 ce->ops->sched_disable 0,3470322737079640064
PARAM_VALUE 0 ce->ops->unpin 2081434981281583104,2363752684535967744,4222743102999142400,4909610258557603840,7184128279193796608,7915246575870107648,8693928328047779840
PARAM_VALUE 0 ce->ops->update_stats 0,7182017842297241600
PARAM_VALUE 0 ce->parallel.child_list.next 4096-ptr_max
PARAM_VALUE 0 ce->parallel.child_list.next->next 4096-ptr_max
PARAM_VALUE 0 ce->parallel.child_list.prev 4096-ptr_max
PARAM_VALUE 0 ce->parallel.child_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ce->parallel.child_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ce->parallel.parent->engine->gt->i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 ce->pin_mutex.dep_map->name 0-255
PARAM_VALUE 0 ce->ref.refcount.refs.counter 1
PARAM_VALUE 0 ce->ring->vaddr 0-ptr_max
PARAM_VALUE 0 ce->ring->vma->active.cache->timeline 0-s64max
PARAM_VALUE 0 ce->ring->vma->active.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 ce->ring->vma->obj->base.dev->dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 ce->ring->vma->obj->base.dev->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 ce->ring->vma->obj->mm.link.next 4096-ptr_max
PARAM_VALUE 0 ce->ring->vma->vm->gt->uncore->rpm->kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 ce->ring->vma->vm->i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 ce->ring_size 4096
PARAM_VALUE 0 ce->signals.next 4096-ptr_max
PARAM_VALUE 0 ce->signals.next->next 4096-ptr_max
PARAM_VALUE 0 ce->signals.prev 4096-ptr_max
PARAM_VALUE 0 ce->signals.prev->next 4096-ptr_max
PARAM_VALUE 0 ce->signals.prev->prev 4096-ptr_max
PARAM_VALUE 0 ce->state->vm->i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 ce->stats.runtime.avg.internal 0
PARAM_VALUE 0 ce->timeline->hwsp_ggtt->vm->i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 ce->vm 4096-ptr_max
PARAM_VALUE 1 engine 4096-ptr_max
PARAM_VALUE 1 engine->wakeref.i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
DATA_SOURCE 0 ce $0
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 ce->ring->effective_size