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/include/drm Fix up includes of <sys/vm...
details: https://anonhg.NetBSD.org/src/rev/42491577395a
branches: trunk
changeset: 1028301:42491577395a
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 10:29:16 2021 +0000
description:
Fix up includes of <sys/vmem.h>.
diffstat:
sys/external/bsd/drm2/dist/include/drm/drm_device.h | 3 ++-
sys/external/bsd/drm2/include/drm/drm_gem_cma_helper.h | 4 +++-
sys/external/bsd/drm2/include/drm/drm_os_netbsd.h | 4 +---
3 files changed, 6 insertions(+), 5 deletions(-)
diffs (51 lines):
diff -r f8715df2138b -r 42491577395a sys/external/bsd/drm2/dist/include/drm/drm_device.h
--- a/sys/external/bsd/drm2/dist/include/drm/drm_device.h Sun Dec 19 10:29:08 2021 +0000
+++ b/sys/external/bsd/drm2/dist/include/drm/drm_device.h Sun Dec 19 10:29:16 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: drm_device.h,v 1.6 2021/12/19 10:29:01 riastradh Exp $ */
+/* $NetBSD: drm_device.h,v 1.7 2021/12/19 10:29:16 riastradh Exp $ */
#ifndef _DRM_DEVICE_H_
#define _DRM_DEVICE_H_
@@ -29,6 +29,7 @@
struct pci_dev;
struct pci_controller;
+typedef struct vmem vmem_t;
/**
* enum drm_switch_power - power state of drm device
diff -r f8715df2138b -r 42491577395a sys/external/bsd/drm2/include/drm/drm_gem_cma_helper.h
--- a/sys/external/bsd/drm2/include/drm/drm_gem_cma_helper.h Sun Dec 19 10:29:08 2021 +0000
+++ b/sys/external/bsd/drm2/include/drm/drm_gem_cma_helper.h Sun Dec 19 10:29:16 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: drm_gem_cma_helper.h,v 1.1 2021/12/19 10:24:33 riastradh Exp $ */
+/* $NetBSD: drm_gem_cma_helper.h,v 1.2 2021/12/19 10:29:16 riastradh Exp $ */
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __DRM_GEM_CMA_HELPER_H__
@@ -8,6 +8,8 @@
#include <drm/drm_ioctl.h>
#include <drm/drm_gem.h>
+#include <sys/vmem.h>
+
struct drm_mode_create_dumb;
/**
diff -r f8715df2138b -r 42491577395a sys/external/bsd/drm2/include/drm/drm_os_netbsd.h
--- a/sys/external/bsd/drm2/include/drm/drm_os_netbsd.h Sun Dec 19 10:29:08 2021 +0000
+++ b/sys/external/bsd/drm2/include/drm/drm_os_netbsd.h Sun Dec 19 10:29:16 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: drm_os_netbsd.h,v 1.18 2021/12/19 09:48:22 riastradh Exp $ */
+/* $NetBSD: drm_os_netbsd.h,v 1.19 2021/12/19 10:29:16 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -81,6 +81,4 @@
#include <drm/drm_irq_netbsd.h>
#include <drm/drm_wait_netbsd.h>
-#include <sys/vmem.h>
-
#endif /* _DRM_DRM_OS_NETBSD_H_ */
Home |
Main Index |
Thread Index |
Old Index