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 allow either crtc to be used with hdmi e...



details:   https://anonhg.NetBSD.org/src/rev/82bc0b7b2b69
branches:  trunk
changeset: 811664:82bc0b7b2b69
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Tue Nov 10 00:04:04 2015 +0000

description:
allow either crtc to be used with hdmi encoder

diffstat:

 sys/arch/arm/nvidia/tegra_drm_mode.c |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (30 lines):

diff -r 31b0dedfe3b8 -r 82bc0b7b2b69 sys/arch/arm/nvidia/tegra_drm_mode.c
--- a/sys/arch/arm/nvidia/tegra_drm_mode.c      Mon Nov 09 23:11:18 2015 +0000
+++ b/sys/arch/arm/nvidia/tegra_drm_mode.c      Tue Nov 10 00:04:04 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_drm_mode.c,v 1.1 2015/11/09 23:05:58 jmcneill Exp $ */
+/* $NetBSD: tegra_drm_mode.c,v 1.2 2015/11/10 00:04:04 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tegra_drm_mode.c,v 1.1 2015/11/09 23:05:58 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_drm_mode.c,v 1.2 2015/11/10 00:04:04 jmcneill Exp $");
 
 #include <drm/drmP.h>
 #include <drm/drm_crtc.h>
@@ -532,11 +532,7 @@
            DRM_MODE_ENCODER_TMDS);
        drm_encoder_helper_add(&encoder->base, &tegra_encoder_helper_funcs);
 
-#if 0
        encoder->base.possible_crtcs = (1 << 0) | (1 << 1);
-#else
-       encoder->base.possible_crtcs = (1 << 1);
-#endif
 
        return tegra_connector_init(ddev, &encoder->base);
 }



Home | Main Index | Thread Index | Old Index