intel/compiler: fix intel_swsb_decode for newer platforms
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 29 Nov 2022 01:44:38 +0000 (17:44 -0800)
committerMarge Bot <emma+marge@anholt.net>
Sat, 10 Dec 2022 03:59:19 +0000 (03:59 +0000)
commiteac00f4ec771ee6931f00168429f27579025e558
tree32d21773251ba86a2f6f5fd16c2acfba8bbb33d8
parent295c5f59e04b7cce2b78f67698525734faf62b8f
intel/compiler: fix intel_swsb_decode for newer platforms

In the previous patch we adjusted the scoreboard pass to take into
consideration a new case of unordered operations for TGL. Fix the
decoding as well.

v2: use intel_device_info_is_mtl()  (Curro, Jordan)
v3: the part where we export num_sources_from_inst() is now a separate patch
    (Curro).
v4: Work around false positive maybe-unitialized warning since Marge
    uses -Werror=maybe-uninitialized (Marge).

Reviewed-by: Francisco Jerez <currojerez@riseup.net> (v3)
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20072>
src/intel/compiler/brw_disasm.c
src/intel/compiler/brw_eu_defines.h