mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 04:10:10 +01:00
broadcom/compiler: check signal writes to magic regs when updating scoreboard
We have only been checking magic writes from ADD and MUL ports, but signals can potentially write to magic registers too. Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18667>
This commit is contained in:
parent
90857262da
commit
cbc5169ef9
1 changed files with 6 additions and 0 deletions
|
|
@ -1326,6 +1326,12 @@ update_scoreboard_for_chosen(struct choose_scoreboard *scoreboard,
|
|||
}
|
||||
}
|
||||
|
||||
if (v3d_qpu_sig_writes_address(devinfo, &inst->sig) && inst->sig_magic) {
|
||||
update_scoreboard_for_magic_waddr(scoreboard,
|
||||
inst->sig_addr,
|
||||
devinfo);
|
||||
}
|
||||
|
||||
if (inst->sig.ldvary)
|
||||
scoreboard->last_ldvary_tick = scoreboard->tick;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue