projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f3ffc1
)
drm/etnaviv: use deferrable timer for hangcheck handler
author
Lucas Stach
<l.stach@pengutronix.de>
Wed, 23 Mar 2016 17:24:45 +0000
(18:24 +0100)
committer
Lucas Stach
<l.stach@pengutronix.de>
Fri, 6 May 2016 08:42:31 +0000
(10:42 +0200)
The hangcheck handler is already running with very coarse timeouts,
so it doesn't hurt to combine this timer with other wakeups in the
system.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
drivers/gpu/drm/etnaviv/etnaviv_gpu.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/etnaviv/etnaviv_gpu.c
b/drivers/gpu/drm/etnaviv/etnaviv_gpu.c
index 306dde18a94a01c8cc623a96bd7743c441087309..049d00d8ded50a374d8aff20e03e133a1fb89b96 100644
(file)
--- a/
drivers/gpu/drm/etnaviv/etnaviv_gpu.c
+++ b/
drivers/gpu/drm/etnaviv/etnaviv_gpu.c
@@
-1528,8
+1528,8
@@
static int etnaviv_gpu_bind(struct device *dev, struct device *master,
INIT_WORK(&gpu->recover_work, recover_worker);
init_waitqueue_head(&gpu->fence_event);
- setup_timer(&gpu->hangcheck_timer, hangcheck_handler,
- (unsigned long)gpu);
+ setup_
deferrable_
timer(&gpu->hangcheck_timer, hangcheck_handler,
+
(unsigned long)gpu);
priv->gpu[priv->num_gpus++] = gpu;