]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Track GT interrupt handling using the master iir
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 15 Feb 2018 07:37:12 +0000 (07:37 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 19 Feb 2018 15:38:58 +0000 (15:38 +0000)
commitb76eec2ed2f39edbd9a2a80854675dbd783bfcf7
tree2c581c486195237c748a367125fda897cfe82475
parent8dfbef0e9bcc914183a1808d15094ab945c914d7
drm/i915: Track GT interrupt handling using the master iir

Keep the master iir and use it to reduce the number of reads and writes
to the GT iir array, i.e. only the bits marked as set by the master iir
are valid inside GT iir array and will be handled during the interrupt.

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