]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] intelfb: Do not ioremap entire graphics aperture
authorSylvain Meyer <sylvain.meyer@worldonline.fr>
Mon, 15 Aug 2005 13:27:13 +0000 (21:27 +0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 15 Aug 2005 16:53:34 +0000 (09:53 -0700)
commit6bd49341f2806168c877e12cefca77b93437bac2
treef7cd5a855842f061b48dd42338a0ab7f61bc360f
parent89204c40a03346cd951e698d854105db4cfedc28
[PATCH] intelfb: Do not ioremap entire graphics aperture

Reported by: Pavel Kysilka (Bugzilla Bug 4738)

modprobe of intelfb results in the following error message:

intelfb: Framebuffer driver for Intel(R) 830M/845G/852GM/855GM/865G/915G chi
intelfb: Version 0.9.2
ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16
allocation failed: out of vmalloc space - use vmalloc=<size> to increase siz
intelfb: Cannot remap FB region.

This will fail if the graphics aperture size is greater than 128 MB.

Fix is to ioremap only from the beginning of graphics aperture to the
end of the used framebuffer memory.

Signed-off-by: Sylvain Meyer <sylvain.meyer@worldonline.fr>
Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/intelfb/intelfbdrv.c