broadcom/vc5: The ldvpm signal also a case of using the VPM.
authorEric Anholt <eric@anholt.net>
Mon, 19 Mar 2018 18:05:03 +0000 (11:05 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 19 Mar 2018 23:42:59 +0000 (16:42 -0700)
The QPU scheduling code calling this function already separately checked
this signal.

src/broadcom/qpu/qpu_instr.c

index 96033739431d05e54c255beb8cf499e4956806d6..506cf06d550081d31d2243b63693d964845861a2 100644 (file)
@@ -569,6 +569,9 @@ v3d_qpu_writes_tmu(const struct v3d_qpu_instr *inst)
 bool
 v3d_qpu_uses_vpm(const struct v3d_qpu_instr *inst)
 {
+        if (inst->sig.ldvpm)
+                return true;
+
         if (inst->type == V3D_QPU_INSTR_TYPE_ALU) {
                 if (v3d_qpu_add_op_uses_vpm(inst->alu.add.op))
                         return true;