* [Intel-xe] [PATCH igt] tests/xe_debugfs: Skip test for tile count
@ 2023-08-03 22:02 Lucas De Marchi
2023-08-03 23:14 ` [Intel-xe] ✗ CI.Patch_applied: failure for " Patchwork
2023-08-07 22:14 ` [Intel-xe] [PATCH igt] " Rodrigo Vivi
0 siblings, 2 replies; 3+ messages in thread
From: Lucas De Marchi @ 2023-08-03 22:02 UTC (permalink / raw)
To: igt-dev; +Cc: Lucas De Marchi, Matt Roper, 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] 3+ messages in thread* [Intel-xe] ✗ CI.Patch_applied: failure for tests/xe_debugfs: Skip test for tile count
2023-08-03 22:02 [Intel-xe] [PATCH igt] tests/xe_debugfs: Skip test for tile count Lucas De Marchi
@ 2023-08-03 23:14 ` Patchwork
2023-08-07 22:14 ` [Intel-xe] [PATCH igt] " Rodrigo Vivi
1 sibling, 0 replies; 3+ messages in thread
From: Patchwork @ 2023-08-03 23:14 UTC (permalink / raw)
To: Lucas De Marchi; +Cc: intel-xe
== Series Details ==
Series: tests/xe_debugfs: Skip test for tile count
URL : https://patchwork.freedesktop.org/series/121989/
State : failure
== Summary ==
=== Applying kernel patches on branch 'drm-xe-next' with base: ===
Base commit: f16c04291 drm/xe: Rename engine to exec_queue
=== git am output follows ===
error: tests/xe/xe_debugfs.c: does not exist in index
hint: Use 'git am --show-current-patch' to see the failed patch
Applying: tests/xe_debugfs: Skip test for tile count
Patch failed at 0001 tests/xe_debugfs: Skip test for tile count
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Intel-xe] [PATCH igt] tests/xe_debugfs: Skip test for tile count
2023-08-03 22:02 [Intel-xe] [PATCH igt] tests/xe_debugfs: Skip test for tile count Lucas De Marchi
2023-08-03 23:14 ` [Intel-xe] ✗ CI.Patch_applied: failure for " Patchwork
@ 2023-08-07 22:14 ` Rodrigo Vivi
1 sibling, 0 replies; 3+ messages in thread
From: Rodrigo Vivi @ 2023-08-07 22:14 UTC (permalink / raw)
To: Lucas De Marchi; +Cc: igt-dev, Matt Roper, intel-xe
On Thu, Aug 03, 2023 at 03:02:48PM -0700, Lucas De Marchi wrote:
> 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>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@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 [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-08-07 22:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-03 22:02 [Intel-xe] [PATCH igt] tests/xe_debugfs: Skip test for tile count Lucas De Marchi
2023-08-03 23:14 ` [Intel-xe] ✗ CI.Patch_applied: failure for " Patchwork
2023-08-07 22:14 ` [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