/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_monitor.c | 46 const 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() 96 struct intel_perf_config *perf_cfg = intel_perf_new(screen); in iris_monitor_init_metrics() local 97 if (unlikely(!perf_cfg)) in iris_monitor_init_metrics() 100 screen->perf_cfg = perf_cfg; in iris_monitor_init_metrics() 102 iris_perf_init_vtbl(perf_cfg); in iris_monitor_init_metrics() 104 intel_perf_init_metrics(perf_cfg, &screen->devinfo, screen->fd, in iris_monitor_init_metrics() [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 | 39 struct intel_perf_config *perf_cfg = NULL; in iris_init_perf_query_info() local 60 perf_cfg = intel_perf_config(ice->perf_ctx); in iris_init_perf_query_info() 62 if (perf_cfg) in iris_init_perf_query_info() 63 return perf_cfg->n_queries; in iris_init_perf_query_info() 65 perf_cfg = intel_perf_new(ice->perf_ctx); in iris_init_perf_query_info() 67 iris_perf_init_vtbl(perf_cfg); in iris_init_perf_query_info() 69 intel_perf_init_metrics(perf_cfg, &screen->devinfo, screen->fd, in iris_init_perf_query_info() 74 perf_cfg, in iris_init_perf_query_info() 82 return perf_cfg->n_queries; in iris_init_perf_query_info() 150 struct intel_perf_config *perf_cfg = intel_perf_config(perf_ctx); in iris_get_perf_query_info() local [all …]
|
D | iris_screen.h | 203 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/mesa/drivers/dri/i965/ |
D | brw_performance_query.c | 150 struct intel_perf_config *perf_cfg = intel_perf_config(perf_ctx); in brw_get_perf_query_info() local 151 const struct intel_perf_query_info *query = &perf_cfg->queries[query_index]; in brw_get_perf_query_info() 204 struct intel_perf_config *perf_cfg = intel_perf_config(brw->perf_ctx); in brw_get_perf_counter_info() local 206 &perf_cfg->queries[query_index]; in brw_get_perf_counter_info() 484 struct intel_perf_config *perf_cfg = intel_perf_config(perf_ctx); in brw_init_perf_query_info() local 486 if (perf_cfg) in brw_init_perf_query_info() 487 return perf_cfg->n_queries; in brw_init_perf_query_info() 492 perf_cfg = intel_perf_new(brw->mem_ctx); in brw_init_perf_query_info() 494 perf_cfg->vtbl.bo_alloc = brw_oa_bo_alloc; in brw_init_perf_query_info() 495 perf_cfg->vtbl.bo_unreference = (bo_unreference_t)brw_bo_unreference; in brw_init_perf_query_info() [all …]
|
/third_party/mesa3d/src/intel/perf/ |
D | intel_perf_query.c | 592 struct intel_perf_config *perf_cfg, in intel_perf_init_context() argument 600 perf_ctx->perf = perf_cfg; in intel_perf_init_context() 650 uint64_t overflow_period = pow(2, a_counter_in_bits) / (perf_cfg->sys_vars.n_eus * in intel_perf_init_context() 655 overflow_period, overflow_period / 1000000ul, perf_cfg->sys_vars.n_eus); in intel_perf_init_context() 734 struct intel_perf_config *perf_cfg = perf_ctx->perf; in snapshot_query_layout() local 735 const struct intel_perf_query_field_layout *layout = &perf_cfg->query_layout; in snapshot_query_layout() 744 perf_cfg->vtbl.emit_mi_report_perf_count(perf_ctx->ctx, query->oa.bo, in snapshot_query_layout() 753 perf_cfg->vtbl.store_register_mem(perf_ctx->ctx, query->oa.bo, in snapshot_query_layout() 767 struct intel_perf_config *perf_cfg = perf_ctx->perf; in intel_perf_begin_query() local 808 perf_cfg->vtbl.emit_stall_at_pixel_scoreboard(perf_ctx->ctx); in intel_perf_begin_query() [all …]
|
D | intel_perf.c | 288 intel_perf_load_metric_id(struct intel_perf_config *perf_cfg, in intel_perf_load_metric_id() argument 295 perf_cfg->sysfs_dev_dir, guid); in intel_perf_load_metric_id() 487 load_pipeline_statistic_metrics(struct intel_perf_config *perf_cfg, in load_pipeline_statistic_metrics() argument 491 intel_perf_append_query_info(perf_cfg, MAX_STAT_COUNTERS); in load_pipeline_statistic_metrics() 781 intel_perf_load_configuration(struct intel_perf_config *perf_cfg, int fd, const char *guid) in intel_perf_load_configuration() argument 783 if (!perf_cfg->i915_query_supported) in intel_perf_load_configuration() 787 if (!i915_query_perf_config_data(perf_cfg, fd, guid, &i915_config)) in intel_perf_load_configuration() 805 if (!i915_query_perf_config_data(perf_cfg, fd, guid, &i915_config)) { in intel_perf_load_configuration() 814 intel_perf_store_configuration(struct intel_perf_config *perf_cfg, int fd, in intel_perf_store_configuration() argument 819 return i915_add_config(perf_cfg, fd, config, guid); in intel_perf_store_configuration() [all …]
|
D | intel_perf.h | 401 void intel_perf_init_metrics(struct intel_perf_config *perf_cfg, 409 bool intel_perf_load_metric_id(struct intel_perf_config *perf_cfg, 415 struct intel_perf_registers *intel_perf_load_configuration(struct intel_perf_config *perf_cfg, 423 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()
|