Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mac68k/dev Drop inappropriate WSFB_VRAM_IS_RAM bit ...



details:   https://anonhg.NetBSD.org/src/rev/e6d0596451e8
branches:  trunk
changeset: 977334:e6d0596451e8
user:      rin <rin%NetBSD.org@localhost>
date:      Wed Oct 21 11:15:18 2020 +0000

description:
Drop inappropriate WSFB_VRAM_IS_RAM bit from fbi_flags;
framebuffer is not regular RAM.

Thanks to jmcneill@ and macallan@ for kind explanation
(at elsewhere).

diffstat:

 sys/arch/mac68k/dev/genfb_grfbus.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r cc32191e2038 -r e6d0596451e8 sys/arch/mac68k/dev/genfb_grfbus.c
--- a/sys/arch/mac68k/dev/genfb_grfbus.c        Wed Oct 21 11:06:13 2020 +0000
+++ b/sys/arch/mac68k/dev/genfb_grfbus.c        Wed Oct 21 11:15:18 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: genfb_grfbus.c,v 1.1 2019/07/26 10:48:44 rin Exp $ */
+/* $NetBSD: genfb_grfbus.c,v 1.2 2020/10/21 11:15:18 rin Exp $ */
 
 /* NetBSD: simplefb.c,v 1.7 2019/01/30 00:55:04 jmcneill Exp */
 /*-
@@ -61,7 +61,7 @@
 #include "opt_wsdisplay_compat.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: genfb_grfbus.c,v 1.1 2019/07/26 10:48:44 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: genfb_grfbus.c,v 1.2 2020/10/21 11:15:18 rin Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -156,7 +156,6 @@
                         * unaligned part
                         */
                        fbi->fbi_fboffset = m68k_page_offset(sc->sc_paddr);
-                       fbi->fbi_flags |= WSFB_VRAM_IS_RAM;
                }
                return error;
        default:



Home | Main Index | Thread Index | Old Index