Skip to content

Commit 127e612

Browse files
amd-sukhatrialexdeucher
authored andcommitted
drm/amdgpu: update fence ptr with context:seqno
log context:seqno of the fence during timeout rather than logging fence pointer. Reviewed-by: Arvind Yadav <Arvind.Yadav@amd.com> Cc: Tvrtko Ursulin <tvrtko.ursulin@igalia.com> Signed-off-by: Sunil Khatri <sunil.khatri@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent cade59a commit 127e612

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ amdgpu_userq_wait_for_last_fence(struct amdgpu_userq_mgr *uq_mgr,
9494
if (f && !dma_fence_is_signaled(f)) {
9595
ret = dma_fence_wait_timeout(f, true, msecs_to_jiffies(100));
9696
if (ret <= 0)
97-
dev_err(adev->dev, "Timed out waiting for fence f=%p\n", f);
97+
dev_err(adev->dev, "Timed out waiting for fence=%llu:%llu\n",
98+
f->context, f->seqno);
9899
}
99100
}
100101

0 commit comments

Comments
 (0)