broadcom/compiler: track pending ldtmu count with each TMU lookup
And use this information when scheduling QPU to avoid merging a new TMU request into a previous ldtmu instruction when doing so may cause TMU output fifo overflow due to a stalling ldtmu. Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22044>
This commit is contained in:

committed by
Marge Bot

parent
c09482b293
commit
1e28f2a6f2
@@ -443,6 +443,7 @@ v3d_emit_spill_tmua(struct v3d_compile *c,
|
||||
struct qreg tmua = vir_reg(QFILE_MAGIC, V3D_QPU_WADDR_TMUAU);
|
||||
struct qinst *inst = vir_ADD_dest(c, tmua, c->spill_base, offset);
|
||||
inst->qpu.flags.ac = cond;
|
||||
inst->ldtmu_count = 1;
|
||||
inst->uniform = vir_get_uniform_index(c, QUNIFORM_CONSTANT,
|
||||
0xffffff7f); /* per-quad */
|
||||
|
||||
|
Reference in New Issue
Block a user