Re: [PATCH 2.4.21-rc1] vesafb with large memory

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Wed Apr 30 2003 - 06:26:43 EST


On Mer, 2003-04-30 at 09:09, Adam Mercer wrote:
> - video_size = screen_info.lfb_size * 65536;

The above is correct. It returns the size of the frame buffer

> + video_size = screen_info.lfb_width * screen_info.lfb_height * video_bpp;
> video_visual = (video_bpp == 8) ?
> FB_VISUAL_PSEUDOCOLOR : FB_VISUAL_TRUECOLOR; #

The change computes the mode size. Thats probably safe for the ioremap
range

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Apr 30 2003 - 22:00:34 EST