Module Name:    src
Committed By:   riastradh
Date:           Sun Dec 19 01:57:13 UTC 2021

Modified Files:
        src/sys/external/bsd/drm2/dist/include/drm: drmP.h

Log Message:
Delete structs that got moved off to different files.

Author: Maya Rashish <m...@netbsd.org>


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/sys/external/bsd/drm2/dist/include/drm/drmP.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/external/bsd/drm2/dist/include/drm/drmP.h
diff -u src/sys/external/bsd/drm2/dist/include/drm/drmP.h:1.55 src/sys/external/bsd/drm2/dist/include/drm/drmP.h:1.56
--- src/sys/external/bsd/drm2/dist/include/drm/drmP.h:1.55	Sun Dec 19 01:56:50 2021
+++ src/sys/external/bsd/drm2/dist/include/drm/drmP.h	Sun Dec 19 01:57:13 2021
@@ -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 drm_prime_file_private {
 	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

Reply via email to