diff options
author | Keith Packard <keithp@keithp.com> | 2008-11-04 02:03:27 -0800 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-11-25 09:27:24 +1000 |
commit | 7c463586427bbbad726ba561bae4ba5acada2481 (patch) | |
tree | 0d646851c4c643fe04cf1be31dbf9d6adfc29149 /crypto/ctr.c | |
parent | ed313489badef16d700f5a3be50e8fd8f8294bc8 (diff) |
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 <keithp@keithp.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'crypto/ctr.c')
0 files changed, 0 insertions, 0 deletions