From: Iago Toral Quiroga Date: Fri, 5 Jul 2019 08:04:32 +0000 (+0200) Subject: v3d: handle tlb read dependency tracking as if they were writes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aff8885cf9922516f59391aab7e87170ae9cd906;p=mesa.git v3d: handle tlb read dependency tracking as if they were writes Tile buffer reads are emitted as ordered sequences and cannot be reordered. Reviewed-by: Eric Anholt --- diff --git a/src/broadcom/compiler/qpu_schedule.c b/src/broadcom/compiler/qpu_schedule.c index 338f75e4a18..b8e04f6ea13 100644 --- a/src/broadcom/compiler/qpu_schedule.c +++ b/src/broadcom/compiler/qpu_schedule.c @@ -382,7 +382,7 @@ calculate_deps(struct schedule_state *state, struct schedule_node *n) add_write_dep(state, &state->last_tmu_config, n); if (inst->sig.ldtlb | inst->sig.ldtlbu) - add_read_dep(state, state->last_tlb, n); + add_write_dep(state, &state->last_tlb, n); if (inst->sig.ldvpm) { add_write_dep(state, &state->last_vpm_read, n);