ps3fb: video memory size cleanups
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Thu, 29 Nov 2007 00:21:11 +0000 (16:21 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 29 Nov 2007 17:24:51 +0000 (09:24 -0800)
commitee592a5bd5180cc1ffaf5acd7bf1e91e0d854a08
tree8387d440d834db1fc995b376b1f1f209b18a67c4
parent248285501ea251379dd449316bf5af78362ae638
ps3fb: video memory size cleanups

- Limit video memory size to avoid crossing a 256 MiB boundary in IOIF space.
- Pass the actual amount of video memory used to lv1_gpu_memory_allocate().

Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/ps3fb.c