diff options
author | Jordan Justen <[email protected]> | 2018-03-20 08:23:35 -0700 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2019-10-30 14:08:51 -0700 |
commit | 2b186264cc252c0f702823cbc5ed099507a11ce0 (patch) | |
tree | abec2e2d9a7684ddf20719f0ae4f52749f8cc84f /src/intel | |
parent | 8125d7960b672bcd597a2687e3078899afc52560 (diff) |
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 <[email protected]>
Reviewed-by: Francisco Jerez <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r-- | src/intel/compiler/test_eu_validate.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
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<struct gen_info> { @@ -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)) |