[Intel-gfx] [PATCH] i915: suspend/resume GEM when KMS is active

Yves-Alexis Perez corsac at debian.org
Wed Feb 18 10:20:36 CET 2009


On mar, 2009-02-17 at 15:36 -0800, Jesse Barnes wrote:
> On Tuesday, February 17, 2009 3:13 pm Jesse Barnes wrote:
> > In the KMS case, we need to suspend/resume GEM as well.  So on
> suspend,
> > make sure we idle GEM and stop any new rendering from coming in, and
> on
> > resume, re-init the framebuffer and clear the suspended flag.
> >
> > Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>
> 
> Oops should have included the IRQ bits as well.  We need to do this t
> properly tear down vblank state and make sure no interrupts come in
> either after suspend or before resume while the machine is still
> running.

With this patch, and after upgrading xf86-video-intel to master, it
seems to work fine, thanks. I've updated
https://bugs.freedesktop.org/show_bug.cgi?id=19939 to add this.

Cheers,
-- 
Yves-Alexis




More information about the Intel-gfx mailing list