summaryrefslogtreecommitdiff
path: root/demos/intel_sprite_on.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/intel_sprite_on.c')
-rw-r--r--demos/intel_sprite_on.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/demos/intel_sprite_on.c b/demos/intel_sprite_on.c
index 98c0af91..fb375f4f 100644
--- a/demos/intel_sprite_on.c
+++ b/demos/intel_sprite_on.c
@@ -47,10 +47,9 @@
#include "drmtest.h"
#include "igt_kms.h"
-#if defined(DRM_IOCTL_MODE_ADDFB2) && defined(DRM_I915_SET_SPRITE_COLORKEY)
-#define TEST_PLANES 1
-#include "drm_fourcc.h"
-#endif
+#include <drm_fourcc.h>
+
+#include "ioctl_wrappers.h"
/*
* Mode setting with the kernel interfaces is a bit of a chore.