]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Don't cancel the interrupt shadow too early
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 23 Nov 2020 11:37:16 +0000 (11:37 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 23 Nov 2020 17:26:38 +0000 (17:26 +0000)
commit4f2c1e2300a58f1a29d4b5eeb3c09d1c9cf9b4bd
treee93b760abafe69e720d18a676509a8ab3c4e383d
parent06e073506cb89af1b8213d95727df2a514af742c
drm/i915/gt: Don't cancel the interrupt shadow too early

We currently want to keep the interrupt enabled until the interrupt after
which we have no more work to do. This heuristic was broken by us
kicking the irq-work on adding a completed request without attaching a
signaler -- hence it appearing to the irq-worker that an interrupt had
fired when we were idle.

Fixes: c7a112b7c2ed ("drm/i915/gt: Replace intel_engine_transfer_stale_breadcrumbs")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201123113717.20500-3-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_breadcrumbs.c