summaryrefslogtreecommitdiff
path: root/drivers/gpu
diff options
context:
space:
mode:
authorFrancois Dugast <francois.dugast@intel.com>2023-07-19 21:57:07 +0300
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-21 19:37:52 +0300
commit0043a3e8a1f57e3aca91d4a99ff49031416119b6 (patch)
treeaea19447f377c19e1a36257759c4733947f60fb7 /drivers/gpu
parent72e8d73b712d2232019b33d2331099d3071ea94a (diff)
downloadlinux-0043a3e8a1f57e3aca91d4a99ff49031416119b6.tar.xz
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: Francois Dugast <francois.dugast@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/xe/xe_execlist.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/xe/xe_execlist.c b/drivers/gpu/drm/xe/xe_execlist.c
index b45594a45fe2..b15d095b395b 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)