]> 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)
commite60f5deb0f7ace1094bc8f870311c1ea1bb834a6
tree2c581c486195237c748a367125fda897cfe82475
parentc692fdcd1c3243354f74c729305d2abacf077b0a
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