]> www.infradead.org Git - users/hch/misc.git/commitdiff
drm/amd/amdgpu: Revert "drm/amd/amdgpu: shorten the gfx idle worker timeout"
authorKenneth Feng <kenneth.feng@amd.com>
Wed, 19 Mar 2025 06:08:14 +0000 (14:08 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Mar 2025 16:15:08 +0000 (12:15 -0400)
This reverts commit 55ff973fe1c053de143969cfc8b34baff084084a.

Reason for revert: this causes some tests fail with call trace.

Signed-off-by: Kenneth Feng <kenneth.feng@amd.com>
Acked-by: Yang Wang <kevinyang.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h

index 9e2355a3b12059c788449337c3fb206357eb9a50..87e86218876679636d057746ebd5b5f899352a97 100644 (file)
@@ -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,