Home
last modified time | relevance | path

Searched refs:scoreboard (Results 1 – 25 of 30) sorted by relevance

12

/third_party/mesa3d/src/compiler/nir/
Dnir_schedule.c129 nir_schedule_scoreboard *scoreboard; member
163 nir_schedule_scoreboard_get_src(nir_schedule_scoreboard *scoreboard, nir_src *src) in nir_schedule_scoreboard_get_src() argument
166 return _mesa_hash_table_search_data(scoreboard->remaining_uses, src->ssa); in nir_schedule_scoreboard_get_src()
168 return _mesa_hash_table_search_data(scoreboard->remaining_uses, in nir_schedule_scoreboard_get_src()
253 nir_schedule_get_node(state->scoreboard->instr_map, in nir_schedule_reg_src_deps()
270 nir_schedule_get_node(state->scoreboard->instr_map, in nir_schedule_reg_dest_deps()
290 struct hash_table *instr_map = state->scoreboard->instr_map; in nir_schedule_ssa_deps()
330 nir_schedule_node *n = nir_schedule_get_node(state->scoreboard->instr_map, in nir_schedule_intrinsic_deps()
332 const nir_schedule_options *options = state->scoreboard->options; in nir_schedule_intrinsic_deps()
379 if ((state->scoreboard->options->stages_with_shared_io_memory & in nir_schedule_intrinsic_deps()
[all …]
/third_party/mesa3d/src/panfrost/lib/
Dpan_scoreboard.h138 struct pan_scoreboard *scoreboard, in panfrost_add_job() argument
150 if (PAN_ARCH <= 5 && !scoreboard->write_value_index) in panfrost_add_job()
151 scoreboard->write_value_index = ++scoreboard->job_index; in panfrost_add_job()
153 if (scoreboard->tiler_dep && !inject) in panfrost_add_job()
154 global_dep = scoreboard->tiler_dep; in panfrost_add_job()
156 global_dep = scoreboard->write_value_index; in panfrost_add_job()
160 unsigned index = ++scoreboard->job_index; in panfrost_add_job()
171 header.next = scoreboard->first_job; in panfrost_add_job()
177 if (scoreboard->first_tiler) { in panfrost_add_job()
181 scoreboard->first_tiler->opaque[5] = in panfrost_add_job()
[all …]
Dpan_blitter.h94 struct pan_scoreboard *scoreboard,
126 struct pan_scoreboard *scoreboard,
Dpan_indirect_dispatch.h41 struct pan_scoreboard *scoreboard,
Dpan_indirect_draw.h53 struct pan_scoreboard *scoreboard,
Dpan_blitter.c1038 struct pan_scoreboard *scoreboard, in pan_blit_emit_tiler_job() argument
1075 panfrost_add_job(desc_pool, scoreboard, MALI_JOB_TYPE_TILER, in pan_blit_emit_tiler_job()
1158 struct pan_scoreboard *scoreboard, in pan_preload_emit_tiler_job() argument
1185 panfrost_add_job(desc_pool, scoreboard, MALI_JOB_TYPE_TILER, in pan_preload_emit_tiler_job()
1193 struct pan_scoreboard *scoreboard, in pan_preload_fb_part() argument
1205 job = pan_preload_emit_tiler_job(pool, scoreboard, in pan_preload_fb_part()
1213 struct pan_scoreboard *scoreboard, in GENX()
1238 pan_preload_fb_part(pool, scoreboard, fb, true, in GENX()
1246 pan_preload_fb_part(pool, scoreboard, fb, false, in GENX()
1389 struct pan_scoreboard *scoreboard, in GENX()
[all …]
Dpan_indirect_dispatch.c116 struct pan_scoreboard *scoreboard, in GENX()
150 return panfrost_add_job(pool, scoreboard, MALI_JOB_TYPE_COMPUTE, in GENX()
Dpan_indirect_draw.c1246 struct pan_scoreboard *scoreboard, in panfrost_emit_index_min_max_search() argument
1285 return panfrost_add_job(pool, scoreboard, MALI_JOB_TYPE_COMPUTE, in panfrost_emit_index_min_max_search()
1291 struct pan_scoreboard *scoreboard, in GENX()
1376 panfrost_emit_index_min_max_search(pool, scoreboard, draw_info, in GENX()
1384 return panfrost_add_job(pool, scoreboard, MALI_JOB_TYPE_COMPUTE, in GENX()
/third_party/mesa3d/src/broadcom/compiler/
Dqpu_schedule.c502 mux_reads_too_soon(struct choose_scoreboard *scoreboard, in mux_reads_too_soon() argument
507 if (scoreboard->tick - scoreboard->last_magic_sfu_write_tick <= 2) in mux_reads_too_soon()
512 if (scoreboard->tick - scoreboard->last_ldvary_tick <= 1) in mux_reads_too_soon()
523 reads_too_soon_after_write(struct choose_scoreboard *scoreboard, in reads_too_soon_after_write() argument
536 mux_reads_too_soon(scoreboard, inst, inst->alu.add.a)) { in reads_too_soon_after_write()
540 mux_reads_too_soon(scoreboard, inst, inst->alu.add.b)) { in reads_too_soon_after_write()
547 mux_reads_too_soon(scoreboard, inst, inst->alu.mul.a)) { in reads_too_soon_after_write()
551 mux_reads_too_soon(scoreboard, inst, inst->alu.mul.b)) { in reads_too_soon_after_write()
563 struct choose_scoreboard *scoreboard, in writes_too_soon_after_write() argument
572 if (scoreboard->tick - scoreboard->last_magic_sfu_write_tick < 2 && in writes_too_soon_after_write()
[all …]
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_qpu_schedule.c454 reads_too_soon_after_write(struct choose_scoreboard *scoreboard, uint64_t inst) in reads_too_soon_after_write() argument
473 scoreboard->last_waddr_a == raddr_a) || in reads_too_soon_after_write()
477 scoreboard->last_waddr_b == raddr_b)) { in reads_too_soon_after_write()
482 if (scoreboard->tick - in reads_too_soon_after_write()
483 scoreboard->last_sfu_write_tick <= 2) { in reads_too_soon_after_write()
494 if (scoreboard->last_waddr_a == mux_a + QPU_W_ACC0 || in reads_too_soon_after_write()
495 scoreboard->last_waddr_a == mux_b + QPU_W_ACC0 || in reads_too_soon_after_write()
496 scoreboard->last_waddr_b == mux_a + QPU_W_ACC0 || in reads_too_soon_after_write()
497 scoreboard->last_waddr_b == mux_b + QPU_W_ACC0) { in reads_too_soon_after_write()
503 scoreboard->tick - scoreboard->last_uniforms_reset_tick <= 2) { in reads_too_soon_after_write()
[all …]
/third_party/mesa3d/src/intel/compiler/
Dbrw_fs_scoreboard.cpp604 class scoreboard { class
612 if (const dependency *p = const_cast<scoreboard *>(this)->dep(r)) in get()
632 friend scoreboard
634 const scoreboard &sb0, const scoreboard &sb1) in merge()
636 scoreboard sb; in merge()
651 friend scoreboard
652 shadow(const scoreboard &sb0, const scoreboard &sb1) in shadow()
654 scoreboard sb; in shadow()
669 friend scoreboard
670 transport(const scoreboard &sb0, int delta[IDX(TGL_PIPE_ALL)]) in transport()
[all …]
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_device.c69 if (batch->scoreboard.first_job) { in panvk_queue_submit_batch()
76 .jc = batch->scoreboard.first_job, in panvk_queue_submit_batch()
88 GENX(pandecode_jc)(batch->scoreboard.first_job, pdev->gpu_id); in panvk_queue_submit_batch()
100 if (batch->scoreboard.first_job) { in panvk_queue_submit_batch()
234 (batch->scoreboard.first_tiler ? 1 : 0) + 1; in panvk_per_arch()
259 if (batch->scoreboard.first_tiler) in panvk_per_arch()
Dpanvk_vX_cmd_buffer.c132 if (!clear && !batch->scoreboard.first_job) { in panvk_per_arch()
143 panfrost_add_job(&cmdbuf->desc_pool.base, &batch->scoreboard, in panvk_per_arch()
156 if (batch->scoreboard.first_tiler) { in panvk_per_arch()
159 GENX(pan_preload_fb)(&cmdbuf->desc_pool.base, &batch->scoreboard, in panvk_per_arch()
193 &batch->scoreboard, in panvk_per_arch()
708 if (batch->scoreboard.job_index >= (UINT16_MAX - 3)) { in panvk_per_arch()
754 panfrost_add_job(&cmdbuf->desc_pool.base, &batch->scoreboard, in panvk_per_arch()
759 panfrost_add_job(&cmdbuf->desc_pool.base, &batch->scoreboard, in panvk_per_arch()
884 cmdbuf->state.batch->scoreboard.first_job) { in panvk_add_wait_event_operation()
Dpanvk_vX_meta_copy.c151 struct pan_scoreboard *scoreboard, in panvk_meta_copy_emit_tiler_job() argument
188 panfrost_add_job(desc_pool, scoreboard, MALI_JOB_TYPE_TILER, in panvk_meta_copy_emit_tiler_job()
195 struct pan_scoreboard *scoreboard, in panvk_meta_copy_emit_compute_job() argument
220 panfrost_add_job(desc_pool, scoreboard, MALI_JOB_TYPE_COMPUTE, in panvk_meta_copy_emit_compute_job()
797 &batch->scoreboard, in panvk_meta_copy_img2img()
1247 &batch->scoreboard, in panvk_meta_copy_buf2img()
1690 &batch->scoreboard, &num_wg, &wg_sz, in panvk_meta_copy_img2buf()
1887 &batch->scoreboard, in panvk_meta_copy_buf2buf()
2055 &batch->scoreboard, in panvk_meta_fill_buf()
2116 &batch->scoreboard, in panvk_meta_update_buf()
Dpanvk_vX_meta_clear.c318 struct pan_scoreboard *scoreboard, in panvk_meta_clear_attachment_emit_tiler_job() argument
356 panfrost_add_job(desc_pool, scoreboard, MALI_JOB_TYPE_TILER, in panvk_meta_clear_attachment_emit_tiler_job()
476 &batch->scoreboard, in panvk_meta_clear_attachment()
Dpanvk_vX_meta_blit.c130 GENX(pan_blit)(&ctx, &cmdbuf->desc_pool.base, &batch->scoreboard, tsd, tiler); in panvk_meta_blit()
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_job.c227 if (batch->scoreboard.first_job) { in panfrost_get_fresh_batch_for_fbo()
623 if (batch->scoreboard.first_tiler) in panfrost_batch_submit_ioctl()
668 bool has_draws = batch->scoreboard.first_job; in panfrost_batch_submit_jobs()
669 bool has_tiler = batch->scoreboard.first_tiler; in panfrost_batch_submit_jobs()
681 ret = panfrost_batch_submit_ioctl(batch, batch->scoreboard.first_job, in panfrost_batch_submit_jobs()
740 if (!batch->scoreboard.first_job && !batch->clear) in panfrost_batch_submit()
757 if (batch->scoreboard.first_tiler || batch->clear) in panfrost_batch_submit()
Dpan_job.h96 struct pan_scoreboard scoreboard; member
Dpan_cmdstream.c2315 unsigned vertex = panfrost_add_job(&batch->pool.base, &batch->scoreboard, in panfrost_emit_vertex_tiler_jobs()
2324 panfrost_add_job(&batch->pool.base, &batch->scoreboard, in panfrost_emit_vertex_tiler_jobs()
2997 &batch->scoreboard, in panfrost_indirect_draw()
3031 if (unlikely(batch->scoreboard.job_index > 10000)) in panfrost_draw_vbo()
3187 &batch->scoreboard, in panfrost_launch_grid()
3191 panfrost_add_job(&batch->pool.base, &batch->scoreboard, in panfrost_launch_grid()
3535 GENX(pan_preload_fb)(&batch->pool.base, &batch->scoreboard, fb, batch->tls.gpu, in preload()
3604 bool has_draws = batch->scoreboard.first_tiler != NULL; in batch_get_polygon_list()
3647 &batch->scoreboard, in init_polygon_list()
/third_party/mesa3d/docs/relnotes/
D18.0.4.rst108 - i965: require pixel scoreboard stall prior to ISP disable
109 - anv: emit pixel scoreboard stall before ISP disable
D21.3.1.rst64 - broadcom/compiler: fix scoreboard locking checks
/third_party/libdrm/intel/tests/
Dgen6-3d.batch-ref.txt2 0x12300004: 0x00100002: no write, cs stall, stall at scoreboard,
198 0x12300314: 0x00100002: no write, cs stall, stall at scoreboard,
280 0x1230045c: 0x00100002: no write, cs stall, stall at scoreboard,
332 0x1230052c: 0x00100002: no write, cs stall, stall at scoreboard,
395 0x12300628: 0x00100002: no write, cs stall, stall at scoreboard,
465 0x12300740: 0x00100002: no write, cs stall, stall at scoreboard,
550 0x12300894: 0x00100002: no write, cs stall, stall at scoreboard,
602 0x12300964: 0x00100002: no write, cs stall, stall at scoreboard,
665 0x12300a60: 0x00100002: no write, cs stall, stall at scoreboard,
735 0x12300b78: 0x00100002: no write, cs stall, stall at scoreboard,
[all …]
/third_party/mesa3d/src/asahi/compiler/
Dagx_print.c170 fprintf(fp, "slot %u", I->scoreboard); in agx_print_instr()
Dagx_pack.c492 (I->scoreboard << 30) | in agx_pack_instr()
547 assert(I->scoreboard == 0 && "todo"); in agx_pack_instr()
Dagx_compiler.h311 unsigned scoreboard : 1; member

12