lib: more unecessary header removal
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 22 Mar 2014 19:18:51 +0000 (20:18 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 22 Mar 2014 19:18:51 +0000 (20:18 +0100)
This time big with media_fill.h

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
lib/igt_core.h
lib/igt_kms.h
lib/intel_batchbuffer.h
lib/media_fill.h
lib/media_fill_gen7.c
lib/media_fill_gen8.c
tests/kms_cursor_crc.c
tests/kms_pipe_crc_basic.c
tests/kms_plane.c

index c21448e..47576da 100644 (file)
 #ifndef IGT_CORE_H
 #define IGT_CORE_H
 
+#include <setjmp.h>
 #include <stdbool.h>
+#include <string.h>
+#include <sys/types.h>
 
 bool __igt_fixture(void);
 void __igt_fixture_complete(void);
index 6590fd5..d141cfc 100644 (file)
@@ -27,7 +27,6 @@
 
 #include <stdbool.h>
 #include <stdint.h>
-#include <drm_fourcc.h>
 #include <cairo.h>
 
 #include "igt_display.h"
index 244bdbd..e11281a 100644 (file)
@@ -2,7 +2,7 @@
 #define INTEL_BATCHBUFFER_H
 
 #include <stdint.h>
-#include "intel_bufmgr.h"
+#include <intel_bufmgr.h>
 #include "igt_core.h"
 #include "intel_reg.h"
 
index 3568cf6..d417c75 100644 (file)
@@ -1,22 +1,8 @@
 #ifndef RENDE_MEDIA_FILL_H
 #define RENDE_MEDIA_FILL_H
 
-#include <stdlib.h>
-#include <sys/ioctl.h>
-#include <stdio.h>
-#include <string.h>
-#include <fcntl.h>
-#include <inttypes.h>
-#include <errno.h>
-#include <sys/stat.h>
-#include <sys/time.h>
-#include <getopt.h>
-#include "drm.h"
-#include "i915_drm.h"
-#include "drmtest.h"
-#include "intel_bufmgr.h"
+#include <stdint.h>
 #include "intel_batchbuffer.h"
-#include "intel_gpu_tools.h"
 
 void
 gen8_media_fillfunc(struct intel_batchbuffer *batch,
index 7494d44..cdf4b60 100644 (file)
@@ -1,3 +1,6 @@
+#include <intel_bufmgr.h>
+#include <i915_drm.h>
+
 #include "media_fill.h"
 #include "gen7_media.h"
 #include "intel_reg.h"
index d65d260..996d4d0 100644 (file)
@@ -1,3 +1,6 @@
+#include <intel_bufmgr.h>
+#include <i915_drm.h>
+
 #include "media_fill.h"
 #include "gen8_media.h"
 #include "intel_reg.h"
index f95448f..f87fe0b 100644 (file)
@@ -27,6 +27,7 @@
 #include <stdbool.h>
 #include <stdio.h>
 #include <string.h>
+#include <drm_fourcc.h>
 
 #include "drmtest.h"
 #include "igt_debugfs.h"
index 75217df..ef3ab40 100644 (file)
@@ -26,6 +26,7 @@
 #include <stdbool.h>
 #include <stdio.h>
 #include <string.h>
+#include <drm_fourcc.h>
 
 #include "drmtest.h"
 #include "igt_debugfs.h"
index 223f0a7..83d45c5 100644 (file)
@@ -28,6 +28,7 @@
 #include <stdbool.h>
 #include <stdio.h>
 #include <string.h>
+#include <drm_fourcc.h>
 
 #include "drmtest.h"
 #include "igt_debugfs.h"