From 20b91cd568d82057c4fcf4f864c41896de85c024 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 11 Oct 2017 17:40:35 -0700 Subject: broadcom/vc5: Don't pair VPMSETUP with other peripheral access. The specs don't say you can't, but pairing it with an SFU write on the 7268 breaks all our simple shader tests using gl_MVP * gl_Vertex. --- src/broadcom/compiler/qpu_schedule.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/broadcom') diff --git a/src/broadcom/compiler/qpu_schedule.c b/src/broadcom/compiler/qpu_schedule.c index b5a0aa9a34a..dd221e027ec 100644 --- a/src/broadcom/compiler/qpu_schedule.c +++ b/src/broadcom/compiler/qpu_schedule.c @@ -590,6 +590,9 @@ qpu_accesses_peripheral(const struct v3d_qpu_instr *inst) return true; } + if (inst->alu.add.op == V3D_QPU_A_VPMSETUP) + return true; + if (inst->alu.mul.op != V3D_QPU_M_NOP && inst->alu.mul.magic_write && qpu_magic_waddr_is_periph(inst->alu.mul.waddr)) { -- cgit v1.2.3