6594783dbb
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.
12 lines
240 B
Plaintext
12 lines
240 B
Plaintext
# $NetBSD: files.videomode,v 1.3 2006/05/11 01:49:53 gdamore Exp $
|
|
|
|
define videomode
|
|
define edid
|
|
define vesagtf
|
|
|
|
file dev/videomode/videomode.c videomode | edid
|
|
|
|
file dev/videomode/edid.c edid
|
|
|
|
file dev/videomode/vesagtf.c vesagtf | edid
|