Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/tc Add WSDISPLAYIO_GET_FBINFO support to sfbplus TUR...



details:   https://anonhg.NetBSD.org/src/rev/69d0a6ee4e68
branches:  trunk
changeset: 1026768:69d0a6ee4e68
user:      abs <abs%NetBSD.org@localhost>
date:      Mon Dec 06 17:43:50 2021 +0000

description:
Add WSDISPLAYIO_GET_FBINFO support to sfbplus TURBOchannel framebuffer

Missed in previous change to cfb, mfb, sfb, tfb and xcfb

diffstat:

 sys/dev/tc/sfbplus.c |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r c0b461af3104 -r 69d0a6ee4e68 sys/dev/tc/sfbplus.c
--- a/sys/dev/tc/sfbplus.c      Mon Dec 06 16:24:57 2021 +0000
+++ b/sys/dev/tc/sfbplus.c      Mon Dec 06 17:43:50 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sfbplus.c,v 1.41 2021/08/07 16:19:16 thorpej Exp $ */
+/* $NetBSD: sfbplus.c,v 1.42 2021/12/06 17:43:50 abs Exp $ */
 
 /*-
  * Copyright (c) 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sfbplus.c,v 1.41 2021/08/07 16:19:16 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sfbplus.c,v 1.42 2021/12/06 17:43:50 abs Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -431,6 +431,11 @@
                *(u_int *)data = WSDISPLAY_TYPE_SFBP;
                return (0);
 
+       case WSDISPLAYIO_GET_FBINFO: {
+               struct wsdisplayio_fbinfo *fbi = data;
+               return wsdisplayio_get_fbinfo(sc->sc_ri, fbi);
+       }
+
        case WSDISPLAYIO_GINFO:
 #define        wsd_fbip ((struct wsdisplay_fbinfo *)data)
                wsd_fbip->height = ri->ri_height;



Home | Main Index | Thread Index | Old Index