Module Name:    src
Committed By:   riastradh
Date:           Sun Aug 14 23:09:30 UTC 2022

Modified Files:
        src/sys/arch/x86/x86: genfb_machdep.c

Log Message:
x86/genfb: Disable shadowfb by default.

The motivation for this was obviated by mapping the framebuffer
write-combining instead of uncacheable.

If this still appears to be needed, most likely the mapping is still
wrong and that should be fixed directly, or this should be enabled
only in the circumstances where the mapping can't be made right.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/x86/x86/genfb_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/x86/x86/genfb_machdep.c
diff -u src/sys/arch/x86/x86/genfb_machdep.c:1.17 src/sys/arch/x86/x86/genfb_machdep.c:1.18
--- src/sys/arch/x86/x86/genfb_machdep.c:1.17	Sat Jul 16 06:27:24 2022
+++ src/sys/arch/x86/x86/genfb_machdep.c	Sun Aug 14 23:09:30 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: genfb_machdep.c,v 1.17 2022/07/16 06:27:24 mlelstv Exp $ */
+/* $NetBSD: genfb_machdep.c,v 1.18 2022/08/14 23:09:30 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2009 Jared D. McNeill <jmcne...@invisible.ca>
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: genfb_machdep.c,v 1.17 2022/07/16 06:27:24 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: genfb_machdep.c,v 1.18 2022/08/14 23:09:30 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/conf.h>
@@ -59,7 +59,7 @@ __KERNEL_RCSID(0, "$NetBSD: genfb_machde
 
 #if NWSDISPLAY > 0 && NGENFB > 0
 struct vcons_screen x86_genfb_console_screen;
-bool x86_genfb_use_shadowfb = true;
+bool x86_genfb_use_shadowfb = false;
 
 #if NACPICA > 0
 extern int acpi_md_vesa_modenum;

Reply via email to