diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2013-04-14 19:04:38 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2013-04-14 19:04:38 +0000 |
commit | 8e645397bedb2f8fae9e41e9ed255dca196da207 (patch) | |
tree | 59c78e1fcc4a80a7c0bf28def440db8c858a0479 /sys/dev/pci/agpvar.h | |
parent | 1d67c54b140884632b8c2d52848bf624ffdb0e8b (diff) |
Take a different approach towards framebuffer accelartion. Instead of using
the blitter, scroll by double-mapping the framebuffer and reprogramming the
registers that determine the first visible pixel, much in the same way as the
vga text console uses the 6845. This makes scrolling very fast, and since we
no longer need to issue commands to any of the rings, we can enable this when
X is running and safely scroll when printing panic messages or if we've
entered ddb.
Testes by many.
Diffstat (limited to 'sys/dev/pci/agpvar.h')
-rw-r--r-- | sys/dev/pci/agpvar.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/agpvar.h b/sys/dev/pci/agpvar.h index 556d019d250..8e1eda3a271 100644 --- a/sys/dev/pci/agpvar.h +++ b/sys/dev/pci/agpvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: agpvar.h,v 1.26 2013/03/18 12:02:56 jsg Exp $ */ +/* $OpenBSD: agpvar.h,v 1.27 2013/04/14 19:04:37 kettenis Exp $ */ /* $NetBSD: agpvar.h,v 1.4 2001/10/01 21:54:48 fvdl Exp $ */ /*- @@ -47,6 +47,7 @@ #define BUS_DMA_GTT_NOCACHE (1 << 30) #define BUS_DMA_GTT_CACHE_LLC (1 << 29) #define BUS_DMA_GTT_CACHE_LLC_MLC (1 << 28) +#define BUS_DMA_GTT_WRAPAROUND (1 << 27) struct agp_attach_args { char *aa_busname; |