cvs commit: src/sys/dev/video/i386/vesa vesa.c

Sascha Wildner swildner at
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 
  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>
  Revision  Changes    Path
  1.23      +2 -8      src/sys/dev/video/i386/vesa/vesa.c

More information about the Commits mailing list