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-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=a67f0094c9d7a0310321d154e5b370a098759661;p=users%2Fhch%2Fmisc.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 9e2355a3b120..87e862188766 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,