Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/vax/vsa Add small fix from Bj?rn Johannessonwhich m...



details:   https://anonhg.NetBSD.org/src/rev/08def7c05f1b
branches:  trunk
changeset: 334967:08def7c05f1b
user:      jklos <jklos%NetBSD.org@localhost>
date:      Thu Dec 18 22:46:53 2014 +0000

description:
Add small fix from Bj?rn Johannessonwhich makes framebuffer woth with X11.

diffstat:

 sys/arch/vax/vsa/lcg.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r b95bffb8414b -r 08def7c05f1b sys/arch/vax/vsa/lcg.c
--- a/sys/arch/vax/vsa/lcg.c    Thu Dec 18 17:10:42 2014 +0000
+++ b/sys/arch/vax/vsa/lcg.c    Thu Dec 18 22:46:53 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lcg.c,v 1.1 2014/12/16 11:34:17 jklos Exp $ */
+/*     $NetBSD: lcg.c,v 1.2 2014/12/18 22:46:53 jklos Exp $ */
 /*
  * LCG accelerated framebuffer driver
  * Copyright (c) 2003, 2004 Blaz Antonic
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lcg.c,v 1.1 2014/12/16 11:34:17 jklos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lcg.c,v 1.2 2014/12/18 22:46:53 jklos Exp $");
 
 #define LCG_NO_ACCEL
 
@@ -710,6 +710,10 @@
                fb->cmsize = 1 << lcg_depth;
                break;
 
+       case WSDISPLAYIO_LINEBYTES:
+               *(u_int *)data = lcg_xsize;
+               break;
+
        case WSDISPLAYIO_GETCMAP:
                return lcg_get_cmap((struct wsdisplay_cmap *)data);
 



Home | Main Index | Thread Index | Old Index