DragonFly commits List (threaded) for 2007-11
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/dev/video/i386/vesa vesa.c
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@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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]