Commit 0043a3e8 authored by Francois Dugast's avatar Francois Dugast Committed by Rodrigo Vivi

drm/xe/execlist: Log when using execlist submission

Make explicit in the log that execlist submission is used to prevent from
silently using it over GuC submission.
Signed-off-by: default avatarFrancois Dugast <francois.dugast@intel.com>
Reviewed-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
parent 72e8d73b
...@@ -318,9 +318,12 @@ static int execlist_engine_init(struct xe_engine *e) ...@@ -318,9 +318,12 @@ static int execlist_engine_init(struct xe_engine *e)
{ {
struct drm_gpu_scheduler *sched; struct drm_gpu_scheduler *sched;
struct xe_execlist_engine *exl; struct xe_execlist_engine *exl;
struct xe_device *xe = gt_to_xe(e->gt);
int err; 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); exl = kzalloc(sizeof(*exl), GFP_KERNEL);
if (!exl) if (!exl)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment