diff options
Diffstat (limited to 'src/broadcom/compiler/qpu_schedule.c')
-rw-r--r-- | src/broadcom/compiler/qpu_schedule.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/broadcom/compiler/qpu_schedule.c b/src/broadcom/compiler/qpu_schedule.c index be794a88c14..0f8001ff52d 100644 --- a/src/broadcom/compiler/qpu_schedule.c +++ b/src/broadcom/compiler/qpu_schedule.c @@ -236,6 +236,16 @@ process_waddr_deps(struct schedule_state *state, struct schedule_node *n, add_write_dep(state, &state->last_tlb, n); break; + case V3D_QPU_WADDR_SYNC: + case V3D_QPU_WADDR_SYNCB: + case V3D_QPU_WADDR_SYNCU: + /* For CS barrier(): Sync against any other memory + * accesses. There doesn't appear to be any need for + * barriers to affect ALU operations. + */ + add_write_dep(state, &state->last_tmu_write, n); + break; + case V3D_QPU_WADDR_NOP: break; |