cvs commit: src/sys/bus/isa vga_isa.c src/sys/dev/video/fb vgareg.h src/sys/dev/video/i386/vesa vesa.c

Sascha Wildner swildner at crater.dragonflybsd.org
Sun Jul 10 06:08:17 PDT 2005


swildner    2005/07/10 06:06:18 PDT

DragonFly src repository

  Modified files:
    sys/bus/isa          vga_isa.c 
    sys/dev/video/fb     vgareg.h 
    sys/dev/video/i386/vesa vesa.c 
  Log:
  vesa.c:
  
  Add a missing bcopy() to make saving the VESA state actually work.
  Also save the DAC state, increase the maximum save state size up to
  12k, and refuse to save the VESA state if the BIOS reports it is
  larger than the maximum size we can handle.
  
  vgareg.h & vga_isa.c:
  
  Save and restore the VGA state across a suspend-resume cycle. This is
  particularly useful when VESA is available (either 'options VESA' or
  load the vesa module), as BIOSes in some notebooks may correctly save
  and restore LCD panel settings using VESA in cases where calling the
  video BIOS POST is not effective. On some systems it may also be
  necessary to set the hw.acpi.reset_video sysctl to 0.
  
  Obtained from: FreeBSD
  
  Revision  Changes    Path
  1.9       +57 -0     src/sys/bus/isa/vga_isa.c
  1.6       +1 -0      src/sys/dev/video/fb/vgareg.h
  1.11      +30 -10    src/sys/dev/video/i386/vesa/vesa.c


http://www.dragonflybsd.org/cvsweb/src/sys/bus/isa/vga_isa.c.diff?r1=1.8&r2=1.9&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/video/fb/vgareg.h.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/video/i386/vesa/vesa.c.diff?r1=1.10&r2=1.11&f=u





More information about the Commits mailing list