]> git.baikalelectronics.ru Git - kernel.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)
commitd8f533c0b60c3f96a583d6426c7161536cda15b0
treef7cd5a855842f061b48dd42338a0ab7f61bc360f
parent3716d5c8c2a44d458c68e2211ddbb61a66fc956c
[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