diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2011-12-14 08:14:45 -0800 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2011-12-14 08:15:04 -0800 |
commit | b4fb480c802c41dbb8061344a540752156113489 (patch) | |
tree | bf0206d8bbfeaa23d96fa83db4b5e976b2d8a24b /tests | |
parent | 7ac492aec2c749895c863675ad5f48177daf9648 (diff) |
testdisplay: don't test planes if i915 color key ioctl is not available
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testdisplay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testdisplay.c b/tests/testdisplay.c index d9e7e62a..ab5bf2c0 100644 --- a/tests/testdisplay.c +++ b/tests/testdisplay.c @@ -68,7 +68,7 @@ #include "drm_fourcc.h" #include "i915_drm.h" -#ifdef DRM_IOCTL_MODE_ADDFB2 +#if defined(DRM_IOCTL_MODE_ADDFB2) && defined(DRM_I915_SET_SPRITE_COLORKEY) #define TEST_PLANES 1 #endif |