[PATCH i-g-t] debugfs: Define DROP_RCU

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
Cc: Matthew Auld <matthew.william.auld@xxxxxxxxx>
---
 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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux