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 ifdef out poll_wait, ins...



details:   https://anonhg.NetBSD.org/src/rev/5df59ec11fd8
branches:  trunk
changeset: 1028502:5df59ec11fd8
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 11:11:51 2021 +0000

description:
ifdef out poll_wait, inspired by openbsd doing the same

rather than figure out a type for poll_table


Author: Maya Rashish <maya%NetBSD.org@localhost>
Committer: Taylor R Campbell <riastradh%NetBSD.org@localhost>

diffstat:

 sys/external/bsd/drm2/dist/drm/i915/i915_perf_types.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r b5d10229be9c -r 5df59ec11fd8 sys/external/bsd/drm2/dist/drm/i915/i915_perf_types.h
--- a/sys/external/bsd/drm2/dist/drm/i915/i915_perf_types.h     Sun Dec 19 11:11:42 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/i915_perf_types.h     Sun Dec 19 11:11:51 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i915_perf_types.h,v 1.4 2021/12/19 11:11:11 riastradh Exp $    */
+/*     $NetBSD: i915_perf_types.h,v 1.5 2021/12/19 11:11:51 riastradh Exp $    */
 
 /* SPDX-License-Identifier: MIT */
 /*
@@ -82,6 +82,7 @@
         */
        void (*disable)(struct i915_perf_stream *stream);
 
+#ifdef notyet
        /**
         * @poll_wait: Call poll_wait, passing a wait queue that will be woken
         * once there is something ready to read() for the stream
@@ -89,6 +90,7 @@
        void (*poll_wait)(struct i915_perf_stream *stream,
                          struct file *file,
                          poll_table *wait);
+#endif
 
        /**
         * @wait_unlocked: For handling a blocking read, wait until there is



Home | Main Index | Thread Index | Old Index