summaryrefslogtreecommitdiff
path: root/tests/gem_cs_tlb.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2014-03-23 13:35:09 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-03-23 13:47:09 +0100
commitf5daeec724aea1613334f14d58b101a5c8e430b4 (patch)
tree055ceaf0a430f9d028653cfef0913e0bfb0ee241 /tests/gem_cs_tlb.c
parent018f8c3c457d1609b18867a48a512e3639979dc9 (diff)
lib: extract igt_aux.[hc]
And shovel all the various helpers in there. Also move igt_set_vt_graphics_mode to igt_kms.h since the function is implemented in igt_kms.c. And it fits better. I kinda missed this in the prep work. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/gem_cs_tlb.c')
-rw-r--r--tests/gem_cs_tlb.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/gem_cs_tlb.c b/tests/gem_cs_tlb.c
index 8f7bc61c..b1c50584 100644
--- a/tests/gem_cs_tlb.c
+++ b/tests/gem_cs_tlb.c
@@ -46,10 +46,13 @@
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <sys/time.h>
-#include "drm.h"
+
+#include <drm.h>
+
#include "ioctl_wrappers.h"
#include "drmtest.h"
#include "intel_io.h"
+#include "igt_aux.h"
#define LOCAL_I915_EXEC_VEBOX (4<<0)
#define BATCH_SIZE (1024*1024)