Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/allwinner actually initialize mode.vdisplay
details: https://anonhg.NetBSD.org/src/rev/8331316f8bfa
branches: trunk
changeset: 335021:8331316f8bfa
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sun Dec 21 18:36:05 2014 +0000
description:
actually initialize mode.vdisplay
diffstat:
sys/arch/arm/allwinner/awin_debe.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r a303cf30b4d7 -r 8331316f8bfa sys/arch/arm/allwinner/awin_debe.c
--- a/sys/arch/arm/allwinner/awin_debe.c Sun Dec 21 17:42:12 2014 +0000
+++ b/sys/arch/arm/allwinner/awin_debe.c Sun Dec 21 18:36:05 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: awin_debe.c,v 1.13 2014/12/21 17:40:59 jmcneill Exp $ */
+/* $NetBSD: awin_debe.c,v 1.14 2014/12/21 18:36:05 jmcneill Exp $ */
/*-
* Copyright (c) 2014 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -37,7 +37,7 @@
#define AWIN_DEBE_CURMAX 64
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: awin_debe.c,v 1.13 2014/12/21 17:40:59 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: awin_debe.c,v 1.14 2014/12/21 18:36:05 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -207,6 +207,7 @@
}
memset(&mode, 0, sizeof(mode));
mode.hdisplay = (dissize & 0xffff) + 1;
+ mode.vdisplay = ((dissize >> 16) & 0xffff) + 1;
if (mode.hdisplay == 1 || mode.vdisplay == 1) {
aprint_error_dev(sc->sc_dev,
Home |
Main Index |
Thread Index |
Old Index