[PATCH v1] drm/amdgpu: update fence ptr with context:seqno
Yadav, Arvind
arvyadav at amd.com
Mon Apr 21 12:38:13 UTC 2025
Reviewed-by:Arvind Yadav <Arvind.Yadav at amd.com>
On 4/21/2025 6:01 PM, Khatri, Sunil wrote:
> [AMD Official Use Only - AMD Internal Distribution Only]
>
> -----Original Message-----
> From: Sunil Khatri <sunil.khatri at amd.com>
> Sent: Monday, April 21, 2025 5:51 PM
> To: Deucher, Alexander <Alexander.Deucher at amd.com>; Koenig, Christian <Christian.Koenig at amd.com>
> Cc: amd-gfx at lists.freedesktop.org; Khatri, Sunil <Sunil.Khatri at amd.com>; Tvrtko Ursulin <tvrtko.ursulin at igalia.com>
> Subject: [PATCH v1] drm/amdgpu: update fence ptr with context:seqno
>
> log context:seqno of the fence during timeout rather than logging fence pointer.
>
> Cc: Tvrtko Ursulin <tvrtko.ursulin at igalia.com>
> Signed-off-by: Sunil Khatri <sunil.khatri at amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> 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);
> }
> }
>
> --
> 2.34.1
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20250421/9ab72228/attachment-0001.htm>
More information about the amd-gfx
mailing list