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 We need these struct ...



details:   https://anonhg.NetBSD.org/src/rev/258cdaa5b464
branches:  trunk
changeset: 1028231:258cdaa5b464
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 09:52:50 2021 +0000

description:
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 <maya%NetBSD.org@localhost>

diffstat:

 sys/external/bsd/drm2/dist/include/drm/drm_device.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 2b73d25f90c3 -r 258cdaa5b464 sys/external/bsd/drm2/dist/include/drm/drm_device.h
--- a/sys/external/bsd/drm2/dist/include/drm/drm_device.h       Sun Dec 19 09:52:43 2021 +0000
+++ b/sys/external/bsd/drm2/dist/include/drm/drm_device.h       Sun Dec 19 09:52:50 2021 +0000
@@ -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 @@
 
        /* 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;
 



Home | Main Index | Thread Index | Old Index