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/include/drm Delete structs that g...



details:   https://anonhg.NetBSD.org/src/rev/251abd932a77
branches:  trunk
changeset: 1028134:251abd932a77
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 01:57:13 2021 +0000

description:
Delete structs that got moved off to different files.


Author: Maya Rashish <maya%NetBSD.org@localhost>

diffstat:

 sys/external/bsd/drm2/dist/include/drm/drmP.h |  30 +--------------------------
 1 files changed, 1 insertions(+), 29 deletions(-)

diffs (44 lines):

diff -r 5255009df864 -r 251abd932a77 sys/external/bsd/drm2/dist/include/drm/drmP.h
--- a/sys/external/bsd/drm2/dist/include/drm/drmP.h     Sun Dec 19 01:57:06 2021 +0000
+++ b/sys/external/bsd/drm2/dist/include/drm/drmP.h     Sun Dec 19 01:57:13 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drmP.h,v 1.55 2021/12/19 01:56:50 riastradh Exp $      */
+/*     $NetBSD: drmP.h,v 1.56 2021/12/19 01:57:13 riastradh Exp $      */
 
 /*
  * Internal Header for the Direct Rendering Manager
@@ -159,34 +159,6 @@
        struct mutex lock;
 };
 
-/**
- * struct drm_master - drm master structure
- *
- * @refcount: Refcount for this master object.
- * @minor: Link back to minor char device we are master for. Immutable.
- * @unique: Unique identifier: e.g. busid. Protected by drm_global_mutex.
- * @unique_len: Length of unique field. Protected by drm_global_mutex.
- * @magic_map: Map of used authentication tokens. Protected by struct_mutex.
- * @lock: DRI lock information.
- * @driver_priv: Pointer to driver-private information.
- */
-struct drm_master {
-       struct kref refcount;
-       struct drm_minor *minor;
-       char *unique;
-       int unique_len;
-       struct idr magic_map;
-       struct drm_lock_data lock;
-       void *driver_priv;
-};
-
-enum drm_minor_type {
-       DRM_MINOR_LEGACY,
-       DRM_MINOR_CONTROL,
-       DRM_MINOR_RENDER,
-       DRM_MINOR_CNT,
-};
-
 #ifdef __NetBSD__              /* XXX debugfs */
 struct seq_file;
 #endif



Home | Main Index | Thread Index | Old Index