summaryrefslogtreecommitdiff
path: root/sys/dev/vesa
AgeCommit message (Collapse)Author
2008-04-28Do not alter mode parameter in vesafb_set_mode(), since we might ask for aMiod Vallat
non-linear-graphics mode; found the hard way by Yusuke Baba (babayaga1 , y8 dot dion dot ne dot jp), thanks for the report.
2007-11-25spelling fixes from Martynas Venckus; ok miodJason McIntyre
2007-02-18Add currently unused functions for getting EDID information (max supportedGordon Willem Klok
resolution, hsync, vsync etc) from the monitor using DDC. Cleanup a whole bunch of magic, ok deraadt
2007-01-28Fix a number of issues with vesabios discovered by miod@Gordon Willem Klok
1. Add bounds checking to vga_pci_mmap, fixing a potential security issue. Limit the amount of memory to what the vbe info structure says the card card has. This should be nicely refined to limit to the amount of memory needed by the active resolution and depth but this will do for the time being. 2. Fix several places in vesafb.c where the return of kvm86_bios_addpage() isnt being checked. Also ensure that if vesafb_get_mode_info() fails that it cleans up after itself by releasing the page it added. 3. Correct the range checks in vesafb_putcmap and vesafb_getcmap, harmonize code with similar code found else where. ok miod@
2006-12-02Make a debugging printf conditionnal to VESABIOSVERBOSE.Matthieu Herrb
ok miod@, gwk@, deraadt@
2006-12-02typoMatthieu Herrb
2006-11-27commit vesabios for matthieu@Gordon Willem Klok
ok deraadt, "slap it in" miod@