public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] debugfs: Define DROP_RCU
@ 2019-10-11 18:37 Chris Wilson
  2019-10-11 18:47 ` Matthew Auld
  2019-10-11 19:36 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
  0 siblings, 2 replies; 3+ messages in thread
From: Chris Wilson @ 2019-10-11 18:37 UTC (permalink / raw)
  To: intel-gfx; +Cc: igt-dev

Corresponding kernel commit 54895010a893 ("drm/i915: Add an rcu_barrier
option to i915_drop_caches")

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Matthew Auld <matthew.william.auld@gmail.com>
---
 lib/igt_debugfs.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/lib/igt_debugfs.h b/lib/igt_debugfs.h
index 36b638177..a56f09dd2 100644
--- a/lib/igt_debugfs.h
+++ b/lib/igt_debugfs.h
@@ -172,6 +172,13 @@ void igt_require_hpd_storm_ctl(int fd);
  * Reset the global request seqno counter back to 0
  */
 #define DROP_RESET_SEQNO 0x100
+/**
+ * DROP_RCU:
+ *
+ * Performs rcu_barrier() and waits for an RCU grace period to complete,
+ * which will flush any RCU callbacks and deferred tasks.
+ */
+#define DROP_RCU 0x200
 /**
  * DROP_ALL:
  *
-- 
2.23.0

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-10-11 19:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-11 18:37 [igt-dev] [PATCH i-g-t] debugfs: Define DROP_RCU Chris Wilson
2019-10-11 18:47 ` Matthew Auld
2019-10-11 19:36 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox