提交 946dd8d5 编写于 作者: L Lucas Stach

drm/etnaviv: use deferrable timer for hangcheck handler

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: NLucas Stach <l.stach@pengutronix.de>
上级 6f3ffc19
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册