We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e65a4d3 commit eef24f1Copy full SHA for eef24f1
drivers/gpu/drm/i915/i915_request.c
@@ -350,14 +350,15 @@ static void __rq_arm_watchdog(struct i915_request *rq)
350
if (!ce->watchdog.timeout_us)
351
return;
352
353
+ i915_request_get(rq);
354
+
355
hrtimer_init(&wdg->timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL);
356
wdg->timer.function = __rq_watchdog_expired;
357
hrtimer_start_range_ns(&wdg->timer,
358
ns_to_ktime(ce->watchdog.timeout_us *
359
NSEC_PER_USEC),
360
NSEC_PER_MSEC,
361
HRTIMER_MODE_REL);
- i915_request_get(rq);
362
}
363
364
static void __rq_cancel_watchdog(struct i915_request *rq)
0 commit comments