Re: kdrive porting question

Keith Packard <[email protected]>
Newsgroups gmane.comp.freedesktop.xserver
Message-ID <[email protected]>
Around 13 o'clock on Mar 28, Brent Cook wrote:

> Looking at how other drivers get screen information, some such as the ati
> and mga drivers get info using vesa or fbdev, but the i810 driver seems to
> get screen information itself. What should I do? 

It depends.  If you have all of the mode selection logic available, you 
can write a 'bare metal' driver like the savage or i810 ones, that entails 
quite a bit of work to get the registers programmed correctly, but you end 
up with a much more flexible and powerful server.  The alternative is to 
lean heavily on the BIOS on the video card for mode setup, either through 
the kernel fbdev driver or the vm86-based VBE code in the vesa directory.
Most of the sample code takes the latter approach as it's a whole lot less 
work, and ends up working on weird laptops much more reliably (at least 
for older laptops).

> Also, can I put the work-in-progress driver into CVS, or should I wait
> until it is functional before submitting? I hate to clutter the CVS
> changelogs, but it would be nice to have some version control.

If it's new code, feel free to use fd.o CVS for revision control.  Just 
don't build it by default and it won't bother anyone.

-keith

_______________________________________________
xserver mailing list
[email protected]
http://freedesktop.org/mailman/listinfo/xserver
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Exmh version 2.3.1 11/28/2001

iD8DBQFAZ778Qp8BWwlsTdMRAqDWAKC8p/qgOk6Itd3MTk+UqfXQFTw0iACcC5tc
j8n/lLiqdT48ONkVQ5mRhfI=
=U5su
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.