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>
This commit is contained in:
Thomas Wood 2015-08-17 17:57:43 +01:00
parent a11879a4ab
commit 804e11f40d
172 changed files with 220 additions and 741 deletions

49
lib/igt.h Normal file
View File

@ -0,0 +1,49 @@
/*
* Copyright © 2015 Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
* IN THE SOFTWARE.
*/
#ifndef IGT_H
#define IGT_H
#include "drmtest.h"
#include "i915_3d.h"
#include "i915_pciids.h"
#include "igt_aux.h"
#include "igt_core.h"
#include "igt_core.h"
#include "igt_debugfs.h"
#include "igt_draw.h"
#include "igt_fb.h"
#include "igt_gt.h"
#include "igt_kms.h"
#include "igt_stats.h"
#include "instdone.h"
#include "intel_batchbuffer.h"
#include "intel_chipset.h"
#include "intel_io.h"
#include "ioctl_wrappers.h"
#include "media_fill.h"
#include "media_spin.h"
#include "rendercopy.h"
#include "version.h"
#endif /* IGT_H */

View File

@ -33,6 +33,7 @@
*/
#define _GNU_SOURCE
#include "igt.h"
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
@ -44,8 +45,6 @@
#endif
#include "drm.h"
#include "ioctl_wrappers.h"
#include "drmtest.h"
/* Checks whether the thread id is the current thread */
static bool

View File

@ -25,12 +25,12 @@
*
*/
#include "igt.h"
#include <limits.h>
#include <sys/ioctl.h>
#include <stdlib.h>
#include <errno.h>
#include "drmtest.h"
IGT_TEST_DESCRIPTION("Tests the DRM_IOCTL_GET_CLIENT ioctl.");

View File

@ -25,14 +25,13 @@
*
*/
#include "igt.h"
#include <limits.h>
#include <sys/ioctl.h>
#include <sys/types.h>
#include <drm.h>
#include "igt_core.h"
#include "drmtest.h"
/**
* Checks DRM_IOCTL_GET_STATS.

View File

@ -25,9 +25,9 @@
*
*/
#include "igt.h"
#include <string.h>
#include <sys/ioctl.h>
#include "drmtest.h"
IGT_TEST_DESCRIPTION("Tests the DRM_IOCTL_GET_VERSION ioctl and libdrm's "
"drmGetVersion() interface to it.");

View File

@ -25,6 +25,7 @@
* Testcase: drmGetMagic() and drmAuthMagic()
*/
#include "igt.h"
#include <unistd.h>
#include <stdlib.h>
#include <stdint.h>
@ -39,9 +40,6 @@
#include <sys/time.h>
#include <sys/poll.h>
#include "drm.h"
#include "ioctl_wrappers.h"
#include "drmtest.h"
#include "igt_aux.h"
IGT_TEST_DESCRIPTION("Call drmGetMagic() and drmAuthMagic() and see if it behaves.");

View File

@ -25,6 +25,7 @@
*/
#define _GNU_SOURCE
#include "igt.h"
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
@ -40,8 +41,6 @@
#include <unistd.h>
#include <sys/syscall.h>
#include "igt_core.h"
#include "drmtest.h"
int fd;
drm_intel_bufmgr *bufmgr;

View File

@ -29,6 +29,7 @@
* Testcase: boundary testing of read(drm_fd)
*/
#include "igt.h"
#include <unistd.h>
#include <stdlib.h>
#include <stdint.h>
@ -43,9 +44,6 @@
#include <sys/time.h>
#include <sys/poll.h>
#include "drm.h"
#include "ioctl_wrappers.h"
#include "drmtest.h"
#include "igt_aux.h"
IGT_TEST_DESCRIPTION("Call read(drm) and see if it behaves.");

View File

@ -24,6 +24,7 @@
* Daniel Vetter <daniel.vetter@ffwll.ch>
*/
#include "igt.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@ -33,12 +34,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"
static drm_intel_bufmgr *bufmgr;
struct intel_batchbuffer *batch;

View File

@ -24,6 +24,7 @@
* Daniel Vetter <daniel.vetter@ffwll.ch>
*/
#include "igt.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@ -33,12 +34,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"
static drm_intel_bufmgr *bufmgr;
struct intel_batchbuffer *batch;

View File

@ -24,6 +24,7 @@
* Daniel Vetter <daniel.vetter@ffwll.ch>
*/
#include "igt.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@ -33,12 +34,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"
static drm_intel_bufmgr *bufmgr;
struct intel_batchbuffer *batch;

View File

@ -24,6 +24,7 @@
* Daniel Vetter <daniel.vetter@ffwll.ch>
*/
#include "igt.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@ -33,12 +34,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"
static drm_intel_bufmgr *bufmgr;
struct intel_batchbuffer *batch;

View File

@ -25,12 +25,11 @@
*
*/
#include "igt.h"
#include <unistd.h>
#include <errno.h>
#include <xf86drm.h>
#include <i915_drm.h>
#include "drmtest.h"
#include "intel_chipset.h"
#include "intel_bufmgr.h"
IGT_TEST_DESCRIPTION("Tests the export of parameters via DRM_IOCTL_I915_GETPARAM\n");

View File

@ -26,16 +26,12 @@
*
*/
#include "igt.h"
#include <limits.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include "intel_chipset.h"
#include "drmtest.h"
#include "igt_aux.h"
#include "igt_gt.h"
#include "ioctl_wrappers.h"
#ifndef I915_PARAM_CMD_PARSER_VERSION
#define I915_PARAM_CMD_PARSER_VERSION 28

View File

@ -26,6 +26,7 @@
*
*/
#include "igt.h"
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
@ -38,10 +39,6 @@
#include <drm.h>
#include "ioctl_wrappers.h"
#include "drmtest.h"
#include "igt_gt.h"
#include "igt_aux.h"
#define OBJECT_SIZE (16*1024*1024)

View File

@ -27,10 +27,9 @@
*
*/
#include "igt.h"
#include <stdlib.h>
#include "drmtest.h"
#include "igt_aux.h"
struct igt_eviction_test_ops
{

View File

@ -1,3 +1,4 @@
#include "igt.h"
#include <sys/ioctl.h>
#include <fcntl.h>
#include <errno.h>
@ -5,7 +6,6 @@
#include <signal.h>
#include <i915_drm.h>
#include "drmtest.h"
int main(void)
{

View File

@ -26,6 +26,7 @@
*
*/
#include "igt.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@ -35,12 +36,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_chipset.h"
#include "intel_batchbuffer.h"
#include "intel_io.h"
static drm_intel_bufmgr *bufmgr;
struct intel_batchbuffer *batch;

View File

@ -26,6 +26,7 @@
*
*/
#include "igt.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@ -35,12 +36,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_chipset.h"
#include "intel_io.h"
static drm_intel_bufmgr *bufmgr;
struct intel_batchbuffer *batch;

View File

@ -41,6 +41,7 @@
* resulted.
*/
#include "igt.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@ -50,12 +51,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_chipset.h"
#include "intel_io.h"
static drm_intel_bufmgr *bufmgr;
struct intel_batchbuffer *batch;

View File

@ -25,6 +25,7 @@
*
*/
#include "igt.h"
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
@ -35,8 +36,6 @@
#include <sys/stat.h>
#include <sys/ioctl.h>
#include "drm.h"
#include "ioctl_wrappers.h"
#include "drmtest.h"
IGT_TEST_DESCRIPTION("Test minimal bo_create and batchbuffer exec.");

View File

@ -25,6 +25,7 @@
*
*/
#include "igt.h"
#include <unistd.h>
#include <stdlib.h>
#include <stdint.h>
@ -37,10 +38,6 @@
#include <sys/ioctl.h>
#include <sys/time.h>
#include "drm.h"
#include "ioctl_wrappers.h"
#include "drmtest.h"
#include "intel_io.h"
#include "intel_chipset.h"
IGT_TEST_DESCRIPTION("Simulates SNA behaviour using negative self-relocations"
" for STATE_BASE_ADDRESS command packets.");

View File

@ -25,6 +25,7 @@
*
*/
#include "igt.h"
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
@ -35,8 +36,6 @@
#include <sys/stat.h>
#include <sys/ioctl.h>
#include "drm.h"
#include "ioctl_wrappers.h"
#include "drmtest.h"
static void
test_bad_close(int fd)

View File

@ -26,6 +26,7 @@
*
*/
#include "igt.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@ -37,13 +38,7 @@
#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"
#include "igt_aux.h"
IGT_TEST_DESCRIPTION("Test snoop consistency when touching partial"
" cachelines.");

View File

@ -25,6 +25,7 @@
*
*/
#include "igt.h"
#include <pthread.h>
#include <unistd.h>
#include <stdlib.h>
@ -38,9 +39,6 @@
#include <sys/ioctl.h>
#include <sys/time.h>
#include "drm.h"
#include "ioctl_wrappers.h"
#include "drmtest.h"
#include "intel_chipset.h"
#define OBJECT_SIZE (256 * 1024)

View File

@ -35,6 +35,7 @@
* Based on gem_gtt_concurrent_blt.
*/
#include "igt.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@ -47,15 +48,7 @@
#include <drm.h>
#include "ioctl_wrappers.h"
#include "drmtest.h"
#include "igt_aux.h"
#include "igt_core.h"
#include "igt_gt.h"
#include "intel_bufmgr.h"
#include "intel_batchbuffer.h"
#include "intel_io.h"
#include "intel_chipset.h"
IGT_TEST_DESCRIPTION("Test of pread/pwrite/mmap behavior when writing to active"
" buffers.");

View File

@ -45,6 +45,7 @@
* GPU will hang.
*/
#include "igt.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@ -56,13 +57,7 @@
#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"
#include "igt_aux.h"
IGT_TEST_DESCRIPTION("Test the relocations through the CPU domain.");

View File

@ -35,6 +35,7 @@
* This test for a bug where we've failed to plug a scratch pte entry into the
* very last gtt pte.
*/
#include "igt.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@ -46,13 +47,7 @@
#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"
#include "igt_aux.h"
IGT_TEST_DESCRIPTION("Test the CS prefetch behaviour on batches.");

View File

@ -35,6 +35,7 @@
* https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1063252
*/
#include "igt.h"
#include <unistd.h>
#include <stdlib.h>
#include <stdint.h>
@ -49,10 +50,6 @@
#include <drm.h>
#include "ioctl_wrappers.h"
#include "drmtest.h"
#include "intel_io.h"
#include "igt_aux.h"
IGT_TEST_DESCRIPTION("Check whether we correctly invalidate the cs tlb.");

View File

@ -29,12 +29,11 @@
* Negative test cases for destroy contexts
*/
#include "igt.h"
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include "ioctl_wrappers.h"
#include "drmtest.h"
IGT_TEST_DESCRIPTION("Negative test cases for destroy contexts.");

View File

@ -30,6 +30,7 @@
* test we can't submit contexts to unsupported rings
*/
#include "igt.h"
#include <unistd.h>
#include <stdlib.h>
#include <stdint.h>
@ -42,8 +43,6 @@
#include <sys/ioctl.h>
#include <sys/time.h>
#include "drm.h"
#include "ioctl_wrappers.h"
#include "drmtest.h"
IGT_TEST_DESCRIPTION("Test that context cannot be submitted to unsupported"
" rings.");

View File

@ -29,6 +29,7 @@
* This test is useful for finding memory and refcount leaks.
*/
#include "igt.h"
#include <pthread.h>
#include <stdlib.h>
#include <sys/ioctl.h>
@ -40,12 +41,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("Basic test for memory and refcount leaks.");

View File

@ -25,12 +25,11 @@
*
*/
#include "igt.h"
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include "ioctl_wrappers.h"
#include "drmtest.h"
int ret, fd;
struct drm_i915_gem_context_create create;

View File

@ -29,6 +29,7 @@
* This test covers basic context switch functionality
*/
#include "igt.h"
#include <unistd.h>
#include <stdlib.h>
#include <stdint.h>
@ -43,10 +44,6 @@
#include <drm.h>
#include "ioctl_wrappers.h"
#include "drmtest.h"
#include "igt_aux.h"
#include "igt_gt.h"
IGT_TEST_DESCRIPTION("Test basic context switch functionality.");

View File

@ -24,12 +24,10 @@
* Daniel Vetter <daniel.vetter@ffwll.ch>
*/
#include "igt.h"
#include <stdlib.h>
#include <sys/ioctl.h>
#include <stdio.h>
#include "ioctl_wrappers.h"
#include "drmtest.h"
#include "igt_aux.h"
IGT_TEST_DESCRIPTION("Basic test for context set/get param input validation.");

View File

@ -22,6 +22,7 @@
*
*/
#include "igt.h"
#include <stdio.h>
#include <string.h>
#include <errno.h>
@ -30,10 +31,6 @@
#include <sys/stat.h>
#include <sys/resource.h>
#include "ioctl_wrappers.h"
#include "igt_aux.h"
#include "intel_chipset.h"
#include "drmtest.h"
IGT_TEST_DESCRIPTION("Fill the Gobal GTT with context objects and VMs\n");

View File

@ -25,6 +25,7 @@
*
*/
#include "igt.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@ -34,13 +35,8 @@
#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 "i830_reg.h"
#include "intel_chipset.h"
static drm_intel_bufmgr *bufmgr;
struct intel_batchbuffer *batch;

View File

@ -25,6 +25,7 @@
*
*/
#include "igt.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@ -34,13 +35,8 @@
#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 "i830_reg.h"
#include "intel_chipset.h"
#define LOCAL_I915_EXEC_VEBOX (4<<0)
#define LOCAL_I915_EXEC_BSD_RING1 (1<<13)

View File

@ -27,6 +27,7 @@
*
*/
#include "igt.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@ -38,11 +39,6 @@
#include <drm.h>
#include "drmtest.h"
#include "ioctl_wrappers.h"
#include "igt_core.h"
#include "igt_aux.h"
#include "igt_gt.h"
IGT_TEST_DESCRIPTION("Test that specific ioctls report a wedged GPU (EIO).");

View File

@ -30,6 +30,7 @@
* Testcase: run a couple of big batches to force the unbind on misalignment code.
*/
#include "igt.h"
#include <unistd.h>
#include <stdlib.h>
#include <stdint.h>
@ -44,11 +45,6 @@
#include <drm.h>
#include "ioctl_wrappers.h"
#include "drmtest.h"
#include "intel_chipset.h"
#include "igt_aux.h"
#include "igt_gt.h"
IGT_TEST_DESCRIPTION("Run a couple of big batches to force the unbind on"
" misalignment code.");

View File

@ -30,6 +30,7 @@
* Testcase: run a couple of big batches to force the eviction code.
*/
#include "igt.h"
#include <unistd.h>
#include <stdlib.h>
#include <stdint.h>
@ -42,10 +43,6 @@
#include <sys/ioctl.h>
#include <sys/time.h>
#include "drm.h"
#include "ioctl_wrappers.h"
#include "drmtest.h"
#include "intel_chipset.h"
#include "igt_gt.h"
#include "eviction_common.c"

View File

@ -27,6 +27,7 @@
/* Exercises the basic execbuffer using object alignments */
#include "igt.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@ -36,9 +37,6 @@
#include <sys/stat.h>
#include <sys/time.h>
#include "drm.h"
#include "ioctl_wrappers.h"
#include "igt_debugfs.h"
#include "drmtest.h"
IGT_TEST_DESCRIPTION("Exercises the basic execbuffer using object alignments");

View File

@ -25,6 +25,7 @@
*
*/
#include "igt.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@ -34,12 +35,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"
/* Testcase: Test whether the kernel rejects relocations with non-gpu domains
*

View File

@ -32,6 +32,7 @@
* Mostly useful to stress-test the error-capture code
*/
#include "igt.h"
#include <unistd.h>
#include <stdlib.h>
#include <stdint.h>
@ -44,10 +45,6 @@
#include <sys/ioctl.h>
#include <sys/time.h>
#include "drm.h"
#include "ioctl_wrappers.h"
#include "intel_chipset.h"
#include "drmtest.h"
#include "igt_aux.h"
IGT_TEST_DESCRIPTION("Run a large nop batch to stress test the error capture"
" code.");

View File

@ -25,6 +25,7 @@
*
*/
#include "igt.h"
#include <unistd.h>
#include <stdlib.h>
#include <stdint.h>
@ -37,10 +38,6 @@
#include <sys/ioctl.h>
#include <sys/time.h>
#include "drm.h"
#include "ioctl_wrappers.h"
#include "drmtest.h"
#include "intel_chipset.h"
#include "intel_io.h"
#define OBJECT_SIZE 16384

View File

@ -25,6 +25,7 @@
*
*/
#include "igt.h"
#include <unistd.h>
#include <stdlib.h>
#include <stdint.h>
@ -37,11 +38,6 @@
#include <sys/ioctl.h>
#include <sys/time.h>
#include "drm.h"
#include "ioctl_wrappers.h"
#include "drmtest.h"
#include "intel_chipset.h"
#include "intel_io.h"
#include "igt_debugfs.h"
/* Testcase: Submit patches with relocations in memory that will fault
*

View File

@ -27,6 +27,7 @@
/* Exercises the basic execbuffer using the handle LUT interface */
#include "igt.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@ -36,9 +37,6 @@
#include <sys/stat.h>
#include <sys/time.h>
#include "drm.h"
#include "ioctl_wrappers.h"
#include "igt_debugfs.h"
#include "drmtest.h"
IGT_TEST_DESCRIPTION("Exercises the basic execbuffer using the handle LUT"
" interface.");

View File

@ -25,6 +25,7 @@
*
*/
#include "igt.h"
#include <unistd.h>
#include <stdlib.h>
#include <stdint.h>
@ -38,10 +39,6 @@
#include <sys/time.h>
#include <time.h>
#include "drm.h"
#include "ioctl_wrappers.h"
#include "drmtest.h"
#include "intel_io.h"
#include "igt_stats.h"
#define LOCAL_I915_EXEC_NO_RELOC (1<<11)
#define LOCAL_I915_EXEC_HANDLE_LUT (1<<12)

View File

@ -25,6 +25,7 @@
*
*/
#include "igt.h"
#include <unistd.h>
#include <stdlib.h>
#include <stdint.h>
@ -38,11 +39,6 @@
#include <sys/time.h>
#include "drm.h"
#include "ioctl_wrappers.h"
#include "drmtest.h"
#include "intel_io.h"
#include "intel_chipset.h"
#include "igt_aux.h"
#define LOCAL_I915_EXEC_VEBOX (4<<0)
#define LOCAL_I915_EXEC_BSD_MASK (3<<13)

View File

@ -22,6 +22,7 @@
*
*/
#include "igt.h"
#include <stdlib.h>
#include <stdint.h>
#include <stdio.h>
@ -29,9 +30,6 @@
#include <drm.h>
#include "drmtest.h"
#include "ioctl_wrappers.h"
#include "intel_chipset.h"
#ifndef I915_PARAM_CMD_PARSER_VERSION
#define I915_PARAM_CMD_PARSER_VERSION 28

View File

@ -25,6 +25,7 @@
*
*/
#include "igt.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/resource.h>
@ -32,9 +33,6 @@
#include <fcntl.h>
#include <limits.h>
#include "drmtest.h"
#include "ioctl_wrappers.h"
#include "igt_aux.h"
#define FD_ARR_SZ 100

View File

@ -30,6 +30,7 @@
#include "config.h"
#endif
#include "igt.h"
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
@ -41,8 +42,6 @@
#include <sys/ioctl.h>
#include <pthread.h>
#include "drm.h"
#include "ioctl_wrappers.h"
#include "drmtest.h"
#define OBJECT_SIZE (128*1024) /* restricted to 1MiB alignment on i915 fences */

View File

@ -29,6 +29,7 @@
#include "config.h"
#endif
#include "igt.h"
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
@ -40,8 +41,6 @@
#include <pthread.h>
#include "drm.h"
#include "i915_drm.h"
#include "drmtest.h"
#include "ioctl_wrappers.h"
#define OBJECT_SIZE (1024*1024) /* restricted to 1MiB alignment on i915 fences */

View File

@ -27,6 +27,7 @@
#define _GNU_SOURCE
#include "igt.h"
#include <stdlib.h>
#include <sys/ioctl.h>
#include <stdio.h>
@ -37,11 +38,6 @@
#include <drm.h>
#include "ioctl_wrappers.h"
#include "drmtest.h"
#include "intel_chipset.h"
#include "intel_io.h"
#include "igt_aux.h"
IGT_TEST_DESCRIPTION("Test execbuf fence accounting.");

View File

@ -25,6 +25,7 @@
*
*/
#include "igt.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@ -34,8 +35,6 @@
#include <sys/stat.h>
#include <sys/ioctl.h>
#include "drm.h"
#include "ioctl_wrappers.h"
#include "drmtest.h"
static void
test_flink(int fd)

View File

@ -25,6 +25,7 @@
*/
#define _GNU_SOURCE
#include "igt.h"
#include <sys/ioctl.h>
#include <stdlib.h>
#include <string.h>
@ -33,10 +34,7 @@
#include <pthread.h>
#include <errno.h>
#include "drmtest.h"
#include "ioctl_wrappers.h"
#include "intel_bufmgr.h"
#include "igt_debugfs.h"
IGT_TEST_DESCRIPTION("Check for flink/open vs. gem close races.");

View File

@ -30,6 +30,7 @@
* workload for the GPGPU pipeline.
*/
#include "igt.h"
#include <stdbool.h>
#include <unistd.h>
#include <stdlib.h>
@ -42,12 +43,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"
#define WIDTH 64
#define HEIGHT 64

View File

@ -30,6 +30,7 @@
* This test checks whether gtt tlbs for cpu access are correctly invalidated.
*/
#include "igt.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@ -40,9 +41,6 @@
#include <sys/time.h>
#include <sys/ioctl.h>
#include "drm.h"
#include "ioctl_wrappers.h"
#include "drmtest.h"
#include "intel_io.h"
IGT_TEST_DESCRIPTION("Check whether gtt tlbs for cpu access are correctly"
" invalidated.");

View File

@ -25,6 +25,7 @@
*
*/
#include "igt.h"
#include <unistd.h>
#include <stdlib.h>
#include <stdint.h>
@ -39,9 +40,6 @@
#include <sys/wait.h>
#include "drm.h"
#include "ioctl_wrappers.h"
#include "drmtest.h"
#include "intel_chipset.h"
static const uint32_t canary = 0xdeadbeef;

View File

@ -26,6 +26,7 @@
*
*/
#include "igt.h"
#include <unistd.h>
#include <stdlib.h>
#include <stdint.h>
@ -38,8 +39,6 @@
#include <sys/ioctl.h>
#include <sys/time.h>
#include "drm.h"
#include "ioctl_wrappers.h"
#include "drmtest.h"
#define OBJECT_SIZE 16384

View File

@ -26,6 +26,7 @@
*
*/
#include "igt.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@ -35,12 +36,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_chipset.h"
#include "intel_batchbuffer.h"
#include "intel_io.h"
static drm_intel_bufmgr *bufmgr;
struct intel_batchbuffer *batch;

View File

@ -25,6 +25,7 @@
*
*/
#include "igt.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@ -34,12 +35,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("Provoke the hangcheck timer on an otherwise idle"
" system.");

View File

@ -25,6 +25,7 @@
*
*/
#include "igt.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@ -34,8 +35,6 @@
#include <sys/stat.h>
#include <sys/ioctl.h>
#include "drm.h"
#include "ioctl_wrappers.h"
#include "drmtest.h"
/* Should take 64 pages to store the page pointers on 64 bit */
#define OBJ_SIZE (128 * 1024 * 1024)

View File

@ -33,6 +33,7 @@
* The goal is to simply ensure the basics work.
*/
#include "igt.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@ -44,11 +45,6 @@
#include <drm.h>
#include "ioctl_wrappers.h"
#include "intel_chipset.h"
#include "drmtest.h"
#include "intel_io.h"
#include "igt_aux.h"
IGT_TEST_DESCRIPTION("Test doing many blits with a working set larger than the"
" aperture size.");

View File

@ -27,6 +27,7 @@
/* Exercises the basic execbuffer using the handle LUT interface */
#include "igt.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@ -36,8 +37,6 @@
#include <sys/stat.h>
#include <sys/time.h>
#include "drm.h"
#include "ioctl_wrappers.h"
#include "drmtest.h"
IGT_TEST_DESCRIPTION("Exercises the basic execbuffer using the handle LUT"
" interface.");

View File

@ -25,6 +25,7 @@
*
*/
#include "igt.h"
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
@ -36,8 +37,6 @@
#include <signal.h>
#include "drm.h"
#include "ioctl_wrappers.h"
#include "drmtest.h"
IGT_TEST_DESCRIPTION("Checks that the kernel reports EFAULT when trying to use"
" purged bo.");

View File

@ -30,6 +30,7 @@
* workload for the Media pipeline.
*/
#include "igt.h"
#include <stdbool.h>
#include <unistd.h>
#include <stdlib.h>
@ -42,12 +43,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("Basic test for the media_fill() function, a very simple"
" workload for the Media pipeline.");

View File

@ -25,6 +25,7 @@
*
*/
#include "igt.h"
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
@ -35,9 +36,6 @@
#include <sys/stat.h>
#include <sys/ioctl.h>
#include "drm.h"
#include "ioctl_wrappers.h"
#include "igt_aux.h"
#include "drmtest.h"
#define OBJECT_SIZE 16384
#define PAGE_SIZE 4096

View File

@ -26,6 +26,7 @@
*/
#define _GNU_SOURCE
#include "igt.h"
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
@ -37,10 +38,6 @@
#include <sys/stat.h>
#include <sys/ioctl.h>
#include "drm.h"
#include "ioctl_wrappers.h"
#include "drmtest.h"
#include "igt_debugfs.h"
#include "igt_aux.h"
#ifndef PAGE_SIZE
#define PAGE_SIZE 4096

View File

@ -25,6 +25,7 @@
*
*/
#include "igt.h"
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
@ -35,8 +36,6 @@
#include <sys/stat.h>
#include <sys/ioctl.h>
#include "drm.h"
#include "ioctl_wrappers.h"
#include "drmtest.h"
IGT_TEST_DESCRIPTION("Checks whether the kernel handles mmap offset exhaustion"
" correctly.");

View File

@ -26,6 +26,7 @@
*/
#define _GNU_SOURCE
#include "igt.h"
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
@ -37,9 +38,6 @@
#include <sys/stat.h>
#include <sys/ioctl.h>
#include "drm.h"
#include "ioctl_wrappers.h"
#include "drmtest.h"
#include "igt_debugfs.h"
struct local_i915_gem_mmap_v2 {
uint32_t handle;

View File

@ -26,6 +26,7 @@
*
*/
#include "igt.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@ -35,13 +36,8 @@
#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 "i830_reg.h"
#include "intel_chipset.h"
IGT_TEST_DESCRIPTION("Basic check of ring<->ring sync using a dummy reloc.");

View File

@ -25,6 +25,7 @@
*
*/
#include "igt.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@ -34,12 +35,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_chipset.h"
#include "intel_io.h"
#include "i830_reg.h"
IGT_TEST_DESCRIPTION("Basic check of non-secure batches.");

View File

@ -25,6 +25,7 @@
*
*/
#include "igt.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@ -36,11 +37,6 @@
#include <drm.h>
#include "ioctl_wrappers.h"
#include "drmtest.h"
#include "intel_chipset.h"
#include "intel_io.h"
#include "igt_aux.h"
IGT_TEST_DESCRIPTION("Test pwrite/pread consistency when touching partial"
" cachelines.");

View File

@ -26,6 +26,7 @@
*/
#define _GNU_SOURCE
#include "igt.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@ -39,12 +40,6 @@
#include <drm.h>
#include "ioctl_wrappers.h"
#include "drmtest.h"
#include "intel_chipset.h"
#include "intel_io.h"
#include "igt_debugfs.h"
#include "igt_aux.h"
IGT_TEST_DESCRIPTION("Test persistent relocations as used by uxa/libva.");

View File

@ -27,6 +27,7 @@
/* Exercises pinning of small bo */
#include "igt.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@ -38,11 +39,6 @@
#include <drm.h>
#include "ioctl_wrappers.h"
#include "drmtest.h"
#include "intel_chipset.h"
#include "intel_io.h"
#include "igt_aux.h"
IGT_TEST_DESCRIPTION("Exercises pinning of small buffer objects.");

View File

@ -31,6 +31,7 @@
* Writes a counter-value into an always newly allocated target bo (by disabling
* buffer reuse). Decently trashes on tlb inconsistencies, too.
*/
#include "igt.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@ -40,12 +41,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_chipset.h"
#include "intel_io.h"
IGT_TEST_DESCRIPTION("Test (TLB-)Coherency of pipe_control QW writes.");

View File

@ -21,6 +21,7 @@
* IN THE SOFTWARE.
*/
#include "igt.h"
#include <stdbool.h>
#include <unistd.h>
#include <stdlib.h>
@ -35,13 +36,7 @@
#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"
#include "igt_aux.h"
#define WIDTH 512
#define STRIDE (WIDTH*4)

View File

@ -25,6 +25,7 @@
*
*/
#include "igt.h"
#include <unistd.h>
#include <stdlib.h>
#include <stdint.h>
@ -37,8 +38,6 @@
#include <sys/ioctl.h>
#include <sys/time.h>
#include "drm.h"
#include "ioctl_wrappers.h"
#include "drmtest.h"
#define OBJECT_SIZE 16384

View File

@ -34,6 +34,7 @@
* ranged-buffer-flush paths in the kernel.
*/
#include "igt.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@ -45,12 +46,6 @@
#include <drm.h>
#include "ioctl_wrappers.h"
#include "drmtest.h"
#include "intel_chipset.h"
#include "intel_io.h"
#include "igt_aux.h"
#include "igt_gt.h"
IGT_TEST_DESCRIPTION("Test pread behavior when getting values out of"
" just-drawn-to buffers.");

View File

@ -25,6 +25,7 @@
*
*/
#include "igt.h"
#include <unistd.h>
#include <stdlib.h>
#include <stdint.h>
@ -37,9 +38,6 @@
#include <sys/ioctl.h>
#include <sys/time.h>
#include "drm.h"
#include "ioctl_wrappers.h"
#include "drmtest.h"
#include "igt_aux.h"
#define OBJECT_SIZE 16384

View File

@ -25,6 +25,7 @@
*
*/
#include "igt.h"
#include <unistd.h>
#include <stdlib.h>
#include <stdint.h>
@ -37,12 +38,7 @@
#include <sys/ioctl.h>
#include <sys/time.h>
#include "drm.h"
#include "ioctl_wrappers.h"
#include "drmtest.h"
#include "intel_chipset.h"
#include "intel_bufmgr.h"
#include "intel_batchbuffer.h"
#include "intel_io.h"
#define OBJECT_SIZE 16384

View File

@ -22,6 +22,7 @@
*
*/
#include "igt.h"
#include <unistd.h>
#include <stdlib.h>
#include <stdint.h>
@ -34,10 +35,6 @@
#include <sys/ioctl.h>
#include <sys/time.h>
#include "drm.h"
#include "ioctl_wrappers.h"
#include "intel_chipset.h"
#include "drmtest.h"
#include "igt_aux.h"
IGT_TEST_DESCRIPTION(
"pwrite to a snooped bo then make it uncached and check that the GPU sees the data.");

View File

@ -26,6 +26,7 @@
* This is a test of performance with multiple readers from the same source.
*/
#include "igt.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@ -39,15 +40,7 @@
#include <drm.h>
#include "ioctl_wrappers.h"
#include "drmtest.h"
#include "igt_aux.h"
#include "igt_core.h"
#include "igt_gt.h"
#include "intel_bufmgr.h"
#include "intel_batchbuffer.h"
#include "intel_io.h"
#include "intel_chipset.h"
IGT_TEST_DESCRIPTION("Test speed of concurrent reads between engines.");

View File

@ -25,6 +25,7 @@
*
*/
#include "igt.h"
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
@ -35,8 +36,6 @@
#include <sys/stat.h>
#include <sys/ioctl.h>
#include "drm.h"
#include "ioctl_wrappers.h"
#include "drmtest.h"
#define OBJECT_SIZE 16384

View File

@ -25,14 +25,13 @@
*
*/
#include "igt.h"
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <sys/utsname.h>
#include <time.h>
#include "ioctl_wrappers.h"
#include "drmtest.h"
static bool is_x86_64;
static bool has_proper_timestamp;

View File

@ -28,6 +28,7 @@
*
*/
#include "igt.h"
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
@ -43,10 +44,6 @@
#include <sys/time.h>
#include <sys/types.h>
#include "drm.h"
#include "ioctl_wrappers.h"
#include "intel_chipset.h"
#include "drmtest.h"
#include "intel_io.h"
IGT_TEST_DESCRIPTION("Check that kernel relocation overflows are caught.");

View File

@ -26,6 +26,7 @@
*/
#define _GNU_SOURCE
#include "igt.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@ -39,13 +40,6 @@
#include <drm.h>
#include "ioctl_wrappers.h"
#include "drmtest.h"
#include "intel_chipset.h"
#include "intel_io.h"
#include "igt_debugfs.h"
#include "igt_aux.h"
#include "igt_gt.h"
IGT_TEST_DESCRIPTION("Test kernel relocations vs. gpu races.");

View File

@ -29,6 +29,7 @@
* workload for the 3D engine.
*/
#include "igt.h"
#include <stdbool.h>
#include <unistd.h>
#include <cairo.h>
@ -44,13 +45,7 @@
#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"
#include "igt_aux.h"
IGT_TEST_DESCRIPTION("Basic test for the render_copy() function.");

View File

@ -32,6 +32,7 @@
* the execbuffer interface with a simple render workload.
*/
#include "igt.h"
#include <stdbool.h>
#include <unistd.h>
#include <stdlib.h>
@ -46,13 +47,7 @@
#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"
#include "igt_aux.h"
IGT_TEST_DESCRIPTION("Advanced test for the render_copy() function.");

View File

@ -37,6 +37,7 @@
#include "config.h"
#endif
#include "igt.h"
#include <stdlib.h>
#include <sys/ioctl.h>
#include <stdio.h>
@ -49,13 +50,7 @@
#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"
#include "igt_aux.h"
#define WIDTH 512
#define STRIDE (WIDTH*4)

View File

@ -33,6 +33,7 @@
* The goal is to simply ensure the basics work.
*/
#include "igt.h"
#include <stdlib.h>
#include <sys/ioctl.h>
#include <stdio.h>
@ -45,13 +46,7 @@
#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"
#include "igt_aux.h"
#define WIDTH 512
#define STRIDE (WIDTH*4)

View File

@ -26,6 +26,7 @@
*/
#define _GNU_SOURCE
#include "igt.h"
#include <stdbool.h>
#include <unistd.h>
#include <stdlib.h>
@ -40,12 +41,6 @@
#include <time.h>
#include <signal.h>
#include "ioctl_wrappers.h"
#include "drmtest.h"
#include "igt_gt.h"
#include "intel_chipset.h"
#include "intel_io.h"
#include "igt_aux.h"
#define RS_NO_ERROR 0
#define RS_BATCH_ACTIVE (1 << 0)

View File

@ -47,13 +47,10 @@
*
*/
#include "igt.h"
#include <stdlib.h>
#include <stdbool.h>
#include "ioctl_wrappers.h"
#include "drmtest.h"
#include "intel_batchbuffer.h"
#include "intel_chipset.h"
IGT_TEST_DESCRIPTION("Ensure inter-ring dependencies are respected.");

View File

@ -25,6 +25,7 @@
*
*/
#include "igt.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@ -34,13 +35,8 @@
#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 "i830_reg.h"
#include "intel_chipset.h"
IGT_TEST_DESCRIPTION("Basic check of ring<->ring sync using a dummy reloc.");

View File

@ -31,6 +31,7 @@
* catching failure to manage the ring properly near full.
*/
#include "igt.h"
#include <stdbool.h>
#include <stdlib.h>
#include <stdio.h>
@ -43,11 +44,6 @@
#include <drm.h>
#include "ioctl_wrappers.h"
#include "drmtest.h"
#include "intel_chipset.h"
#include "intel_io.h"
#include "igt_aux.h"
struct bo {
const char *ring;

View File

@ -30,6 +30,7 @@
* boundary.
*/
#include "igt.h"
#include <stdlib.h>
#include <string.h>
#include <time.h>
@ -41,15 +42,7 @@
#include <signal.h>
#include <errno.h>
#include "ioctl_wrappers.h"
#include "drmtest.h"
#include "igt_core.h"
#include "igt_aux.h"
#include "igt_debugfs.h"
#include "intel_bufmgr.h"
#include "intel_batchbuffer.h"
#include "intel_io.h"
#include "intel_chipset.h"
IGT_TEST_DESCRIPTION("Runs blitcopy -> rendercopy with multiple buffers over"
" wrap boundary.");

View File

@ -44,6 +44,7 @@
* transitions (i.e. changing stride).
*/
#include "igt.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@ -54,12 +55,7 @@
#include <sys/time.h>
#include <stdbool.h>
#include "drm.h"
#include "ioctl_wrappers.h"
#include "drmtest.h"
#include "intel_bufmgr.h"
#include "intel_batchbuffer.h"
#include "intel_chipset.h"
#include "intel_io.h"
IGT_TEST_DESCRIPTION("Check for proper synchronization of tiling changes vs."
" tiled gpu access.");

View File

@ -25,6 +25,7 @@
*
*/
#include "igt.h"
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
@ -35,10 +36,6 @@
#include <sys/stat.h>
#include <sys/ioctl.h>
#include "drm.h"
#include "ioctl_wrappers.h"
#include "drmtest.h"
#include "intel_io.h"
#include "intel_chipset.h"
IGT_TEST_DESCRIPTION("Check set_tiling vs gtt mmap coherency.");

View File

@ -25,6 +25,7 @@
*
*/
#include "igt.h"
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
@ -35,9 +36,6 @@
#include <sys/stat.h>
#include <sys/ioctl.h>
#include "drm.h"
#include "ioctl_wrappers.h"
#include "drmtest.h"
#include "intel_io.h"
IGT_TEST_DESCRIPTION("Check set_tiling vs pwrite coherency.");

Some files were not shown because too many files have changed in this diff Show More