Module Name: src
Committed By: bouyer
Date: Sun Oct 16 17:11:05 UTC 2022
Modified Files:
src/sys/arch/arm/sunxi [bouyer-sunxi-drm]: sunxi_hdmi.c
Log Message:
Propagate videomode back to tcon
To generate a diff of this commit:
cvs rdiff -u -r1.14.16.2 -r1.14.16.3 src/sys/arch/arm/sunxi/sunxi_hdmi.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/arm/sunxi/sunxi_hdmi.c
diff -u src/sys/arch/arm/sunxi/sunxi_hdmi.c:1.14.16.2 src/sys/arch/arm/sunxi/sunxi_hdmi.c:1.14.16.3
--- src/sys/arch/arm/sunxi/sunxi_hdmi.c:1.14.16.2 Sun Oct 16 14:56:04 2022
+++ src/sys/arch/arm/sunxi/sunxi_hdmi.c Sun Oct 16 17:11:05 2022
@@ -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 <[email protected]>
@@ -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 @@ sunxi_hdmi_mode_set(struct drm_encoder *
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);