From: Sunil Khatri Date: Mon, 21 Apr 2025 12:15:49 +0000 (+0530) Subject: drm/amdgpu: update fence ptr with context:seqno X-Git-Tag: v6.16-rc1~144^2~10^2~119 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=127e612bf16726620e431b6e0f771424916492be;p=thirdparty%2Fkernel%2Flinux.git 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 Cc: Tvrtko Ursulin Signed-off-by: Sunil Khatri Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c index 4be72bebcf342..b0e8098a3988f 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); } }