kernel-aes67/drivers/video/aty
Benjamin Herrenschmidt d801cec70d radeonfb/aty128fb: Disable broken early resume hook for PowerBooks
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>
2009-03-11 10:48:56 +11:00
..
ati_ids.h
aty128fb.c radeonfb/aty128fb: Disable broken early resume hook for PowerBooks 2009-03-11 10:48:56 +11:00
atyfb_base.c atyfb: Properly save PCI state before changing PCI PM level 2009-02-08 10:48:56 -08:00
atyfb.h
mach64_accel.c
mach64_ct.c
mach64_cursor.c
mach64_gx.c
Makefile
radeon_accel.c
radeon_backlight.c
radeon_base.c
radeon_i2c.c
radeon_monitor.c
radeon_pm.c radeonfb/aty128fb: Disable broken early resume hook for PowerBooks 2009-03-11 10:48:56 +11:00
radeonfb.h radeonfb: Fix resume from D3Cold on some platforms 2009-02-08 10:48:57 -08:00