Source-Changes-HG archive

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

[src/bouyer-sunxi-drm]: src/sys/arch/arm/sunxi sunxi_tcon1_set_videomode() wa...



details:   https://anonhg.NetBSD.org/src/rev/b50aaf8b2fbf
branches:  bouyer-sunxi-drm
changeset: 371912:b50aaf8b2fbf
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Sun Oct 16 17:21:46 2022 +0000

description:
sunxi_tcon1_set_videomode() wants a drm_display_mode

diffstat:

 sys/arch/arm/sunxi/sunxi_display.h |  4 ++--
 sys/arch/arm/sunxi/sunxi_tcon.c    |  6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 4bdc7da37998 -r b50aaf8b2fbf sys/arch/arm/sunxi/sunxi_display.h
--- a/sys/arch/arm/sunxi/sunxi_display.h        Sun Oct 16 17:11:05 2022 +0000
+++ b/sys/arch/arm/sunxi/sunxi_display.h        Sun Oct 16 17:21:46 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sunxi_display.h,v 1.3 2018/06/01 17:18:44 bouyer Exp $ */
+/*     $NetBSD: sunxi_display.h,v 1.3.30.1 2022/10/16 17:21:46 bouyer Exp $    */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
 
 struct videomode;
 int sunxi_debe_pipeline(int, bool);
-void sunxi_tcon1_set_videomode(device_t, const struct videomode *);
+void sunxi_tcon1_set_videomode(device_t, const struct drm_display_mode *);
 void sunxi_debe_set_videomode(device_t, const struct videomode *);
 bool sunxi_tcon_is_console(device_t, const char *);
 
diff -r 4bdc7da37998 -r b50aaf8b2fbf sys/arch/arm/sunxi/sunxi_tcon.c
--- a/sys/arch/arm/sunxi/sunxi_tcon.c   Sun Oct 16 17:11:05 2022 +0000
+++ b/sys/arch/arm/sunxi/sunxi_tcon.c   Sun Oct 16 17:21:46 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sunxi_tcon.c,v 1.13.2.1 2022/10/16 17:08:46 bouyer Exp $ */
+/* $NetBSD: sunxi_tcon.c,v 1.13.2.2 2022/10/16 17:21:46 bouyer Exp $ */
 
 /*-
  * Copyright (c) 2018 Manuel Bouyer <bouyer%antioche.eu.org@localhost>
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sunxi_tcon.c,v 1.13.2.1 2022/10/16 17:08:46 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunxi_tcon.c,v 1.13.2.2 2022/10/16 17:21:46 bouyer Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -810,7 +810,7 @@
 }
 
 void
-sunxi_tcon1_set_videomode(device_t dev, const struct videomode *mode)
+sunxi_tcon1_set_videomode(device_t dev, const struct drm_display_mode *mode)
 {
        struct sunxi_tcon_softc *sc = device_private(dev);
        uint32_t val;



Home | Main Index | Thread Index | Old Index