diff options
author | Jordan Justen <[email protected]> | 2017-08-08 15:28:23 -0700 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2019-08-28 13:38:33 -0700 |
commit | bdeb498070263f3a58fc23f4aa8c15fe2fffc296 (patch) | |
tree | 8d0617c90bc8dc979a80a6afe4ec5b4855416918 /src/intel/compiler/brw_eu_compact.c | |
parent | d7a1140c459d86aabd97b68994d2ff6f0fef0795 (diff) |
intel/compiler: Disable compaction on gen12 for now
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_eu_compact.c')
-rw-r--r-- | src/intel/compiler/brw_eu_compact.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/intel/compiler/brw_eu_compact.c b/src/intel/compiler/brw_eu_compact.c index daebdca8e37..14b4bf2bf7e 100644 --- a/src/intel/compiler/brw_eu_compact.c +++ b/src/intel/compiler/brw_eu_compact.c @@ -1491,6 +1491,12 @@ brw_init_compaction_tables(const struct gen_device_info *devinfo) assert(gen11_datatype_table[ARRAY_SIZE(gen11_datatype_table) - 1] != 0); switch (devinfo->gen) { + case 12: + control_index_table = NULL; + datatype_table = NULL; + subreg_table = NULL; + src_index_table = NULL; + break; case 11: control_index_table = gen8_control_index_table; datatype_table = gen11_datatype_table; @@ -1533,7 +1539,7 @@ void brw_compact_instructions(struct brw_codegen *p, int start_offset, struct disasm_info *disasm) { - if (unlikely(INTEL_DEBUG & DEBUG_NO_COMPACTION)) + if (unlikely(INTEL_DEBUG & DEBUG_NO_COMPACTION) || p->devinfo->gen > 11) return; const struct gen_device_info *devinfo = p->devinfo; |