]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: properly clear IIR at irq_uninstall on Gen5+
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 1 Apr 2014 18:37:14 +0000 (15:37 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 1 Apr 2014 21:09:06 +0000 (23:09 +0200)
commitf86f3fb005d0c907285fa8685badcb24ec31ee59
tree131999b3873c56c89bacad1cd83f66628fdfe3a1
parentc71ae0148e103fbad49c49d4c2ba27d46bb8eef5
drm/i915: properly clear IIR at irq_uninstall on Gen5+

The IRQ_INIT and IRQ_FINI macros are basically the same thing, with
the exception that IRQ_FINI doesn't properly clear IIR twice and
doesn't have as many POSTING_READs as IRQ_INIT. So rename the INIT
macro to IRQ_RESET and use it everywhere.

v2: - Fix error in the commit message (Chris).
    - Adjust to the new POSTING_READ scheme (Ben).

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c