Skip to content

Commit d991102

Browse files
mwajdeczjohnharr-intel
authored andcommitted
drm/i915/guc: Update log for unsolicited CTB response
Instead of printing message fence twice, include HXG header of the unexpected message and its len. Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Signed-off-by: John Harrison <John.C.Harrison@Intel.com> Reviewed-by: John Harrison <John.C.Harrison@Intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230526235538.2230780-3-John.C.Harrison@Intel.com
1 parent edfd93e commit d991102

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -994,9 +994,8 @@ static int ct_handle_response(struct intel_guc_ct *ct, struct ct_incoming_msg *r
994994
break;
995995
}
996996
if (!found) {
997-
CT_ERROR(ct, "Unsolicited response (fence %u)\n", fence);
998-
CT_ERROR(ct, "Could not find fence=%u, last_fence=%u\n", fence,
999-
ct->requests.last_fence);
997+
CT_ERROR(ct, "Unsolicited response message: len %u, data %#x (fence %u, last %u)\n",
998+
len, hxg[0], fence, ct->requests.last_fence);
1000999
list_for_each_entry(req, &ct->requests.pending, link)
10011000
CT_ERROR(ct, "request %u awaits response\n",
10021001
req->fence);

0 commit comments

Comments
 (0)