Skip to content

Commit 649f533

Browse files
committed
drm/xe: Add caller info to xe_gt_reset_async
Add caller info to the xe_gt_reset_async() to help debug issues. v2: s/%pS/%ps(Matt) Cc: Matthew Auld <[email protected]> Link: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/2874 Reviewed-by: Matthew Auld <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Nirmoy Das <[email protected]>
1 parent 2eb460a commit 649f533

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/xe/xe_gt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ static void gt_reset_worker(struct work_struct *w)
834834

835835
void xe_gt_reset_async(struct xe_gt *gt)
836836
{
837-
xe_gt_info(gt, "trying reset\n");
837+
xe_gt_info(gt, "trying reset from %ps\n", __builtin_return_address(0));
838838

839839
/* Don't do a reset while one is already in flight */
840840
if (!xe_fault_inject_gt_reset() && xe_uc_reset_prepare(&gt->uc))

0 commit comments

Comments
 (0)