Module Name:    src
Committed By:   riastradh
Date:           Sun Dec 19 11:11:51 UTC 2021

Modified Files:
        src/sys/external/bsd/drm2/dist/drm/i915: i915_perf_types.h

Log Message:
ifdef out poll_wait, inspired by openbsd doing the same

rather than figure out a type for poll_table

Author: Maya Rashish <[email protected]>
Committer: Taylor R Campbell <[email protected]>


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 \
    src/sys/external/bsd/drm2/dist/drm/i915/i915_perf_types.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/drm/i915/i915_perf_types.h
diff -u src/sys/external/bsd/drm2/dist/drm/i915/i915_perf_types.h:1.4 src/sys/external/bsd/drm2/dist/drm/i915/i915_perf_types.h:1.5
--- src/sys/external/bsd/drm2/dist/drm/i915/i915_perf_types.h:1.4	Sun Dec 19 11:11:11 2021
+++ src/sys/external/bsd/drm2/dist/drm/i915/i915_perf_types.h	Sun Dec 19 11:11:51 2021
@@ -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 @@ struct i915_perf_stream_ops {
 	 */
 	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 @@ struct i915_perf_stream_ops {
 	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

Reply via email to