]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915: remove loop in Ironlake interrupt handler
authorZou Nan hai <Nanhai.zou@intel.com>
Fri, 15 Jan 2010 02:29:06 +0000 (10:29 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 22 Jan 2010 23:18:03 +0000 (15:18 -0800)
commit8a9c3f5c34a93fd4635aa739810280c4752eaa6e
treee65e820b62066a63d63927bb022175bba10c8033
parent4334ab76da3dc18a531948882ff6247764d96ea8
drm/i915: remove loop in Ironlake interrupt handler

commit c7c85101afd0cb8ce497456d12ee1cad4aad152f upstream.

On Ironlake, there is an interrupt master control bit. With the bit
disabled before clearing IIR, we do not need to handle extra interrupt
in a loop. This patch removes the loop in Ironlake interrupt handler.
It fixed irq lost issue on some Ironlake platforms.

Signed-off-by: Zou Nan hai <Nanhai.zou@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/i915/i915_irq.c