Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/i915/gt/intel_ring_submission.c clear_residuals() -> mi_set_context()

Type Parameter Key Value
PARAM_VALUE 0 rq 4096-ptr_max
PARAM_VALUE 0 rq->batch 0
PARAM_VALUE 0 rq->context 4096-ptr_max
PARAM_VALUE 0 rq->context->active.cache->timeline 0-s64max
PARAM_VALUE 0 rq->context->engine 4096-ptr_max
PARAM_VALUE 0 rq->context->engine->gt->i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 rq->context->engine->wakeref.i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 rq->context->parallel.parent->active.cache->timeline 0-s64max
PARAM_VALUE 0 rq->context->timeline 4096-ptr_max
PARAM_VALUE 0 rq->context->vm->gt->wakeref.i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 rq->context->wakeref->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 rq->context->wakeref->dead 0-1
PARAM_VALUE 0 rq->context->wakeref->free_stack_handle 0-4294967295
PARAM_VALUE 0 rq->engine 4096-ptr_max
PARAM_VALUE 0 rq->engine->kernel_context 4096-ptr_max
PARAM_VALUE 0 rq->engine->kernel_context->state 1-u64max
PARAM_VALUE 0 rq->engine->kernel_context->vm 4096-ptr_max
PARAM_VALUE 0 rq->engine->wa_ctx.vma 4096-ptr_max
PARAM_VALUE 0 rq->fence.cb_list.next 4096-ptr_max
PARAM_VALUE 0 rq->fence.cb_list.next->next 4096-ptr_max
PARAM_VALUE 0 rq->fence.cb_list.prev 4096-ptr_max
PARAM_VALUE 0 rq->fence.cb_list.prev->next 4096-ptr_max
PARAM_VALUE 0 rq->fence.cb_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 rq->fence.error 0
PARAM_VALUE 0 rq->fence.extern_lock 1-u64max
PARAM_VALUE 0 rq->fence.flags 1,3,5,7
PARAM_VALUE 0 rq->fence.ops 770600201147228160
PARAM_VALUE 0 rq->fence.ops->enable_signaling 0,4096-ptr_max
PARAM_VALUE 0 rq->fence.ops->get_driver_name 4096-ptr_max
PARAM_VALUE 0 rq->fence.ops->get_timeline_name 4096-ptr_max
PARAM_VALUE 0 rq->fence.ops->release 0,4096-ptr_max
PARAM_VALUE 0 rq->fence.ops->set_deadline 0,2004285741546172416,2071105144755478528,2853440610722889728,3558081686514302976,5221404334427111424
PARAM_VALUE 0 rq->fence.ops->signaled 0,4096-ptr_max
PARAM_VALUE 0 rq->fence.ops->wait 0,3162960082638938112,3576649960670945280,4783308308267675648,5257098353859239936
PARAM_VALUE 0 rq->fence.seqno 0-u32max
PARAM_VALUE 0 rq->guc_prio 255
PARAM_VALUE 0 rq->rcustate 0,4-u64max
PARAM_VALUE 0 rq->ring 4096-ptr_max
PARAM_VALUE 0 rq->sched.attr.priority s32min
PARAM_VALUE 0 rq->sched.flags 0
PARAM_VALUE 0 rq->sched.semaphores 0
PARAM_VALUE 0 rq->timeline 4096-ptr_max
PARAM_VALUE 0 rq->watchdog.timer._softexpires 0
PARAM_VALUE 0 rq->watchdog.timer.base 4096-ptr_max
PARAM_VALUE 0 rq->watchdog.timer.function 1-u64max
PARAM_VALUE 0 rq->watchdog.timer.is_hard 0
PARAM_VALUE 0 rq->watchdog.timer.is_lazy 0
PARAM_VALUE 0 rq->watchdog.timer.is_queued 0
PARAM_VALUE 0 rq->watchdog.timer.is_rel 0
PARAM_VALUE 0 rq->watchdog.timer.is_soft 0
PARAM_VALUE 0 rq->watchdog.timer.node.expires 0
PARAM_VALUE 0 rq->watchdog.timer.node.node.next 0
PARAM_VALUE 0 rq->watchdog.timer.node.node.prev 0
PARAM_VALUE 1 ce 4096-ptr_max
PARAM_VALUE 1 ce->state 1-u64max
PARAM_VALUE 1 ce->vm 4096-ptr_max
PARAM_VALUE 2 flags 257
BUF_SIZE 0 rq->context (-1)-s32max
BUF_SIZE 0 rq->timeline (-1),728
CAPPED_DATA 0 rq->ring 1
DATA_SOURCE 0 rq $0
STR_LEN 0 rq->context->engine (-1),3,6
STR_LEN 0 rq->engine (-1),3,6
MEM_ZERO 0 &rq->watchdog.timer
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 rq->engine->execlists.reset_ccid 0-u32max
NO_OVERFLOW_SIMPLE 0 rq->context->ring_size
HALF_LOCKED2 &ce->timeline->mutex
HALF_LOCKED2 &wf->mutex

drivers/gpu/drm/i915/gt/intel_ring_submission.c switch_context() -> mi_set_context()

Type Parameter Key Value
PARAM_VALUE 0 rq 4096-ptr_max
PARAM_VALUE 0 rq->batch 0
PARAM_VALUE 0 rq->context 4096-ptr_max
PARAM_VALUE 0 rq->context->active.cache->timeline 0-s64max
PARAM_VALUE 0 rq->context->engine 4096-ptr_max
PARAM_VALUE 0 rq->context->engine->gt->i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 rq->context->engine->wakeref.i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 rq->context->parallel.parent->active.cache->timeline 0-s64max
PARAM_VALUE 0 rq->context->state 1-u64max
PARAM_VALUE 0 rq->context->timeline 4096-ptr_max
PARAM_VALUE 0 rq->context->vm 4096-ptr_max
PARAM_VALUE 0 rq->context->vm->gt->wakeref.i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 rq->context->wakeref->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 rq->context->wakeref->dead 0-1
PARAM_VALUE 0 rq->context->wakeref->free_stack_handle 0-4294967295
PARAM_VALUE 0 rq->engine 4096-ptr_max
PARAM_VALUE 0 rq->fence.cb_list.next 4096-ptr_max
PARAM_VALUE 0 rq->fence.cb_list.next->next 4096-ptr_max
PARAM_VALUE 0 rq->fence.cb_list.prev 4096-ptr_max
PARAM_VALUE 0 rq->fence.cb_list.prev->next 4096-ptr_max
PARAM_VALUE 0 rq->fence.cb_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 rq->fence.error 0
PARAM_VALUE 0 rq->fence.extern_lock 1-u64max
PARAM_VALUE 0 rq->fence.flags 1,3,5,7
PARAM_VALUE 0 rq->fence.ops 770600201147228160
PARAM_VALUE 0 rq->fence.ops->enable_signaling 0,4096-ptr_max
PARAM_VALUE 0 rq->fence.ops->get_driver_name 4096-ptr_max
PARAM_VALUE 0 rq->fence.ops->get_timeline_name 4096-ptr_max
PARAM_VALUE 0 rq->fence.ops->release 0,4096-ptr_max
PARAM_VALUE 0 rq->fence.ops->set_deadline 0,2004285741546172416,2071105144755478528,2853440610722889728,3558081686514302976,5221404334427111424
PARAM_VALUE 0 rq->fence.ops->signaled 0,4096-ptr_max
PARAM_VALUE 0 rq->fence.ops->wait 0,3162960082638938112,3576649960670945280,4783308308267675648,5257098353859239936
PARAM_VALUE 0 rq->fence.seqno 0-u32max
PARAM_VALUE 0 rq->guc_prio 255
PARAM_VALUE 0 rq->rcustate 0,4-u64max
PARAM_VALUE 0 rq->ring 4096-ptr_max
PARAM_VALUE 0 rq->sched.attr.priority s32min
PARAM_VALUE 0 rq->sched.flags 0
PARAM_VALUE 0 rq->sched.semaphores 0
PARAM_VALUE 0 rq->timeline 4096-ptr_max
PARAM_VALUE 0 rq->watchdog.timer._softexpires 0
PARAM_VALUE 0 rq->watchdog.timer.base 4096-ptr_max
PARAM_VALUE 0 rq->watchdog.timer.function 1-u64max
PARAM_VALUE 0 rq->watchdog.timer.is_hard 0
PARAM_VALUE 0 rq->watchdog.timer.is_lazy 0
PARAM_VALUE 0 rq->watchdog.timer.is_queued 0
PARAM_VALUE 0 rq->watchdog.timer.is_rel 0
PARAM_VALUE 0 rq->watchdog.timer.is_soft 0
PARAM_VALUE 0 rq->watchdog.timer.node.expires 0
PARAM_VALUE 0 rq->watchdog.timer.node.node.next 0
PARAM_VALUE 0 rq->watchdog.timer.node.node.prev 0
PARAM_VALUE 1 ce 4096-ptr_max
PARAM_VALUE 1 ce->engine 4096-ptr_max
PARAM_VALUE 1 ce->state 1-u64max
PARAM_VALUE 1 ce->timeline 4096-ptr_max
PARAM_VALUE 1 ce->vm 4096-ptr_max
PARAM_VALUE 2 flags 265,268
BUF_SIZE 0 rq->context (-1)-s32max
BUF_SIZE 0 rq->timeline (-1),728
BUF_SIZE 1 ce (-1)-s32max
BUF_SIZE 1 ce (-1)-s32max
CAPPED_DATA 0 rq->engine 1
CAPPED_DATA 0 rq->ring 1
CAPPED_DATA 1 ce 1
DATA_SOURCE 0 rq $0
STR_LEN 0 rq->context->engine (-1),3,6
STR_LEN 0 rq->engine (-1),3,6
STR_LEN 1 ce->engine (-1),3,6
BIT_INFO 2 flags 0x108,0x10d
MEM_ZERO 0 &rq->watchdog.timer
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 rq->engine->execlists.reset_ccid 0-u32max
NO_OVERFLOW_SIMPLE 0 rq->context->ring_size
NO_OVERFLOW_SIMPLE 0 rq->ring->size
NO_OVERFLOW_SIMPLE 1 ce->ring_size
HALF_LOCKED2 &ce->timeline->mutex
HALF_LOCKED2 &wf->mutex