ACPI / PM: Move ACPI video resume to a PM notifier
authorRafael J. Wysocki <rjw@sisk.pl>
Sun, 4 Apr 2010 23:43:51 +0000 (01:43 +0200)
committerLen Brown <len.brown@intel.com>
Tue, 6 Apr 2010 21:02:00 +0000 (17:02 -0400)
commitac7729da880e742613129ee6dea0045328670d2d
tree6af1dcc2a3aa141164cfb7e3c177186fe3ec22d8
parent7da23b86e14b77c094b11a9fa5ef5b3758fc9193
ACPI / PM: Move ACPI video resume to a PM notifier

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's executed after resuming all devices, including the GPU.

Fixes https://bugzilla.kernel.org/show_bug.cgi?id=15096, which is
a listed regression from 2.6.31.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Tested-by: Rafał Miłecki <zajec5@gmail.com>
Acked-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/video.c