summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorriastradh <riastradh@NetBSD.org>2022-09-13 09:45:36 +0000
committerriastradh <riastradh@NetBSD.org>2022-09-13 09:45:36 +0000
commit22bfba8a6be5826efc441df367e66537390f1f9a (patch)
treef7deb4063f5b46c9d90cb2680f478da8ba9e0a9f /sys
parente280d0c0a54b566c8123762c82dc8c1462dc17b9 (diff)
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.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/x86/x86/genfb_machdep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/x86/x86/genfb_machdep.c b/sys/arch/x86/x86/genfb_machdep.c
index 2a3082bdd41..962383ef7ee 100644
--- a/sys/arch/x86/x86/genfb_machdep.c
+++ b/sys/arch/x86/x86/genfb_machdep.c
@@ -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 <jmcneill@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_machdep.c,v 1.18 2022/08/14 23:09:30 riastradh
#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;