Defined in 1 files as a function:
Referenced in 6 files:
- drivers/gpu/drm/i915/gem/i915_gem_context.c, line 170
- drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c, line 2682
- drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c
- drivers/gpu/drm/i915/gem/selftests/igt_gem_utils.c, line 31
- drivers/gpu/drm/i915/gt/selftest_execlists.c, line 1726
- drivers/gpu/drm/i915/selftests/i915_request.c
Smatch caller information:
drivers/gpu/drm/i915/gem/selftests/igt_gem_utils.c igt_request_alloc() -> i915_gem_context_get_engine()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c eb_select_engine() -> i915_gem_context_get_engine()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| USER_DATA | 1 | idx | 10-11[c] |
drivers/gpu/drm/i915/gem/i915_gem_context.c igt_ctx_exec() -> i915_gem_context_get_engine()
| 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->i915 | 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 |
| PARAM_VALUE | 0 | ctx->user_flags | 12,28 |
| BUF_SIZE | 0 | ctx | 920 |
| BUF_SIZE | 0 | ctx->i915 | (-1),424,1216 |
| DATA_SOURCE | 0 | ctx | r kernel_context |
| BIT_INFO | 0 | ctx->user_flags | 0xc,0xffffffffffffffff |
drivers/gpu/drm/i915/gem/i915_gem_context.c igt_shared_ctx_exec() -> i915_gem_context_get_engine()
| 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->i915 | 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 |
| PARAM_VALUE | 0 | ctx->user_flags | 12,28 |
| BUF_SIZE | 0 | ctx | 920 |
| BUF_SIZE | 0 | ctx->i915 | (-1),424,1216 |
| DATA_SOURCE | 0 | ctx | r kernel_context |
| BIT_INFO | 0 | ctx->user_flags | 0xc,0xffffffffffffffff |
drivers/gpu/drm/i915/gem/i915_gem_context.c lookup_user_engine() -> i915_gem_context_get_engine()
| 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 | $0 |
| USER_DATA | 1 | idx | 0-u16max |
drivers/gpu/drm/i915/gt/intel_execlists_submission.c spinner_create_request() -> i915_gem_context_get_engine()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-u64max |
| BUF_SIZE | 0 | ctx | (-1)-s32max |
| BUF_SIZE | 0 | ctx | (-1)-s32max |
| DATA_SOURCE | 0 | ctx | $1 |
drivers/gpu/drm/i915/i915_request.c __igt_breadcrumbs_smoketest() -> i915_gem_context_get_engine()
| Type | Parameter | Key | Value |
|---|
drivers/gpu/drm/i915/i915_request.c igt_request_rewind() -> i915_gem_context_get_engine()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | idx | 0 |
drivers/gpu/drm/i915/i915_request.c igt_request_rewind() -> i915_gem_context_get_engine()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | idx | 0 |