From: Eric Anholt Date: Thu, 12 Oct 2017 00:40:35 +0000 (-0700) Subject: broadcom/vc5: Don't pair VPMSETUP with other peripheral access. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=20b91cd568d82057c4fcf4f864c41896de85c024;p=mesa.git 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. --- 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)) {