summaryrefslogtreecommitdiff
path: root/tests/prime_nv_api.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_api.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_api.c')
-rw-r--r--tests/prime_nv_api.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/prime_nv_api.c b/tests/prime_nv_api.c
index 27760913..054a1ec6 100644
--- a/tests/prime_nv_api.c
+++ b/tests/prime_nv_api.c
@@ -8,6 +8,7 @@
test4 - export handle twice from intel, import into nouveau twice, check handle is the same
*/
+#include "igt.h"
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
@@ -16,10 +17,6 @@
#include "intel_bufmgr.h"
#include "nouveau.h"
-#include "intel_io.h"
-#include "intel_batchbuffer.h"
-#include "drmtest.h"
-#include "intel_chipset.h"
#define BO_SIZE (256*1024)