intel/eu/validate/gen12: Add TGL to eu_validate tests.
authorJordan Justen <jordan.l.justen@intel.com>
Tue, 20 Mar 2018 15:23:35 +0000 (08:23 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Wed, 30 Oct 2019 21:08:51 +0000 (14:08 -0700)
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 <jordan.l.justen@intel.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/compiler/test_eu_validate.cpp

index 9ad09c5160009259989b3a815101f21397b7caf2..46dee15e27146e750f06f6b3824feafb864d0f8a 100644 (file)
@@ -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))