Skip to contentSkip to conversation

drm/amdgpu/mes11: increase waiting time for engine ready

PATCH In review Jack Xiao 2 participants 2 messages Apr 29, 2024

Subsystems (2)
lore
Share & tools
lore

Jack Xiao

author
#0 lore raw

PATCH 1/1 drm/amdgpu/mes11: increase waiting time for engine ready

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

---
 drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c +1 -1
index 28a04f0f3541..d98f6d282ae7 100644
@@ -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);
Signature · 1 line
2.41.0
Reviewed-by on v1 1/1
#1 lore raw

[AMD Official Use Only - General]

Best Regards,
Yifan

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

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

---
 drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c +1 -1
index 28a04f0f3541..d98f6d282ae7 100644
@@ -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