Skip to content

Commit

Permalink
Merge branch 'fbdev-fixes-for-linus' of git://git.kernel.org/pub/scm/…
Browse files Browse the repository at this point in the history
…linux/kernel/git/lethal/fbdev-2.6

* 'fbdev-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/fbdev-2.6:
  OMAP: OMAPFB: disable old omapfb for OMAP4 builds
  OMAP: DSS: VRAM: Align start & size of vram to 2M
  • Loading branch information
Linus Torvalds committed Dec 20, 2010
2 parents 0705859 + e13416a commit 7aeb3be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions drivers/video/omap/Kconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
config FB_OMAP
tristate "OMAP frame buffer support (EXPERIMENTAL)"
depends on FB && ARCH_OMAP && (OMAP2_DSS = "n")

depends on FB && (OMAP2_DSS = "n")
depends on ARCH_OMAP1 || ARCH_OMAP2 || ARCH_OMAP3
select FB_CFB_FILLRECT
select FB_CFB_COPYAREA
select FB_CFB_IMAGEBLIT
Expand Down
4 changes: 2 additions & 2 deletions drivers/video/omap2/vram.c
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ void __init omap_vram_reserve_sdram_memblock(void)
if (!size)
return;

size = PAGE_ALIGN(size);
size = ALIGN(size, SZ_2M);

if (paddr) {
if (paddr & ~PAGE_MASK) {
Expand All @@ -576,7 +576,7 @@ void __init omap_vram_reserve_sdram_memblock(void)
return;
}
} else {
paddr = memblock_alloc(size, PAGE_SIZE);
paddr = memblock_alloc(size, SZ_2M);
}

memblock_free(paddr, size);
Expand Down

0 comments on commit 7aeb3be

Please sign in to comment.