Skip to content

brw: use a single virtual opcode to read ARF registers

What does this MR do and why?

brw: use a single virtual opcode to read ARF registers

In 2c65d90bc8 I forgot to add the new SHADER_OPCODE_READ_MASK_REG
opcode to the list of barrier instruction in the scheduler. Let's just
use a single opcode for all ARF registers that need special
scoreboarding and put the register as source (nicer for the debug
output).

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 2c65d90bc8 ("intel/brw: ensure find_live_channel don't access arch register without sync")

Should resolve the hangs from #11236 (closed)

Still needs some performance checks.

Merge request reports