Searched refs:perf_ctx (Results 1 – 7 of 7) sorted by relevance
/third_party/mesa3d/src/intel/perf/ |
D | intel_perf_query.c | 310 inc_n_users(struct intel_perf_context *perf_ctx) in inc_n_users() argument 312 if (perf_ctx->n_oa_users == 0 && in inc_n_users() 313 intel_ioctl(perf_ctx->oa_stream_fd, I915_PERF_IOCTL_ENABLE, 0) < 0) in inc_n_users() 317 ++perf_ctx->n_oa_users; in inc_n_users() 323 dec_n_users(struct intel_perf_context *perf_ctx) in dec_n_users() argument 330 --perf_ctx->n_oa_users; in dec_n_users() 331 if (perf_ctx->n_oa_users == 0 && in dec_n_users() 332 intel_ioctl(perf_ctx->oa_stream_fd, I915_PERF_IOCTL_DISABLE, 0) < 0) in dec_n_users() 354 intel_perf_open(struct intel_perf_context *perf_ctx, in intel_perf_open() argument 393 if (intel_perf_has_global_sseu(perf_ctx->perf) && in intel_perf_open() [all …]
|
D | intel_perf_query.h | 40 intel_perf_open(struct intel_perf_context *perf_ctx, 52 bool intel_perf_oa_stream_ready(struct intel_perf_context *perf_ctx); 55 intel_perf_read_oa_stream(struct intel_perf_context *perf_ctx, 61 void intel_perf_init_context(struct intel_perf_context *perf_ctx, 74 int intel_perf_active_queries(struct intel_perf_context *perf_ctx, 81 bool intel_perf_begin_query(struct intel_perf_context *perf_ctx, 83 void intel_perf_end_query(struct intel_perf_context *perf_ctx, 85 void intel_perf_wait_query(struct intel_perf_context *perf_ctx, 88 bool intel_perf_is_query_ready(struct intel_perf_context *perf_ctx, 91 void intel_perf_delete_query(struct intel_perf_context *perf_ctx, [all …]
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_performance_query.c | 56 if (!ice->perf_ctx) in iris_init_perf_query_info() 57 ice->perf_ctx = intel_perf_new_context(ice); in iris_init_perf_query_info() 59 if (unlikely(!ice->perf_ctx)) in iris_init_perf_query_info() 62 perf_cfg = intel_perf_config(ice->perf_ctx); in iris_init_perf_query_info() 67 perf_cfg = intel_perf_new(ice->perf_ctx); in iris_init_perf_query_info() 75 intel_perf_init_context(ice->perf_ctx, in iris_init_perf_query_info() 91 struct intel_perf_context *perf_ctx = ice->perf_ctx; in iris_new_perf_query_obj() local 93 intel_perf_new_query(perf_ctx, query_index); in iris_new_perf_query_obj() 99 intel_perf_delete_query(perf_ctx, obj); in iris_new_perf_query_obj() 113 struct intel_perf_context *perf_ctx = ice->perf_ctx; in iris_begin_perf_query() local [all …]
|
D | iris_monitor.c | 161 ice->perf_ctx = intel_perf_new_context(ice); in iris_init_monitor_ctx() 162 if (unlikely(!ice->perf_ctx)) in iris_init_monitor_ctx() 165 struct intel_perf_context *perf_ctx = ice->perf_ctx; in iris_init_monitor_ctx() local 167 intel_perf_init_context(perf_ctx, in iris_init_monitor_ctx() 190 if (ice->perf_ctx == NULL) { in iris_create_monitor_object() 193 struct intel_perf_context *perf_ctx = ice->perf_ctx; in iris_create_monitor_object() local 222 query_obj = intel_perf_new_query(perf_ctx, group); in iris_create_monitor_object() 250 intel_perf_delete_query(ice->perf_ctx, monitor->query); in iris_destroy_monitor_object() 263 struct intel_perf_context *perf_ctx = ice->perf_ctx; in iris_begin_monitor() local 265 return intel_perf_begin_query(perf_ctx, monitor->query); in iris_begin_monitor() [all …]
|
D | iris_context.h | 708 struct intel_perf_context *perf_ctx; member
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_monitor.c | 307 ice->perf_ctx = intel_perf_new_context(ice); in crocus_init_monitor_ctx() 308 if (unlikely(!ice->perf_ctx)) in crocus_init_monitor_ctx() 311 struct intel_perf_context *perf_ctx = ice->perf_ctx; in crocus_init_monitor_ctx() local 313 intel_perf_init_context(perf_ctx, in crocus_init_monitor_ctx() 337 if (ice->perf_ctx == NULL) { in crocus_create_monitor_object() 340 struct intel_perf_context *perf_ctx = ice->perf_ctx; in crocus_create_monitor_object() local 369 query_obj = intel_perf_new_query(perf_ctx, group); in crocus_create_monitor_object() 397 intel_perf_delete_query(ice->perf_ctx, monitor->query); in crocus_destroy_monitor_object() 410 struct intel_perf_context *perf_ctx = ice->perf_ctx; in crocus_begin_monitor() local 412 return intel_perf_begin_query(perf_ctx, monitor->query); in crocus_begin_monitor() [all …]
|
D | crocus_context.h | 556 struct intel_perf_context *perf_ctx; member
|