Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/nvidia remove debug printfs, dont force hdmi mode
details: https://anonhg.NetBSD.org/src/rev/5685e6f9a6d7
branches: trunk
changeset: 339503:5685e6f9a6d7
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sat Jul 25 15:55:31 2015 +0000
description:
remove debug printfs, dont force hdmi mode
diffstat:
sys/arch/arm/nvidia/tegra_hdmi.c | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
diffs (30 lines):
diff -r da2f12c0fdaa -r 5685e6f9a6d7 sys/arch/arm/nvidia/tegra_hdmi.c
--- a/sys/arch/arm/nvidia/tegra_hdmi.c Sat Jul 25 15:50:42 2015 +0000
+++ b/sys/arch/arm/nvidia/tegra_hdmi.c Sat Jul 25 15:55:31 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_hdmi.c,v 1.6 2015/07/25 15:50:42 jmcneill Exp $ */
+/* $NetBSD: tegra_hdmi.c,v 1.7 2015/07/25 15:55:31 jmcneill Exp $ */
/*-
* Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -29,7 +29,7 @@
#include "locators.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tegra_hdmi.c,v 1.6 2015/07/25 15:50:42 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_hdmi.c,v 1.7 2015/07/25 15:55:31 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -236,11 +236,6 @@
sc->sc_curmode = mode;
sc->sc_hdmimode = tegra_hdmi_is_hdmi(sc, &ei);
-device_printf(sc->sc_dev, "connected to %s display\n", sc->sc_hdmimode ? "HDMI" : "DVI");
- if (sc->sc_hdmimode == false) {
- device_printf(sc->sc_dev, "forcing HDMI mode\n");
- sc->sc_hdmimode = true;
- }
tegra_hdmi_enable(sc, pedid);
}
Home |
Main Index |
Thread Index |
Old Index