broadcom/vc5: Fix scheduling for a non-SFU R4 write after a dead R4 write.
authorEric Anholt <eric@anholt.net>
Tue, 7 Nov 2017 17:51:56 +0000 (09:51 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 7 Nov 2017 20:57:49 +0000 (12:57 -0800)
commitdfff9ce45ef9e2ba61814d7a75b896bbaf970557
treedea5dbaf7576976bc1903e5a3e3c2dc024a12671
parent9ccb6621be2f40a74f75efe30d83b7813e3c3f56
broadcom/vc5: Fix scheduling for a non-SFU R4 write after a dead R4 write.

The v3d_qpu_writes_r*() were only checking for fixed-function accumulator
writes, not normal ALU writes to those regs.

Fixes fs-discard-exit-2 on simulation (but not HW).
src/broadcom/compiler/qpu_schedule.c
src/broadcom/qpu/qpu_instr.c