From: "Christian König" <ckoenig.leichtzumerken@gmail.com>
To: Alex Deucher <alexander.deucher@amd.com>, amd-gfx@lists.freedesktop.org
Subject: Re: [PATCH 1/2] drm/amdgpu/mes11: reduce timeout
Date: Wed, 18 Sep 2024 15:44:00 +0200 [thread overview]
Message-ID: <2534c57c-e4bf-4df4-b5c6-e9864254f41d@gmail.com> (raw)
In-Reply-To: <20240918133953.3786248-1-alexander.deucher@amd.com>
Am 18.09.24 um 15:39 schrieb Alex Deucher:
> The firmware timeout is 2s. Reduce the driver timeout to
> 2.1 seconds to avoid back pressure on queue submissions.
>
> Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/3627
> Fixes: f7c161a4c250 ("drm/amdgpu: increase mes submission timeout")
> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c b/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
> index 3c923719e32d3..e2b3f859a1c05 100644
> --- a/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
> @@ -161,7 +161,7 @@ static int mes_v11_0_submit_pkt_and_poll_completion(struct amdgpu_mes *mes,
> int api_status_off)
> {
> union MESAPI__QUERY_MES_STATUS mes_status_pkt;
> - signed long timeout = 3000000; /* 3000 ms */
> + signed long timeout = 2100000; /* 2100 ms */
> struct amdgpu_device *adev = mes->adev;
> struct amdgpu_ring *ring = &mes->ring[0];
> struct MES_API_STATUS *api_status;
prev parent reply other threads:[~2024-09-18 13:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-18 13:39 [PATCH 1/2] drm/amdgpu/mes11: reduce timeout Alex Deucher
2024-09-18 13:39 ` [PATCH 2/2] drm/amdgpu/mes12: " Alex Deucher
2024-09-18 13:47 ` Christian König
2024-09-18 13:44 ` Christian König [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2534c57c-e4bf-4df4-b5c6-e9864254f41d@gmail.com \
--to=ckoenig.leichtzumerken@gmail.com \
--cc=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.