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