Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/gpu/drm/i915/gt/intel_engine_cs.c
- drivers/gpu/drm/i915/gt/intel_migrate.c, line 260
- drivers/gpu/drm/i915/gt/uc/intel_gsc_uc.c, line 226
- drivers/gpu/drm/i915/pxp/intel_pxp.c, line 102
Smatch caller information:
drivers/gpu/drm/i915/pxp/intel_pxp.c create_vcs_context() -> intel_engine_create_pinned_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | engine | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->gt | 4096-ptr_max |
| PARAM_VALUE | 2 | ring_size | 4096 |
| PARAM_VALUE | 3 | hwsp | 384 |
| PARAM_VALUE | 4 | key | 3372290115655049216 |
| PARAM_VALUE | 5 | name | 5895392941808021504 |
| BUF_SIZE | 5 | name | 12 |
| STR_LEN | 0 | engine | 11 |
| TERMINATED | 5 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/i915/gt/intel_migrate.c pinned_context() -> intel_engine_create_pinned_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | engine | 1-u64max |
| PARAM_VALUE | 1 | vm | 4096-ptr_max |
| PARAM_VALUE | 1 | vm->allocate_va_range | 1-u64max |
| PARAM_VALUE | 1 | vm->foreach | 1-u64max |
| PARAM_VALUE | 2 | ring_size | 524288 |
| PARAM_VALUE | 3 | hwsp | 264 |
| PARAM_VALUE | 4 | key | 4975866776711819264 |
| PARAM_VALUE | 5 | name | 6294137753436291072 |
| BUF_SIZE | 1 | vm | 1208 |
| BUF_SIZE | 5 | name | 8 |
| DATA_SOURCE | 0 | engine | r first_copy_engine |
| DATA_SOURCE | 1 | vm | r migrate_vm |
| STR_LEN | 0 | engine | 7 |
| TERMINATED | 5 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pdev->dev.mutex |
drivers/gpu/drm/i915/gt/uc/intel_gsc_uc.c intel_gsc_uc_init() -> intel_engine_create_pinned_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | engine | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->gt | 4096-ptr_max |
| PARAM_VALUE | 2 | ring_size | 4096 |
| PARAM_VALUE | 3 | hwsp | 392 |
| PARAM_VALUE | 4 | key | 1852210305568280576 |
| PARAM_VALUE | 5 | name | 4594383977100730368 |
| BUF_SIZE | 5 | name | 12 |
| STR_LEN | 0 | engine | 11 |
| TERMINATED | 5 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/i915/gt/intel_engine_cs.c create_ggtt_bind_context() -> intel_engine_create_pinned_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | engine | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->barrier_tasks.first | 0 |
| PARAM_VALUE | 0 | engine->bind_context->guc_state.prio | 0-3 |
| PARAM_VALUE | 0 | engine->bind_context->watchdog.timeout_us | 1000-4294967295000 |
| PARAM_VALUE | 0 | engine->breadcrumbs | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->breadcrumbs->irq_disable | 1930164451255939072 |
| PARAM_VALUE | 0 | engine->breadcrumbs->irq_enable | 2481115926665437184 |
| PARAM_VALUE | 0 | engine->breadcrumbs->irq_engine | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->breadcrumbs->irq_engine->gt | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->breadcrumbs->irq_engine->i915 | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->breadcrumbs->irq_engine->status_page.timelines.next | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->breadcrumbs->irq_engine->status_page.timelines.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->breadcrumbs->irq_engine->status_page.vma | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->breadcrumbs->ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | engine->breadcrumbs->signalers.next | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->breadcrumbs->signalers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->breadcrumbs->signalers.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->breadcrumbs->signalers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->breadcrumbs->signalers.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->cops->alloc | 2227177286644301824,2970246185069228032,3206062465178124288,4392277175098716160,4914706846599946240,7879799952533626880 |
| PARAM_VALUE | 0 | engine->cops->close | 0,1799950565580234752 |
| PARAM_VALUE | 0 | engine->cops->destroy | 4317080809805844480,4329967421435736064,6390641909654368256,6692175863814242304,8605599423800901632,8839630131348783104 |
| PARAM_VALUE | 0 | engine->cops->enter | 2035758305947381760,3062915639313915904,8436669650233004032 |
| PARAM_VALUE | 0 | engine->cops->exit | 4477962219188862976,5343545689217974272,8613935069289041920 |
| PARAM_VALUE | 0 | engine->cops->pin | 582588847431282688,972309994596749312,1709076353535090688,2959108315551182848,3254282842421321728,5151393257184047104,6570608196069306368,6940239203582308352 |
| PARAM_VALUE | 0 | engine->cops->post_unpin | 1633242942253780992,4235355252069527552,4243007301222789120,5369733591384109056,6808983520059121664 |
| PARAM_VALUE | 0 | engine->cops->pre_pin | 352364314217218048,1168282635364016128,1917794447730376704,3704736307551993856,4223051122703777792,9026398550050959360 |
| PARAM_VALUE | 0 | engine->cops->reset | 0,87879463663824896,611050065406488576,8659965229682802688 |
| PARAM_VALUE | 0 | engine->cops->revoke | 0,2938255850853117952,3415482471362973696 |
| PARAM_VALUE | 0 | engine->cops->unpin | 2081434981281583104,2363752684535967744,4222743102999142400,4909610258557603840,7184128279193796608,7915246575870107648,8693928328047779840 |
| PARAM_VALUE | 0 | engine->ctx_wa_list.name | 5885456827040493568 |
| PARAM_VALUE | 0 | engine->execlists.port_mask | 1 |
| PARAM_VALUE | 0 | engine->gt | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->gt->ggtt->vm.mutex->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | engine->gt->ggtt->vm.unbound_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->gt->ggtt->vm.unbound_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->gt->ggtt->vm.unbound_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->gt->uncore->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | engine->gt->vm | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->i915 | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->id | 1 |
| PARAM_VALUE | 0 | engine->kernel_context->guc_state.prio | 0-3 |
| PARAM_VALUE | 0 | engine->kernel_context->watchdog.timeout_us | 1000-4294967295000 |
| PARAM_VALUE | 0 | engine->pinned_contexts_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->pinned_contexts_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->reg_tables->num_regs | 7,34,40,66 |
| PARAM_VALUE | 0 | engine->reg_tables->regs | 1732485791678484480,3151014299732463616,3966771345603833856,8261069889012371456 |
| PARAM_VALUE | 0 | engine->sched_engine | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->sched_engine->destroy | 2013391973114421248 |
| PARAM_VALUE | 0 | engine->sched_engine->disabled | 686319013111865344 |
| PARAM_VALUE | 0 | engine->sched_engine->hold.next | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->sched_engine->hold.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->sched_engine->hold.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->sched_engine->hold.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->sched_engine->hold.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->sched_engine->private_data | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->sched_engine->queue_priority_hint | s32min |
| PARAM_VALUE | 0 | engine->sched_engine->ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | engine->sched_engine->requests.next | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->sched_engine->requests.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->sched_engine->requests.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->sched_engine->requests.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->sched_engine->requests.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->status_page.timelines.next | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->status_page.timelines.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->status_page.timelines.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->status_page.timelines.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->status_page.timelines.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->status_page.vma | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->submit_request | 3238686115826343936,4771244226342346752,7365831548837511168,8413331832817324032 |
| PARAM_VALUE | 0 | engine->wa_list.gt | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->wa_list.name | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->wakeref.count.counter | 0 |
| PARAM_VALUE | 0 | engine->wakeref.debug->class | 0-255 |
| PARAM_VALUE | 0 | engine->wakeref.debug.class | 1-u64max |
| PARAM_VALUE | 0 | engine->wakeref.debug.dead | 0 |
| PARAM_VALUE | 0 | engine->wakeref.debug.no_tracker.refs.counter | 1 |
| PARAM_VALUE | 0 | engine->wakeref.debug.quarantine_avail | 16 |
| PARAM_VALUE | 0 | engine->wakeref.debug.untracked.refs.counter | 1 |
| PARAM_VALUE | 0 | engine->wakeref.ops->get | 2518513893018693632,7455521386479726592 |
| PARAM_VALUE | 0 | engine->wakeref.ops->put | 4290303708860280832,5113273690340397056 |
| PARAM_VALUE | 0 | engine->wakeref.wakeref | 0 |
| PARAM_VALUE | 0 | engine->wakeref.work.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | engine->whitelist.gt | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->whitelist.name | 4096-ptr_max |
| PARAM_VALUE | 1 | vm | 4096-ptr_max |
| PARAM_VALUE | 2 | ring_size | 524288 |
| PARAM_VALUE | 3 | hwsp | 280 |
| PARAM_VALUE | 4 | key | 5664915514598313984 |
| PARAM_VALUE | 5 | name | 2315379965944926208 |
| BUF_SIZE | 5 | name | 18 |
| DATA_SOURCE | 0 | engine | $0 |
| STR_LEN | 0 | engine | 17 |
| TERMINATED | 0 | engine->ctx_wa_list.name | 1 |
| TERMINATED | 5 | name | 1 |
| MEM_ZERO | 0 | engine->execlists.inflight | |
| MEM_ZERO | 0 | engine->execlists.pending | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | engine->gt->uncore->fifo_count | 0-127,u32max |
drivers/gpu/drm/i915/gt/intel_engine_cs.c create_kernel_context() -> intel_engine_create_pinned_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | engine | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->breadcrumbs | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->breadcrumbs->irq_disable | 1930164451255939072 |
| PARAM_VALUE | 0 | engine->breadcrumbs->irq_enable | 2481115926665437184 |
| PARAM_VALUE | 0 | engine->breadcrumbs->irq_engine | 0,4096-ptr_max |
| PARAM_VALUE | 0 | engine->breadcrumbs->irq_engine->gt | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->breadcrumbs->irq_engine->i915 | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->breadcrumbs->irq_engine->status_page.timelines.next | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->breadcrumbs->irq_engine->status_page.timelines.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->breadcrumbs->irq_engine->status_page.vma | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->breadcrumbs->ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | engine->breadcrumbs->signalers.next | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->breadcrumbs->signalers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->breadcrumbs->signalers.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->breadcrumbs->signalers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->breadcrumbs->signalers.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->cops->alloc | 2227177286644301824,2970246185069228032,3206062465178124288,4392277175098716160,4914706846599946240,7879799952533626880 |
| PARAM_VALUE | 0 | engine->cops->close | 0,1799950565580234752 |
| PARAM_VALUE | 0 | engine->cops->destroy | 4317080809805844480,4329967421435736064,6390641909654368256,6692175863814242304,8605599423800901632,8839630131348783104 |
| PARAM_VALUE | 0 | engine->cops->enter | 2035758305947381760,3062915639313915904,8436669650233004032 |
| PARAM_VALUE | 0 | engine->cops->exit | 4477962219188862976,5343545689217974272,8613935069289041920 |
| PARAM_VALUE | 0 | engine->cops->pin | 582588847431282688,972309994596749312,1709076353535090688,2959108315551182848,3254282842421321728,5151393257184047104,6570608196069306368,6940239203582308352 |
| PARAM_VALUE | 0 | engine->cops->post_unpin | 1633242942253780992,4235355252069527552,4243007301222789120,5369733591384109056,6808983520059121664 |
| PARAM_VALUE | 0 | engine->cops->pre_pin | 352364314217218048,1168282635364016128,1917794447730376704,3704736307551993856,4223051122703777792,9026398550050959360 |
| PARAM_VALUE | 0 | engine->cops->reset | 0,87879463663824896,611050065406488576,8659965229682802688 |
| PARAM_VALUE | 0 | engine->cops->revoke | 0,2938255850853117952,3415482471362973696 |
| PARAM_VALUE | 0 | engine->cops->unpin | 2081434981281583104,2363752684535967744,4222743102999142400,4909610258557603840,7184128279193796608,7915246575870107648,8693928328047779840 |
| PARAM_VALUE | 0 | engine->execlists.port_mask | 1 |
| PARAM_VALUE | 0 | engine->gt | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->gt->uncore->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | engine->i915 | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->reg_tables->num_regs | 7,34,40,66 |
| PARAM_VALUE | 0 | engine->reg_tables->regs | 1732485791678484480,3151014299732463616,3966771345603833856,8261069889012371456 |
| PARAM_VALUE | 0 | engine->sched_engine | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->sched_engine->destroy | 2013391973114421248 |
| PARAM_VALUE | 0 | engine->sched_engine->disabled | 686319013111865344 |
| PARAM_VALUE | 0 | engine->sched_engine->hold.next | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->sched_engine->hold.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->sched_engine->hold.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->sched_engine->hold.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->sched_engine->hold.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->sched_engine->private_data | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->sched_engine->queue_priority_hint | s32min |
| PARAM_VALUE | 0 | engine->sched_engine->ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | engine->sched_engine->requests.next | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->sched_engine->requests.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->sched_engine->requests.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->sched_engine->requests.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->sched_engine->requests.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | engine->wakeref.count.counter | 0 |
| PARAM_VALUE | 0 | engine->wakeref.debug->class | 0-255 |
| PARAM_VALUE | 0 | engine->wakeref.debug.class | 1-u64max |
| PARAM_VALUE | 0 | engine->wakeref.debug.dead | 0 |
| PARAM_VALUE | 0 | engine->wakeref.debug.no_tracker.refs.counter | 1 |
| PARAM_VALUE | 0 | engine->wakeref.debug.quarantine_avail | 16 |
| PARAM_VALUE | 0 | engine->wakeref.debug.untracked.refs.counter | 1 |
| PARAM_VALUE | 0 | engine->wakeref.ops->get | 2518513893018693632,7455521386479726592 |
| PARAM_VALUE | 0 | engine->wakeref.ops->put | 4290303708860280832,5113273690340397056 |
| PARAM_VALUE | 0 | engine->wakeref.wakeref | 0 |
| PARAM_VALUE | 0 | engine->wakeref.work.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 2 | ring_size | 4096 |
| PARAM_VALUE | 3 | hwsp | 256 |
| PARAM_VALUE | 4 | key | 5212580705376329728 |
| PARAM_VALUE | 5 | name | 9007798134383747072 |
| BUF_SIZE | 0 | engine->breadcrumbs | (-1),264 |
| BUF_SIZE | 0 | engine->sched_engine | (-1),288 |
| BUF_SIZE | 5 | name | 15 |
| DATA_SOURCE | 0 | engine | $0 |
| STR_LEN | 0 | engine | 14 |
| TERMINATED | 5 | name | 1 |
| MEM_ZERO | 0 | engine->execlists.inflight | |
| MEM_ZERO | 0 | engine->execlists.pending | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | engine->gt->uncore->fifo_count | 0-127,u32max |