All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: "Zhang, Yifan" <Yifan1.Zhang@amd.com>
To: "Xiao, Jack" <Jack.Xiao@amd.com>,
	"amd-gfx@lists.freedesktop.org" <amd-gfx@lists.freedesktop.org>,
	"Deucher, Alexander" <Alexander.Deucher@amd.com>,
	"Zhang, Hawking" <Hawking.Zhang@amd.com>,
	"Gao, Likun" <Likun.Gao@amd.com>,
	"Huang, Tim" <Tim.Huang@amd.com>
Subject: RE: [PATCH] drm/amdgpu/mes11: increase waiting time for engine ready
Date: Mon, 29 Apr 2024 09:30:48 +0000	[thread overview]
Message-ID: <CY5PR12MB6369F5BEDDB54C047D0A21BAC11B2@CY5PR12MB6369.namprd12.prod.outlook.com> (raw)
In-Reply-To: <20240429091002.928932-1-Jack.Xiao@amd.com>

[AMD Official Use Only - General]

Reviewed-by: Yifan Zhang <yifan1.zhang@amd.com>

Best Regards,
Yifan

-----Original Message-----
From: Xiao, Jack <Jack.Xiao@amd.com>
Sent: Monday, April 29, 2024 5:10 PM
To: amd-gfx@lists.freedesktop.org; Deucher, Alexander <Alexander.Deucher@amd.com>; Zhang, Hawking <Hawking.Zhang@amd.com>; Gao, Likun <Likun.Gao@amd.com>; Zhang, Yifan <Yifan1.Zhang@amd.com>; Huang, Tim <Tim.Huang@amd.com>
Cc: Xiao, Jack <Jack.Xiao@amd.com>
Subject: [PATCH] drm/amdgpu/mes11: increase waiting time for engine ready

mes schq engine require more waiting time for engine ready before packet submission.

Signed-off-by: Jack Xiao <Jack.Xiao@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 28a04f0f3541..d98f6d282ae7 100644
--- a/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
@@ -696,7 +696,7 @@ static void mes_v11_0_enable(struct amdgpu_device *adev, bool enable)
                if (amdgpu_emu_mode)
                        msleep(100);
                else
-                       udelay(50);
+                       udelay(500);
        } else {
                data = RREG32_SOC15(GC, 0, regCP_MES_CNTL);
                data = REG_SET_FIELD(data, CP_MES_CNTL, MES_PIPE0_ACTIVE, 0);
--
2.41.0


      reply	other threads:[~2024-04-29  9:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-29  9:10 [PATCH] drm/amdgpu/mes11: increase waiting time for engine ready Jack Xiao
2024-04-29  9:30 ` Zhang, Yifan [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=CY5PR12MB6369F5BEDDB54C047D0A21BAC11B2@CY5PR12MB6369.namprd12.prod.outlook.com \
    --to=yifan1.zhang@amd.com \
    --cc=Alexander.Deucher@amd.com \
    --cc=Hawking.Zhang@amd.com \
    --cc=Jack.Xiao@amd.com \
    --cc=Likun.Gao@amd.com \
    --cc=Tim.Huang@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.