]> git.baikalelectronics.ru Git - 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)
commitd4894c0c7cb4c96b0d08bd9da6db0151139c2661
treec21d5197ce25fe45e5fb8fed4629bf709cee9221
parentd0492e8fa9303004d4d4eaea95c307d6171ea767
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