]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/i915: Drop posting reads to flush master interrupts
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 28 Jun 2018 20:12:03 +0000 (21:12 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 28 Jun 2018 21:55:02 +0000 (22:55 +0100)
commit74093f3eccac232447ef95536c6a359ee7661650
treec21d5197ce25fe45e5fb8fed4629bf709cee9221
parentf7dc0157e4b5f23780559c6b71d3f7282f6c7f1b
drm/i915: Drop posting reads to flush master interrupts

We do not need to do a posting read of our uncached mmio write to
re-enable the master interrupt lines after handling an interrupt, so
don't. This saves us a slow UC read before we can process the interrupt,
most noticeable in execlists where any stalls imposes extra latency on
GPU command execution.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Ville Syrjala <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180628201211.13837-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_irq.c