lib/drmtest: include sys/mman.h from drmtest.h
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 3 Sep 2013 08:38:29 +0000 (10:38 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 3 Sep 2013 08:38:29 +0000 (10:38 +0200)
We need it for mmapping to get at PROT_READ|WRITE anyway.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
35 files changed:
lib/drmtest.h
tests/gem_bad_length.c
tests/gem_cs_tlb.c
tests/gem_ctx_bad_exec.c
tests/gem_ctx_exec.c
tests/gem_evict_alignment.c
tests/gem_evict_everything.c
tests/gem_exec_big.c
tests/gem_exec_blt.c
tests/gem_exec_faulting_reloc.c
tests/gem_exec_nop.c
tests/gem_fence_thrash.c
tests/gem_gtt_cpu_tlb.c
tests/gem_gtt_speed.c
tests/gem_mmap.c
tests/gem_mmap_gtt.c
tests/gem_mmap_offset_exhaustion.c
tests/gem_pread.c
tests/gem_pwrite.c
tests/gem_pwrite_pread.c
tests/gem_reloc_overflow.c
tests/gem_set_tiling_vs_gtt.c
tests/gem_set_tiling_vs_pwrite.c
tests/gem_suspend.c
tests/gem_tiled_pread.c
tests/gem_tiled_pread_pwrite.c
tests/gem_tiled_swapping.c
tests/gem_tiling_max_stride.c
tests/gen3_mixed_blits.c
tests/gen3_render_mixed_blits.c
tests/gen3_render_tiledx_blits.c
tests/gen3_render_tiledy_blits.c
tests/kms_flip.c
tests/prime_self_import.c
tests/testdisplay.c

index bf947df..3d1c323 100644 (file)
@@ -36,6 +36,7 @@
 #include <stdbool.h>
 #include <cairo.h>
 #include <setjmp.h>
+#include <sys/mman.h>
 
 #include "xf86drm.h"
 #include "xf86drmMode.h"
index 940dffd..72f0fe3 100644 (file)
@@ -34,7 +34,6 @@
 #include <errno.h>
 #include <sys/stat.h>
 #include <sys/ioctl.h>
-#include <sys/mman.h>
 #include "drm.h"
 #include "i915_drm.h"
 #include "drmtest.h"
index 45e8b72..870821b 100644 (file)
@@ -45,7 +45,6 @@
 #include <errno.h>
 #include <sys/stat.h>
 #include <sys/ioctl.h>
-#include <sys/mman.h>
 #include <sys/time.h>
 #include "drm.h"
 #include "i915_drm.h"
index 68b74af..f0f49c1 100644 (file)
@@ -40,7 +40,6 @@
 #include <errno.h>
 #include <sys/stat.h>
 #include <sys/ioctl.h>
-#include <sys/mman.h>
 #include <sys/time.h>
 #include "drm.h"
 #include "i915_drm.h"
index 7b5be56..5f2c59f 100644 (file)
@@ -39,7 +39,6 @@
 #include <errno.h>
 #include <sys/stat.h>
 #include <sys/ioctl.h>
-#include <sys/mman.h>
 #include <sys/time.h>
 #include "drm.h"
 #include "i915_drm.h"
index 83ce5be..af0cbbf 100644 (file)
@@ -40,7 +40,6 @@
 #include <errno.h>
 #include <sys/stat.h>
 #include <sys/ioctl.h>
-#include <sys/mman.h>
 #include <sys/time.h>
 #include "drm.h"
 #include "i915_drm.h"
index 63b2d46..86b0b6f 100644 (file)
@@ -40,7 +40,6 @@
 #include <errno.h>
 #include <sys/stat.h>
 #include <sys/ioctl.h>
-#include <sys/mman.h>
 #include <sys/time.h>
 #include "drm.h"
 #include "i915_drm.h"
index 4b3113a..7bd6a9f 100644 (file)
@@ -42,7 +42,6 @@
 #include <errno.h>
 #include <sys/stat.h>
 #include <sys/ioctl.h>
-#include <sys/mman.h>
 #include <sys/time.h>
 #include "drm.h"
 #include "i915_drm.h"
index cbaa78b..60facf3 100644 (file)
@@ -35,7 +35,6 @@
 #include <errno.h>
 #include <sys/stat.h>
 #include <sys/ioctl.h>
-#include <sys/mman.h>
 #include <sys/time.h>
 #include "drm.h"
 #include "i915_drm.h"
index 73b8f6d..d25bd5e 100644 (file)
@@ -35,7 +35,6 @@
 #include <errno.h>
 #include <sys/stat.h>
 #include <sys/ioctl.h>
-#include <sys/mman.h>
 #include <sys/time.h>
 #include "drm.h"
 #include "i915_drm.h"
index 26bb359..be5f2c5 100644 (file)
@@ -35,7 +35,6 @@
 #include <errno.h>
 #include <sys/stat.h>
 #include <sys/ioctl.h>
-#include <sys/mman.h>
 #include <sys/time.h>
 #include "drm.h"
 #include "i915_drm.h"
index a5e9679..8c963af 100644 (file)
@@ -39,7 +39,6 @@
 #include <errno.h>
 #include <sys/stat.h>
 #include <sys/ioctl.h>
-#include <sys/mman.h>
 #include <pthread.h>
 #include "drm.h"
 #include "i915_drm.h"
index 4c62ea3..bdae4f8 100644 (file)
@@ -39,7 +39,6 @@
 #include <sys/stat.h>
 #include <sys/time.h>
 #include <sys/ioctl.h>
-#include <sys/mman.h>
 #include "drm.h"
 #include "i915_drm.h"
 #include "drmtest.h"
index d685838..459bdab 100644 (file)
@@ -36,7 +36,6 @@
 #include <errno.h>
 #include <sys/stat.h>
 #include <sys/ioctl.h>
-#include <sys/mman.h>
 #include <sys/time.h>
 #include "drm.h"
 #include "i915_drm.h"
index 939fd4c..9c3391e 100644 (file)
@@ -34,7 +34,6 @@
 #include <errno.h>
 #include <sys/stat.h>
 #include <sys/ioctl.h>
-#include <sys/mman.h>
 #include "drm.h"
 #include "i915_drm.h"
 #include "drmtest.h"
index ed04048..79e34e2 100644 (file)
@@ -35,7 +35,6 @@
 #include <errno.h>
 #include <sys/stat.h>
 #include <sys/ioctl.h>
-#include <sys/mman.h>
 #include "drm.h"
 #include "i915_drm.h"
 #include "drmtest.h"
index 1ec3299..d834fda 100644 (file)
@@ -34,7 +34,6 @@
 #include <errno.h>
 #include <sys/stat.h>
 #include <sys/ioctl.h>
-#include <sys/mman.h>
 #include "drm.h"
 #include "i915_drm.h"
 #include "drmtest.h"
index ea789eb..d1baf54 100644 (file)
@@ -35,7 +35,6 @@
 #include <errno.h>
 #include <sys/stat.h>
 #include <sys/ioctl.h>
-#include <sys/mman.h>
 #include <sys/time.h>
 #include "drm.h"
 #include "i915_drm.h"
index 5ea7d16..d04535b 100644 (file)
@@ -35,7 +35,6 @@
 #include <errno.h>
 #include <sys/stat.h>
 #include <sys/ioctl.h>
-#include <sys/mman.h>
 #include <sys/time.h>
 #include "drm.h"
 #include "i915_drm.h"
index 852b16c..42c3391 100644 (file)
@@ -35,7 +35,6 @@
 #include <errno.h>
 #include <sys/stat.h>
 #include <sys/ioctl.h>
-#include <sys/mman.h>
 #include <sys/time.h>
 #include "drm.h"
 #include "i915_drm.h"
index f91fc91..ff2e2f5 100644 (file)
@@ -36,7 +36,6 @@
 #include <malloc.h>
 #include <limits.h>
 #include <sys/ioctl.h>
-#include <sys/mman.h>
 #include <sys/stat.h>
 #include <sys/time.h>
 #include <sys/types.h>
index a620c99..ac3be7d 100644 (file)
@@ -34,7 +34,6 @@
 #include <errno.h>
 #include <sys/stat.h>
 #include <sys/ioctl.h>
-#include <sys/mman.h>
 #include "drm.h"
 #include "i915_drm.h"
 #include "drmtest.h"
index f27accd..fb3c7ee 100644 (file)
@@ -34,7 +34,6 @@
 #include <errno.h>
 #include <sys/stat.h>
 #include <sys/ioctl.h>
-#include <sys/mman.h>
 #include "drm.h"
 #include "i915_drm.h"
 #include "drmtest.h"
index de3f51c..eea4cfc 100644 (file)
@@ -34,7 +34,6 @@
 #include <errno.h>
 #include <sys/stat.h>
 #include <sys/ioctl.h>
-#include <sys/mman.h>
 #include "drm.h"
 #include "i915_drm.h"
 #include "drmtest.h"
index 9abdb88..f376093 100644 (file)
@@ -44,7 +44,6 @@
 #include <sys/stat.h>
 #include <sys/time.h>
 #include <sys/ioctl.h>
-#include <sys/mman.h>
 #include "drm.h"
 #include "i915_drm.h"
 #include "drmtest.h"
index f92897e..3a0817c 100644 (file)
@@ -53,7 +53,6 @@
 #include <sys/stat.h>
 #include <sys/time.h>
 #include <sys/ioctl.h>
-#include <sys/mman.h>
 #include "drm.h"
 #include "i915_drm.h"
 #include "drmtest.h"
index 89b9c94..ab76fe1 100644 (file)
@@ -53,7 +53,6 @@
 #include <sys/stat.h>
 #include <sys/time.h>
 #include <sys/ioctl.h>
-#include <sys/mman.h>
 #include "drm.h"
 #include "i915_drm.h"
 #include "drmtest.h"
index 28e94bc..a00eb18 100644 (file)
@@ -35,7 +35,6 @@
 #include <limits.h>
 #include <sys/stat.h>
 #include <sys/ioctl.h>
-#include <sys/mman.h>
 #include "drm.h"
 #include "i915_drm.h"
 #include "drmtest.h"
index 4aec522..1f91df6 100644 (file)
@@ -41,7 +41,6 @@
 #include <errno.h>
 #include <sys/stat.h>
 #include <sys/time.h>
-#include <sys/mman.h>
 #include <sys/ioctl.h>
 #include "drm.h"
 #include "i915_drm.h"
index 343fe99..b3e25da 100644 (file)
@@ -41,7 +41,6 @@
 #include <errno.h>
 #include <sys/stat.h>
 #include <sys/time.h>
-#include <sys/mman.h>
 #include <sys/ioctl.h>
 #include "drm.h"
 #include "i915_drm.h"
index e584181..3db8f0c 100644 (file)
@@ -41,7 +41,6 @@
 #include <errno.h>
 #include <sys/stat.h>
 #include <sys/time.h>
-#include <sys/mman.h>
 #include <sys/ioctl.h>
 #include "drm.h"
 #include "i915_drm.h"
index 993b3c2..37a4d1a 100644 (file)
@@ -41,7 +41,6 @@
 #include <errno.h>
 #include <sys/stat.h>
 #include <sys/time.h>
-#include <sys/mman.h>
 #include <sys/ioctl.h>
 #include "drm.h"
 #include "i915_drm.h"
index 5103bf7..8b972bb 100644 (file)
@@ -33,7 +33,6 @@
 #include <unistd.h>
 #include <sys/poll.h>
 #include <sys/time.h>
-#include <sys/mman.h>
 #include <sys/ioctl.h>
 #include <linux/kd.h>
 
index 32b9aa7..481a809 100644 (file)
@@ -40,7 +40,6 @@
 #include <inttypes.h>
 #include <errno.h>
 #include <sys/stat.h>
-#include <sys/mman.h>
 #include <sys/ioctl.h>
 #include <pthread.h>
 
index 3413359..6c39b68 100644 (file)
@@ -56,7 +56,6 @@
 #include <unistd.h>
 #include <sys/poll.h>
 #include <sys/time.h>
-#include <sys/mman.h>
 #include <sys/ioctl.h>
 
 #include "i915_drm.h"