aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu
diff options
context:
space:
mode:
authorJack Xiao <[email protected]>2024-04-29 08:34:42 +0000
committerAlex Deucher <[email protected]>2024-04-30 14:00:23 +0000
commit27694eace58fcd9c35c4b458cd6e693b88a95b7a (patch)
tree5b77f9903eef6a4b82e0d2a62a27a61af9c5e4c3 /drivers/gpu/drm/amd/amdgpu
parentdrm/amdkfd: Flush the process wq before creating a kfd_process (diff)
downloadkernel-27694eace58fcd9c35c4b458cd6e693b88a95b7a.tar.gz
kernel-27694eace58fcd9c35c4b458cd6e693b88a95b7a.zip
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 <[email protected]> Reviewed-by: Yifan Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/mes_v11_0.c2
1 files changed, 1 insertions, 1 deletions
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);