public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Chris Wilson <chris@chris-wilson.co.uk>
To: intel-gfx@lists.freedesktop.org
Cc: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t] debugfs: Define DROP_RCU
Date: Fri, 11 Oct 2019 19:37:12 +0100	[thread overview]
Message-ID: <20191011183712.8263-1-chris@chris-wilson.co.uk> (raw)

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

             reply	other threads:[~2019-10-11 18:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-11 18:37 Chris Wilson [this message]
2019-10-11 18:47 ` [igt-dev] [PATCH i-g-t] debugfs: Define DROP_RCU Matthew Auld
2019-10-11 19:36 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191011183712.8263-1-chris@chris-wilson.co.uk \
    --to=chris@chris-wilson.co.uk \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox