summaryrefslogtreecommitdiff
path: root/tests/gem_cs_prefetch.c
diff options
context:
space:
mode:
authorThomas Wood <thomas.wood@intel.com>2015-08-17 17:57:43 +0100
committerThomas Wood <thomas.wood@intel.com>2015-08-21 09:37:10 +0100
commit804e11f40defc1c53722914a449c6b2dcdbbf9a2 (patch)
treeed9d7e902de1f51ce6fa05937d3d92d1842c7935 /tests/gem_cs_prefetch.c
parenta11879a4ab8840dae96867445ac27d100fc798d9 (diff)
lib: add a single include header
Add a header that includes all the headers for the library. This allows reorganisation of the library without affecting programs using it and also simplifies the headers that need to be included to use the library. Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Diffstat (limited to 'tests/gem_cs_prefetch.c')
-rw-r--r--tests/gem_cs_prefetch.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/gem_cs_prefetch.c b/tests/gem_cs_prefetch.c
index ac3da6d5..ea7882a3 100644
--- a/tests/gem_cs_prefetch.c
+++ b/tests/gem_cs_prefetch.c
@@ -35,6 +35,7 @@
* This test for a bug where we've failed to plug a scratch pte entry into the
* very last gtt pte.
*/
+#include "igt.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@@ -46,13 +47,7 @@
#include <drm.h>
-#include "ioctl_wrappers.h"
-#include "drmtest.h"
#include "intel_bufmgr.h"
-#include "intel_batchbuffer.h"
-#include "intel_io.h"
-#include "intel_chipset.h"
-#include "igt_aux.h"
IGT_TEST_DESCRIPTION("Test the CS prefetch behaviour on batches.");