Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/disp Ifde...



details:   https://anonhg.NetBSD.org/src/rev/e3ee28c4c902
branches:  trunk
changeset: 992741:e3ee28c4c902
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 07:39:44 2018 +0000

description:
Ifdef out apparently unusd function.

diffstat:

 sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/disp/nouveau_nvkm_engine_disp_sorg94.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r 5230457cb295 -r e3ee28c4c902 sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/disp/nouveau_nvkm_engine_disp_sorg94.c
--- a/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/disp/nouveau_nvkm_engine_disp_sorg94.c Mon Aug 27 07:39:33 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/disp/nouveau_nvkm_engine_disp_sorg94.c Mon Aug 27 07:39:44 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nouveau_nvkm_engine_disp_sorg94.c,v 1.2 2018/08/27 04:58:31 riastradh Exp $    */
+/*     $NetBSD: nouveau_nvkm_engine_disp_sorg94.c,v 1.3 2018/08/27 07:39:44 riastradh Exp $    */
 
 /*
  * Copyright 2012 Red Hat Inc.
@@ -24,7 +24,7 @@
  * Authors: Ben Skeggs
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nouveau_nvkm_engine_disp_sorg94.c,v 1.2 2018/08/27 04:58:31 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nouveau_nvkm_engine_disp_sorg94.c,v 1.3 2018/08/27 07:39:44 riastradh Exp $");
 
 #include "nv50.h"
 #include "outpdp.h"
@@ -43,6 +43,7 @@
        return g94_sor_soff(outp) + !(outp->base.info.sorconf.link & 1) * 0x80;
 }
 
+#ifndef __NetBSD__             /* XXX unused? */
 /*******************************************************************************
  * TMDS/LVDS
  ******************************************************************************/
@@ -57,6 +58,7 @@
        return nvkm_output_new_(&g94_sor_output_func, disp,
                                index, dcbE, poutp);
 }
+#endif
 
 /*******************************************************************************
  * DisplayPort



Home | Main Index | Thread Index | Old Index