From: Keith Packard Date: Tue, 4 Nov 2008 10:03:27 +0000 (-0800) Subject: drm/i915: Manage PIPESTAT to control vblank interrupts instead of IMR. X-Git-Tag: v2.6.28-rc7~46^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c463586427bbbad726ba561bae4ba5acada2481;p=pandora-kernel.git drm/i915: Manage PIPESTAT to control vblank interrupts instead of IMR. The pipestat fields affect reporting of all vblank-related interrupts, so we have to reset them during the irq_handler, and while enabling vblank interrupts. Otherwise, if a pipe status field had been set to non-zero before enabling reporting, we would never see an interrupt again. This patch adds i915_enable_pipestat and i915_disable_pipestat to abstract out the steps needed to change the reported interrupts. Signed-off-by: Keith Packard Signed-off-by: Eric Anholt Signed-off-by: Dave Airlie --- Reading git-diff-tree failed