Defined in 2 files as a function:
- drivers/gpu/drm/i915/i915_perf.c, line 497 (as a function)
- drivers/gpu/drm/xe/xe_oa.c, line 246 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/gpu/drm/xe/xe_oa.c xe_oa_append_reports() -> oa_timestamp_clear()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stream | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->oa | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->oa_buffer.bo | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->oa_buffer.format | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->oa_buffer.format->header | 0-1 |
| BUF_SIZE | 0 | stream | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | stream | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | stream->gt->mmio.adj_limit | 1 |
| CAPPED_DATA | 0 | stream->oa_buffer.format->size | 1 |
| CAPPED_DATA | 0 | stream->oa_buffer.head | 1 |
| CAPPED_DATA | 1 | report | 1 |
| DATA_SOURCE | 0 | stream | $0 |
| BIT_INFO | 0 | stream->oa_status | 0x0,0xffffffb8 |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | stream->oa_buffer.tail | 0,64-u32max[c] |
| HOST_DATA | 0 | stream->oa_status | 0-u32max |
| LOCK2 | 0 | &stream->stream_lock | |
| TYPE_LOCK | (struct xe_oa_stream)->stream_lock |
drivers/gpu/drm/i915/i915_perf.c gen8_append_oa_reports() -> oa_timestamp_clear()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stream | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->oa_buffer.format | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->oa_buffer.format->header | 0-1 |
| PARAM_VALUE | 1 | report | 4096-ptr_max |
| PARAM_VALUE | 1 | *report | 0 |
| BUF_SIZE | 0 | stream | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | stream | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | stream->oa_buffer.format->size | 1 |
| DATA_SOURCE | 0 | stream | $0 |
| BIT_INFO | 0 | stream->sample_flags | 0x1,0xffffffffffffffff |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | stream->oa_buffer.tail | 0-16777215 |
| HOST_DATA | 0 | stream->uncore->fifo_count | 0-127,u32max |
| LOCK2 | 0 | &stream->lock | |
| TYPE_LOCK | (struct i915_perf_stream)->lock |