Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c eb_select_engine() -> intel_context_alloc_state()

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 4096-ptr_max
PARAM_VALUE 0 ce->engine->gt->wakeref.i915->runtime_pm.debug.list.next->next 4096-ptr_max
PARAM_VALUE 0 ce->engine->gt->wakeref.i915->runtime_pm.debug.list.next->prev 4096-ptr_max
PARAM_VALUE 0 ce->engine->gt->wakeref.i915->runtime_pm.debug.quarantine.prev 4096-ptr_max
PARAM_VALUE 0 ce->engine->gt->wakeref.i915->runtime_pm.debug.quarantine.prev->next 4096-ptr_max
PARAM_VALUE 0 ce->engine->gt->wakeref.i915->runtime_pm.debug.quarantine.prev->next->next 4096-ptr_max
PARAM_VALUE 0 ce->engine->gt->wakeref.i915->runtime_pm.kdev->power.request 0-4
PARAM_VALUE 0 ce->engine->gt->wakeref.i915->runtime_pm.kdev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 ce->engine->gt->wakeref.i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 ce->parallel.number_children 0
PARAM_VALUE 0 ce->parallel.parent 0
CAPPED_DATA 0 &ce->parallel.child_list 1
DATA_SOURCE 0 ce r i915_gem_context_get_engine

drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c eb_select_engine() -> intel_context_alloc_state()

Type Parameter Key Value
PARAM_VALUE 0 ce 4096-ptr_max
CAPPED_DATA 0 &ce->parallel.child_link 1

drivers/gpu/drm/i915/gt/intel_context.c __intel_context_do_pin_ww() -> intel_context_alloc_state()

Type Parameter Key Value
PARAM_VALUE 0 ce 4096-ptr_max
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->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->pin_count.counter 0-s32max
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->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
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
DATA_SOURCE 0 ce $0
STR_LEN 0 ce->engine (-1),3,6-7,11,14,17
RX_PATH
TASK_NOT_RUNNING
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->uc.guc.timestamp.gt_stamp 0-u64max
HOST_DATA 0 ce->engine->gt->uncore->fifo_count 0-127,u32max
HOST_DATA 0 ce->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->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 &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

drivers/gpu/drm/i915/gt/intel_timeline.c live_hwsp_rollover_user() -> intel_context_alloc_state()

Type Parameter Key Value
PARAM_VALUE 0 ce 4096-ptr_max
PARAM_VALUE 0 ce->active.active 3338555125794725888
PARAM_VALUE 0 ce->active.cache 0
PARAM_VALUE 0 ce->active.count.counter 0
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.preallocated_barriers.first 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->guc_id.id u16max
PARAM_VALUE 0 ce->guc_id.link.next 4096-ptr_max
PARAM_VALUE 0 ce->guc_id.link.next->next 4096-ptr_max
PARAM_VALUE 0 ce->guc_id.link.prev 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->pin_mutex.dep_map->name 0-255
PARAM_VALUE 0 ce->pin_mutex.first_waiter 0
PARAM_VALUE 0 ce->pin_mutex.magic 4096-ptr_max
PARAM_VALUE 0 ce->pin_mutex.osq.tail.counter 0
PARAM_VALUE 0 ce->pin_mutex.owner.counter 0
PARAM_VALUE 0 ce->ref.refcount.refs.counter 1
PARAM_VALUE 0 ce->ring 0
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->stats.runtime.avg.internal 0
PARAM_VALUE 0 ce->vm 4096-ptr_max
DATA_SOURCE 0 ce r intel_context_create