intel/mi-builder: add framework for self modifying batches
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Sun, 2 Feb 2020 13:25:16 +0000 (14:25 +0100)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 20 May 2020 11:02:27 +0000 (14:02 +0300)
commit796fccce631bf8ecb6ce2fd1a68f219788693a6e
tree0eea5e0705ad84dd299b6963a92ffa09fa26a741
parent570bd760d3e1c2754fc045981d2162df67e81592
intel/mi-builder: add framework for self modifying batches

v2: Use Jason's idea to store addresses to modify

v3: Add ALU flushes (Jason)

v4: Remove ALU flush from gen_mi_self_mod_barrier() (Jason)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> (v2)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2775>
src/intel/common/gen_mi_builder.h