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 Use the netbsd-ish dr...



details:   https://anonhg.NetBSD.org/src/rev/3c03172a23e1
branches:  trunk
changeset: 1028113:3c03172a23e1
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 01:54:28 2021 +0000

description:
Use the netbsd-ish drm_waitqueue_t


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

diffstat:

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

diffs (21 lines):

diff -r f83a766e46a1 -r 3c03172a23e1 sys/external/bsd/drm2/dist/include/drm/drm_auth.h
--- a/sys/external/bsd/drm2/dist/include/drm/drm_auth.h Sun Dec 19 01:54:20 2021 +0000
+++ b/sys/external/bsd/drm2/dist/include/drm/drm_auth.h Sun Dec 19 01:54:28 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_auth.h,v 1.3 2021/12/19 01:01:42 riastradh Exp $   */
+/*     $NetBSD: drm_auth.h,v 1.4 2021/12/19 01:54:28 riastradh Exp $   */
 
 #ifndef _DRM_AUTH_H_
 #define _DRM_AUTH_H_
@@ -61,7 +61,11 @@
 struct drm_lock_data {
        struct drm_hw_lock *hw_lock;
        struct drm_file *file_priv;
+#ifdef __NetBSD__
+       drm_waitqueue_t lock_queue;     /**< Queue of blocked processes */
+#else
        wait_queue_head_t lock_queue;
+#endif
        unsigned long lock_time;
        spinlock_t spinlock;
        uint32_t kernel_waiters;



Home | Main Index | Thread Index | Old Index