[PATCH i-g-t 2/2] tests/intel/test_config: Add GPU excluded platform definition for LNL/BMG

Karthik B S karthik.b.s at intel.com
Wed Apr 16 10:28:06 UTC 2025


With config definitions added, the blocklists for LNL and BMG platform on xe
can be used used to generate platform testlists.

Signed-off-by: Karthik B S <karthik.b.s at intel.com>
Signed-off-by: Jari Tahvanainen <jari.tahvanainen at intel.com>
Signed-off-by: Aditya Chauhan <aditya.chauhan at intel.com>
---
 tests/intel/kms_test_config.json | 10 +++++++++-
 tests/intel/xe_test_config.json  | 12 ++++++++++--
 2 files changed, 19 insertions(+), 3 deletions(-)

diff --git a/tests/intel/kms_test_config.json b/tests/intel/kms_test_config.json
index e11c7f4fe..65d6eb07d 100644
--- a/tests/intel/kms_test_config.json
+++ b/tests/intel/kms_test_config.json
@@ -54,7 +54,15 @@
         },
 	"GPU excluded platform": {
 	    "_properties_": {
-		"description": "Provides a list of GPUs not capable of running the subtest (or the test as a whole)."
+		"description": "Provides a list of GPUs not capable of running the subtest (or the test as a whole).",
+		"update-from-file": {
+		    "include-type": "regex-ignorecase",
+		    "include": [
+			{ "LNL": "../intel-ci/xe.lnl.display.blocklist.txt" },
+			{ "BMG": "../intel-ci/xe.bmg.display.blocklist.txt" },
+			{ "all": "../intel-ci/xe.blocklist.txt" }
+		    ]
+		}
 	    }
 	},
         "Description": {
diff --git a/tests/intel/xe_test_config.json b/tests/intel/xe_test_config.json
index 4556025f7..446d59a95 100644
--- a/tests/intel/xe_test_config.json
+++ b/tests/intel/xe_test_config.json
@@ -71,8 +71,16 @@
         },
         "GPU excluded platform": {
             "_properties_": {
-                "description": "Provides a list of GPUs not capable of running the subtest (or the test as a hole)."
-            }
+                "description": "Provides a list of GPUs not capable of running the subtest (or the test as a hole).",
+		"update-from-file": {
+		    "include-type": "regex-ignorecase",
+		    "include": [
+			{ "LNL": "../intel-ci/xe.lnl.display.blocklist.txt" },
+			{ "BMG": "../intel-ci/xe.bmg.display.blocklist.txt" },
+			{ "all": "../intel-ci/xe.blocklist.txt" }
+		    ]
+		}
+	    }
         },
         "GPU requirement": {
             "_properties_": {
-- 
2.43.0



More information about the igt-dev mailing list