Documented in 1 files:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/gpu/drm/i915/i915_perf.c i915_perf_open_ioctl_locked() -> i915_oa_stream_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stream | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->ctx | 0,4096-ptr_max |
| PARAM_VALUE | 0 | stream->perf | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->perf->i915 | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->poll_oa_period | 100000-u64max |
| PARAM_VALUE | 1 | param | 4096-ptr_max |
| PARAM_VALUE | 1 | param->flags | 0-6 |
| PARAM_VALUE | 1 | param->num_properties | 1-10 |
| PARAM_VALUE | 2 | props | 7602005687076081664 |
| PARAM_VALUE | 2 | props->ctx_handle | 0 |
| PARAM_VALUE | 2 | props->engine | 4096-ptr_max |
| PARAM_VALUE | 2 | props->engine->i915 | 4096-ptr_max |
| PARAM_VALUE | 2 | props->has_sseu | 0 |
| PARAM_VALUE | 2 | props->hold_preemption | 0 |
| PARAM_VALUE | 2 | props->oa_format | 0-14 |
| PARAM_VALUE | 2 | props->oa_period_exponent | 0-31 |
| PARAM_VALUE | 2 | props->poll_oa_period | 100000-u64max |
| PARAM_VALUE | 2 | props->sample_flags | 0-2 |
| PARAM_VALUE | 2 | props->single_context | 0 |
| BUF_SIZE | 0 | stream | 544 |
| BUF_SIZE | 0 | stream->ctx | (-1)-0,920 |
| BUF_SIZE | 0 | stream->perf | 584 |
| BUF_SIZE | 1 | param | 128-16383 |
| BUF_SIZE | 1 | param | 128-16383 |
| CAPPED_DATA | 1 | param->num_properties | 1 |
| DATA_SOURCE | 0 | stream | r _kzalloc_noprof |
| DATA_SOURCE | 1 | param | $1 |
| DATA_SOURCE | 2 | props | $2 |
| NOSPEC | 1 | param->num_properties | |
| HARD_MAX | 1 | param->num_properties | 10 |
| MEM_ZERO | 2 | props | |
| USER_DATA | 0 | stream->poll_oa_period | 100000-u64max |
| USER_DATA | 1 | param->flags | 0-6[u] |
| USER_DATA | 1 | param->num_properties | 1-10[c] |
| USER_DATA | 1 | param->properties_ptr | 0-u64max[u] |
| USER_DATA | 2 | props->ctx_handle | 0 |
| USER_DATA | 2 | props->hold_preemption | 0 |
| USER_DATA | 2 | props->metrics_set | s32min-s32max |
| USER_DATA | 2 | props->oa_format | 1-14 |
| USER_DATA | 2 | props->oa_period_exponent | 0-31 |
| USER_DATA | 2 | props->poll_oa_period | 100000-u64max |
| USER_DATA | 2 | props->sseu.slice_mask | 0-255 |
| USER_DATA | 2 | props->sseu.subslice_mask | 0-255 |
| NO_OVERFLOW_SIMPLE | 2 | props->sseu.min_eus_per_subslice | |
| USER_PTR | 1 | param | |
| LOCK2 | >->perf.lock | ||
| TYPE_LOCK | (struct i915_perf_gt)->lock |
drivers/gpu/drm/i915/i915_perf.c test_stream() -> i915_oa_stream_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stream | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->perf | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->perf->i915 | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->perf->metrics_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | stream->perf->metrics_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | param | 6215846206278090752 |
| PARAM_VALUE | 1 | param->flags | 0 |
| PARAM_VALUE | 1 | param->num_properties | 0 |
| PARAM_VALUE | 2 | props | 1832543446712922112 |
| PARAM_VALUE | 2 | props->ctx_handle | 0 |
| PARAM_VALUE | 2 | props->engine | 4096-ptr_max |
| PARAM_VALUE | 2 | props->has_sseu | 0 |
| PARAM_VALUE | 2 | props->hold_preemption | 0 |
| PARAM_VALUE | 2 | props->oa_format | 7,10 |
| PARAM_VALUE | 2 | props->oa_period_exponent | 0 |
| PARAM_VALUE | 2 | props->oa_periodic | 0 |
| PARAM_VALUE | 2 | props->poll_oa_period | 0 |
| PARAM_VALUE | 2 | props->sample_flags | 1 |
| BUF_SIZE | 0 | stream | 544 |
| CAPPED_DATA | 0 | stream->perf->metrics_idr.idr_base | 1 |
| DATA_SOURCE | 0 | stream | r _kzalloc_noprof |
| LOCK2 | >->perf.lock | ||
| TYPE_LOCK | (struct i915_perf_gt)->lock |