diff options
author | Rex Zhu | 2018-08-06 13:45:04 +0200 |
---|---|---|
committer | Alex Deucher | 2018-08-27 18:10:00 +0200 |
commit | bf9b1d9dc7e99bb1395deb0ed0df3999ea527de3 (patch) | |
tree | 31bbfbf4b5e2442f1bb2d184dbd1ae4b475f48b3 /drivers/gpu | |
parent | drm/amd/display: Add check for num of entries in gamma (diff) | |
download | kernel-qcow2-linux-bf9b1d9dc7e99bb1395deb0ed0df3999ea527de3.tar.gz kernel-qcow2-linux-bf9b1d9dc7e99bb1395deb0ed0df3999ea527de3.tar.xz kernel-qcow2-linux-bf9b1d9dc7e99bb1395deb0ed0df3999ea527de3.zip |
drm/amdgpu: Delay 100ms to enable gfx off feature
Original 500ms delay seems a bit large.
Change to 100 ms suggested by Christian.
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c index bbb81e23020e..790fd5408ddf 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c @@ -26,8 +26,8 @@ #include "amdgpu.h" #include "amdgpu_gfx.h" -/* 0.5 second timeout */ -#define GFX_OFF_DELAY_ENABLE msecs_to_jiffies(500) +/* delay 0.1 second to enable gfx off feature */ +#define GFX_OFF_DELAY_ENABLE msecs_to_jiffies(100) /* * GPU GFX IP block helpers function. |