/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_monitor.c | 46 struct intel_perf_config *perf_cfg = screen->perf_cfg; in iris_get_monitor_info() local 47 assert(perf_cfg); in iris_get_monitor_info() 48 if (!perf_cfg) in iris_get_monitor_info() 53 return perf_cfg->n_counters; in iris_get_monitor_info() 56 struct intel_perf_query_counter_info *counter_info = &perf_cfg->counter_infos[index]; in iris_get_monitor_info() 58 &perf_cfg->queries[intel_perf_query_counter_info_first_query(counter_info)]; in iris_get_monitor_info() 78 counter->oa_counter_max_uint64(perf_cfg, query_info, &results) : 0; in iris_get_monitor_info() 87 counter->oa_counter_max_uint64(perf_cfg, query_info, &results) : 0; in iris_get_monitor_info() 94 counter->oa_counter_max_float(perf_cfg, query_info, &results) : 0.0f; in iris_get_monitor_info() 109 struct intel_perf_config *perf_cfg = intel_perf_new(screen); in iris_monitor_init_metrics() local [all …]
|
D | iris_perf.c | 86 iris_perf_init_vtbl(struct intel_perf_config *perf_cfg) in iris_perf_init_vtbl() argument 88 perf_cfg->vtbl.bo_alloc = iris_oa_bo_alloc; in iris_perf_init_vtbl() 89 perf_cfg->vtbl.bo_unreference = (bo_unreference_t)iris_bo_unreference; in iris_perf_init_vtbl() 90 perf_cfg->vtbl.bo_map = (bo_map_t)iris_bo_map; in iris_perf_init_vtbl() 91 perf_cfg->vtbl.bo_unmap = (bo_unmap_t)iris_bo_unmap; in iris_perf_init_vtbl() 92 perf_cfg->vtbl.emit_stall_at_pixel_scoreboard = in iris_perf_init_vtbl() 95 perf_cfg->vtbl.emit_mi_report_perf_count = in iris_perf_init_vtbl() 97 perf_cfg->vtbl.batchbuffer_flush = iris_perf_batchbuffer_flush; in iris_perf_init_vtbl() 98 perf_cfg->vtbl.store_register_mem = in iris_perf_init_vtbl() 100 perf_cfg->vtbl.batch_references = (batch_references_t)iris_batch_references; in iris_perf_init_vtbl() [all …]
|
D | iris_performance_query.c | 41 struct intel_perf_config *perf_cfg = NULL; in iris_init_perf_query_info() local 62 perf_cfg = intel_perf_config(ice->perf_ctx); in iris_init_perf_query_info() 64 if (perf_cfg) in iris_init_perf_query_info() 65 return perf_cfg->n_queries; in iris_init_perf_query_info() 67 perf_cfg = intel_perf_new(ice->perf_ctx); in iris_init_perf_query_info() 69 iris_perf_init_vtbl(perf_cfg); in iris_init_perf_query_info() 71 intel_perf_init_metrics(perf_cfg, &screen->devinfo, screen->fd, in iris_init_perf_query_info() 76 perf_cfg, in iris_init_perf_query_info() 84 return perf_cfg->n_queries; in iris_init_perf_query_info() 152 struct intel_perf_config *perf_cfg = intel_perf_config(perf_ctx); in iris_get_perf_query_info() local [all …]
|
D | iris_screen.h | 205 struct intel_perf_config *perf_cfg; member
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_monitor.c | 60 const struct intel_perf_config *perf_cfg = monitor_cfg->perf_cfg; in crocus_get_monitor_info() local 64 &perf_cfg->queries[group].counters[counter_index]; in crocus_get_monitor_info() 180 struct intel_perf_config *perf_cfg = NULL; in crocus_monitor_init_metrics() local 183 perf_cfg = intel_perf_new(monitor_cfg); in crocus_monitor_init_metrics() 184 if (unlikely(!perf_cfg)) in crocus_monitor_init_metrics() 187 monitor_cfg->perf_cfg = perf_cfg; in crocus_monitor_init_metrics() 189 perf_cfg->vtbl.bo_alloc = crocus_oa_bo_alloc; in crocus_monitor_init_metrics() 190 perf_cfg->vtbl.bo_unreference = (bo_unreference_t)crocus_bo_unreference; in crocus_monitor_init_metrics() 191 perf_cfg->vtbl.bo_map = (bo_map_t)crocus_bo_map; in crocus_monitor_init_metrics() 192 perf_cfg->vtbl.bo_unmap = (bo_unmap_t)crocus_bo_unmap; in crocus_monitor_init_metrics() [all …]
|
D | crocus_monitor.h | 34 struct intel_perf_config *perf_cfg; member
|
/third_party/mesa3d/src/intel/perf/ |
D | intel_perf_query.c | 587 struct intel_perf_config *perf_cfg, in intel_perf_init_context() argument 595 perf_ctx->perf = perf_cfg; in intel_perf_init_context() 645 uint64_t overflow_period = pow(2, a_counter_in_bits) / (perf_cfg->sys_vars.n_eus * in intel_perf_init_context() 650 overflow_period, overflow_period / 1000000ul, perf_cfg->sys_vars.n_eus); in intel_perf_init_context() 729 struct intel_perf_config *perf_cfg = perf_ctx->perf; in snapshot_query_layout() local 730 const struct intel_perf_query_field_layout *layout = &perf_cfg->query_layout; in snapshot_query_layout() 739 perf_cfg->vtbl.emit_mi_report_perf_count(perf_ctx->ctx, query->oa.bo, in snapshot_query_layout() 749 perf_cfg->vtbl.store_register_mem(perf_ctx->ctx, query->oa.bo, in snapshot_query_layout() 763 struct intel_perf_config *perf_cfg = perf_ctx->perf; in intel_perf_begin_query() local 804 perf_cfg->vtbl.emit_stall_at_pixel_scoreboard(perf_ctx->ctx); in intel_perf_begin_query() [all …]
|
D | intel_perf.c | 286 intel_perf_load_metric_id(struct intel_perf_config *perf_cfg, in intel_perf_load_metric_id() argument 293 perf_cfg->sysfs_dev_dir, guid); in intel_perf_load_metric_id() 498 load_pipeline_statistic_metrics(struct intel_perf_config *perf_cfg, in load_pipeline_statistic_metrics() argument 502 intel_perf_append_query_info(perf_cfg, MAX_STAT_COUNTERS); in load_pipeline_statistic_metrics() 800 intel_perf_load_configuration(struct intel_perf_config *perf_cfg, int fd, const char *guid) in intel_perf_load_configuration() argument 802 if (!perf_cfg->i915_query_supported) in intel_perf_load_configuration() 806 if (!i915_query_perf_config_data(perf_cfg, fd, guid, &i915_config)) in intel_perf_load_configuration() 824 if (!i915_query_perf_config_data(perf_cfg, fd, guid, &i915_config)) { in intel_perf_load_configuration() 833 intel_perf_store_configuration(struct intel_perf_config *perf_cfg, int fd, in intel_perf_store_configuration() argument 838 return i915_add_config(perf_cfg, fd, config, guid); in intel_perf_store_configuration() [all …]
|
D | intel_perf.h | 427 void intel_perf_init_metrics(struct intel_perf_config *perf_cfg, 435 bool intel_perf_load_metric_id(struct intel_perf_config *perf_cfg, 441 struct intel_perf_registers *intel_perf_load_configuration(struct intel_perf_config *perf_cfg, 449 uint64_t intel_perf_store_configuration(struct intel_perf_config *perf_cfg, int fd,
|
D | intel_perf_query.h | 62 struct intel_perf_config *perf_cfg,
|
D | intel_perf_private.h | 90 void intel_perf_register_mdapi_statistic_query(struct intel_perf_config *perf_cfg,
|
D | intel_perf_mdapi.c | 140 intel_perf_register_mdapi_statistic_query(struct intel_perf_config *perf_cfg, in intel_perf_register_mdapi_statistic_query() argument 147 intel_perf_append_query_info(perf_cfg, MAX_STAT_COUNTERS); in intel_perf_register_mdapi_statistic_query()
|