All of lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-xe] [PATCH] drm/xe/execlist: Log when using execlist submission
@ 2023-07-19 18:57 Francois Dugast
  2023-07-19 19:07 ` [Intel-xe] ✓ CI.Patch_applied: success for " Patchwork
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Francois Dugast @ 2023-07-19 18:57 UTC (permalink / raw)
  To: intel-xe; +Cc: Francois Dugast

Make explicit in the log that execlist submission is used to prevent from
silently using it over GuC submission.

Signed-off-by: Francois Dugast <francois.dugast@intel.com>
---
 drivers/gpu/drm/xe/xe_execlist.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/xe_execlist.c b/drivers/gpu/drm/xe/xe_execlist.c
index 3aec37985f32..541f82387bb5 100644
--- a/drivers/gpu/drm/xe/xe_execlist.c
+++ b/drivers/gpu/drm/xe/xe_execlist.c
@@ -318,9 +318,12 @@ static int execlist_engine_init(struct xe_engine *e)
 {
 	struct drm_gpu_scheduler *sched;
 	struct xe_execlist_engine *exl;
+	struct xe_device *xe = gt_to_xe(e->gt);
 	int err;
 
-	XE_BUG_ON(xe_device_guc_submission_enabled(gt_to_xe(e->gt)));
+	XE_BUG_ON(xe_device_guc_submission_enabled(xe));
+
+	drm_info(&xe->drm, "Enabling execlist submission (GuC submission disabled)\n");
 
 	exl = kzalloc(sizeof(*exl), GFP_KERNEL);
 	if (!exl)
-- 
2.34.1


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

end of thread, other threads:[~2023-07-19 19:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-19 18:57 [Intel-xe] [PATCH] drm/xe/execlist: Log when using execlist submission Francois Dugast
2023-07-19 19:07 ` [Intel-xe] ✓ CI.Patch_applied: success for " Patchwork
2023-07-19 19:07 ` [Intel-xe] ✗ CI.checkpatch: warning " Patchwork
2023-07-19 19:08 ` [Intel-xe] ✓ CI.KUnit: success " Patchwork
2023-07-19 19:12 ` [Intel-xe] ✓ CI.Build: " Patchwork
2023-07-19 19:12 ` [Intel-xe] ✓ CI.Hooks: " Patchwork
2023-07-19 19:14 ` [Intel-xe] ✓ CI.checksparse: " Patchwork
2023-07-19 19:41 ` [Intel-xe] [PATCH] " Rodrigo Vivi
2023-07-19 19:49 ` [Intel-xe] ○ CI.BAT: info for " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.