]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/i915/gt: Shrink the critical section for irq signaling
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 24 Dec 2020 13:55:41 +0000 (13:55 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 24 Dec 2020 15:02:39 +0000 (15:02 +0000)
commit66e40750d2410bde862157cca6768a684984fb28
treef4027c8721093a7beccc4bfe114d6207e67e9393
parentbab0557c8dca97b651a09a987337dbb55945d534
drm/i915/gt: Shrink the critical section for irq signaling

Let's only wait for the list iterator when decoupling the virtual
breadcrumb, as the signaling of all the requests may take a long time,
during which we do not want to keep the tasklet spinning.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201224135544.1713-6-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_breadcrumbs.c
drivers/gpu/drm/i915/gt/intel_breadcrumbs_types.h
drivers/gpu/drm/i915/gt/intel_execlists_submission.c