linux/drivers/video/aty
David S. Miller 09798eb947 atyfb: Fix bootup hangs on sparc64.
After commit 25edd6946a ("sparc64: Get
rid of indirect p1275 PROM call buffer.")  we can't pass virtual
addresses >4GB to PROM calls.

Largely this is never necessary in drivers because we have a copy of
the entire PROM device tree in the kernel and a set of of_*()
interfaces to access it.

Unfortunately there were some lingering prom calls in the atyfb
driver, in particular prom_finddevice() was being called with an
on-stack address which could be anywhere.

This code is actually probing for information we already have, the
PROM choosen console output device is stored in of_console_device so
all of this nasty code consolidates into a one-line comparison.

Next we have some prom_getintdefault() calls which are trivially
transformed into the equivalent of_getintprop_default().

Special thanks to Fabio, who figured out exactly where the bootup
was hanging.  That made this bug trivial to fix.

Reported-by: Fabio M. Di NItto <fabbione@fabbione.net>
Reported-by: Sam Ravnborg <sam@ravnborg.org>
Reported-by: Frans van Berckel <fberckel@xs4all.nl>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Fabio M. Di NItto <fabbione@fabbione.net>
2011-01-06 11:38:19 -08:00
..
ati_ids.h
aty128fb.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
atyfb_base.c atyfb: Fix bootup hangs on sparc64. 2011-01-06 11:38:19 -08:00
atyfb.h atyfb: fix alignment for block writes 2009-06-30 18:56:01 -07:00
mach64_accel.c Fix colors for Mach64 2010-06-02 14:41:12 -07:00
mach64_ct.c fbdev/atyfb: Fix DSP config on some PowerMacs & PowerBooks 2009-02-02 17:08:25 +11:00
mach64_cursor.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
mach64_gx.c
Makefile
radeon_accel.c Revert "radeonfb: accelerate imageblit and other improvements" 2008-12-10 16:53:32 -08:00
radeon_backlight.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
radeon_base.c sysfs: add struct file* to bin_attr callbacks 2010-05-21 09:37:31 -07:00
radeon_i2c.c i2c: Remove unneeded inclusions of <linux/i2c-id.h> 2010-10-24 18:16:58 +02:00
radeon_monitor.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
radeon_pm.c Fix up trivial spelling errors ('taht' -> 'that') 2010-07-21 09:25:42 -07:00
radeonfb.h radeonfb: Fix resume from D3Cold on some platforms 2009-02-08 10:48:57 -08:00