diff options
author | Oscar Mateo <oscar.mateo@intel.com> | 2013-11-12 11:50:38 +0000 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-11-12 12:04:12 +0100 |
commit | 37f26d17b1add333bacefe12fe7c7c1514b18e82 (patch) | |
tree | 25b47f1c9b2f44bccfe213ed05e2b96b9ef7028d /tests | |
parent | 4c7d5a52a7f4d79061e6cbb4627df3c194958fff (diff) |
lib: Move kms stuff from drmtest.c over to igt_kms.c
This makes cairo dependencies easier to handle. Otherwise, we
would have to litter drmtest all over with "#ifndef ANDROID"
Signed-off-by: Oscar Mateo <oscar.mateo@intel.com>
[danvet: Add missing _GNU_SOURCE to igt_kms.c and missing include to
intel_sprite_on.c]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/kms_cursor_crc.c | 1 | ||||
-rw-r--r-- | tests/kms_flip.c | 1 | ||||
-rw-r--r-- | tests/kms_pipe_crc_basic.c | 1 | ||||
-rw-r--r-- | tests/kms_render.c | 1 | ||||
-rw-r--r-- | tests/kms_setmode.c | 1 | ||||
-rw-r--r-- | tests/pm_pc8.c | 1 | ||||
-rw-r--r-- | tests/testdisplay.c | 1 |
7 files changed, 7 insertions, 0 deletions
diff --git a/tests/kms_cursor_crc.c b/tests/kms_cursor_crc.c index 2c9ca359..4ecc9c82 100644 --- a/tests/kms_cursor_crc.c +++ b/tests/kms_cursor_crc.c @@ -33,6 +33,7 @@ #include "drmtest.h" #include "igt_debugfs.h" +#include "igt_kms.h" enum cursor_type { WHITE_VISIBLE, diff --git a/tests/kms_flip.c b/tests/kms_flip.c index 10d8ae0a..daaed8ea 100644 --- a/tests/kms_flip.c +++ b/tests/kms_flip.c @@ -40,6 +40,7 @@ #include "drmtest.h" #include "testdisplay.h" #include "rendercopy.h" +#include "igt_kms.h" #define TEST_DPMS (1 << 0) #define TEST_WITH_DUMMY_BCS (1 << 1) diff --git a/tests/kms_pipe_crc_basic.c b/tests/kms_pipe_crc_basic.c index 25452331..3bc9eb0e 100644 --- a/tests/kms_pipe_crc_basic.c +++ b/tests/kms_pipe_crc_basic.c @@ -31,6 +31,7 @@ #include "drmtest.h" #include "igt_debugfs.h" +#include "igt_kms.h" typedef struct { struct kmstest_connector_config config; diff --git a/tests/kms_render.c b/tests/kms_render.c index dc009322..055ebbb8 100644 --- a/tests/kms_render.c +++ b/tests/kms_render.c @@ -36,6 +36,7 @@ #include "intel_bufmgr.h" #include "intel_batchbuffer.h" #include "intel_gpu_tools.h" +#include "igt_kms.h" drmModeRes *resources; int drm_fd; diff --git a/tests/kms_setmode.c b/tests/kms_setmode.c index 6bc7db15..3d18fc7b 100644 --- a/tests/kms_setmode.c +++ b/tests/kms_setmode.c @@ -38,6 +38,7 @@ #include "intel_bufmgr.h" #include "intel_batchbuffer.h" #include "intel_gpu_tools.h" +#include "igt_kms.h" #define MAX_CONNECTORS 10 #define MAX_CRTCS 3 diff --git a/tests/pm_pc8.c b/tests/pm_pc8.c index cddb11bd..e17be1b7 100644 --- a/tests/pm_pc8.c +++ b/tests/pm_pc8.c @@ -45,6 +45,7 @@ #include "intel_batchbuffer.h" #include "intel_gpu_tools.h" #include "i915_drm.h" +#include "igt_kms.h" #define MSR_PC8_RES 0x630 #define MSR_PC9_RES 0x631 diff --git a/tests/testdisplay.c b/tests/testdisplay.c index fd172f3e..dd9e56dd 100644 --- a/tests/testdisplay.c +++ b/tests/testdisplay.c @@ -65,6 +65,7 @@ #include "i915_drm.h" #include "drmtest.h" #include "testdisplay.h" +#include "igt_kms.h" #include <stdlib.h> #include <signal.h> |