Module: Mesa
Branch: master
Commit: 4793e2c88881380ce126a733dbbf5051d39c41fc
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4793e2c88881380ce126a733dbbf5051d39c41fc

Author: Iago Toral Quiroga <[email protected]>
Date:   Wed Jul  3 12:02:11 2019 +0200

v3d: instructions with the ldtlb and ldtlbu signals are tlb instructions

Reviewed-by: Eric Anholt <[email protected]>

---

 src/broadcom/compiler/qpu_schedule.c | 3 +++
 1 file changed, 3 insertions(+)

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;
 

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to