Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x86/x86 x86/genfb: Disable shadowfb by default.



details:   https://anonhg.NetBSD.org/src/rev/4a66bfddae8a
branches:  trunk
changeset: 368972:4a66bfddae8a
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Aug 14 23:09:30 2022 +0000

description:
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.

diffstat:

 sys/arch/x86/x86/genfb_machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r e32ca5a70bf1 -r 4a66bfddae8a sys/arch/x86/x86/genfb_machdep.c
--- a/sys/arch/x86/x86/genfb_machdep.c  Sun Aug 14 22:11:20 2022 +0000
+++ b/sys/arch/x86/x86/genfb_machdep.c  Sun Aug 14 23:09:30 2022 +0000
@@ -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 <jmcneill%invisible.ca@localhost>
@@ -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 @@
 
 #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;



Home | Main Index | Thread Index | Old Index