Messages in this thread | | | Subject | Re: vesafb mtrr setup question | From | Alan Cox <> | Date | 27 Aug 2003 16:14:54 +0100 |
| |
On Maw, 2003-08-26 at 16:50, Arvind Sankar wrote: > Ah. On a side not, could you drop a quick hint as to how > screen_info.lfb_size is obtained? > > In older (or just different?) versions of vesafb, the video_size was > actually computed by multiplying xres, yres, and the bpp.
The BIOS will provide the size of the LFB. In 2.4 we now work out the size we need for a sensible amount of scrollback and the like because the LFB size may be huge (256Mb for example) and we don't want to blow all our kernel address space on a useless mapping
- 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/
| |