]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Flush submission tasklet before waiting/retiring
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 8 Oct 2019 10:56:55 +0000 (11:56 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 8 Oct 2019 15:23:55 +0000 (16:23 +0100)
commit7a0438dbbde3ce06177f7fc6ab8bac8575bb63f5
treeb6109cbb7ac13b69d5662cfc441113834ca00154
parentc29352b9487cb3d09cf927a856abdf6c286bd42b
drm/i915/gt: Flush submission tasklet before waiting/retiring

A common bane of ours is arbitrary delays in ksoftirqd processing our
submission tasklet. Give the submission tasklet a kick before we wait to
avoid those delays eating into a tight timeout.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Stuart Summers <stuart.summers@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191008105655.13256-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_engine.h
drivers/gpu/drm/i915/gt/intel_engine_cs.c
drivers/gpu/drm/i915/gt/intel_gt_requests.c