lkml.org 
[lkml]   [2003]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2.4.21-rc1] vesafb with large memory
From
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.041 / U:1.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site