summaryrefslogtreecommitdiff
path: root/lib/drmtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/drmtest.c')
-rw-r--r--lib/drmtest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/drmtest.c b/lib/drmtest.c
index e3fc166eb..d8fc60f65 100644
--- a/lib/drmtest.c
+++ b/lib/drmtest.c
@@ -47,6 +47,7 @@
#include "i915_drm.h"
#include "intel_chipset.h"
#include "intel_gpu_tools.h"
+#include "igt_debugfs.h"
/* This file contains a bunch of wrapper functions to directly use gem ioctls.
* Mostly useful to write kernel tests. */
@@ -163,6 +164,7 @@ void gem_quiescent_gpu(int fd)
}
gem_sync(fd, handle);
+ igt_drop_caches_set(DROP_RETIRE);
}
/**