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

Willy Tarreau (willy@w.ods.org)
Fri, 2 May 2003 15:03:31 +0200


On Fri, May 02, 2003 at 03:14:01AM +0300, Thomas Backlund wrote:
> And here are the results...
[snip]

Hi Thomas,

With this patch, vesafb doesn't work anymore on my vaio notebook in 1400x1050
nor 1280x1024, because scree_info.lfb_size is reported to be 127, while it
should be 175 and 160 instead ! So I modified your patch a little bit to get it
right :

- video_size = screen_info.lfb_size * screen_info.lfb_height * video_bpp;
+ video_size = screen_info.lfb_width/8 * screen_info.lfb_height * video_bpp;

and it now works again.
Maybe I have a broken bios, but other people might have the problem too.

Cheers,
Willy
-
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/