Module Name:    src
Committed By:   riastradh
Date:           Tue Sep 13 09:45:37 UTC 2022

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

Log Message:
x86/genfb: Re-enable shadowfb by defualt for now.

Something makes radeondrmkmsfb, at at least, extremely slow, and it's
not yet clear what, and shadowfb=true fixes it.  I verified that the
framebuffer pages are correctly getting mapped write-combining, so
the page table entries aren't the problem -- not sure what is the
problem.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 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.18 src/sys/arch/x86/x86/genfb_machdep.c:1.19
--- src/sys/arch/x86/x86/genfb_machdep.c:1.18	Sun Aug 14 23:09:30 2022
+++ src/sys/arch/x86/x86/genfb_machdep.c	Tue Sep 13 09:45:36 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: genfb_machdep.c,v 1.18 2022/08/14 23:09:30 riastradh Exp $ */
+/* $NetBSD: genfb_machdep.c,v 1.19 2022/09/13 09:45:36 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.18 2022/08/14 23:09:30 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: genfb_machdep.c,v 1.19 2022/09/13 09:45:36 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 = false;
+bool x86_genfb_use_shadowfb = true;
 
 #if NACPICA > 0
 extern int acpi_md_vesa_modenum;

Reply via email to