Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- drivers/gpu/drm/i915/gt/intel_context.c
- drivers/gpu/drm/i915/gt/intel_gt_buffer_pool.h, line 36
- drivers/gpu/drm/i915/gt/intel_timeline.c
- drivers/gpu/drm/i915/gt/selftest_engine_heartbeat.c
- drivers/gpu/drm/i915/gt/selftest_execlists.c, line 537
- drivers/gpu/drm/i915/i915_active.c
- drivers/gpu/drm/i915/i915_vma.c, line 1594
- drivers/gpu/drm/i915/selftests/i915_active.c
Smatch caller information:
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c intel_gt_buffer_pool_put() -> i915_active_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 1-u64max |
| NOCHECK_CALL |
drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c __live_idle_pulse() -> i915_active_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 4096-ptr_max |
| PARAM_VALUE | 0 | ref->active | 2181306273769603072 |
| PARAM_VALUE | 0 | ref->cache | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ref->excl.cb.func | 1-u64max |
| PARAM_VALUE | 0 | ref->flags | 0 |
| PARAM_VALUE | 0 | ref->retire | 3765471568815403008 |
| PARAM_VALUE | 0 | ref->tree.rb_node | 4096-ptr_max |
| NOCHECK_CALL |
drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c __live_idle_pulse() -> i915_active_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 4096-ptr_max |
| PARAM_VALUE | 0 | ref->active | 2181306273769603072 |
| PARAM_VALUE | 0 | ref->cache | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ref->excl.cb.func | 1-u64max |
| PARAM_VALUE | 0 | ref->flags | 0 |
| PARAM_VALUE | 0 | ref->retire | 3765471568815403008 |
| PARAM_VALUE | 0 | ref->tree.rb_node | 4096-ptr_max |
| NOCHECK_CALL |
drivers/gpu/drm/i915/i915_vma.c i915_vma_pin_ww() -> i915_active_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &vma->vm->mutex | ||
| HALF_LOCKED2 | >->perf.lock | ||
| HALF_LOCKED2 | __flags | ||
| HALF_LOCKED2 | bo->base.resv | ||
| HALF_LOCKED2 | ce->timeline->hwsp_ggtt->obj->base.resv | ||
| HALF_LOCKED2 | engine->legacy.ring->vma->obj->base.resv | ||
| HALF_LOCKED2 | obj->base.resv | ||
| HALF_LOCKED2 | ppgtt->pd->pt.base->base.resv | ||
| HALF_LOCKED2 | rpcs->base.resv | ||
| HALF_LOCKED2 | timeline->hwsp_ggtt->obj->base.resv | ||
| HALF_LOCKED2 | vma->obj->base.resv | ||
| TYPE_LOCK | (struct i915_address_space)->mutex |
drivers/gpu/drm/i915/gt/intel_context.c __context_unpin_state() -> i915_active_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | ce->ring->vma->obj->base.resv | ||
| HALF_LOCKED2 | ce->timeline->hwsp_ggtt->obj->base.resv | ||
| HALF_LOCKED2 | vma->obj->base.resv |
drivers/gpu/drm/i915/gt/intel_context.c __intel_context_do_pin_ww() -> i915_active_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | ce->ring->vma->obj->base.resv | ||
| LOCK2 | ce->timeline->hwsp_ggtt->obj->base.resv | ||
| HALF_LOCKED2 | >->perf.lock | ||
| HALF_LOCKED2 | &pxp->tee_mutex | ||
| HALF_LOCKED2 | __flags | ||
| HALF_LOCKED2 | ce->state->obj->base.resv | ||
| HALF_LOCKED2 | pkt->bb_vma->obj->base.resv | ||
| HALF_LOCKED2 | pkt->heci_pkt_vma->obj->base.resv | ||
| HALF_LOCKED2 | scratch->obj->base.resv |
drivers/gpu/drm/i915/gt/intel_context.c __ring_retire() -> i915_active_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | ce->timeline->hwsp_ggtt->obj->base.resv | ||
| HALF_LOCKED2 | ring->vma->obj->base.resv |
drivers/gpu/drm/i915/gt/intel_context.c intel_context_active_acquire() -> i915_active_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 4096-ptr_max |
| PARAM_VALUE | 0 | ref->cache | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ref->tree.rb_node | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ce->pin_mutex | ||
| LOCK2 | ce->ring->vma->obj->base.resv | ||
| LOCK2 | ce->timeline->hwsp_ggtt->obj->base.resv | ||
| HALF_LOCKED2 | >->perf.lock | ||
| HALF_LOCKED2 | &pxp->tee_mutex | ||
| HALF_LOCKED2 | __flags | ||
| HALF_LOCKED2 | ce->state->obj->base.resv | ||
| HALF_LOCKED2 | pkt->bb_vma->obj->base.resv | ||
| HALF_LOCKED2 | pkt->heci_pkt_vma->obj->base.resv | ||
| HALF_LOCKED2 | scratch->obj->base.resv | ||
| TYPE_LOCK | (struct intel_context)->pin_mutex |
drivers/gpu/drm/i915/gt/intel_context.c intel_context_active_release() -> i915_active_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 4096-ptr_max |
| PARAM_VALUE | 0 | ref->tree.rb_node | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ce->pin_mutex | ||
| HALF_LOCKED2 | >->perf.lock | ||
| HALF_LOCKED2 | &pxp->tee_mutex | ||
| HALF_LOCKED2 | __flags | ||
| HALF_LOCKED2 | ce->ring->vma->obj->base.resv | ||
| HALF_LOCKED2 | ce->timeline->hwsp_ggtt->obj->base.resv | ||
| HALF_LOCKED2 | pkt->bb_vma->obj->base.resv | ||
| HALF_LOCKED2 | pkt->heci_pkt_vma->obj->base.resv |
drivers/gpu/drm/i915/i915_active.c __i915_active_wait() -> i915_active_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 4096-ptr_max |
| PARAM_VALUE | 0 | ref->count.counter | 0-s32max |
| PARAM_VALUE | 0 | ref->excl.fence->refcount.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | ref->tree.rb_node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ref->tree.rb_node->rb_left | 0 |
| PARAM_VALUE | 0 | ref->tree.rb_node->rb_right | 0 |
| BUF_SIZE | 0 | ref | (-1),392 |
| BUF_SIZE | 0 | ref | (-1),392 |
| DATA_SOURCE | 0 | ref | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | >->perf.lock |
drivers/gpu/drm/i915/i915_active.c __live_active_setup() -> i915_active_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 4096-ptr_max |
| PARAM_VALUE | 0 | ref->active | 6867716983066923008 |
| PARAM_VALUE | 0 | ref->excl.cb.func | 1-u64max |
| PARAM_VALUE | 0 | ref->flags | 0 |
| PARAM_VALUE | 0 | ref->retire | 6838403511717707776 |
| NOCHECK_CALL |
drivers/gpu/drm/i915/i915_active.c await_active() -> i915_active_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 4096-ptr_max |
| PARAM_VALUE | 0 | ref->count.counter | 0-s32max |
| DATA_SOURCE | 0 | ref | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | >->perf.lock | ||
| HALF_LOCKED2 | vma->obj->base.resv |
drivers/gpu/drm/i915/i915_active.c i915_active_add_request() -> i915_active_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 4096-ptr_max |
| DATA_SOURCE | 0 | ref | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | >->perf.lock | ||
| HALF_LOCKED2 | vma->obj->base.resv |
drivers/gpu/drm/i915/i915_active.c i915_active_print() -> i915_active_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 4096-ptr_max |
| PARAM_VALUE | 0 | ref->active | 2181306273769603072,6867716983066923008 |
| PARAM_VALUE | 0 | ref->count.counter | 0-s32max |
| PARAM_VALUE | 0 | ref->excl.cb.func | 1-u64max |
| PARAM_VALUE | 0 | ref->flags | 0 |
| PARAM_VALUE | 0 | ref->retire | 3765471568815403008,6838403511717707776 |
| PARAM_VALUE | 0 | ref->tree.rb_node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ref->tree.rb_node->rb_left | 0 |
| PARAM_VALUE | 0 | ref->tree.rb_node->rb_right | 0 |
| DATA_SOURCE | 0 | ref | $0 |
| NOCHECK_CALL |
drivers/gpu/drm/i915/i915_active.c i915_active_unlock_wait() -> i915_active_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 4096-ptr_max |
| PARAM_VALUE | 0 | ref->tree.rb_node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ref->tree.rb_node->rb_left | 0 |
| PARAM_VALUE | 0 | ref->tree.rb_node->rb_right | 0 |
| DATA_SOURCE | 0 | ref | $0 |
| NOCHECK_CALL |
drivers/gpu/drm/i915/i915_active.c live_active_barrier() -> i915_active_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 4096-ptr_max |
| PARAM_VALUE | 0 | ref->active | 6867716983066923008 |
| PARAM_VALUE | 0 | ref->cache | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ref->excl.cb.func | 1-u64max |
| PARAM_VALUE | 0 | ref->flags | 0 |
| PARAM_VALUE | 0 | ref->retire | 6838403511717707776 |
| NOCHECK_CALL |
drivers/gpu/drm/i915/gt/intel_timeline.c intel_timeline_pin() -> i915_active_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | tl->hwsp_ggtt->obj->base.resv | ||
| HALF_LOCKED2 | ce->ring->vma->obj->base.resv | ||
| HALF_LOCKED2 | engine->legacy.ring->vma->obj->base.resv |
drivers/gpu/drm/i915/gt/intel_timeline.c intel_timeline_read_hwsp() -> i915_active_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 4096-ptr_max |
| PARAM_VALUE | 0 | ref->count.counter | 0-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | rcu_read |
drivers/gpu/drm/i915/gt/intel_timeline.c intel_timeline_read_hwsp() -> i915_active_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/i915/gt/intel_timeline.c intel_timeline_unpin() -> i915_active_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | ce->ring->vma->obj->base.resv | ||
| HALF_LOCKED2 | engine->legacy.ring->vma->obj->base.resv | ||
| HALF_LOCKED2 | gen7_wa_vma->obj->base.resv | ||
| HALF_LOCKED2 | tl->hwsp_ggtt->obj->base.resv |
drivers/gpu/drm/i915/gt/intel_execlists_submission.c live_pin_rewind() -> i915_active_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 4096-ptr_max |
| PARAM_VALUE | 0 | ref->active | 3338555125794725888 |
| PARAM_VALUE | 0 | ref->excl.cb.func | 1-u64max |
| PARAM_VALUE | 0 | ref->flags | 0 |
| PARAM_VALUE | 0 | ref->retire | 549235443701104640 |
| NOCHECK_CALL |