Subject: Re: XF86 wsfb driver and wscons ioctl
To: David Young <dyoung@pobox.com>
From: Michael <macallan18@earthlink.net>
List: tech-kern
Date: 01/18/2005 06:18:38
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

> It's a shame to rule-out so many VGA adapters.  ISTR that on i386, 
> there
> is a 64K window at 0xA0000 that you can slide over the video memory by
> either calling the VESA BIOS, or by writing registers on the VGA chip.
> Can't we use the existing VM machinery to trap accesses to video 
> regions
> that aren't under the window, move the window, and then restart 
> whichever
> process made the access?  In this way you win support for a large 
> category
> of framebuffers.

Hmm, I seem to remember that there was some sort of standard for PCI 
VGA devices which also included some hints about BAR assignment and 
therefore linear framebuffer memory - I'm pretty sure it's the only BAR 
labeled prefetchable on almost(?) all VGAs and almost(?) always the 
first one. With this all we need is a way to switch to whatever 
resolution at 8 bit, map the framebuffer and that's it.
Is there any PCI VGA without a BAR for linear framebuffer memory? The 
vast majority should have one.

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBQezwjspnzkX8Yg2nAQKuTgf/T6aSXmkPgtNwx7T7v2pejP+HTYHuPCeM
YfdOdEnLWpO/0KRmo15za3lq3vpU/GjyzEBOq4ZwT2+0aHh84qF+V90E+eQ89uJ0
gSBzKwIvisvXqrgjY6fRBLf8iQtVDKb/ZmAGTHqjYc8lrxAh0lrL9ZV421VH5Lx0
QP1UQtWNYwXQlsSV8U8t/DQndREldtWCt0icFM1l/T1P1hjfqykZYau50GS3wGCt
XjRZrPZsQJLQyjgvqXlb9fBZqyB9A5w7Oq1SDjFL1QiPKF8Bu63WBDRVfIGAq+gK
2cUFg6n9+GwiFGhri6+p1yaQn3pvRI906Ld0ehyqOlxDfA9FkXcHRg==
=5SmZ
-----END PGP SIGNATURE-----