cvs commit: src/sys/dev/video/i386/vesa vesa.c
Sascha Wildner
swildner at crater.dragonflybsd.org
Sat Nov 3 15:28:22 PDT 2007
swildner 2007/11/03 15:24:53 PDT
DragonFly src repository
Modified files:
sys/dev/video/i386/vesa vesa.c
Log:
Check bit D0 ("Mode supported by hardware configuration") in the
mode attributes field and reject video modes for which it isn't
set. I don't know why this was always commented out but X checks
it too so I guess it's safe.
The bit is unset e.g. for video modes which are not supported due
to not enough memory being assigned to an onboard graphics adapter
in the BIOS, or if a mode is supported by a laptop's graphics card
but not by its screen.
Reported-by: Joseph Garcia <bsd_usr at yahoo.com>
Revision Changes Path
1.23 +2 -8 src/sys/dev/video/i386/vesa/vesa.c
http://www.dragonflybsd.org/cvsweb/src/sys/dev/video/i386/vesa/vesa.c.diff?r1=1.22&r2=1.23&f=u
More information about the Commits
mailing list