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 Put externs for drm_minor_loc...
details: https://anonhg.NetBSD.org/src/rev/02d0493e2deb
branches: trunk
changeset: 1027849:02d0493e2deb
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 00:57:13 2021 +0000
description:
Put externs for drm_minor_lock, drm_minors_lock somewhere sensible.
Author: Maya Rashish <maya%NetBSD.org@localhost>
diffstat:
sys/external/bsd/drm2/dist/drm/drm_internal.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 03352837640c -r 02d0493e2deb sys/external/bsd/drm2/dist/drm/drm_internal.h
--- a/sys/external/bsd/drm2/dist/drm/drm_internal.h Sun Dec 19 00:57:06 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/drm_internal.h Sun Dec 19 00:57:13 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: drm_internal.h,v 1.6 2021/12/18 23:44:57 riastradh Exp $ */
+/* $NetBSD: drm_internal.h,v 1.7 2021/12/19 00:57:13 riastradh Exp $ */
/*
* Copyright © 2014 Intel Corporation
@@ -89,6 +89,10 @@
/* drm_drv.c */
struct drm_minor *drm_minor_acquire(unsigned int minor_id);
void drm_minor_release(struct drm_minor *minor);
+#ifdef __NetBSD__
+extern struct spinlock drm_minor_lock;
+extern struct idr drm_minors_idr;
+#endif
/* drm_vblank.c */
void drm_vblank_disable_and_save(struct drm_device *dev, unsigned int pipe);
Home |
Main Index |
Thread Index |
Old Index