summaryrefslogtreecommitdiff
path: root/tests/prime_nv_pcopy.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/prime_nv_pcopy.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/prime_nv_pcopy.c')
-rw-r--r--tests/prime_nv_pcopy.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/prime_nv_pcopy.c b/tests/prime_nv_pcopy.c
index e02835ee..b5ceabf1 100644
--- a/tests/prime_nv_pcopy.c
+++ b/tests/prime_nv_pcopy.c
@@ -14,6 +14,7 @@
*/
+#include "igt.h"
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
@@ -23,13 +24,8 @@
#include <sys/ioctl.h>
#include <errno.h>
-#include "ioctl_wrappers.h"
#include "intel_bufmgr.h"
#include "nouveau.h"
-#include "intel_io.h"
-#include "intel_batchbuffer.h"
-#include "intel_chipset.h"
-#include "drmtest.h"
static int intel_fd = -1, nouveau_fd = -1;
static drm_intel_bufmgr *bufmgr;