Defined in 1 files as a function:
Referenced in 9 files:
- drivers/gpu/drm/i915/gem/i915_gem_context.c
- drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c, line 3522
- drivers/gpu/drm/i915/gem/i915_gem_object.c, line 290
- drivers/gpu/drm/i915/gem/i915_gem_throttle.c, line 94
- drivers/gpu/drm/i915/gt/intel_context.c, line 83
- drivers/gpu/drm/i915/gt/intel_reset.c, line 111
- drivers/gpu/drm/i915/i915_gpu_error.c, line 1481
- drivers/gpu/drm/i915/i915_perf.c
- drivers/gpu/drm/i915/pxp/intel_pxp.c
Smatch caller information:
drivers/gpu/drm/i915/pxp/intel_pxp.c intel_pxp_invalidate() -> i915_gem_context_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->ref.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | ctx->uses_protected_content | 0 |
| CAPPED_DATA | 0 | &ctx->link | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &i915->gem.contexts.lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct i915_gem_contexts)->lock |
drivers/gpu/drm/i915/pxp/intel_pxp.c intel_pxp_invalidate() -> i915_gem_context_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->engines_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctx->pxp_wakeref | 0 |
| PARAM_VALUE | 0 | ctx->ref.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | ctx->uses_protected_content | 1 |
| CAPPED_DATA | 0 | ctx->engines | 1 |
| CAPPED_DATA | 0 | &ctx->link | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &i915->gem.contexts.lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct i915_gem_contexts)->lock |
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c i915_gem_do_execbuffer() -> i915_gem_context_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx->syncobj | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctx->syncobj->fence | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctx->syncobj->lock.rlock.dep_map->name | 0-255 |
| NOCHECK_CALL |
drivers/gpu/drm/i915/gem/i915_gem_throttle.c i915_gem_throttle_ioctl() -> i915_gem_context_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->engines_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctx->ref.refcount.refs.counter | (-1073741824),0-s32max |
| CAPPED_DATA | 0 | ctx->engines | 1 |
| NOCHECK_CALL |
drivers/gpu/drm/i915/gt/intel_context.c intel_context_alloc_state() -> i915_gem_context_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->client->objects_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->client->objects_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->ref.refcount.refs.counter | (-1073741824),0-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ce->pin_mutex | ||
| TYPE_LOCK | (struct intel_context)->pin_mutex |
drivers/gpu/drm/i915/gem/i915_gem_context.c context_close() -> i915_gem_context_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->client | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctx->client->ctx_lock.rlock.dep_map->name | 0-255 |
| 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.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| 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->file_priv | (-9) |
| PARAM_VALUE | 0 | ctx->lut_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->lut_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctx->lut_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ctx->lut_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->lut_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ctx->lut_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ctx->lut_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctx->lut_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctx->lut_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ctx->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctx->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ctx->mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ctx->mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ctx->mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctx->mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctx->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ctx->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->stale.engines.prev->next->next | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | (-1)-s32max |
| BUF_SIZE | 0 | ctx | (-1)-s32max |
| BUF_SIZE | 0 | ctx->i915 | (-1),424,1216 |
| CAPPED_DATA | 0 | ctx | 1 |
| CAPPED_DATA | 0 | &ctx->engines_mutex | 1 |
| CAPPED_DATA | 0 | &ctx->mutex | 1 |
| DATA_SOURCE | 0 | ctx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/i915/gem/i915_gem_context.c engines_notify() -> i915_gem_context_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | flags |
drivers/gpu/drm/i915/gem/i915_gem_context.c i915_gem_context_getparam_ioctl() -> i915_gem_context_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | (-1),920 |
| BUF_SIZE | 0 | ctx | (-1),920 |
| DATA_SOURCE | 0 | ctx | r i915_gem_context_lookup |
| NOCHECK_CALL |
drivers/gpu/drm/i915/gem/i915_gem_context.c i915_gem_context_reset_stats_ioctl() -> i915_gem_context_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | (-1),920 |
| BUF_SIZE | 0 | ctx | (-1),920 |
| DATA_SOURCE | 0 | ctx | r i915_gem_context_lookup |
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL |
drivers/gpu/drm/i915/gem/i915_gem_context.c i915_gem_context_setparam_ioctl() -> i915_gem_context_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->ref.refcount.refs.counter | (-1073741824),0-s32max |
| DATA_SOURCE | 0 | ctx | r __context_lookup |
| NOCHECK_CALL |
drivers/gpu/drm/i915/i915_gpu_error.c record_context() -> i915_gem_context_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->pid | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctx->ref.refcount.refs.counter | (-1073741824),0-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &capture_mutex |
drivers/gpu/drm/i915/gem/i915_gem_object.c i915_gem_close_object() -> i915_gem_context_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->lut_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->lut_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctx->lut_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ctx->lut_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->lut_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ctx->lut_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ctx->lut_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctx->lut_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctx->lut_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ctx->lut_mutex.wait_lock.dep_map->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->object_name_lock |
drivers/gpu/drm/i915/i915_perf.c i915_perf_destroy_locked() -> i915_gem_context_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | >->perf.lock | ||
| TYPE_LOCK | (struct i915_perf_gt)->lock |
drivers/gpu/drm/i915/i915_perf.c i915_perf_open_ioctl_locked() -> i915_gem_context_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | (-1)-0,920 |
| BUF_SIZE | 0 | ctx | (-1)-0,920 |
| NOCHECK_CALL | |||
| LOCK2 | >->perf.lock | ||
| TYPE_LOCK | (struct i915_perf_gt)->lock |
drivers/gpu/drm/i915/i915_perf.c oa_configure_all_contexts() -> i915_gem_context_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->engines_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctx->ref.refcount.refs.counter | (-1073741824),0-s32max |
| CAPPED_DATA | 0 | ctx->engines | 1 |
| CAPPED_DATA | 0 | &ctx->link | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | >->perf.lock | ||
| TYPE_LOCK | (struct i915_perf_gt)->lock |
drivers/gpu/drm/i915/i915_perf.c oa_configure_all_contexts() -> i915_gem_context_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->engines_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctx->ref.refcount.refs.counter | (-1073741824),0-s32max |
| CAPPED_DATA | 0 | ctx->engines | 1 |
| CAPPED_DATA | 0 | &ctx->link | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | >->perf.lock | ||
| LOCK2 | &i915->gem.contexts.lock | ||
| TYPE_LOCK | (struct i915_gem_contexts)->lock | ||
| TYPE_LOCK | (struct i915_perf_gt)->lock |
drivers/gpu/drm/i915/gt/intel_reset.c mark_guilty() -> i915_gem_context_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->hang_timestamp | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->ref.refcount.refs.counter | (-1073741824),0-s32max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &engine->sched_engine->lock | ||
| HALF_LOCKED2 | flags |