mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
broadcom/compiler: detect unifa write from signal
It is possible for some signals to write to unifa directly. We will enable this from ldunif shortly so we should check for it here. 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
97d307406b
commit
90857262da
1 changed files with 6 additions and 0 deletions
|
|
@ -773,6 +773,12 @@ v3d_qpu_writes_unifa(const struct v3d_device_info *devinfo,
|
|||
inst->alu.mul.waddr == V3D_QPU_WADDR_UNIFA) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (v3d_qpu_sig_writes_address(devinfo, &inst->sig) &&
|
||||
inst->sig_magic &&
|
||||
inst->sig_addr == V3D_QPU_WADDR_UNIFA) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue