Commit Graph

11 Commits

Author SHA1 Message Date
macallan 3f9bd18e6d add 1024x768 @ 89Hz for the Apple eMac
from Marco Trillo
2006-11-11 22:14:44 +00:00
bjh21 be9c217769 Regen (__KERNEL_RCSID()). 2006-10-26 23:21:23 +00:00
bjh21 8eda8c47a7 Emit __KERNEL_RCSID() into videomodes.c so that kernels using it can be
more easily identified.
2006-10-26 23:19:50 +00:00
gdamore d92bd53f93 Correct two problems with established timings. First, the wrong hex value
was being read due to using the same byte twice.

Second, the ordered list of names was *backwards* in the _edid_modes list.
2006-05-13 00:39:19 +00:00
gdamore 80044be1b4 Change edid_parse() to take the edid structure as argument rather than
allocating its own.  (This is cleaner since we aren't allocating any
other data in this structure.)

Get rid of edid_free() as a result.
2006-05-11 19:05:41 +00:00
gdamore 6594783dbb Add EDID framework. (No documentation as yet.)
This allows one to query monitors (or use BIOS EDID data) and learn their
default modes, etc.  To use this, pass an EDID data block edid_parse(), and
get back nicely parsed data, including precalculated modes using GTF, etc.

The result can be printed using edid_print().

Also, if you want to use GTF to generate modes without EDID, you can use the
vesagtf pseudo-device.  vesagtf.c can also be compiled as a standalone program
to generate XFree86 modelines.
2006-05-11 01:49:53 +00:00
gdamore 1262ffef31 Handle interlace video refresh modes, so 1024x768i is 87Hz refresh, instead
of 43.  This corresponds more closely to the mode name as defined by VESA.
2006-05-09 17:51:03 +00:00
lukem a1f606d3fd Use the SI capitalization for "Hz", "kHz", and "MHz" in comments and strings.
Add a space between numbers and Hz unit.
2006-03-08 23:46:22 +00:00
gdamore 7bfe0f79a2 Fix a few minor errors in the config data. Tested with a sample config. 2006-03-04 03:01:29 +00:00
gdamore d1f918faef Added a test driver program.
Regenerate videomode.c to pick up NetBSD tag.
2006-03-04 02:37:24 +00:00
gdamore aba10b3dc5 Initial swag at common video mode database. Not used for anything (yet). 2006-03-04 02:34:27 +00:00