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 Propagate videomode back to tcon



details:   https://anonhg.NetBSD.org/src/rev/4bdc7da37998
branches:  bouyer-sunxi-drm
changeset: 371911:4bdc7da37998
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Sun Oct 16 17:11:05 2022 +0000

description:
Propagate videomode back to tcon

diffstat:

 sys/arch/arm/sunxi/sunxi_hdmi.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r a50bc363f7e8 -r 4bdc7da37998 sys/arch/arm/sunxi/sunxi_hdmi.c
--- a/sys/arch/arm/sunxi/sunxi_hdmi.c   Sun Oct 16 17:08:46 2022 +0000
+++ b/sys/arch/arm/sunxi/sunxi_hdmi.c   Sun Oct 16 17:11:05 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sunxi_hdmi.c,v 1.14.16.2 2022/10/16 14:56:04 bouyer Exp $ */
+/* $NetBSD: sunxi_hdmi.c,v 1.14.16.3 2022/10/16 17:11:05 bouyer Exp $ */
 
 /*-
  * Copyright (c) 2014 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -29,7 +29,7 @@
 #include "opt_ddb.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sunxi_hdmi.c,v 1.14.16.2 2022/10/16 14:56:04 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunxi_hdmi.c,v 1.14.16.3 2022/10/16 17:11:05 bouyer Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -1089,6 +1089,7 @@
        device_printf(sc->sc_dev, "v: %u %u %u %u\n",
            mode->vdisplay, vbp, vfp, vspw);
 #endif
+       sunxi_tcon1_set_videomode(fdt_endpoint_device(sc->sc_in_rep), mode);
 
        HDMI_WRITE(sc, SUNXI_HDMI_INT_STATUS_REG, 0xffffffff);
 



Home | Main Index | Thread Index | Old Index