drm/i915: don't trigger ironlake vblank interrupt at irq install
authorLi Peng <peng.li@linux.intel.com>
Wed, 27 Jan 2010 17:05:09 +0000 (01:05 +0800)
committerEric Anholt <eric@anholt.net>
Fri, 29 Jan 2010 22:22:09 +0000 (14:22 -0800)
commit643ced9b0b4810b5725910667604f1a373f30f2f
treebf5780faae3711bb43ded8f984d377c7f94c462b
parentde3f440f8c9922afe8770dd16c84f1c87d779b59
drm/i915: don't trigger ironlake vblank interrupt at irq install

Zhenyu noticed that the ironlake vblank enabling patch has one
issue that it will trigger vblank starting from irq postinstall,
this isn't necessary. This patch addresses this issue by only
adding the vblank into DEIER but mask them in DEIMR, so that it
won't trigger vblank interrupt at irq install.

Signed-off-by: Li Peng <peng.li@intel.com>
Acked-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_irq.c