Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/i915/gt/intel_lrc.c live_lrc_layout() -> __lrc_init_regs()

Type Parameter Key Value
PARAM_VALUE 2 engine 4096-ptr_max
PARAM_VALUE 2 engine->default_state 4096-ptr_max
PARAM_VALUE 2 engine->default_state->f_mapping 4096-ptr_max
PARAM_VALUE 2 engine->default_state->f_mapping->host 4096-ptr_max
PARAM_VALUE 3 inhibit 1
NOCHECK_CALL

drivers/gpu/drm/i915/gt/intel_lrc.c lrc_init_regs() -> __lrc_init_regs()

Type Parameter Key Value
PARAM_VALUE 1 ce 4096-ptr_max
PARAM_VALUE 1 ce->ring 4096-ptr_max
PARAM_VALUE 3 inhibit 1
CAPPED_DATA 1 ce 1
DATA_SOURCE 1 ce $0
DATA_SOURCE 2 engine $1
DATA_SOURCE 3 inhibit $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 irq
HALF_LOCKED2 rcu_read

drivers/gpu/drm/i915/gt/intel_lrc.c lrc_init_state() -> __lrc_init_regs()

Type Parameter Key Value
PARAM_VALUE 0 regs 4096-ptr_max
PARAM_VALUE 1 ce 4096-ptr_max
PARAM_VALUE 1 ce->active.cache->timeline 0-s64max
PARAM_VALUE 1 ce->engine 4096-ptr_max
PARAM_VALUE 1 ce->engine->gt->i915->drm.anon_inode->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 ce->engine->gt->i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 ce->engine->gt->uc.guc.timestamp.work.wq->dfl_pwq 0-s64max
PARAM_VALUE 1 ce->engine->gt->uc.guc.timestamp.work.wq->saved_max_active s32min-s32max
PARAM_VALUE 1 ce->engine->gt->uc.guc.timestamp.work.wq->saved_min_active s32min-s32max
PARAM_VALUE 1 ce->engine->i915->bdev.wq->flags 0-4294967295
PARAM_VALUE 1 ce->engine->i915->bdev.wq->flush_color s32min-s32max
PARAM_VALUE 1 ce->engine->i915->bdev.wq->nr_drainers s32min-s32max
PARAM_VALUE 1 ce->engine->i915->bdev.wq->work_color s32min-s32max
PARAM_VALUE 1 ce->engine->kernel_context->guc_state.sched_disable_delay_work.wq->dfl_pwq 0-s64max
PARAM_VALUE 1 ce->engine->kernel_context->vm->gt->wakeref.work.wq->dfl_pwq 0-s64max
PARAM_VALUE 1 ce->engine->kernel_context->vm->gt->wakeref.work.wq->saved_max_active s32min-s32max
PARAM_VALUE 1 ce->engine->kernel_context->vm->gt->wakeref.work.wq->saved_min_active s32min-s32max
PARAM_VALUE 1 ce->engine->kernel_context->wakeref->alloc_stack_handle 0-4294967295
PARAM_VALUE 1 ce->engine->kernel_context->wakeref->dead 0-1
PARAM_VALUE 1 ce->engine->kernel_context->wakeref->free_stack_handle 0-4294967295
PARAM_VALUE 1 ce->engine->wakeref.i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 ce->gem_context->i915->wq->flags 0-4294967295
PARAM_VALUE 1 ce->guc_state.sched_disable_delay_work.wq->dfl_pwq 0-s64max
PARAM_VALUE 1 ce->guc_state.sched_disable_delay_work.wq->saved_max_active s32min-s32max
PARAM_VALUE 1 ce->guc_state.sched_disable_delay_work.wq->saved_min_active s32min-s32max
PARAM_VALUE 1 ce->ops 4096-ptr_max
PARAM_VALUE 1 ce->ops->alloc 4096-ptr_max
PARAM_VALUE 1 ce->ops->cancel_request 0,91490286640926720,7587403903737016320,7734987898920275968
PARAM_VALUE 1 ce->ops->close 0,4096-ptr_max
PARAM_VALUE 1 ce->ops->create_parallel 0,4344691657821306880,7260410288512454656
PARAM_VALUE 1 ce->ops->create_virtual 0,1146300204672368640,3892326905403764736
PARAM_VALUE 1 ce->ops->destroy 4096-ptr_max
PARAM_VALUE 1 ce->ops->enter 4096-ptr_max
PARAM_VALUE 1 ce->ops->exit 4096-ptr_max
PARAM_VALUE 1 ce->ops->flags 0,2-3
PARAM_VALUE 1 ce->ops->get_sibling 0,3801568794821824512,3867194115167576064
PARAM_VALUE 1 ce->ops->pin 4096-ptr_max
PARAM_VALUE 1 ce->ops->post_unpin 4096-ptr_max
PARAM_VALUE 1 ce->ops->pre_pin 4096-ptr_max
PARAM_VALUE 1 ce->ops->reset 0,4096-ptr_max
PARAM_VALUE 1 ce->ops->revoke 0,4096-ptr_max
PARAM_VALUE 1 ce->ops->sched_disable 0,3470322737079640064
PARAM_VALUE 1 ce->ops->unpin 4096-ptr_max
PARAM_VALUE 1 ce->ops->update_stats 0,7182017842297241600
PARAM_VALUE 1 ce->parallel.parent->active.cache->timeline 0-s64max
PARAM_VALUE 1 ce->parallel.parent->engine->gt->i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 ce->parallel.parent->engine->i915->bdev.wq->flags 0-4294967295
PARAM_VALUE 1 ce->parallel.parent->engine->i915->bdev.wq->flush_color s32min-s32max
PARAM_VALUE 1 ce->parallel.parent->engine->i915->bdev.wq->nr_drainers s32min-s32max
PARAM_VALUE 1 ce->parallel.parent->engine->i915->bdev.wq->work_color s32min-s32max
PARAM_VALUE 1 ce->parallel.parent->engine->kernel_context->vm->gt->wakeref.work.wq->dfl_pwq 0-s64max
PARAM_VALUE 1 ce->parallel.parent->gem_context->i915->wq->flags 0-4294967295
PARAM_VALUE 1 ce->parallel.parent->vm->gt->wakeref.work.wq->dfl_pwq 0-s64max
PARAM_VALUE 1 ce->parallel.parent->vm->gt->wakeref.work.wq->saved_max_active s32min-s32max
PARAM_VALUE 1 ce->parallel.parent->vm->gt->wakeref.work.wq->saved_min_active s32min-s32max
PARAM_VALUE 1 ce->parallel.parent->vm->i915->wq->flags 0-4294967295
PARAM_VALUE 1 ce->pin_count.counter 0-s32max
PARAM_VALUE 1 ce->ring 4096-ptr_max
PARAM_VALUE 1 ce->ring->vaddr 0-ptr_max
PARAM_VALUE 1 ce->ring->vma 4096-ptr_max
PARAM_VALUE 1 ce->ring->vma->active.cache->timeline 0-s64max
PARAM_VALUE 1 ce->ring->vma->active.excl.fence->refcount.refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 1 ce->ring->vma->obj 4096-ptr_max
PARAM_VALUE 1 ce->ring->vma->obj->base.dev->dev->iommu->attach_deferred 0-1
PARAM_VALUE 1 ce->ring->vma->obj->base.dev->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 1 ce->ring->vma->obj->base.resv->lock->base.first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 ce->ring->vma->obj->base.resv->lock.base.dep_map->name 0-255
PARAM_VALUE 1 ce->ring->vma->obj->base.resv->lock.base.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 ce->ring->vma->obj->base.resv->lock.base.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 ce->ring->vma->obj->base.resv->lock.base.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 1 ce->ring->vma->obj->base.resv->lock.base.osq.tail.counter 0-s32max
PARAM_VALUE 1 ce->ring->vma->obj->mm.link.next 4096-ptr_max
PARAM_VALUE 1 ce->ring->vma->obj->mm.link.next->next 4096-ptr_max
PARAM_VALUE 1 ce->ring->vma->obj->mm.link.prev 4096-ptr_max
PARAM_VALUE 1 ce->ring->vma->obj->mm.link.prev->next 4096-ptr_max
PARAM_VALUE 1 ce->ring->vma->obj->mm.link.prev->prev 4096-ptr_max
PARAM_VALUE 1 ce->ring->vma->obj->obj_link.next 4096-ptr_max
PARAM_VALUE 1 ce->ring->vma->obj->ops->flags 0,2,6,8,26
PARAM_VALUE 1 ce->ring->vma->resource->bi.pages_rsgt 4096-ptr_max
PARAM_VALUE 1 ce->ring->vma->resource->chain.pending.counter 1
PARAM_VALUE 1 ce->ring->vma->resource->hold_count.refs.counter 1
PARAM_VALUE 1 ce->ring->vma->resource->unbind_fence.cb_list.next 4096-ptr_max
PARAM_VALUE 1 ce->ring->vma->resource->unbind_fence.cb_list.prev 4096-ptr_max
PARAM_VALUE 1 ce->ring->vma->resource->unbind_fence.flags 1,3,5,7
PARAM_VALUE 1 ce->ring->vma->resource->unbind_fence.ops 3785200688404316160
PARAM_VALUE 1 ce->ring->vma->resource->unbind_fence.refcount.refcount.refs.counter 1
PARAM_VALUE 1 ce->ring->vma->resource->vm 4096-ptr_max
PARAM_VALUE 1 ce->ring->vma->vm->bound_list.prev->next 4096-ptr_max
PARAM_VALUE 1 ce->ring->vma->vm->bound_list.prev->next->next 4096-ptr_max
PARAM_VALUE 1 ce->ring->vma->vm->gt->uncore->rpm->kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 ce->ring->vma->vm->i915->runtime_pm.debug.quarantine.prev->next 4096-ptr_max
PARAM_VALUE 1 ce->ring->vma->vm->i915->runtime_pm.debug.quarantine.prev->next->next 4096-ptr_max
PARAM_VALUE 1 ce->ring->vma->vm->i915->runtime_pm.kdev->power.request 0-4
PARAM_VALUE 1 ce->ring->vma->vm->i915->runtime_pm.kdev->power.runtime_status 0,2
PARAM_VALUE 1 ce->ring->vma->vm->i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 ce->ring->vma->vm->unbound_list.prev->next 4096-ptr_max
PARAM_VALUE 1 ce->ring->vma->vm->unbound_list.prev->next->next 4096-ptr_max
PARAM_VALUE 1 ce->state 0,4096-ptr_max
PARAM_VALUE 1 ce->state->active.cache->timeline 0-s64max
PARAM_VALUE 1 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 1 ce->state->vm->i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 ce->timeline 4096-ptr_max
PARAM_VALUE 1 ce->timeline->active.cache->timeline 0-s64max
PARAM_VALUE 1 ce->timeline->active.mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 ce->timeline->active.work.entry.next 4096-ptr_max
PARAM_VALUE 1 ce->timeline->hwsp_ggtt 4096-ptr_max
PARAM_VALUE 1 ce->timeline->hwsp_ggtt->active.cache->timeline 0-s64max
PARAM_VALUE 1 ce->timeline->hwsp_ggtt->obj 4096-ptr_max
PARAM_VALUE 1 ce->timeline->hwsp_ggtt->obj->base.dev->dev->iommu->attach_deferred 0-1
PARAM_VALUE 1 ce->timeline->hwsp_ggtt->obj->base.resv->lock.base.dep_map->name 0-255
PARAM_VALUE 1 ce->timeline->hwsp_ggtt->obj->base.resv->lock.base.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 ce->timeline->hwsp_ggtt->obj->base.resv->lock.base.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 ce->timeline->hwsp_ggtt->obj->base.resv->lock.base.osq.tail.counter 0-s32max
PARAM_VALUE 1 ce->timeline->hwsp_ggtt->obj->obj_link.next 4096-ptr_max
PARAM_VALUE 1 ce->timeline->hwsp_ggtt->resource->bi.pages_rsgt 4096-ptr_max
PARAM_VALUE 1 ce->timeline->hwsp_ggtt->resource->chain.pending.counter 1
PARAM_VALUE 1 ce->timeline->hwsp_ggtt->resource->hold_count.refs.counter 1
PARAM_VALUE 1 ce->timeline->hwsp_ggtt->resource->unbind_fence.cb_list.next 4096-ptr_max
PARAM_VALUE 1 ce->timeline->hwsp_ggtt->resource->unbind_fence.cb_list.prev 4096-ptr_max
PARAM_VALUE 1 ce->timeline->hwsp_ggtt->resource->unbind_fence.flags 1,3,5,7
PARAM_VALUE 1 ce->timeline->hwsp_ggtt->resource->unbind_fence.ops 3785200688404316160
PARAM_VALUE 1 ce->timeline->hwsp_ggtt->resource->unbind_fence.refcount.refcount.refs.counter 1
PARAM_VALUE 1 ce->timeline->hwsp_ggtt->resource->vm 4096-ptr_max
PARAM_VALUE 1 ce->timeline->hwsp_ggtt->vm->bound_list.prev->next 4096-ptr_max
PARAM_VALUE 1 ce->timeline->hwsp_ggtt->vm->bound_list.prev->next->next 4096-ptr_max
PARAM_VALUE 1 ce->timeline->hwsp_ggtt->vm->i915->runtime_pm.debug.quarantine.prev->next 4096-ptr_max
PARAM_VALUE 1 ce->timeline->hwsp_ggtt->vm->i915->runtime_pm.debug.quarantine.prev->next->next 4096-ptr_max
PARAM_VALUE 1 ce->timeline->hwsp_ggtt->vm->i915->runtime_pm.kdev->power.request 0-4
PARAM_VALUE 1 ce->timeline->hwsp_ggtt->vm->i915->runtime_pm.kdev->power.runtime_status 0,2
PARAM_VALUE 1 ce->timeline->hwsp_ggtt->vm->i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 ce->timeline->hwsp_ggtt->vm->unbound_list.prev->next 4096-ptr_max
PARAM_VALUE 1 ce->timeline->hwsp_ggtt->vm->unbound_list.prev->next->next 4096-ptr_max
PARAM_VALUE 1 ce->vm->gt->wakeref.i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 ce->vm->i915->wq->flags 0-4294967295
PARAM_VALUE 1 ce->wakeref->alloc_stack_handle 0-4294967295
PARAM_VALUE 1 ce->wakeref->dead 0-1
PARAM_VALUE 1 ce->wakeref->free_stack_handle 0-4294967295
PARAM_VALUE 2 engine->gt->i915->drm.anon_inode->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 2 engine->gt->i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 2 engine->wakeref.i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
BUF_SIZE 1 ce (-1)-s32max
BUF_SIZE 1 ce (-1)-s32max
BUF_SIZE 1 ce->timeline (-1),728
BUF_SIZE 1 ce->vm (-1),1208
CAPPED_DATA 1 ce->ring->vma 1
DATA_SOURCE 1 ce $0
DATA_SOURCE 2 engine $1
STR_LEN 0 regs (-1),3,6-7,11,14,17
STR_LEN 1 ce (-1),3,6-7,11,14,17
STR_LEN 1 ce (-1),3,6-7,11,14,17
STR_LEN 1 ce->engine (-1),3,6-7,11,14,17
STR_LEN 2 engine (-1),3,6-7,11,14,17
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 ce->engine->execlists.reset_ccid 0-u32max
HOST_DATA 1 ce->engine->gt->i915->uncore.fifo_count 0-127,u32max
HOST_DATA 1 ce->engine->gt->uc.guc.mmio_msg 0
HOST_DATA 1 ce->engine->gt->uncore->fifo_count 0-127,u32max
HOST_DATA 1 ce->engine->uncore->fifo_count 0-127,u32max
HOST_DATA 2 engine->execlists.reset_ccid 0-u32max
HOST_DATA 2 engine->gt->i915->uncore.fifo_count 0-127,u32max
HOST_DATA 2 engine->gt->uc.guc.mmio_msg 0
HOST_DATA 2 engine->gt->uncore->fifo_count 0-127,u32max
HOST_DATA 2 engine->uncore->fifo_count 0-127,u32max
NO_OVERFLOW_SIMPLE 1 ce->ring->effective_size
NO_OVERFLOW_SIMPLE 1 ce->ring->size
NO_OVERFLOW_SIMPLE 1 ce->ring->vma->fence_size
NO_OVERFLOW_SIMPLE 1 ce->ring->vma->obj->base.size
NO_OVERFLOW_SIMPLE 1 ce->ring->vma->size
NO_OVERFLOW_SIMPLE 1 ce->ring->vma->vm->total
NO_OVERFLOW_SIMPLE 1 ce->ring_size
NO_OVERFLOW_SIMPLE 1 ce->state->fence_size
NO_OVERFLOW_SIMPLE 1 ce->state->size
LOCK2 1 ce->ring->vma->obj->base.resv
LOCK2 1 ce->timeline->hwsp_ggtt->obj->base.resv
HALF_LOCKED2 &gt->perf.lock
HALF_LOCKED2 &pxp->tee_mutex
HALF_LOCKED2 __flags
HALF_LOCKED2 pkt->bb_vma->obj->base.resv
HALF_LOCKED2 pkt->heci_pkt_vma->obj->base.resv
HALF_LOCKED2 scratch->obj->base.resv
HALF_LOCKED2 1 ce->state->obj->base.resv
HALF_LOCKED2 1 &ce->pin_mutex