Mesa (master): intel/eu/validate/gen12: Add TGL to eu_validate tests.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Oct 30 21:14:04 UTC 2019
Module: Mesa
Branch: master
Commit: 2b186264cc252c0f702823cbc5ed099507a11ce0
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2b186264cc252c0f702823cbc5ed099507a11ce0
Author: Jordan Justen <jordan.l.justen at intel.com>
Date: Tue Mar 20 08:23:35 2018 -0700
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 <jordan.l.justen at intel.com>
Reviewed-by: Francisco Jerez <currojerez at riseup.net>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
---
src/intel/compiler/test_eu_validate.cpp | 9 +++++++++
1 file changed, 9 insertions(+)
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))
More information about the mesa-commit
mailing list