]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
drm/xe/guc: Fix badly worded error message
authorJohn Harrison <John.C.Harrison@Intel.com>
Thu, 4 Sep 2025 19:57:51 +0000 (12:57 -0700)
committerJohn Harrison <John.C.Harrison@Intel.com>
Fri, 5 Sep 2025 20:31:34 +0000 (13:31 -0700)
If a GuC id lookup failed, the error message was 'Not engine present',
which is bad in multiple ways - incorrect English and 'engines' are
now called 'exec queues' in this context. So fix it.

Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Reviewed-by: Matt Atwood <matthew.s.atwood@intel.com>
Link: https://lore.kernel.org/r/20250904195752.3846138-3-John.C.Harrison@Intel.com
drivers/gpu/drm/xe/xe_guc_submit.c

index 1185b23b1384e1afe6eb56d4c7f70d00f1e995b2..897f33ded8ec5d57cb43b1dbd43110edd74518b5 100644 (file)
@@ -2029,7 +2029,7 @@ g2h_exec_queue_lookup(struct xe_guc *guc, u32 guc_id)
 
        q = xa_load(&guc->submission_state.exec_queue_lookup, guc_id);
        if (unlikely(!q)) {
-               xe_gt_err(gt, "Not engine present for guc_id %u\n", guc_id);
+               xe_gt_err(gt, "No exec queue found for guc_id %u\n", guc_id);
                return NULL;
        }