| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This is needed for machines where Intel graphics isn't the primary graphics
device and on systems with UEFI firmware that put the device in non-VGA mode.
ok jsg@
|
|
|
|
|
|
|
| |
7 years (for some parts, 9 years), and was only ever referenced in i386
anyway.
ok jsg@, matthieu@, armani@
|
|
|
|
|
|
| |
Problem noticed/fix tested by sebastia@ on macppc.
sparc64 problems in earlier diff pointed out by deraadt@
'looks good' kettenis@ 'commit' deraadt@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Includes kernel modesetting, framebuffer console and support
for newer hardware.
Firmware needs to be present for acceleration and in some cases
modesetting to work. It can be installed via fw_update
or manually via pkg_add.
With lots of help from kettenis@ some macppc bits from mpi@
and some ttm refcount/queue bits from FreeBSD.
Thanks to M:Tier and the OpenBSD Foundation for sponsoring this work.
|
|
|
|
|
|
| |
from attaching after it has taken over control of the VGA hardware.
ok mpi@
|
|
|
|
|
|
| |
with macppc's vgafb(4) and maybe later on sparc64 drivers too.
suggested by and ok kettenis@
|
|
|
|
|
| |
textmode video memory contents if we had to POST the vga bios.
ok deraadt@ kettenis@
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Tested on multiple i386 and it works, amd64 works also with a few
exceptions that will get fixed.
The initial effort of importing was done by oga@, thanks!
Lots of testing and debugging by mlarkin@ and me.
Okay deraadt@, oga@, mlarkin@.
|
|
|
|
| |
ok marco@.
|
|
|
|
|
|
|
|
|
|
| |
fails.
In order to allow this, implement an API so that drm and agp can share
mappings for the BARs. Now it works as it should.
tested by many.
ok kettenis, miod said he'd look at it when it's in tree.
|
|
|
|
|
|
|
|
|
|
| |
actually get detected and attached. Also adds a kernel api for
manipulating agp.
Enable this on i386 and amd64.
"I think you should commit it" deraadt@, ok matthieu. Looked over by
several others.
|
|
|
|
| |
ok brad@ fgsch@ also tested by oga@
|
|
|
|
| |
ok deraadt, "slap it in" miod@
|
|
|
|
|
| |
Ansify some remaining function declarations in vga_pci.c.
ok miod@, dim@.
|
|
|
|
|
|
|
| |
only i810 driver was tested though.
based on the netbsd's lkm, initially ported
by hunter@dg.net.ua and later made into shape by mickey.
testing by art@ and millert@ .
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
files could probably be updated even a bit further (they are from mid-summer).
In addition, I've added support for console scrollback, somewhat inspired by
Linux's vgacon driver. Basically, instead of allocating our own buffer and
doing lots of copies, we take advantage of Video RAM and just modify the VGA
display origin register as appropriate. This approach has a few advantages:
simple to implement, no wasted KVM, it's fast, and after a boot you can now
scroll back all the way to the BIOS messages (assuming your msgbuf is of a
typical length :). Disadvantages are that the VRAM buffer is relatively
small (only 32k) and we do not support raster devices through this method.
(thanks to mickey@ for pointing this out).
The code for this is fairly unobtrusive, so should we come up with a better
approach to console scrollback at a later time (i.e., even more platform
independent) it should be easy to revert this.
We're one step further in porting nice features of PCVT over to wscons.
|
|
|
|
| |
well. $OpenBSD$ tagging
|
|
|