Lines Matching defs:stream
430 struct i915_perf_regs *__oa_regs(struct i915_perf_stream *stream) in __oa_regs()
435 static u32 gen12_oa_hw_tail_read(struct i915_perf_stream *stream) in gen12_oa_hw_tail_read()
443 static u32 gen8_oa_hw_tail_read(struct i915_perf_stream *stream) in gen8_oa_hw_tail_read()
450 static u32 gen7_oa_hw_tail_read(struct i915_perf_stream *stream) in gen7_oa_hw_tail_read()
461 static u64 oa_report_id(struct i915_perf_stream *stream, void *report) in oa_report_id()
466 static u64 oa_report_reason(struct i915_perf_stream *stream, void *report) in oa_report_reason()
474 static void oa_report_id_clear(struct i915_perf_stream *stream, u32 *report) in oa_report_id_clear()
482 static bool oa_report_ctx_invalid(struct i915_perf_stream *stream, void *report) in oa_report_ctx_invalid()
488 static u64 oa_timestamp(struct i915_perf_stream *stream, void *report) in oa_timestamp()
495 static void oa_timestamp_clear(struct i915_perf_stream *stream, u32 *report) in oa_timestamp_clear()
503 static u32 oa_context_id(struct i915_perf_stream *stream, u32 *report) in oa_context_id()
510 static void oa_context_id_squash(struct i915_perf_stream *stream, u32 *report) in oa_context_id_squash()
541 static bool oa_buffer_check_unlocked(struct i915_perf_stream *stream) in oa_buffer_check_unlocked()
630 static int append_oa_status(struct i915_perf_stream *stream, in append_oa_status()
666 static int append_oa_sample(struct i915_perf_stream *stream, in append_oa_sample()
730 static int gen8_append_oa_reports(struct i915_perf_stream *stream, in gen8_append_oa_reports()
957 static int gen8_oa_read(struct i915_perf_stream *stream, in gen8_oa_read()
1048 static int gen7_append_oa_reports(struct i915_perf_stream *stream, in gen7_append_oa_reports()
1173 static int gen7_oa_read(struct i915_perf_stream *stream, in gen7_oa_read()
1256 static int i915_oa_wait_unlocked(struct i915_perf_stream *stream) in i915_oa_wait_unlocked()
1276 static void i915_oa_poll_wait(struct i915_perf_stream *stream, in i915_oa_poll_wait()
1295 static int i915_oa_read(struct i915_perf_stream *stream, in i915_oa_read()
1303 static struct intel_context *oa_pin_context(struct i915_perf_stream *stream) in oa_pin_context()
1435 static int gen12_get_render_context_id(struct i915_perf_stream *stream) in gen12_get_render_context_id()
1547 static int oa_get_render_ctx_id(struct i915_perf_stream *stream) in oa_get_render_ctx_id()
1637 static void oa_put_render_ctx_id(struct i915_perf_stream *stream) in oa_put_render_ctx_id()
1652 free_oa_buffer(struct i915_perf_stream *stream) in free_oa_buffer()
1661 free_oa_configs(struct i915_perf_stream *stream) in free_oa_configs()
1671 free_noa_wait(struct i915_perf_stream *stream) in free_noa_wait()
1686 static void i915_oa_stream_destroy(struct i915_perf_stream *stream) in i915_oa_stream_destroy()
1729 static void gen7_init_oa_buffer(struct i915_perf_stream *stream) in gen7_init_oa_buffer()
1774 static void gen8_init_oa_buffer(struct i915_perf_stream *stream) in gen8_init_oa_buffer()
1827 static void gen12_init_oa_buffer(struct i915_perf_stream *stream) in gen12_init_oa_buffer()
1881 static int alloc_oa_buffer(struct i915_perf_stream *stream) in alloc_oa_buffer()
1943 static u32 *save_restore_register(struct i915_perf_stream *stream, u32 *cs, in save_restore_register()
1965 static int alloc_noa_wait(struct i915_perf_stream *stream) in alloc_noa_wait()
2222 alloc_oa_config_buffer(struct i915_perf_stream *stream, in alloc_oa_config_buffer()
2310 get_oa_vma(struct i915_perf_stream *stream, struct i915_oa_config *oa_config) in get_oa_vma()
2335 emit_oa_config(struct i915_perf_stream *stream, in emit_oa_config()
2405 static struct intel_context *oa_context(struct i915_perf_stream *stream) in oa_context()
2411 hsw_enable_metric_set(struct i915_perf_stream *stream, in hsw_enable_metric_set()
2436 static void hsw_disable_metric_set(struct i915_perf_stream *stream) in hsw_disable_metric_set()
2478 const struct i915_perf_stream *stream) in gen8_update_reg_state_unlocked()
2609 static int gen8_configure_context(struct i915_perf_stream *stream, in gen8_configure_context()
2639 static int gen12_configure_oar_context(struct i915_perf_stream *stream, in gen12_configure_oar_context()
2715 oa_configure_all_contexts(struct i915_perf_stream *stream, in oa_configure_all_contexts()
2785 lrc_configure_all_contexts(struct i915_perf_stream *stream, in lrc_configure_all_contexts()
2827 gen8_enable_metric_set(struct i915_perf_stream *stream, in gen8_enable_metric_set()
2877 static u32 oag_report_ctx_switches(const struct i915_perf_stream *stream) in oag_report_ctx_switches()
2885 gen12_enable_metric_set(struct i915_perf_stream *stream, in gen12_enable_metric_set()
2949 static void gen8_disable_metric_set(struct i915_perf_stream *stream) in gen8_disable_metric_set()
2959 static void gen11_disable_metric_set(struct i915_perf_stream *stream) in gen11_disable_metric_set()
2970 static void gen12_disable_metric_set(struct i915_perf_stream *stream) in gen12_disable_metric_set()
3001 static void gen7_oa_enable(struct i915_perf_stream *stream) in gen7_oa_enable()
3031 static void gen8_oa_enable(struct i915_perf_stream *stream) in gen8_oa_enable()
3057 static void gen12_oa_enable(struct i915_perf_stream *stream) in gen12_oa_enable()
3087 static void i915_oa_stream_enable(struct i915_perf_stream *stream) in i915_oa_stream_enable()
3099 static void gen7_oa_disable(struct i915_perf_stream *stream) in gen7_oa_disable()
3111 static void gen8_oa_disable(struct i915_perf_stream *stream) in gen8_oa_disable()
3123 static void gen12_oa_disable(struct i915_perf_stream *stream) in gen12_oa_disable()
3152 static void i915_oa_stream_disable(struct i915_perf_stream *stream) in i915_oa_stream_disable()
3169 static int i915_perf_stream_enable_sync(struct i915_perf_stream *stream) in i915_perf_stream_enable_sync()
3262 static int i915_oa_stream_init(struct i915_perf_stream *stream, in i915_oa_stream_init()
3455 struct i915_perf_stream *stream; in i915_oa_init_reg_state() local
3489 struct i915_perf_stream *stream = file->private_data; in i915_perf_read() local
3543 struct i915_perf_stream *stream = in oa_poll_check_timer_cb() local
3569 static __poll_t i915_perf_poll_locked(struct i915_perf_stream *stream, in i915_perf_poll_locked()
3604 struct i915_perf_stream *stream = file->private_data; in i915_perf_poll() local
3624 static void i915_perf_enable_locked(struct i915_perf_stream *stream) in i915_perf_enable_locked()
3653 static void i915_perf_disable_locked(struct i915_perf_stream *stream) in i915_perf_disable_locked()
3668 static long i915_perf_config_locked(struct i915_perf_stream *stream, in i915_perf_config_locked()
3711 static long i915_perf_ioctl_locked(struct i915_perf_stream *stream, in i915_perf_ioctl_locked()
3744 struct i915_perf_stream *stream = file->private_data; in i915_perf_ioctl() local
3764 static void i915_perf_destroy_locked(struct i915_perf_stream *stream) in i915_perf_destroy_locked()
3791 struct i915_perf_stream *stream = file->private_data; in i915_perf_release() local
3856 struct i915_perf_stream *stream = NULL; in i915_perf_open_ioctl_locked() local