[lkml]   [1998]   [Sep]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Next round of console patches

>> So the PCI bus addresses that the FB code finds may well contain MMIO
>> registers?

vesafb does'nt scan PCI space.

>A good portion of cards map their IO registers in the end of the memory
>aperture. Since the idea of fb is to use VESA call to create the aperture
>and then _dont use_ any registers at all (bc then we would have to know
>what is the specific card we are running) there is no way (apriori) to
>know where we have legal framebuffer space and where we have MMIO

There is. The VESA BIOS will tell you (a) how much video memory the board
has installed and (b) where the linear framebuffer starts. vesafb (well,
the real mode boot code) asks the BIOS for these values and uses this for
the framebuffer device. And for exactly this area the mtrr entry is added.

Assuming legal framebuffer space and MMIO don't overlap, this works fine.


powered by vim | Gerd Knorr <>

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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