Message ID | 20190214025713.34150-7-carlos.santa@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | GEN8+ GPU Watchdog Reset Support | expand |
diff --git a/drivers/gpu/drm/i915/intel_hangcheck.c b/drivers/gpu/drm/i915/intel_hangcheck.c index bc10acb24d9a..223b79001854 100644 --- a/drivers/gpu/drm/i915/intel_hangcheck.c +++ b/drivers/gpu/drm/i915/intel_hangcheck.c @@ -288,7 +288,8 @@ static void i915_hangcheck_elapsed(struct work_struct *work) hangcheck_accumulate_sample(engine, &hc); hangcheck_store_sample(engine, &hc); - if (hc.stalled) { + if (hc.stalled || + engine->hangcheck.watchdog == intel_engine_get_hangcheck_seqno(engine)) { hung |= engine->mask; if (hc.action != ENGINE_DEAD) stuck |= engine->mask;