Commit c5c1e4e3 authored by Imre Deak's avatar Imre Deak Committed by Juha Yrjola

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: default avatarImre Deak <imre.deak@solidboot.com>
parent 021a852f
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment