]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: save/restore interrupt state
authorJesse Barnes <jbarnes@nietzche.virtuousgeek.org>
Tue, 19 Feb 2008 23:39:58 +0000 (09:39 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 19 Feb 2008 23:39:58 +0000 (09:39 +1000)
commitc4e7c85ebaa32955447b6e68ee9a3aae30ffa489
tree661fbfd1bd8e81481b45bdaebf72e1c1b00db470
parent11de7f48d7e3115ccaa356699e3727115782e770
drm/i915: save/restore interrupt state

On resume, if the interrupt state isn't restored correctly, we may end
up with a flood of unexpected or ill-timed interrupts, which could cause
the kernel to disable the interrupt or vblank events to happen at the
wrong time.  So save/restore them properly.

Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/drm/i915_drv.c
drivers/char/drm/i915_drv.h