[PATCH 1/2] drm/amd/amdgpu: shorten the gfx idle worker timeout
Kenneth Feng
kenneth.feng at amd.com
Tue Mar 11 08:54:35 UTC 2025
Shorten the gfx idle worker timeout. This is to sync with
DAL when there is no activity on the screen. Original 1
second can not sync with DAL, so DAL can not apply MALL
when the workload type is not bootup default.
Signed-off-by: Kenneth Feng <kenneth.feng at amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
index ddf4533614ba..b7b40edf4a31 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
@@ -58,7 +58,7 @@ enum amdgpu_gfx_pipe_priority {
#define AMDGPU_GFX_QUEUE_PRIORITY_MAXIMUM 15
/* 1 second timeout */
-#define GFX_PROFILE_IDLE_TIMEOUT msecs_to_jiffies(1000)
+#define GFX_PROFILE_IDLE_TIMEOUT msecs_to_jiffies(10)
enum amdgpu_gfx_partition {
AMDGPU_SPX_PARTITION_MODE = 0,
--
2.34.1
More information about the amd-gfx
mailing list