linux/drivers/video
Benjamin Herrenschmidt 0c541b4406 [PATCH] ppc32: Fix AGP and sleep again
My previous patch that added sleep support for uninorth-agp and some AGP
"off" stuff in radeonfb and aty128fb is breaking some configs.  More
specifically, it has problems with rage128 setups since the DRI code for
these in X doesn't properly re-enable AGP on wakeup or console switch
(unlike the radeon DRM).

This patch fixes the problem for pmac once for all by using a different
approach.  The AGP driver "registers" special suspend/resume callbacks with
some arch code that the fbdev's can later on call to suspend and resume
AGP, making sure it's resumed back in the same state it was when suspended.
 This is platform specific for now.  It would be too complicated to try to
do a generic implementation of this at this point due to all sort of weird
things going on with AGP on other architectures.  We'll re-work that whole
problem cleanly once we finally merge fbdev's and DRI.

In the meantime, please apply this patch which brings back some r128 based
laptops into working condition as far as system sleep is concerned.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-04-16 15:24:19 -07:00
..
aty [PATCH] ppc32: Fix AGP and sleep again 2005-04-16 15:24:19 -07:00
backlight Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
console Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
geode Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
i810 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
intelfb Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
kyro Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
logo Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
matrox Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nvidia Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
riva Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
savage Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sis Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
68328fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
acornfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
acornfb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
amba-clcd.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
amifb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asiliantfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
atafb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
au1100fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
au1100fb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bt431.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bt455.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bw2.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
c2p.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
c2p.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cfbcopyarea.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cfbfillrect.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cfbimgblt.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cg3.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cg6.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cg14.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
chipsfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cirrusfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
clps711xfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
controlfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
controlfb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cyber2000fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cyber2000fb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cyberfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cyberfb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dnfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
edid.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
epson1355fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fbcmap.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fbmem.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fbmon.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fbsysfs.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ffb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fm2fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
g364fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gbefb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hgafb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hitfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hpfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
igafb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
imsttfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
leo.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
macfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
macmodes.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
macmodes.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
maxinefb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
modedb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
neofb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
offb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
p9100.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
platinumfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
platinumfb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pm2fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pm3fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pmag-aa-fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pmag-ba-fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pmagb-b-fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pvr2fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pxafb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pxafb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
q40fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
radeonfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
retz3fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
retz3fb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
s1d13xxxfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
S3triofb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sa1100fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sa1100fb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sbuslib.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sbuslib.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sgivwfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
skeletonfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
softcursor.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sstfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sticore.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
stifb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sun3fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tcx.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tdfxfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tgafb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tridentfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tx3912fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
valkyriefb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
valkyriefb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vesafb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vga16fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vgastate.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
virgefb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
virgefb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
w100fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
w100fb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00