mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
broadcom/qpu_schedule: update write deps for v71
We just need to add a write dep if rf0 is written implicitly. Note that we don't need to check if we have accumulators when checking for r3/r4/r5, as v3d_qpu_writes_rX would return false for hw version that doesn't have accumulators. Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25450>
This commit is contained in:
parent
5a035af931
commit
d12eb68d3a
1 changed files with 2 additions and 0 deletions
|
|
@ -422,6 +422,8 @@ calculate_deps(struct schedule_state *state, struct schedule_node *n)
|
|||
add_write_dep(state, &state->last_r[4], n);
|
||||
if (v3d_qpu_writes_r5(devinfo, inst))
|
||||
add_write_dep(state, &state->last_r[5], n);
|
||||
if (v3d_qpu_writes_rf0_implicitly(devinfo, inst))
|
||||
add_write_dep(state, &state->last_rf[0], n);
|
||||
|
||||
/* If we add any more dependencies here we should consider whether we
|
||||
* also need to update qpu_inst_after_thrsw_valid_in_delay_slot.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue