Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH igt] tests/xe_debugfs: Skip test for tile count
@ 2023-08-03 22:02 Lucas De Marchi
  2023-08-03 23:11 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Lucas De Marchi @ 2023-08-03 22:02 UTC (permalink / raw)
  To: igt-dev; +Cc: Lucas De Marchi, intel-xe, Rodrigo Vivi

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@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

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-08-11 21:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-03 22:02 [igt-dev] [PATCH igt] tests/xe_debugfs: Skip test for tile count Lucas De Marchi
2023-08-03 23:11 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2023-08-03 23:13 ` [igt-dev] ○ CI.xeBAT: info " Patchwork
2023-08-04  6:03 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2023-08-11 15:12   ` Kamil Konieczny
2023-08-11 21:31     ` Lucas De Marchi
2023-08-07 22:14 ` [igt-dev] [Intel-xe] [PATCH igt] " Rodrigo Vivi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox