OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fdf7a4
)
drm/amdgpu: Delay 100ms to enable gfx off feature
author
Rex Zhu
<Rex.Zhu@amd.com>
Mon, 6 Aug 2018 11:45:04 +0000
(19:45 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:10:00 +0000
(11:10 -0500)
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>
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
index
bbb81e2
..
790fd54
100644
(file)
--- 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(
5
00)
+/*
delay 0.1 second to enable gfx off feature
*/
+#define GFX_OFF_DELAY_ENABLE msecs_to_jiffies(
1
00)
/*
* GPU GFX IP block helpers function.