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/gt/intel_context.c intel_context_create() -> intel_context_init()

Type Parameter Key Value
PARAM_VALUE 0 ce 1-u64max
PARAM_VALUE 1 engine->cops->alloc 4096-ptr_max
PARAM_VALUE 1 engine->cops->cancel_request 0,91490286640926720,7587403903737016320,7734987898920275968
PARAM_VALUE 1 engine->cops->close 0,4096-ptr_max
PARAM_VALUE 1 engine->cops->create_parallel 0,4344691657821306880,7260410288512454656
PARAM_VALUE 1 engine->cops->create_virtual 0,1146300204672368640,3892326905403764736
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->get_sibling 0,3801568794821824512,3867194115167576064
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->sched_disable 0,3470322737079640064
PARAM_VALUE 1 engine->cops->unpin 4096-ptr_max
PARAM_VALUE 1 engine->cops->update_stats 0,7182017842297241600
PARAM_VALUE 1 engine->gt->i915->drm.anon_inode->i_mapping->host->i_sb->s_cop->empty_dir 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144
PARAM_VALUE 1 engine->gt->i915->drm.anon_inode->i_mapping->host->i_sb->s_cop->get_context 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416
PARAM_VALUE 1 engine->gt->i915->drm.anon_inode->i_mapping->host->i_sb->s_cop->set_context 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112
PARAM_VALUE 1 engine->gt->i915->drm.anon_inode->i_mapping->host->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max
PARAM_VALUE 1 engine->gt->i915->drm.anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,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->kernel_context->engine->gt->i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 engine->kernel_context->engine->wakeref.i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 engine->kernel_context->ring->vma->vm->gt->uncore->rpm->kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 engine->kernel_context->ring->vma->vm->i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 engine->kernel_context->state->vm->i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 engine->kernel_context->vm->gt->wakeref.i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 engine->reg_tables->num_regs 7,34,40,66
PARAM_VALUE 1 engine->reg_tables->regs 1732485791678484480,3151014299732463616,3966771345603833856,8261069889012371456
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
PARAM_VALUE 1 engine->wakeref.ops->get 2518513893018693632,7455521386479726592
PARAM_VALUE 1 engine->wakeref.ops->put 4290303708860280832,5113273690340397056
BUF_SIZE 1 engine->breadcrumbs (-1),264
BUF_SIZE 1 engine->legacy.ring (-1),56
BUF_SIZE 1 engine->legacy.timeline (-1),728
BUF_SIZE 1 engine->sched_engine (-1),288
BUF_SIZE 1 engine->wa_ctx.vma (-1)-s32max
DATA_SOURCE 0 ce r intel_context_alloc
DATA_SOURCE 1 engine $0
STR_LEN 0 ce (-1),3,6-7,11,14,17
STR_LEN 1 engine (-1),3,6-7,11,14,17
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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 1 engine->gt->perf.sseu.min_eus_per_subslice
NO_OVERFLOW_SIMPLE 1 engine->gt->rps.cur_freq
NO_OVERFLOW_SIMPLE 1 engine->gt->rps.last_freq
NO_OVERFLOW_SIMPLE 1 engine->legacy.ring->effective_size
NO_OVERFLOW_SIMPLE 1 engine->legacy.ring->size
NO_OVERFLOW_SIMPLE 1 engine->status_page.vma->fence_size
NO_OVERFLOW_SIMPLE 1 engine->status_page.vma->size
NO_OVERFLOW_SIMPLE 1 engine->wa_ctx.vma->fence_size
NO_OVERFLOW_SIMPLE 1 engine->wa_ctx.vma->size
HALF_LOCKED2 &file_priv->proto_context_lock
HALF_LOCKED2 &gvt->lock
HALF_LOCKED2 __flags

drivers/gpu/drm/i915/gt/intel_execlists_submission.c execlists_create_virtual() -> intel_context_init()

Type Parameter Key Value
PARAM_VALUE 0 ce 4096-ptr_max
PARAM_VALUE 1 engine 4096-ptr_max
PARAM_VALUE 1 engine->class 4
PARAM_VALUE 1 engine->cops 2113523988407607296
PARAM_VALUE 1 engine->execlists.port_mask 1
PARAM_VALUE 1 engine->id u32max
PARAM_VALUE 1 engine->instance 254
PARAM_VALUE 1 engine->request_alloc 6794170780317483008
PARAM_VALUE 1 engine->saturated u32max
PARAM_VALUE 1 engine->sched_engine 4096-ptr_max
PARAM_VALUE 1 engine->submit_request 7553737688113283072
PARAM_VALUE 1 engine->uabi_class u16max
PARAM_VALUE 1 engine->uabi_instance 65534
RX_PATH
NOCHECK_CALL
HALF_LOCKED2 &file_priv->proto_context_lock

drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c guc_create_virtual() -> intel_context_init()

Type Parameter Key Value
PARAM_VALUE 0 ce 4096-ptr_max
PARAM_VALUE 1 engine 4096-ptr_max
PARAM_VALUE 1 engine->bump_serial 3221135095389405184
PARAM_VALUE 1 engine->cops 2806215051756974080
PARAM_VALUE 1 engine->flags 32
PARAM_VALUE 1 engine->id u32max
PARAM_VALUE 1 engine->instance 254
PARAM_VALUE 1 engine->mask 2147483648
PARAM_VALUE 1 engine->request_alloc 3820491741448945664
PARAM_VALUE 1 engine->saturated u32max
PARAM_VALUE 1 engine->sched_engine 4096-ptr_max
PARAM_VALUE 1 engine->submit_request 3238686115826343936
PARAM_VALUE 1 engine->uabi_class u16max
PARAM_VALUE 1 engine->uabi_instance 65534
RX_PATH
NOCHECK_CALL
HALF_LOCKED2 &file_priv->proto_context_lock