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)
committerEric Anholt <eric@anholt.net>
Fri, 15 Jan 2010 19:23:49 +0000 (11:23 -0800)
commitc7c85101afd0cb8ce497456d12ee1cad4aad152f
treea3c78ab193d4d73e4a23898b9ca531114345d9c4
parentb9241ea31fae4887104e5d1b3b18f4009c25a0c4
drm/i915: remove loop in Ironlake interrupt handler

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.

Cc: Stable Team <stable@kernel.org>
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>
drivers/gpu/drm/i915/i915_irq.c