OSDN Git Service

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)
commitf0fd96f546fb9e726ff66b1e53b115ada61ebc35
tree2c581c486195237c748a367125fda897cfe82475
parentacb79148dc69217c3aa5773a4e87b73d62d2f2a1
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