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/drm/i915/gt i915: drm_waitqueue_t
details: https://anonhg.NetBSD.org/src/rev/b9755802f3a9
branches: trunk
changeset: 1028510:b9755802f3a9
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 11:12:51 2021 +0000
description:
i915: drm_waitqueue_t
diffstat:
sys/external/bsd/drm2/dist/drm/i915/gt/intel_reset_types.h | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (29 lines):
diff -r 84670b5fb8e7 -r b9755802f3a9 sys/external/bsd/drm2/dist/drm/i915/gt/intel_reset_types.h
--- a/sys/external/bsd/drm2/dist/drm/i915/gt/intel_reset_types.h Sun Dec 19 11:12:43 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/gt/intel_reset_types.h Sun Dec 19 11:12:51 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: intel_reset_types.h,v 1.2 2021/12/18 23:45:30 riastradh Exp $ */
+/* $NetBSD: intel_reset_types.h,v 1.3 2021/12/19 11:12:51 riastradh Exp $ */
/* SPDX-License-Identifier: MIT */
/*
@@ -11,6 +11,7 @@
#include <linux/mutex.h>
#include <linux/wait.h>
#include <linux/srcu.h>
+#include <drm/drm_wait_netbsd.h> /* XXX */
struct intel_reset {
/**
@@ -50,7 +51,11 @@
* Waitqueue to signal when the reset has completed. Used by clients
* that wait for dev_priv->mm.wedged to settle.
*/
+#ifdef __NetBSD__
+ drm_waitqueue_t queue;
+#else
wait_queue_head_t queue;
+#endif
struct srcu_struct backoff_srcu;
};
Home |
Main Index |
Thread Index |
Old Index