summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu
diff options
context:
space:
mode:
authorSunil Khatri <sunil.khatri@amd.com>2025-04-21 15:15:49 +0300
committerAlex Deucher <alexander.deucher@amd.com>2025-04-22 15:51:46 +0300
commit127e612bf16726620e431b6e0f771424916492be (patch)
tree27ce5fe4cc4a0be345534476868c70fd410ea3fd /drivers/gpu/drm/amd/amdgpu
parentcade59abaa0586100a95c72725d9bde0fadc3845 (diff)
downloadlinux-127e612bf16726620e431b6e0f771424916492be.tar.xz
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c
index 4be72bebcf34..b0e8098a3988 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c
@@ -94,7 +94,8 @@ amdgpu_userq_wait_for_last_fence(struct amdgpu_userq_mgr *uq_mgr,
if (f && !dma_fence_is_signaled(f)) {
ret = dma_fence_wait_timeout(f, true, msecs_to_jiffies(100));
if (ret <= 0)
- dev_err(adev->dev, "Timed out waiting for fence f=%p\n", f);
+ dev_err(adev->dev, "Timed out waiting for fence=%llu:%llu\n",
+ f->context, f->seqno);
}
}