brw: properly decode TGL_PIPE_SCALAR

Source: BSpec "Instruction Fields" page (56701), SWSB field.

Credits to Caio Oliveira here, since he was helping me while we found
this issue together.

Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35395>
This commit is contained in:
Paulo Zanoni 2025-06-05 17:34:24 -07:00 committed by Marge Bot
parent 42ba492b88
commit 12192f6489

View file

@ -1134,6 +1134,7 @@ tgl_swsb_decode(const struct intel_device_info *devinfo,
(x & 0x38) == 0x18 ? TGL_PIPE_INT :
(x & 0x38) == 0x20 ? TGL_PIPE_LONG :
(x & 0x38) == 0x28 ? TGL_PIPE_MATH :
(x & 0x38) == 0x30 ? TGL_PIPE_SCALAR :
(x & 0x38) == 0x8 ? TGL_PIPE_ALL :
TGL_PIPE_NONE) };
return swsb;