broadcom/compiler: add a v3d_qpu_instr_is_legacy_sfu helper
authorIago Toral Quiroga <itoral@igalia.com>
Mon, 24 Apr 2023 06:51:47 +0000 (08:51 +0200)
committerMarge Bot <emma+marge@anholt.net>
Mon, 24 Apr 2023 09:34:20 +0000 (09:34 +0000)
commitb3ac456eb1df0976ee4036cd191b557682923d04
tree763492559c47488c15e38b5986f0df13a0b934b0
parent4a3be610d5e5deb47aff1a9fc8bbab85cff9e502
broadcom/compiler: add a v3d_qpu_instr_is_legacy_sfu helper

This checks for the deprecated, old-style SFU instructions triggered by
magic writes.

Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
cc: mesa-stable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22593>
src/broadcom/qpu/qpu_instr.c
src/broadcom/qpu/qpu_instr.h