summaryrefslogtreecommitdiff
path: root/lib/igt_aux.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-04-07 13:09:46 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-04-07 13:12:29 +0100
commitff7806e52c4e9b7c522e59ba8514c5c6e3fa8683 (patch)
treedd61aec2c0beddc9b4078a599bc62ac2d57ae1fb /lib/igt_aux.h
parent5d607a744f3df07235355ebcb5376e2464e2f4b1 (diff)
gem_tiled_swapping: Purge all page/swap caches first
Reset the system to a vanilla state before we query how much RAM/swap space is available for our testing. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/igt_aux.h')
-rw-r--r--lib/igt_aux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/igt_aux.h b/lib/igt_aux.h
index 948101d2..aa8a3878 100644
--- a/lib/igt_aux.h
+++ b/lib/igt_aux.h
@@ -61,6 +61,7 @@ void igt_wait_for_keypress(void);
/* These are separate to allow easier testing when porting, see the comment at
* the bottom of intel_os.c. */
+void intel_purge_vm_caches(void);
uint64_t intel_get_avail_ram_mb(void);
uint64_t intel_get_total_ram_mb(void);
uint64_t intel_get_total_swap_mb(void);