From: Imre Deak Date: Thu, 6 Jul 2006 16:06:10 +0000 (+0300) Subject: ARM: OMAP: omapfb: screen base should be set for allocated memory regions X-Git-Tag: v2.6.17-omap2~23 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=c5c1e4e33799c3604485a98d00a97471409f046c;p=linux-2.6-omap-h63xx.git ARM: OMAP: omapfb: screen base should be set for allocated memory regions FB kernel virtual address was left unset causing the FB console crash on OMAP1. Signed-off-by: Imre Deak --- diff --git a/drivers/video/omap/lcdc.c b/drivers/video/omap/lcdc.c index 87ae40b82bc..d89041ac31b 100644 --- a/drivers/video/omap/lcdc.c +++ b/drivers/video/omap/lcdc.c @@ -719,6 +719,7 @@ static int alloc_fbmem(struct omapfb_mem_region *region) } region->size = frame_size; region->paddr = lcdc.vram_phys; + region->vaddr = lcdc.vram_virt; region->alloc = 1; memset(lcdc.vram_virt, 0, lcdc.vram_size);