Browse Source

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.
tags/17.3-branchpoint
Eric Anholt 8 years ago
parent
commit
20b91cd568
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      src/broadcom/compiler/qpu_schedule.c

+ 3
- 0
src/broadcom/compiler/qpu_schedule.c 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)) {

Loading…
Cancel
Save