summaryrefslogtreecommitdiff
path: root/tests/gem_unref_active_buffers.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_unref_active_buffers.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_unref_active_buffers.c')
-rw-r--r--tests/gem_unref_active_buffers.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/gem_unref_active_buffers.c b/tests/gem_unref_active_buffers.c
index 8c8efaadd..6478257c9 100644
--- a/tests/gem_unref_active_buffers.c
+++ b/tests/gem_unref_active_buffers.c
@@ -32,6 +32,7 @@
* will be the last one to hold a reference on them. Usually libdrm bo caching
* prevents that by keeping another reference.
*/
+#include "igt.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@@ -41,12 +42,7 @@
#include <sys/stat.h>
#include <sys/time.h>
#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"
IGT_TEST_DESCRIPTION("Test unreferencing of active buffers.");