Module Name: src
Committed By: riastradh
Date: Sun Dec 19 09:52:50 UTC 2021
Modified Files:
src/sys/external/bsd/drm2/dist/include/drm: drm_device.h
Log Message:
We need these struct members for a couple of local drm files.
XXX: We might want to enable config legacy drm or adapt the local drm
files.
Author: Maya Rashish <[email protected]>
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 \
src/sys/external/bsd/drm2/dist/include/drm/drm_device.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/drm_device.h
diff -u src/sys/external/bsd/drm2/dist/include/drm/drm_device.h:1.4 src/sys/external/bsd/drm2/dist/include/drm/drm_device.h:1.5
--- src/sys/external/bsd/drm2/dist/include/drm/drm_device.h:1.4 Sun Dec 19 09:52:43 2021
+++ src/sys/external/bsd/drm2/dist/include/drm/drm_device.h Sun Dec 19 09:52:50 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: drm_device.h,v 1.4 2021/12/19 09:52:43 riastradh Exp $ */
+/* $NetBSD: drm_device.h,v 1.5 2021/12/19 09:52:50 riastradh Exp $ */
#ifndef _DRM_DEVICE_H_
#define _DRM_DEVICE_H_
@@ -335,7 +335,8 @@ struct drm_device {
/* Everything below here is for legacy driver, never use! */
/* private: */
-#if IS_ENABLED(CONFIG_DRM_LEGACY)
+#if IS_ENABLED(CONFIG_DRM_LEGACY) || \
+ defined(__NetBSD__) /* XXX drm_vm.c / drm_cdevsw.c use this */
/* Context handle management - linked list of context handles */
struct list_head ctxlist;