intel/fs: Represent SWSB in-order dependency addresses as vectors.
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 19 Feb 2021 07:26:57 +0000 (23:26 -0800)
committerMarge Bot <eric+marge@anholt.net>
Fri, 16 Apr 2021 08:27:35 +0000 (08:27 +0000)
commit3f063334fc30df17015253c9308b89f41cddc9ed
tree4962ef274680930839dc0605869d0df66da75550
parent78b643fb7f7ad6f48062714a23b0d6d9f213c8cb
intel/fs: Represent SWSB in-order dependency addresses as vectors.

This extends the current ordered_address instruction counter to a
vector with one component per asynchronous ALU pipeline, allowing us
to track the last instruction that accessed a register separately for
each ALU pipeline of the XeHP EU, making it straightforward to
infer the right cross-pipeline synchronization annotations.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
v2: Make unit tests happy (with ubsan as run by GitLab automation).

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10000>
src/intel/compiler/brw_fs_scoreboard.cpp