Revision d801cec70d69d2d4121e133edd5c3237fe0e0078 authored by Benjamin Herrenschmidt on 10 March 2009, 23:45:17 UTC, committed by Benjamin Herrenschmidt on 10 March 2009, 23:48:56 UTC
radeonfb and aty128fb have a special hook called by the PowerMac platform code very very early on resume from sleep to bring the screen back. This is useful for debugging wakup problems, but unfortunately, this also became a source of problems of its own. The hook is called extremely early, with interrupts still off, and the code path involved with that code nowadays rely on things like taking mutexes, GFP_KERNEL allocations, etc... In addition, the driver now relies on the PCI core to restore the standard config space before calling resume which doesn't happen with this early code path. I'm keeping the code in but commented out along with a fixup call to pci_restore_state(). The reason is that I still want to make it easy to re-enable temporarily to track wake up problems, and it's possible that I can revive it at some stage if we make sleeping things save to call in early resume using a system state. In the meantime, this should fix several reported regressions. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
1 parent 187cfc4
File | Mode | Size |
---|---|---|
.gitignore | -rw-r--r-- | 102 bytes |
Kconfig | -rw-r--r-- | 1.6 KB |
Makefile | -rw-r--r-- | 1.8 KB |
gen_init_cpio.c | -rw-r--r-- | 12.2 KB |
initramfs_data.S | -rw-r--r-- | 1.0 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...