Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 946dd8d5 authored by Lucas Stach's avatar Lucas Stach
Browse files

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: default avatarLucas Stach <l.stach@pengutronix.de>
parent 6f3ffc19
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1528,7 +1528,7 @@ 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,
	setup_deferrable_timer(&gpu->hangcheck_timer, hangcheck_handler,
			       (unsigned long)gpu);

	priv->gpu[priv->num_gpus++] = gpu;