summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2018-03-19 11:05:03 -0700
committerEric Anholt <[email protected]>2018-03-19 16:42:59 -0700
commit407f21ef1bcbd4054927aa8cc7a9f9252b389a87 (patch)
treeed0da22044317a89268d02be69b76747e7a22f5e /src
parent4760040c0980a8921120d517d5e5809f7f0e488c (diff)
broadcom/vc5: The ldvpm signal also a case of using the VPM.
The QPU scheduling code calling this function already separately checked this signal.
Diffstat (limited to 'src')
-rw-r--r--src/broadcom/qpu/qpu_instr.c3
1 files changed, 3 insertions, 0 deletions
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;