intel/mi: Add a new gen_mi_store_if() helper.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 1 Apr 2019 23:33:08 +0000 (16:33 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 25 Jul 2019 18:42:55 +0000 (18:42 +0000)
commit74063ee61aadd1371a9b395ffd5d5d308ee2d4ee
treea24b25dff040590ef296b27d14755073f9f205b8
parent27b5817b6c234d266425956287351dc424abe9ea
intel/mi: Add a new gen_mi_store_if() helper.

This performs predicated MI_STORE_REGISTER_MEM commands, assuming that
the condition is already loaded into MI_PREDICATE_DATA.

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
src/intel/common/gen_mi_builder.h