Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/i915/gem/i915_gem_context.c engines_idle_release() -> i915_gem_context_get()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->engines 0
PARAM_VALUE 0 ctx->engines_mutex.dep_map->name 0-255
PARAM_VALUE 0 ctx->engines_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ctx->engines_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctx->engines_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctx->engines_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ctx->engines_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 ctx->engines_mutex.wait_lock.owner_cpu u32max
BUF_SIZE 0 ctx (-1)-s32max
BUF_SIZE 0 ctx (-1)-s32max
BUF_SIZE 0 ctx->i915 (-1),424,1216
DATA_SOURCE 0 ctx $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &ctx->engines_mutex
TYPE_LOCK (struct i915_gem_context)->engines_mutex

drivers/gpu/drm/i915/gem/i915_gem_context.c finalize_create_context_locked() -> i915_gem_context_get()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->engines 4096-ptr_max
PARAM_VALUE 0 ctx->engines->fence.error 0
PARAM_VALUE 0 ctx->engines->fence.pending.counter 1
PARAM_VALUE 0 ctx->engines->fence.wait.head.next 4096-ptr_max
PARAM_VALUE 0 ctx->engines->fence.wait.head.prev 4096-ptr_max
PARAM_VALUE 0 ctx->engines_mutex.dep_map->name 0-255
PARAM_VALUE 0 ctx->engines_mutex.first_waiter 0
PARAM_VALUE 0 ctx->engines_mutex.magic 4096-ptr_max
PARAM_VALUE 0 ctx->engines_mutex.osq.tail.counter 0
PARAM_VALUE 0 ctx->engines_mutex.owner.counter 0
PARAM_VALUE 0 ctx->handles_vma.xa_flags 3264
PARAM_VALUE 0 ctx->handles_vma.xa_head 0
PARAM_VALUE 0 ctx->hang_timestamp 4096-ptr_max
PARAM_VALUE 0 ctx->link.next 4096-ptr_max
PARAM_VALUE 0 ctx->link.next->next 4096-ptr_max
PARAM_VALUE 0 ctx->link.prev 4096-ptr_max
PARAM_VALUE 0 ctx->link.prev->next 4096-ptr_max
PARAM_VALUE 0 ctx->link.prev->prev 4096-ptr_max
PARAM_VALUE 0 ctx->lut_mutex.dep_map->name 0-255
PARAM_VALUE 0 ctx->lut_mutex.first_waiter 0
PARAM_VALUE 0 ctx->lut_mutex.magic 4096-ptr_max
PARAM_VALUE 0 ctx->lut_mutex.osq.tail.counter 0
PARAM_VALUE 0 ctx->lut_mutex.owner.counter 0
PARAM_VALUE 0 ctx->mutex.dep_map->name 0-255
PARAM_VALUE 0 ctx->mutex.first_waiter 0
PARAM_VALUE 0 ctx->mutex.magic 4096-ptr_max
PARAM_VALUE 0 ctx->mutex.osq.tail.counter 0
PARAM_VALUE 0 ctx->mutex.owner.counter 0
PARAM_VALUE 0 ctx->ref.refcount.refs.counter 1
PARAM_VALUE 0 ctx->stale.engines.next 4096-ptr_max
PARAM_VALUE 0 ctx->stale.engines.next->next 4096-ptr_max
PARAM_VALUE 0 ctx->stale.engines.prev 4096-ptr_max
PARAM_VALUE 0 ctx->stale.engines.prev->next 4096-ptr_max
PARAM_VALUE 0 ctx->stale.engines.prev->prev 4096-ptr_max
BUF_SIZE 0 ctx 920
DATA_SOURCE 0 ctx r i915_gem_create_context
NOCHECK_CALL
LOCK2 &file_priv->proto_context_lock
HALF_LOCKED2 &gt->perf.lock
TYPE_LOCK (struct drm_i915_file_private)->proto_context_lock

drivers/gpu/drm/i915/gem/i915_gem_object.c i915_gem_close_object() -> i915_gem_context_get()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
CAPPED_DATA 0 ctx->file_priv 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &obj->lut_lock
HALF_LOCKED2 &dev->object_name_lock
TYPE_LOCK (struct drm_i915_gem_object)->lut_lock