Skip to content

Commit

Permalink
drm/xe/execlist: Log when using execlist submission
Browse files Browse the repository at this point in the history
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>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
  • Loading branch information
Francois Dugast authored and Rodrigo Vivi committed Dec 21, 2023
1 parent 72e8d73 commit 0043a3e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion drivers/gpu/drm/xe/xe_execlist.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0043a3e

Please sign in to comment.