summaryrefslogtreecommitdiffstats
path: root/src/broadcom/compiler
diff options
context:
space:
mode:
authorIago Toral Quiroga <[email protected]>2019-07-03 12:02:11 +0200
committerIago Toral Quiroga <[email protected]>2019-07-12 09:16:38 +0200
commit4793e2c88881380ce126a733dbbf5051d39c41fc (patch)
treeb2aa757f6f7dd91f9a132f3159188559e8cf8842 /src/broadcom/compiler
parent83a66e10dee84d3a2608550455cdc6411fec5e17 (diff)
v3d: instructions with the ldtlb and ldtlbu signals are tlb instructions
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/broadcom/compiler')
-rw-r--r--src/broadcom/compiler/qpu_schedule.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/broadcom/compiler/qpu_schedule.c b/src/broadcom/compiler/qpu_schedule.c
index 27a83a23a56..338f75e4a18 100644
--- a/src/broadcom/compiler/qpu_schedule.c
+++ b/src/broadcom/compiler/qpu_schedule.c
@@ -128,6 +128,9 @@ add_write_dep(struct schedule_state *state,
static bool
qpu_inst_is_tlb(const struct v3d_qpu_instr *inst)
{
+ if (inst->sig.ldtlb || inst->sig.ldtlbu)
+ return true;
+
if (inst->type != V3D_QPU_INSTR_TYPE_ALU)
return false;