v3d: instructions with the ldtlb and ldtlbu signals are tlb instructions
authorIago Toral Quiroga <itoral@igalia.com>
Wed, 3 Jul 2019 10:02:11 +0000 (12:02 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Fri, 12 Jul 2019 07:16:38 +0000 (09:16 +0200)
Reviewed-by: Eric Anholt <eric@anholt.net>
src/broadcom/compiler/qpu_schedule.c

index 27a83a23a5629691f6e385f8947f1748414e50c9..338f75e4a187b145208c595f6c2e1856ecf1ea5c 100644 (file)
@@ -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;