[Intel-gfx] [PATCH 0/4] drm/i915: Finish the ack+handler split for irq handler

Ville Syrjala ville.syrjala at linux.intel.com
Mon Apr 15 15:49:00 UTC 2019


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

I never finished the irq ack+handler split for ilk+. Let's try to do
that now since people seem keen on cleaning up stuff in there. One
thing I didn't dare touch is gen11_gt_irq_handler() as that thing
looks a bit nuts.

A bit of a downside:
Total: Before=39303, After=40393, chg +2.77%

If we changed all _ack()s to raw_reg_{read,write} we'd get:
Total: Before=39303, After=39258, chg -0.11%
but that ignores the "hang when accessing registers in the
same cacheline" fail. So would need a bit more thought.

Ville Syrjälä (4):
  drm/i915: Add gen8_de_pipe_fault_mask()
  drm/i915: Introduce struct hpd_irq_regs
  drm/i915: Split pch irq handling to ack+handler
  drm/i915: Finish the irq ack+handler split for ilk+

 drivers/gpu/drm/i915/i915_irq.c | 667 ++++++++++++++++++++++----------
 1 file changed, 456 insertions(+), 211 deletions(-)

-- 
2.21.0



More information about the Intel-gfx mailing list