From: Jordan Justen Date: Tue, 20 Mar 2018 15:23:35 +0000 (-0700) Subject: intel/eu/validate/gen12: Add TGL to eu_validate tests. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2b186264cc252c0f702823cbc5ed099507a11ce0;p=mesa.git intel/eu/validate/gen12: Add TGL to eu_validate tests. These reworks were combined into this patch: * Matt Turner: i965: Disable NoDDChk/NoDDClr test on Gen12+ * Francisco Jerez: intel/eu/validate/gen12: Disable qword_low_power_no_depctrl eu_validate test. Signed-off-by: Jordan Justen Reviewed-by: Francisco Jerez Reviewed-by: Kenneth Graunke --- diff --git a/src/intel/compiler/test_eu_validate.cpp b/src/intel/compiler/test_eu_validate.cpp index 9ad09c51600..46dee15e271 100644 --- a/src/intel/compiler/test_eu_validate.cpp +++ b/src/intel/compiler/test_eu_validate.cpp @@ -46,6 +46,7 @@ static const struct gen_info { { "whl", }, { "cnl", }, { "icl", }, + { "tgl", }, }; class validation_test: public ::testing::TestWithParam { @@ -1869,6 +1870,10 @@ TEST_P(validation_test, qword_low_power_align1_regioning_restrictions) if (devinfo.gen < 8) return; + /* NoDDChk/NoDDClr does not exist on Gen12+ */ + if (devinfo.gen >= 12) + return; + for (unsigned i = 0; i < sizeof(inst) / sizeof(inst[0]); i++) { if (!devinfo.has_64bit_types && (type_sz(inst[i].dst_type) == 8 || type_sz(inst[i].src_type) == 8)) @@ -2338,6 +2343,10 @@ TEST_P(validation_test, qword_low_power_no_depctrl) if (devinfo.gen < 8) return; + /* NoDDChk/NoDDClr does not exist on Gen12+ */ + if (devinfo.gen >= 12) + return; + for (unsigned i = 0; i < sizeof(inst) / sizeof(inst[0]); i++) { if (!devinfo.has_64bit_types && (type_sz(inst[i].dst_type) == 8 || type_sz(inst[i].src_type) == 8))