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.
This commit is contained in:
Eric Anholt 2017-10-11 17:40:35 -07:00
parent dc9fa4bfb3
commit 20b91cd568

View file

@ -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)) {