]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Clear all residual RPS events on disabling interrupts
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 2 Aug 2018 10:06:30 +0000 (11:06 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 3 Aug 2018 14:47:29 +0000 (15:47 +0100)
commit08751321cf98e228d8f29125ce2af005837087b9
treefdfd5bc433027f438d96d975538535e5a1c6dae7
parent8c8bdf18e99c8220929a39262e8004f9dcfbc44d
drm/i915: Clear all residual RPS events on disabling interrupts

Make sure that the RPS IIR is completely clear on disabling so we should
not get any more interrupts after idling. Since the IIR is shared with
the guc, we have to be careful to only clobber RPS events.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180802100631.31305-3-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/i915_reg.h