http://bugzilla.kernel.org/show_bug.cgi?id=10844
------- Comment #7 from [EMAIL PROTECTED] 2008-06-02 11:37 ------- Well, there's at least one bug in our restore code: we're not even bothering to restore the interrupt configuration! It may be that disable_device (which disables interrupts) ends up clearing our IER regs or something. If so, this patch may help: diff --git a/drivers/char/drm/i915_drv.c b/drivers/char/drm/i915_drv.c index e8f3d68..a4da696 100644 --- a/drivers/char/drm/i915_drv.c +++ b/drivers/char/drm/i915_drv.c @@ -499,6 +499,11 @@ static int i915_resume(struct drm_device *dev) /* FIXME: restore TV & SDVO state */ + /* Interrupt state */ + I915_WRITE(I915REG_INT_IDENTITY_R, dev_priv->saveIIR); + I915_WRITE(I915REG_INT_ENABLE_R, dev_priv->saveIER); + I915_WRITE(I915REG_INT_MASK_R, dev_priv->saveIMR); + /* FBC info */ I915_WRITE(FBC_CFB_BASE, dev_priv->saveFBC_CFB_BASE); I915_WRITE(FBC_LL_BASE, dev_priv->saveFBC_LL_BASE); -- Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ acpi-bugzilla mailing list acpi-bugzilla@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla