From 407f21ef1bcbd4054927aa8cc7a9f9252b389a87 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 19 Mar 2018 11:05:03 -0700 Subject: [PATCH] broadcom/vc5: The ldvpm signal also a case of using the VPM. The QPU scheduling code calling this function already separately checked this signal. --- src/broadcom/qpu/qpu_instr.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/broadcom/qpu/qpu_instr.c b/src/broadcom/qpu/qpu_instr.c index 96033739431..506cf06d550 100644 --- a/src/broadcom/qpu/qpu_instr.c +++ b/src/broadcom/qpu/qpu_instr.c @@ -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; -- 2.30.2