[igt-dev] [PATCH igt] tests/xe_debugfs: Skip test for tile count

Lucas De Marchi lucas.demarchi at intel.com
Thu Aug 3 22:02:48 UTC 2023


Once upon a time in xe, tile count and gt count were the same thing.
This is not necessarily true anymore. Example: Meteor Lake has just
one tile, but 2 GTs (one for graphics, one for media).

There's little value in comparing what the kernel exports via ioctl
from what the kernel exports via debugfs. Just remove the test.

Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
---
 tests/xe/xe_debugfs.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/tests/xe/xe_debugfs.c b/tests/xe/xe_debugfs.c
index 5434d4645..e51d03661 100644
--- a/tests/xe/xe_debugfs.c
+++ b/tests/xe/xe_debugfs.c
@@ -104,9 +104,6 @@ test_base(int fd, struct drm_xe_query_config *config)
 
 	igt_assert(igt_debugfs_search(fd, "info", reference));
 
-	sprintf(reference, "tile_count %lld", config->info[XE_QUERY_CONFIG_GT_COUNT]);
-	igt_assert(igt_debugfs_search(fd, "info", reference));
-
 	switch (config->info[XE_QUERY_CONFIG_VA_BITS]) {
 	case 48:
 		val = 3;
-- 
2.40.1



More information about the igt-dev mailing list