]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Move the heartbeat into the high priority system wq
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 2 Jul 2020 09:52:19 +0000 (10:52 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 2 Jul 2020 11:30:24 +0000 (12:30 +0100)
commitc61650e19bfc5b2727a3608f88ef38c0da81cc59
treeb95260540bcc1176a3542292f1e596e5525fd96e
parentf5cdac347e3a244add4a9ab0b734a24ff875c58e
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 <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200702095219.963-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c