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.
17 lines
522 B
Makefile
17 lines
522 B
Makefile
# $NetBSD: Makefile.ediddevs,v 1.1 2006/05/11 01:49:53 gdamore Exp $
|
|
#
|
|
# As per tron@NetBSD.org, the proper procedure is
|
|
#
|
|
# 1.) Change "src/sys/dev/videomode/ediddevs".
|
|
# 2.) Commit "src/sys/dev/videomode/ediddevs".
|
|
# 3.) Execute "make -f Makefile.ediddevs" in "src/sys/dev/videomode".
|
|
# 4.) Commit "src/sys/dev/videomode/ediddevs.h" and
|
|
# "src/sys/dev/videomode/ediddevs_data.h".
|
|
|
|
|
|
AWK= awk
|
|
|
|
ediddevs.h ediddevs_data.h: ediddevs devlist2h.awk
|
|
/bin/rm -f ediddevs.h ediddevs_data.h
|
|
${AWK} -f devlist2h.awk ediddevs
|