Searched refs:perf_ctx (Results 1 – 8 of 8) sorted by relevance
/external/mesa3d/src/intel/perf/ |
D | gen_perf_query.c | 308 inc_n_users(struct gen_perf_context *perf_ctx) in inc_n_users() argument 310 if (perf_ctx->n_oa_users == 0 && in inc_n_users() 311 gen_ioctl(perf_ctx->oa_stream_fd, I915_PERF_IOCTL_ENABLE, 0) < 0) in inc_n_users() 315 ++perf_ctx->n_oa_users; in inc_n_users() 321 dec_n_users(struct gen_perf_context *perf_ctx) in dec_n_users() argument 328 --perf_ctx->n_oa_users; in dec_n_users() 329 if (perf_ctx->n_oa_users == 0 && in dec_n_users() 330 gen_ioctl(perf_ctx->oa_stream_fd, I915_PERF_IOCTL_DISABLE, 0) < 0) in dec_n_users() 354 gen_perf_open(struct gen_perf_context *perf_ctx, in gen_perf_open() argument 374 DRM_I915_PERF_PROP_GLOBAL_SSEU, to_user_pointer(&perf_ctx->perf->sseu), in gen_perf_open() [all …]
|
D | gen_perf_query.h | 37 void gen_perf_init_context(struct gen_perf_context *perf_ctx, 48 void gen_perf_init_context(struct gen_perf_context *perf_ctx, 58 int gen_perf_active_queries(struct gen_perf_context *perf_ctx, 65 bool gen_perf_begin_query(struct gen_perf_context *perf_ctx, 67 void gen_perf_end_query(struct gen_perf_context *perf_ctx, 69 void gen_perf_wait_query(struct gen_perf_context *perf_ctx, 72 bool gen_perf_is_query_ready(struct gen_perf_context *perf_ctx, 75 void gen_perf_delete_query(struct gen_perf_context *perf_ctx, 77 void gen_perf_get_query_data(struct gen_perf_context *perf_ctx, 84 void gen_perf_dump_query_count(struct gen_perf_context *perf_ctx); [all …]
|
/external/mesa3d/src/gallium/drivers/iris/ |
D | iris_performance_query.c | 53 if (!ice->perf_ctx) in iris_init_perf_query_info() 54 ice->perf_ctx = gen_perf_new_context(ice); in iris_init_perf_query_info() 56 if (unlikely(!ice->perf_ctx)) in iris_init_perf_query_info() 59 perf_cfg = gen_perf_config(ice->perf_ctx); in iris_init_perf_query_info() 64 perf_cfg = gen_perf_new(ice->perf_ctx); in iris_init_perf_query_info() 68 gen_perf_init_context(ice->perf_ctx, in iris_init_perf_query_info() 85 struct gen_perf_context *perf_ctx = ice->perf_ctx; in iris_new_perf_query_obj() local 86 struct gen_perf_query_object * obj = gen_perf_new_query(perf_ctx, query_index); in iris_new_perf_query_obj() 92 gen_perf_delete_query(perf_ctx, obj); in iris_new_perf_query_obj() 106 struct gen_perf_context *perf_ctx = ice->perf_ctx; in iris_begin_perf_query() local [all …]
|
D | iris_monitor.c | 147 ice->perf_ctx = gen_perf_new_context(ice); in iris_init_monitor_ctx() 148 if (unlikely(!ice->perf_ctx)) in iris_init_monitor_ctx() 151 struct gen_perf_context *perf_ctx = ice->perf_ctx; in iris_init_monitor_ctx() local 153 gen_perf_init_context(perf_ctx, in iris_init_monitor_ctx() 175 if (ice->perf_ctx == NULL) { in iris_create_monitor_object() 178 struct gen_perf_context *perf_ctx = ice->perf_ctx; in iris_create_monitor_object() local 207 query_obj = gen_perf_new_query(perf_ctx, group); in iris_create_monitor_object() 235 gen_perf_delete_query(ice->perf_ctx, monitor->query); in iris_destroy_monitor_object() 248 struct gen_perf_context *perf_ctx = ice->perf_ctx; in iris_begin_monitor() local 250 return gen_perf_begin_query(perf_ctx, monitor->query); in iris_begin_monitor() [all …]
|
D | iris_context.h | 635 struct gen_perf_context *perf_ctx; member
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_performance_query.c | 117 struct gen_perf_context *perf_ctx = ctx->perf_ctx; in dump_perf_query_callback() local 126 gen_perf_dump_query(perf_ctx, obj, &ctx->batch); in dump_perf_query_callback() 133 gen_perf_dump_query_count(brw->perf_ctx); in dump_perf_queries() 149 struct gen_perf_context *perf_ctx = brw->perf_ctx; in brw_get_perf_query_info() local 150 struct gen_perf_config *perf_cfg = gen_perf_config(perf_ctx); in brw_get_perf_query_info() 156 *n_active = gen_perf_active_queries(perf_ctx, query); in brw_get_perf_query_info() 204 struct gen_perf_config *perf_cfg = gen_perf_config(brw->perf_ctx); in brw_get_perf_counter_info() 237 struct gen_perf_context *perf_ctx = brw->perf_ctx; in brw_begin_perf_query() local 250 bool ret = gen_perf_begin_query(perf_ctx, obj); in brw_begin_perf_query() 268 struct gen_perf_context *perf_ctx = brw->perf_ctx; in brw_end_perf_query() local [all …]
|
D | brw_context.h | 1192 struct gen_perf_context *perf_ctx; member
|
D | brw_context.c | 981 brw->perf_ctx = gen_perf_new_context(brw); in brwCreateContext()
|