summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorOscar Mateo <oscar.mateo@intel.com>2013-11-12 11:50:38 +0000
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-11-12 12:04:12 +0100
commit37f26d17b1add333bacefe12fe7c7c1514b18e82 (patch)
tree25b47f1c9b2f44bccfe213ed05e2b96b9ef7028d /demos
parent4c7d5a52a7f4d79061e6cbb4627df3c194958fff (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 'demos')
-rw-r--r--demos/intel_sprite_on.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/intel_sprite_on.c b/demos/intel_sprite_on.c
index e1b4fd55..98c0af91 100644
--- a/demos/intel_sprite_on.c
+++ b/demos/intel_sprite_on.c
@@ -45,6 +45,7 @@
#include "i915_drm.h"
#include "drmtest.h"
+#include "igt_kms.h"
#if defined(DRM_IOCTL_MODE_ADDFB2) && defined(DRM_I915_SET_SPRITE_COLORKEY)
#define TEST_PLANES 1