summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2014-03-12 16:53:47 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-03-12 21:22:31 +0100
commitadb28fd71d21175f047d7ed4cc3e4683a146b57b (patch)
tree08e48ddc9c0963c89e4b830e20d86fe14840974b /tests
parent55e64989e5f0359796d6e71d6753e432861b04a4 (diff)
lib: move prefault helpers to igt_debugfs.c
This way all debugfs library code is in one place, ready for some api documentation care. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests')
-rw-r--r--tests/gem_exec_faulting_reloc.c1
-rw-r--r--tests/gem_mmap_gtt.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/gem_exec_faulting_reloc.c b/tests/gem_exec_faulting_reloc.c
index 60de1839..d5ca18cf 100644
--- a/tests/gem_exec_faulting_reloc.c
+++ b/tests/gem_exec_faulting_reloc.c
@@ -41,6 +41,7 @@
#include "drmtest.h"
#include "intel_chipset.h"
#include "intel_gpu_tools.h"
+#include "igt_debugfs.h"
/* Testcase: Submit patches with relocations in memory that will fault
*
diff --git a/tests/gem_mmap_gtt.c b/tests/gem_mmap_gtt.c
index 34ca6789..5f9e6382 100644
--- a/tests/gem_mmap_gtt.c
+++ b/tests/gem_mmap_gtt.c
@@ -38,6 +38,7 @@
#include "drm.h"
#include "i915_drm.h"
#include "drmtest.h"
+#include "igt_debugfs.h"
static int OBJECT_SIZE = 16*1024*1024;