From: Kenneth Feng Date: Wed, 19 Mar 2025 06:08:14 +0000 (+0800) Subject: drm/amd/amdgpu: Revert "drm/amd/amdgpu: shorten the gfx idle worker timeout" X-Git-Tag: v6.15-rc1~120^2~1^2~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a67f0094c9d7a0310321d154e5b370a098759661;p=thirdparty%2Flinux.git drm/amd/amdgpu: Revert "drm/amd/amdgpu: shorten the gfx idle worker timeout" This reverts commit 55ff973fe1c053de143969cfc8b34baff084084a. Reason for revert: this causes some tests fail with call trace. Signed-off-by: Kenneth Feng Acked-by: Yang Wang Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h index 9e2355a3b1205..87e8621887667 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h @@ -57,8 +57,8 @@ enum amdgpu_gfx_pipe_priority { #define AMDGPU_GFX_QUEUE_PRIORITY_MINIMUM 0 #define AMDGPU_GFX_QUEUE_PRIORITY_MAXIMUM 15 -/* 10 millisecond timeout */ -#define GFX_PROFILE_IDLE_TIMEOUT msecs_to_jiffies(10) +/* 1 second timeout */ +#define GFX_PROFILE_IDLE_TIMEOUT msecs_to_jiffies(1000) enum amdgpu_gfx_partition { AMDGPU_SPX_PARTITION_MODE = 0,