Skip to content

Commit e21b141

Browse files
committed
drm/i915: Mark the hangcheck as idle when unparking the engines
As we unpark the engines and are about to begin a new cycle of activity, mark the current status of the hangceck as idle so that we avoid carrying over a stale timestamp/action into the next cycle. Signed-off-by: Chris Wilson <[email protected]> Cc: Mika Kuoppala <[email protected]> Reviewed-by: Joonas Lahtinen <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent ea491b2 commit e21b141

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/gpu/drm/i915/intel_engine_cs.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1073,6 +1073,8 @@ void intel_engines_unpark(struct drm_i915_private *i915)
10731073
for_each_engine(engine, i915, id) {
10741074
if (engine->unpark)
10751075
engine->unpark(engine);
1076+
1077+
intel_engine_init_hangcheck(engine);
10761078
}
10771079
}
10781080

0 commit comments

Comments
 (0)