2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-16 17:23:55 +08:00
linux-next/drivers/video/aty
Benjamin Herrenschmidt 18a0d89e54 radeonfb: Whack the PCI PM register until it sticks
This fixes a regression introduced when we switched to using the core
pci_set_power_state().  The chip seems to need the state to be written
over and over again until it sticks, so we do that.

Note that the code is a bit blunt, without timeout, etc...  but that's
pretty much because I put back in there the code exactly as it used to
be before the regression.  I still add a call to pci_set_power_state()
at the end so that ACPI gets called appropriately on x86.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Tested-by: Raymond Wooninck <tittiatcoke@gmail.com>
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-03-22 11:08:53 -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_base.c atyfb: Properly save PCI state before changing PCI PM level 2009-02-08 10:48:56 -08:00
atyfb.h atyfb: atyfb: Unshare pseudo_palette 2007-10-16 09:43:17 -07: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
Makefile [PATCH] Rewritten backlight infrastructure for portable Apple computers 2006-06-25 10:00:59 -07: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: Whack the PCI PM register until it sticks 2009-03-22 11:08:53 -07:00
radeonfb.h radeonfb: Fix resume from D3Cold on some platforms 2009-02-08 10:48:57 -08:00