summaryrefslogtreecommitdiff
path: root/lib/igt_debugfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/igt_debugfs.h')
-rw-r--r--lib/igt_debugfs.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/igt_debugfs.h b/lib/igt_debugfs.h
index 988025f9..8289e9d0 100644
--- a/lib/igt_debugfs.h
+++ b/lib/igt_debugfs.h
@@ -157,6 +157,12 @@ void igt_pipe_crc_collect_crc(igt_pipe_crc_t *pipe_crc, igt_crc_t *out_crc);
*/
#define DROP_ACTIVE 0x8
/**
+ * DROP_FREED:
+ *
+ * Also drop freed objects.
+ */
+#define DROP_FREED 0x10
+/**
* DROP_ALL:
*
* All of the above DROP_ flags combined.
@@ -164,7 +170,8 @@ void igt_pipe_crc_collect_crc(igt_pipe_crc_t *pipe_crc, igt_crc_t *out_crc);
#define DROP_ALL (DROP_UNBOUND | \
DROP_BOUND | \
DROP_RETIRE | \
- DROP_ACTIVE)
+ DROP_ACTIVE | \
+ DROP_FREED)
void igt_drop_caches_set(uint64_t val);