diff options
author | Kenneth Feng <kenneth.feng@amd.com> | 2025-03-11 16:46:39 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-03-18 14:03:38 -0400 |
commit | 55ff973fe1c053de143969cfc8b34baff084084a (patch) | |
tree | c059f7187338045a82d6f37134a7e30dcbf18a9e /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | |
parent | 05d50ea3ea4123536ca461ff54fa04b94adc65c1 (diff) |
drm/amd/amdgpu: shorten the gfx idle worker timeout
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@amd.com>
Reviewed-by: Yang Wang <kevinyang.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h index 4b1675f79caa..3c030d3f39d4 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 -/* 1 second timeout */ -#define GFX_PROFILE_IDLE_TIMEOUT msecs_to_jiffies(1000) +/* 10 millisecond timeout */ +#define GFX_PROFILE_IDLE_TIMEOUT msecs_to_jiffies(10) enum amdgpu_gfx_partition { AMDGPU_SPX_PARTITION_MODE = 0, |