Re: [PATCH] PM / i915: Skip kernel VT switch during suspend/resumeif KMS is used

From: Eric Anholt
Date: Mon Jan 25 2010 - 14:21:01 EST


On Sun, 24 Jan 2010 00:55:59 +0100, "Rafael J. Wysocki" <rjw@xxxxxxx> wrote:
> From: Rafael J. Wysocki <rjw@xxxxxxx>
>
> If a non-KMS graphics driver is used, the kernel carries out a VT
> switch during suspend/resume to avoid possible problems with freezing
> X at a wrong time and to cause X to repaint everything after resume.
>
> This is not necessary any more if the KMS is used, so skip the kernel
> VT switch during suspend/resume for i915 in the KMS mode.
>
> Signed-off-by: Rafael J. Wysocki <rjw@xxxxxxx>
> ---
>
> Hi,
>
> I've been testing this patch for over a week and haven't seen a single problem
> related to it during this time.
>
> Are there any objections to it?
>
> Rafael

Love it!

Acked-by: Eric Anholt <eric@xxxxxxxxxx>

Attachment: pgp00000.pgp
Description: PGP signature