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 Disable the functions that re...



details:   https://anonhg.NetBSD.org/src/rev/ef45c4065c76
branches:  trunk
changeset: 1028418:ef45c4065c76
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 11:00:28 2021 +0000

description:
Disable the functions that rely on xarray for now.

Not currently used anyway.

diffstat:

 sys/external/bsd/drm2/dist/drm/drm_gem.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (33 lines):

diff -r 75eb8e27d6c8 -r ef45c4065c76 sys/external/bsd/drm2/dist/drm/drm_gem.c
--- a/sys/external/bsd/drm2/dist/drm/drm_gem.c  Sun Dec 19 11:00:18 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/drm_gem.c  Sun Dec 19 11:00:28 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_gem.c,v 1.18 2021/12/19 09:59:57 riastradh Exp $   */
+/*     $NetBSD: drm_gem.c,v 1.19 2021/12/19 11:00:28 riastradh Exp $   */
 
 /*
  * Copyright © 2008 Intel Corporation
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_gem.c,v 1.18 2021/12/19 09:59:57 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_gem.c,v 1.19 2021/12/19 11:00:28 riastradh Exp $");
 
 #include <linux/types.h>
 #include <linux/slab.h>
@@ -1473,6 +1473,8 @@
 }
 EXPORT_SYMBOL(drm_gem_unlock_reservations);
 
+#ifndef __NetBSD__             /* XXX xarray */
+
 /**
  * drm_gem_fence_array_add - Adds the fence to an array of fences to be
  * waited on, deduplicating fences from the same context.
@@ -1565,3 +1567,5 @@
        return ret;
 }
 EXPORT_SYMBOL(drm_gem_fence_array_add_implicit);
+
+#endif



Home | Main Index | Thread Index | Old Index