Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/wscons add fbinfo flag for wildcat split framebuffer...



details:   https://anonhg.NetBSD.org/src/rev/0ae7dcce6c8b
branches:  trunk
changeset: 352273:0ae7dcce6c8b
user:      macallan <macallan%NetBSD.org@localhost>
date:      Fri Mar 24 00:45:27 2017 +0000

description:
add fbinfo flag for wildcat split framebuffer workaround

diffstat:

 sys/dev/wscons/wsconsio.h |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 70b1fcf6aad3 -r 0ae7dcce6c8b sys/dev/wscons/wsconsio.h
--- a/sys/dev/wscons/wsconsio.h Thu Mar 23 21:59:54 2017 +0000
+++ b/sys/dev/wscons/wsconsio.h Fri Mar 24 00:45:27 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wsconsio.h,v 1.116 2017/01/10 20:08:52 christos Exp $ */
+/* $NetBSD: wsconsio.h,v 1.117 2017/03/24 00:45:27 macallan Exp $ */
 
 /*
  * Copyright (c) 1996, 1997 Christopher G. Demetriou.  All rights reserved.
@@ -339,7 +339,7 @@
 #define        WSDISPLAY_TYPE_MGX      61      /* SSB 4096V-MGX */
 #define        WSDISPLAY_TYPE_MESON    62      /* Amlogic Meson ARM SoC */
 #define        WSDISPLAY_TYPE_TEGRA    63      /* NVIDIA Tegra ARM SoC */
-#define        WSDISPLAY_TYPE_PLATINUM 64      /* Apple onboard video 'platinum' */
+#define        WSDISPLAY_TYPE_PLATINUM 64      /* onboard fb in PowerMac 7200 */
 
 /* Basic display information.  Not applicable to all display types. */
 struct wsdisplay_fbinfo {
@@ -655,7 +655,8 @@
 };
 
 /* fbi_flags */
-#define WSFB_VRAM_IS_RAM       1       /* hint for wsfb - don't shadow */
+#define WSFB_VRAM_IS_RAM       0x0001  /* hint for wsfb - don't shadow */
+#define WSFB_VRAM_IS_SPLIT     0x0002  /* workaround for wildcat... */
 
 #define WSDISPLAYIO_GET_FBINFO _IOWR('W', 104, struct wsdisplayio_fbinfo)
 



Home | Main Index | Thread Index | Old Index