ref: 065c9a1db8cd0714f09a35f2287b8c60b7443006
parent: 593b8e8cc184014bd0d9146b01c2e80eb731134d
author: cinap_lenrek <cinap_lenrek@centraldogma>
date: Sat Nov 5 07:06:24 EDT 2011
vesa: *vesashadow -> *novesashadow
--- a/sys/man/8/plan9.ini
+++ b/sys/man/8/plan9.ini
@@ -760,10 +760,10 @@
.BR off .
The first two specify differing levels of power saving;
the third turns the monitor off completely.
-.SS \fL*vesashadow=\fP
-This enables the shadow framebuffer or softscreen of the VESA
-video driver. This is usefull on devices where access to
-the physical framebuffer is slow.
+.SS \fL*novesashadow=\fP
+This disables the shadow framebuffer or softscreen of the VESA
+video driver. This can improve performance on some graphics
+cards.
.SS NVRAM
.SS \fLnvram=\fIfile\fP
.SS \fLnvrlen=\fIlength\fP
--- a/sys/src/9/pc/vgavesa.c
+++ b/sys/src/9/pc/vgavesa.c
@@ -162,10 +162,10 @@
vgalinearaddr(scr, paddr, size);
if(scr->apsize)
addvgaseg("vesascreen", scr->paddr, scr->apsize);- if(getconf("*vesashadow")){- hardscreen = scr->vaddr;
- scr->paddr = scr->apsize = 0;
- }
+ if(getconf("*novesashadow"))+ return;
+ hardscreen = scr->vaddr;
+ scr->paddr = scr->apsize = 0;
}
static void
--
⑨