commit | e32ee7fa54e3172e6413cefaaee9222a3f521617 | [log] [tgz] |
---|---|---|
author | Jesse Barnes <jbarnes@virtuousgeek.org> | Fri Mar 26 18:07:15 2010 +0000 |
committer | Dave Airlie <airlied@redhat.com> | Tue Apr 27 09:37:39 2010 +1000 |
tree | 9bc7ec6a5d6d2dadd3a38265f4b1ed01a57886af | |
parent | c6f8505e4627ba8ca46cbcb602ad82e7f17a7122 [diff] |
drm: make sure vblank interrupts are disabled at DPMS time When we call drm_vblank_off() at DPMS off time (to wake any clients so they don't hang) we need to make sure interrupts are actually disabled. If drm_vblank_off() gets called before the vblank usage timer expires, it'll prevent the timer from disabling interrupts since it also clears the vblank_enabled flag for the pipe. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Dave Airlie <airlied@redhat.com>