Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/i915/i915_perf.c gen12_enable_metric_set() -> emit_oa_config()

Type Parameter Key Value
PARAM_VALUE 0 stream 4096-ptr_max
PARAM_VALUE 0 stream->ctx 0,4096-ptr_max
PARAM_VALUE 0 stream->ctx->engines_mutex.dep_map->name 0-255
PARAM_VALUE 0 stream->ctx->engines_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 stream->ctx->engines_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 stream->ctx->engines_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 stream->ctx->engines_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 stream->ctx->engines_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 stream->ctx->engines_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 stream->ctx->engines_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 stream->engine 4096-ptr_max
PARAM_VALUE 0 stream->engine->gt 4096-ptr_max
PARAM_VALUE 0 stream->engine->gt->ggtt->vm.unbound_list.prev 4096-ptr_max
PARAM_VALUE 0 stream->engine->gt->ggtt->vm.unbound_list.prev->next 4096-ptr_max
PARAM_VALUE 0 stream->engine->gt->ggtt->vm.unbound_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 stream->engine->gt->uncore 4096-ptr_max
PARAM_VALUE 0 stream->engine->oa_group 4096-ptr_max
PARAM_VALUE 0 stream->engine->wakeref.i915->runtime_pm.debug.list.next->next 4096-ptr_max
PARAM_VALUE 0 stream->engine->wakeref.i915->runtime_pm.debug.list.next->prev 4096-ptr_max
PARAM_VALUE 0 stream->engine->wakeref.i915->runtime_pm.kdev->power.request 0-4
PARAM_VALUE 0 stream->engine->wakeref.i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 stream->noa_wait 4096-ptr_max
PARAM_VALUE 0 stream->noa_wait->obj 4096-ptr_max
PARAM_VALUE 0 stream->oa_buffer.format 4096-ptr_max
PARAM_VALUE 0 stream->oa_buffer.format->format 0-2,4-7
PARAM_VALUE 0 stream->oa_buffer.format->size 64,128,192,256
PARAM_VALUE 0 stream->oa_buffer.vaddr 1-ptr_max
PARAM_VALUE 0 stream->oa_buffer.vma 4096-ptr_max
PARAM_VALUE 0 stream->oa_buffer.vma->active.work.entry.next 4096-ptr_max
PARAM_VALUE 0 stream->oa_buffer.vma->obj 4096-ptr_max
PARAM_VALUE 0 stream->oa_config 4096-ptr_max
PARAM_VALUE 0 stream->oa_config->ref.refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 stream->ops 5387840835273883648
PARAM_VALUE 0 stream->perf 4096-ptr_max
PARAM_VALUE 0 stream->perf->i915 4096-ptr_max
PARAM_VALUE 0 stream->perf->i915->__info 4096-ptr_max
PARAM_VALUE 0 stream->perf->metrics_kobj 1-u64max
PARAM_VALUE 0 stream->perf->oa_formats 4096-ptr_max
PARAM_VALUE 0 stream->perf->ops.enable_metric_set 1-u64max
PARAM_VALUE 0 stream->pinned_ctx->engine->gt->i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 stream->pinned_ctx->engine->wakeref.i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 stream->pinned_ctx->parallel.parent->active.cache->timeline 0-s64max
PARAM_VALUE 0 stream->pinned_ctx->vm->gt->wakeref.i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 stream->pinned_ctx->wakeref->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 stream->pinned_ctx->wakeref->dead 0-1
PARAM_VALUE 0 stream->pinned_ctx->wakeref->free_stack_handle 0-4294967295
PARAM_VALUE 0 stream->sample_flags 0-2
PARAM_VALUE 0 stream->sample_size 72,136,200,264
PARAM_VALUE 0 stream->uncore 4096-ptr_max
PARAM_VALUE 0 stream->uncore->debug->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 stream->uncore->funcs.mmio_readl 4096-ptr_max
PARAM_VALUE 0 stream->uncore->funcs.mmio_writel 4096-ptr_max
PARAM_VALUE 0 stream->uncore->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 oa_config 4096-ptr_max
PARAM_VALUE 1 oa_config->ref.refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 3 active 4096-ptr_max
PARAM_VALUE 3 active->active 8031416924670660608
PARAM_VALUE 3 active->cache->base.fence 0
PARAM_VALUE 3 active->cache->timeline 0-s64max
PARAM_VALUE 3 active->excl.cb.func 1-u64max
PARAM_VALUE 3 active->excl.fence 0
PARAM_VALUE 3 active->flags 0
PARAM_VALUE 3 active->preallocated_barriers.first 0
PARAM_VALUE 3 active->retire 2800669121784504320
BUF_SIZE 0 stream->ctx (-1)-0,920
BUF_SIZE 0 stream->ops 48
BUF_SIZE 3 active 392
CAPPED_DATA 0 stream->engine 1
DATA_SOURCE 0 stream $0
DATA_SOURCE 3 active $1
USER_DATA 0 stream->engine->gt->perf.sseu.slice_mask 0-255
USER_DATA 0 stream->engine->gt->perf.sseu.subslice_mask 0-255
USER_DATA 0 stream->hold_preemption 0-1
USER_DATA 0 stream->period_exponent 0-31
USER_DATA 0 stream->poll_oa_period 100000-u64max
NO_OVERFLOW_SIMPLE 0 stream->engine->gt->perf.sseu.min_eus_per_subslice
NO_OVERFLOW_SIMPLE 0 stream->noa_wait->fence_size
NO_OVERFLOW_SIMPLE 0 stream->noa_wait->size
NO_OVERFLOW_SIMPLE 0 stream->oa_buffer.vma->fence_size
NO_OVERFLOW_SIMPLE 0 stream->oa_buffer.vma->size
LOCK2 &gt->perf.lock
HALF_LOCKED2 __flags
TYPE_LOCK (struct i915_perf_gt)->lock

drivers/gpu/drm/i915/i915_perf.c gen8_enable_metric_set() -> emit_oa_config()

Type Parameter Key Value
PARAM_VALUE 0 stream 4096-ptr_max
PARAM_VALUE 0 stream->ctx 0,4096-ptr_max
PARAM_VALUE 0 stream->ctx->engines_mutex.dep_map->name 0-255
PARAM_VALUE 0 stream->ctx->engines_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 stream->ctx->engines_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 stream->ctx->engines_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 stream->ctx->engines_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 stream->ctx->engines_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 stream->ctx->engines_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 stream->ctx->engines_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 stream->engine 4096-ptr_max
PARAM_VALUE 0 stream->engine->gt 4096-ptr_max
PARAM_VALUE 0 stream->engine->gt->ggtt->vm.unbound_list.prev 4096-ptr_max
PARAM_VALUE 0 stream->engine->gt->ggtt->vm.unbound_list.prev->next 4096-ptr_max
PARAM_VALUE 0 stream->engine->gt->ggtt->vm.unbound_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 stream->engine->gt->uncore 4096-ptr_max
PARAM_VALUE 0 stream->engine->oa_group 4096-ptr_max
PARAM_VALUE 0 stream->engine->wakeref.i915->runtime_pm.debug.list.next->next 4096-ptr_max
PARAM_VALUE 0 stream->engine->wakeref.i915->runtime_pm.debug.list.next->prev 4096-ptr_max
PARAM_VALUE 0 stream->engine->wakeref.i915->runtime_pm.kdev->power.request 0-4
PARAM_VALUE 0 stream->engine->wakeref.i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 stream->noa_wait 4096-ptr_max
PARAM_VALUE 0 stream->noa_wait->obj 4096-ptr_max
PARAM_VALUE 0 stream->oa_buffer.format 4096-ptr_max
PARAM_VALUE 0 stream->oa_buffer.format->size 64,128,192,256
PARAM_VALUE 0 stream->oa_buffer.vaddr 1-ptr_max
PARAM_VALUE 0 stream->oa_buffer.vma 4096-ptr_max
PARAM_VALUE 0 stream->oa_buffer.vma->active.work.entry.next 4096-ptr_max
PARAM_VALUE 0 stream->oa_buffer.vma->obj 4096-ptr_max
PARAM_VALUE 0 stream->oa_config 4096-ptr_max
PARAM_VALUE 0 stream->oa_config->ref.refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 stream->ops 5387840835273883648
PARAM_VALUE 0 stream->perf 4096-ptr_max
PARAM_VALUE 0 stream->perf->i915 4096-ptr_max
PARAM_VALUE 0 stream->perf->metrics_kobj 1-u64max
PARAM_VALUE 0 stream->perf->oa_formats 4096-ptr_max
PARAM_VALUE 0 stream->perf->ops.enable_metric_set 1-u64max
PARAM_VALUE 0 stream->pinned_ctx->engine->gt->i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 stream->pinned_ctx->engine->wakeref.i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 stream->pinned_ctx->parallel.parent->active.cache->timeline 0-s64max
PARAM_VALUE 0 stream->pinned_ctx->vm->gt->wakeref.i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 stream->pinned_ctx->wakeref->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 stream->pinned_ctx->wakeref->dead 0-1
PARAM_VALUE 0 stream->pinned_ctx->wakeref->free_stack_handle 0-4294967295
PARAM_VALUE 0 stream->sample_flags 0-2
PARAM_VALUE 0 stream->sample_size 72,136,200,264
PARAM_VALUE 0 stream->uncore 4096-ptr_max
PARAM_VALUE 1 oa_config 4096-ptr_max
PARAM_VALUE 1 oa_config->ref.refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 3 active 4096-ptr_max
PARAM_VALUE 3 active->active 8031416924670660608
PARAM_VALUE 3 active->cache->base.fence 0
PARAM_VALUE 3 active->excl.cb.func 1-u64max
PARAM_VALUE 3 active->excl.fence 0
PARAM_VALUE 3 active->flags 0
PARAM_VALUE 3 active->preallocated_barriers.first 0
PARAM_VALUE 3 active->retire 2800669121784504320
PARAM_VALUE 3 active->tree.rb_node->__rb_parent_color 0
PARAM_VALUE 3 active->work.entry.next 4096-ptr_max
PARAM_VALUE 3 active->work.entry.next->prev 4096-ptr_max
BUF_SIZE 0 stream->ctx (-1)-0,920
BUF_SIZE 0 stream->ops 48
BUF_SIZE 3 active 392
CAPPED_DATA 0 stream->engine 1
DATA_SOURCE 0 stream $0
DATA_SOURCE 3 active $1
USER_DATA 0 stream->engine->gt->perf.sseu.slice_mask 0-255
USER_DATA 0 stream->engine->gt->perf.sseu.subslice_mask 0-255
USER_DATA 0 stream->hold_preemption 0-1
USER_DATA 0 stream->period_exponent 0-31
USER_DATA 0 stream->poll_oa_period 100000-u64max
NO_OVERFLOW_SIMPLE 0 stream->engine->gt->perf.sseu.min_eus_per_subslice
NO_OVERFLOW_SIMPLE 0 stream->noa_wait->fence_size
NO_OVERFLOW_SIMPLE 0 stream->noa_wait->size
NO_OVERFLOW_SIMPLE 0 stream->oa_buffer.vma->fence_size
NO_OVERFLOW_SIMPLE 0 stream->oa_buffer.vma->size
LOCK2 &gt->perf.lock
TYPE_LOCK (struct i915_perf_gt)->lock

drivers/gpu/drm/i915/i915_perf.c hsw_enable_metric_set() -> emit_oa_config()

Type Parameter Key Value
PARAM_VALUE 0 stream 4096-ptr_max
PARAM_VALUE 0 stream->ctx 0,4096-ptr_max
PARAM_VALUE 0 stream->ctx->engines_mutex.dep_map->name 0-255
PARAM_VALUE 0 stream->ctx->engines_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 stream->ctx->engines_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 stream->ctx->engines_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 stream->ctx->engines_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 stream->ctx->engines_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 stream->ctx->engines_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 stream->ctx->engines_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 stream->engine 4096-ptr_max
PARAM_VALUE 0 stream->engine->gt 4096-ptr_max
PARAM_VALUE 0 stream->engine->gt->ggtt->vm.unbound_list.prev 4096-ptr_max
PARAM_VALUE 0 stream->engine->gt->ggtt->vm.unbound_list.prev->next 4096-ptr_max
PARAM_VALUE 0 stream->engine->gt->ggtt->vm.unbound_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 stream->engine->gt->uncore 4096-ptr_max
PARAM_VALUE 0 stream->engine->oa_group 4096-ptr_max
PARAM_VALUE 0 stream->engine->wakeref.i915->runtime_pm.debug.list.next->next 4096-ptr_max
PARAM_VALUE 0 stream->engine->wakeref.i915->runtime_pm.debug.list.next->prev 4096-ptr_max
PARAM_VALUE 0 stream->engine->wakeref.i915->runtime_pm.kdev->power.request 0-4
PARAM_VALUE 0 stream->engine->wakeref.i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 stream->noa_wait 4096-ptr_max
PARAM_VALUE 0 stream->noa_wait->obj 4096-ptr_max
PARAM_VALUE 0 stream->oa_buffer.format 4096-ptr_max
PARAM_VALUE 0 stream->oa_buffer.format->size 64,128,192,256
PARAM_VALUE 0 stream->oa_buffer.vaddr 1-ptr_max
PARAM_VALUE 0 stream->oa_buffer.vma 4096-ptr_max
PARAM_VALUE 0 stream->oa_buffer.vma->active.work.entry.next 4096-ptr_max
PARAM_VALUE 0 stream->oa_buffer.vma->obj 4096-ptr_max
PARAM_VALUE 0 stream->oa_config 4096-ptr_max
PARAM_VALUE 0 stream->oa_config->ref.refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 stream->ops 5387840835273883648
PARAM_VALUE 0 stream->perf 4096-ptr_max
PARAM_VALUE 0 stream->perf->i915 4096-ptr_max
PARAM_VALUE 0 stream->perf->metrics_kobj 1-u64max
PARAM_VALUE 0 stream->perf->oa_formats 4096-ptr_max
PARAM_VALUE 0 stream->perf->ops.enable_metric_set 1-u64max
PARAM_VALUE 0 stream->pinned_ctx->engine->gt->i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 stream->pinned_ctx->engine->wakeref.i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 stream->pinned_ctx->parallel.parent->active.cache->timeline 0-s64max
PARAM_VALUE 0 stream->pinned_ctx->vm->gt->wakeref.i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 stream->pinned_ctx->wakeref->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 stream->pinned_ctx->wakeref->dead 0-1
PARAM_VALUE 0 stream->pinned_ctx->wakeref->free_stack_handle 0-4294967295
PARAM_VALUE 0 stream->sample_flags 0-2
PARAM_VALUE 0 stream->sample_size 72,136,200,264
PARAM_VALUE 0 stream->uncore 4096-ptr_max
PARAM_VALUE 0 stream->uncore->debug->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 stream->uncore->funcs.mmio_readl 4096-ptr_max
PARAM_VALUE 0 stream->uncore->funcs.mmio_writel 4096-ptr_max
PARAM_VALUE 0 stream->uncore->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 oa_config 4096-ptr_max
PARAM_VALUE 1 oa_config->ref.refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 3 active 4096-ptr_max
PARAM_VALUE 3 active->active 8031416924670660608
PARAM_VALUE 3 active->cache 0
PARAM_VALUE 3 active->count.counter 0
PARAM_VALUE 3 active->excl.cb.func 1-u64max
PARAM_VALUE 3 active->excl.fence 0
PARAM_VALUE 3 active->flags 0
PARAM_VALUE 3 active->preallocated_barriers.first 0
PARAM_VALUE 3 active->retire 2800669121784504320
BUF_SIZE 0 stream->ctx (-1)-0,920
BUF_SIZE 0 stream->ops 48
BUF_SIZE 3 active 392
CAPPED_DATA 0 stream->engine 1
DATA_SOURCE 0 stream $0
DATA_SOURCE 3 active $1
USER_DATA 0 stream->engine->gt->perf.sseu.slice_mask 0-255
USER_DATA 0 stream->engine->gt->perf.sseu.subslice_mask 0-255
USER_DATA 0 stream->hold_preemption 0-1
USER_DATA 0 stream->period_exponent 0-31
USER_DATA 0 stream->poll_oa_period 100000-u64max
NO_OVERFLOW_SIMPLE 0 stream->engine->gt->perf.sseu.min_eus_per_subslice
NO_OVERFLOW_SIMPLE 0 stream->noa_wait->fence_size
NO_OVERFLOW_SIMPLE 0 stream->noa_wait->size
NO_OVERFLOW_SIMPLE 0 stream->oa_buffer.vma->fence_size
NO_OVERFLOW_SIMPLE 0 stream->oa_buffer.vma->size
LOCK2 &gt->perf.lock
TYPE_LOCK (struct i915_perf_gt)->lock

drivers/gpu/drm/i915/i915_perf.c i915_perf_config_locked() -> emit_oa_config()

Type Parameter Key Value
PARAM_VALUE 0 stream 4096-ptr_max
PARAM_VALUE 0 stream->lock.dep_map->name 0-255
PARAM_VALUE 0 stream->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 stream->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 stream->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 stream->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 stream->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 stream->lock.wait_lock.owner (-1)
PARAM_VALUE 0 stream->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 stream->oa_config 4096-ptr_max
PARAM_VALUE 0 stream->perf 4096-ptr_max
PARAM_VALUE 1 oa_config 4096-ptr_max
PARAM_VALUE 1 oa_config->ref.refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 3 active 0
BUF_SIZE 0 stream s32min-(-2),1-s32max
BUF_SIZE 0 stream s32min-(-2),1-s32max
DATA_SOURCE 0 stream $0
DATA_SOURCE 1 oa_config r i915_perf_get_oa_config
PARAM_COMPARE 1 oa_config != $0->oa_config
PARAM_COMPARE 1 oa_config != $0->oa_config
LOCK2 0 &stream->lock
TYPE_LOCK (struct i915_perf_stream)->lock