Skip to content

Commit 8f125da

Browse files
committed
drm/i915/gt: Move the heartbeat into the high priority system wq
As we ensure that the heartbeat is reasonably fast (and should not block), move the heartbeat work into the system_highpri_wq to avoid having this essential task be blocked behind other slow work, such as our own retire_work_handler. References: https://gitlab.freedesktop.org/drm/intel/-/issues/2119 Signed-off-by: Chris Wilson <[email protected]> Reviewed-by: Mika Kuoppala <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent aab4707 commit 8f125da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ static bool next_heartbeat(struct intel_engine_cs *engine)
3232
delay = msecs_to_jiffies_timeout(delay);
3333
if (delay >= HZ)
3434
delay = round_jiffies_up_relative(delay);
35-
mod_delayed_work(system_wq, &engine->heartbeat.work, delay);
35+
mod_delayed_work(system_highpri_wq, &engine->heartbeat.work, delay);
3636

3737
return true;
3838
}

0 commit comments

Comments
 (0)