]> git.hungrycats.org Git - linux/commit
[PATCH] fbdev: Vesa Fbdev update fix
authorAndrew Morton <akpm@osdl.org>
Sat, 15 May 2004 03:17:56 +0000 (20:17 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 15 May 2004 03:17:56 +0000 (20:17 -0700)
commit9767e5dcb70115de034848a059c13e8bd446fd50
treef1759a10b4bc9121c7620c0a5c3e638e6cd30f05
parentb5f86b850366b01c04b6d4fa862a601164cebf88
[PATCH] fbdev: Vesa Fbdev update fix

From: Geert Uytterhoeven <geert@linux-m68k.org>

On Sun, 25 Apr 2004, James Simmons wrote:
> This patch migrates the Vesa Framebuffer driver over to the
> framebuffer_alloc/framebuffer_release api. It also fixes the error
> handling paths. The mtrr issue that Geert brought up has been fixed.
> With your approval Geert, Ben please apply this patch.

> + /* Set video size according to vram boot option */
> + if (vram && vram * 1024 * 1024 != vesafb_fix.smem_len)
> + vesafb_fix.smem_len = vram * 1024 * 1024;

The second part of the test can be removed. The rest looks OK to me.
drivers/video/vesafb.c