OpenCloudOS-Kernel/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
..
Makefile [PATCH] Rewritten backlight infrastructure for portable Apple computers 2006-06-25 10:00:59 -07:00
ati_ids.h Radeonfb Xpress 200M RC410 support 2007-10-16 09:43:19 -07:00
aty128fb.c radeonfb/aty128fb: Disable broken early resume hook for PowerBooks 2009-03-11 10:48:56 +11:00
atyfb.h atyfb: atyfb: Unshare pseudo_palette 2007-10-16 09:43:17 -07:00
atyfb_base.c atyfb: Properly save PCI state before changing PCI PM level 2009-02-08 10:48:56 -08:00
mach64_accel.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
mach64_ct.c fbdev/atyfb: Fix DSP config on some PowerMacs & PowerBooks 2009-02-02 17:08:25 +11:00
mach64_cursor.c fbdev: change asm/uaccess.h to linux/uaccess.h 2007-10-16 09:43:17 -07:00
mach64_gx.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
radeon_accel.c Revert "radeonfb: accelerate imageblit and other improvements" 2008-12-10 16:53:32 -08:00
radeon_backlight.c Revert "radeonfb: accelerate imageblit and other improvements" 2008-12-10 16:53:32 -08:00
radeon_base.c atyfb: fix CONFIG_ namespace violations 2009-02-05 12:56:48 -08:00
radeon_i2c.c i2c: Delete many unused adapter IDs 2009-01-26 21:19:52 +01:00
radeon_monitor.c radeonfb: drop redundant RTRACE macro 2008-04-28 08:58:38 -07:00
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