Re: [PATCH] ACPI / PM: Move ACPI video resume to a PM notifier

From: Rafael J. Wysocki
Date: Thu Mar 04 2010 - 14:10:05 EST


On Thursday 04 March 2010, RafaÅ MiÅecki wrote:
> 2010/3/4 Rafael J. Wysocki <rjw@xxxxxxx>:
> > There is a problem with the ACPI video resume routine that it's
> > executed before the GPU that may be accessed by it. To fix this
> > issue, move the ACPI video resume to a power management notifier,
> > so that it's executed after resuming all devices, including the GPU.
> >
> > Signed-off-by: Rafael J. Wysocki <rjw@xxxxxxx>
> > ---
>
> Tested-by: RafaÅ MiÅecki <zajec5@xxxxxxxxx>

Thanks!

> It partially fixes bugzilla bug #15096 and it first needed step to fix
> it completely.

To fix that completely we'd need to avoid calling acpi_video_resume() in the
non-KMS case, but it's not clear how to tell the ACPI driver which case we're
in. It's not certain how to reliably distinguish the KMS and non-KMS cases at
this level in the first place.

> Can we send this to stable for .32 and .33?

That depends on Len.

Rafael
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/