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/i915drm Stub out i915_gemfs.c and i915...



details:   https://anonhg.NetBSD.org/src/rev/e5d6bfbf687f
branches:  trunk
changeset: 1028024:e5d6bfbf687f
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 01:40:34 2021 +0000

description:
Stub out i915_gemfs.c and i915_perf.c.

diffstat:

 sys/external/bsd/drm2/i915drm/files.i915drmkms |   8 ++--
 sys/external/bsd/drm2/i915drm/i915_gemfs.c     |  46 ++++++++++++++++++++++++++
 sys/external/bsd/drm2/i915drm/i915_perf.c      |  45 +++++++++++++++++++++++++
 3 files changed, 95 insertions(+), 4 deletions(-)

diffs (141 lines):

diff -r 8d5cb5d9ce3d -r e5d6bfbf687f sys/external/bsd/drm2/i915drm/files.i915drmkms
--- a/sys/external/bsd/drm2/i915drm/files.i915drmkms    Sun Dec 19 01:40:20 2021 +0000
+++ b/sys/external/bsd/drm2/i915drm/files.i915drmkms    Sun Dec 19 01:40:34 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.i915drmkms,v 1.47 2021/12/19 01:39:48 riastradh Exp $
+#      $NetBSD: files.i915drmkms,v 1.48 2021/12/19 01:40:34 riastradh Exp $
 
 version        20180827
 
@@ -37,13 +37,15 @@
 makeoptions    i915drmkms      "CWARNFLAGS.intel_sdvo.c"+="${${ACTIVE_CC} == gcc && ${HAVE_GCC:U0} >= 7:? -Wno-implicit-fallthrough :}"
 
 file   external/bsd/drm2/i915drm/i915_gem_userptr.c    i915drmkms
+file   external/bsd/drm2/i915drm/i915_gemfs.c  i915drmkms
 file   external/bsd/drm2/i915drm/i915_module.c         i915drmkms
 file   external/bsd/drm2/i915drm/i915_pci.c            i915drmkms
+file   external/bsd/drm2/i915drm/i915_perf.c   i915drmkms
 file   external/bsd/drm2/i915drm/i915_sw_fence.c       i915drmkms
 file   external/bsd/drm2/i915drm/i915_sysfs.c  i915drmkms
-file   external/bsd/drm2/i915drm/vlv_dsi.c     i915drmkms
 file   external/bsd/drm2/i915drm/intel_gtt.c           i915drmkms
 file   external/bsd/drm2/i915drm/intelfb.c             intelfb
+file   external/bsd/drm2/i915drm/vlv_dsi.c     i915drmkms
 # Generated from i915drmkms2netbsd.
 file   external/bsd/drm2/dist/drm/i915/display/dvo_ch7017.c    i915drmkms
 file   external/bsd/drm2/dist/drm/i915/display/dvo_ch7xxx.c    i915drmkms
@@ -109,7 +111,6 @@
 file   external/bsd/drm2/dist/drm/i915/gem/i915_gem_domain.c   i915drmkms
 file   external/bsd/drm2/dist/drm/i915/gem/i915_gem_execbuffer.c       i915drmkms
 file   external/bsd/drm2/dist/drm/i915/gem/i915_gem_fence.c    i915drmkms
-file   external/bsd/drm2/dist/drm/i915/gem/i915_gemfs.c        i915drmkms
 file   external/bsd/drm2/dist/drm/i915/gem/i915_gem_internal.c i915drmkms
 file   external/bsd/drm2/dist/drm/i915/gem/i915_gem_lmem.c     i915drmkms
 file   external/bsd/drm2/dist/drm/i915/gem/i915_gem_mman.c     i915drmkms
@@ -187,7 +188,6 @@
 #file  external/bsd/drm2/dist/drm/i915/i915_mm.c       i915drmkms
 file   external/bsd/drm2/dist/drm/i915/i915_params.c   i915drmkms
 file   external/bsd/drm2/dist/drm/i915/i915_pci.c      i915drmkms
-file   external/bsd/drm2/dist/drm/i915/i915_perf.c     i915drmkms
 file   external/bsd/drm2/dist/drm/i915/i915_query.c    i915drmkms
 file   external/bsd/drm2/dist/drm/i915/i915_request.c  i915drmkms
 file   external/bsd/drm2/dist/drm/i915/i915_scatterlist.c      i915drmkms
diff -r 8d5cb5d9ce3d -r e5d6bfbf687f sys/external/bsd/drm2/i915drm/i915_gemfs.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/external/bsd/drm2/i915drm/i915_gemfs.c        Sun Dec 19 01:40:34 2021 +0000
@@ -0,0 +1,46 @@
+/*     $NetBSD: i915_gemfs.c,v 1.1 2021/12/19 01:40:34 riastradh Exp $ */
+
+/*-
+ * Copyright (c) 2018 The NetBSD Foundation, Inc.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to The NetBSD Foundation
+ * by Taylor R. Campbell.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+ * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include <sys/cdefs.h>
+__KERNEL_RCSID(0, "$NetBSD: i915_gemfs.c,v 1.1 2021/12/19 01:40:34 riastradh Exp $");
+
+#include "i915_gemfs.h"
+
+int
+i915_gemfs_init(struct drm_i915_private *i915)
+{
+       return 0;
+}
+
+void
+i915_gemfs_fini(struct drm_i915_private *i915)
+{
+}
diff -r 8d5cb5d9ce3d -r e5d6bfbf687f sys/external/bsd/drm2/i915drm/i915_perf.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/external/bsd/drm2/i915drm/i915_perf.c Sun Dec 19 01:40:34 2021 +0000
@@ -0,0 +1,45 @@
+/*     $NetBSD: i915_perf.c,v 1.1 2021/12/19 01:40:34 riastradh Exp $  */
+
+/*-
+ * Copyright (c) 2018 The NetBSD Foundation, Inc.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to The NetBSD Foundation
+ * by Taylor R. Campbell.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+ * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include <sys/cdefs.h>
+__KERNEL_RCSID(0, "$NetBSD: i915_perf.c,v 1.1 2021/12/19 01:40:34 riastradh Exp $");
+
+#include "i915_drv.h"
+
+void
+i915_perf_init(struct drm_i915_private *i915)
+{
+}
+
+void
+i915_gemfs_fini(struct drm_i915_private *i915)
+{
+}



Home | Main Index | Thread Index | Old Index