* [PATCH] drm/xe: Print has_sem64 in debugfs info
@ 2026-11-26 13:08 tilak.tirumalesh.tangudu
2026-11-26 13:14 ` sashiko-bot
2026-11-26 14:17 ` Gustavo Sousa
0 siblings, 2 replies; 3+ messages in thread
From: tilak.tirumalesh.tangudu @ 2026-11-26 13:08 UTC (permalink / raw)
To: tilak.tirumalesh.tangudu, satyanarayana.k.v.p, intel-xe,
gustavo.sousa
From: Tangudu Tilak Tirumalesh <tilak.tirumalesh.tangudu@intel.com>
Print gt->info.has_sem64 alongside the other per-GT fields in the
debugfs info file, which will be needed by stakeholders such as test
and debug tools to know whether to use MI_SEMAPHORE_WAIT_64 on a GT.
Signed-off-by: Tangudu Tilak Tirumalesh <tilak.tirumalesh.tangudu@intel.com>
---
drivers/gpu/drm/xe/xe_debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/xe/xe_debugfs.c b/drivers/gpu/drm/xe/xe_debugfs.c
index bc62d1054d29..e0458c21eb09 100644
--- a/drivers/gpu/drm/xe/xe_debugfs.c
+++ b/drivers/gpu/drm/xe/xe_debugfs.c
@@ -242,6 +242,7 @@ static int info(struct seq_file *m, void *data)
print_engine_mask(&p, gt, gt->info.engine_mask);
drm_printf(&p, "gt%d multi_queue_engine_classes", id);
print_engine_class_mask(&p, gt->info.multi_queue_engine_class_mask);
+ drm_printf(&p, "gt%d has_sem64 %s\n", id, str_yes_no(gt->info.has_sem64));
}
return 0;
--
2.46.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] drm/xe: Print has_sem64 in debugfs info
2026-11-26 13:08 [PATCH] drm/xe: Print has_sem64 in debugfs info tilak.tirumalesh.tangudu
@ 2026-11-26 13:14 ` sashiko-bot
2026-11-26 14:17 ` Gustavo Sousa
1 sibling, 0 replies; 3+ messages in thread
From: sashiko-bot @ 2026-11-26 13:14 UTC (permalink / raw)
To: tilak.tirumalesh.tangudu, intel-xe
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [High] drm/xe: build failure in info() due to missing
gt->info.has_sem64 member
--
commit 82e9441472dcc5391dc8deae9fb47a98f3923523
Author: Tangudu Tilak Tirumalesh <tilak.tirumalesh.tangudu@intel.com>
drm/xe: Print has_sem64 in debugfs info
This commit prints gt->info.has_sem64 for each GT in the debugfs info file.
> diff --git a/drivers/gpu/drm/xe/xe_debugfs.c b/drivers/gpu/drm/xe/xe_debugfs.c
> index e59d4964d811d..59164d90a2afb 100644
> --- a/drivers/gpu/drm/xe/xe_debugfs.c
> +++ b/drivers/gpu/drm/xe/xe_debugfs.c
> @@ -235,6 +235,7 @@ static int info(struct seq_file *m, void *data)
> print_engine_mask(&p, gt, gt->info.engine_mask);
> drm_printf(&p, "gt%d multi_queue_engine_classes", id);
> print_engine_class_mask(&p, gt->info.multi_queue_engine_class_mask);
> + drm_printf(&p, "gt%d has_sem64 %s\n", id, str_yes_no(gt->info.has_sem64));
[Severity: High]
Does this fail to build? The info sub-structure in struct xe_gt (in
drivers/gpu/drm/xe/xe_gt_types.h) has no has_sem64 member.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261126130802.1258172-1-tilak.tirumalesh.tangudu@intel.com?part=1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] drm/xe: Print has_sem64 in debugfs info
2026-11-26 13:08 [PATCH] drm/xe: Print has_sem64 in debugfs info tilak.tirumalesh.tangudu
2026-11-26 13:14 ` sashiko-bot
@ 2026-11-26 14:17 ` Gustavo Sousa
1 sibling, 0 replies; 3+ messages in thread
From: Gustavo Sousa @ 2026-11-26 14:17 UTC (permalink / raw)
To: tilak.tirumalesh.tangudu, tilak.tirumalesh.tangudu,
satyanarayana.k.v.p, intel-xe
<tilak.tirumalesh.tangudu@intel.com> writes:
> From: Tangudu Tilak Tirumalesh <tilak.tirumalesh.tangudu@intel.com>
>
> Print gt->info.has_sem64 alongside the other per-GT fields in the
> debugfs info file, which will be needed by stakeholders such as test
> and debug tools to know whether to use MI_SEMAPHORE_WAIT_64 on a GT.
>
> Signed-off-by: Tangudu Tilak Tirumalesh <tilak.tirumalesh.tangudu@intel.com>
Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
> ---
> drivers/gpu/drm/xe/xe_debugfs.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/xe/xe_debugfs.c b/drivers/gpu/drm/xe/xe_debugfs.c
> index bc62d1054d29..e0458c21eb09 100644
> --- a/drivers/gpu/drm/xe/xe_debugfs.c
> +++ b/drivers/gpu/drm/xe/xe_debugfs.c
> @@ -242,6 +242,7 @@ static int info(struct seq_file *m, void *data)
> print_engine_mask(&p, gt, gt->info.engine_mask);
> drm_printf(&p, "gt%d multi_queue_engine_classes", id);
> print_engine_class_mask(&p, gt->info.multi_queue_engine_class_mask);
> + drm_printf(&p, "gt%d has_sem64 %s\n", id, str_yes_no(gt->info.has_sem64));
> }
>
> return 0;
> --
> 2.46.0
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-11-26 14:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-26 13:08 [PATCH] drm/xe: Print has_sem64 in debugfs info tilak.tirumalesh.tangudu
2026-11-26 13:14 ` sashiko-bot
2026-11-26 14:17 ` Gustavo Sousa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox