i915: suspend/resume interrupt state
authorJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 23 Feb 2009 23:41:09 +0000 (15:41 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 24 Feb 2009 01:23:57 +0000 (17:23 -0800)
commit226485e9a91ee89c941d8cb7714f85644a8071d0
treeff0839054edbd810dbaa384bd76871fed96d2fa7
parent6c0594a306790ab03db345086c0c6c922a900bf6
i915: suspend/resume interrupt state

In the KMS case, enter/leavevt won't fix up the interrupt handler for
us, so we need to do it at suspend/resume time.  Make sure we don't fail
the resume if the chip is hung either.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/gpu/drm/i915/i915_drv.c