summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPaulo Zanoni <paulo.r.zanoni@>2015-07-14 12:45:04 -0300
committerPaulo Zanoni <paulo.r.zanoni@intel.com>2015-07-14 12:52:09 -0300
commit4deb562659edc1b4d53024b6ef6e183b4f94f768 (patch)
treec465129503644052a375c30afe710beee2462864 /lib
parent19e4632407cfe9fdfe5e067dfaaeaef4d5bf669f (diff)
configure: require libdrm >= 2.4.55
And drop the now unnecessary universal plane definitions. The 2.4.55 version is already quite old, so we should be fine. Thanks to Thomas Wood for quickly spotting this. Signed-off-by: Paulo Zanoni <paulo.r.zanoni@>
Diffstat (limited to 'lib')
-rw-r--r--lib/igt_kms.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index 203a3fbd..0bb16b4e 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -49,18 +49,6 @@
#include "intel_chipset.h"
#include "igt_debugfs.h"
-/*
- * There hasn't been a release of libdrm containing these #define's yet, so
- * copy them here to allow compilation to succeed in the mean time.
- *
- * We can drop these #define's and just make i-g-t depend on the proper libdrm
- * version in the future.
- */
-#define DRM_CLIENT_CAP_UNIVERSAL_PLANES 2
-#define DRM_PLANE_TYPE_OVERLAY 0
-#define DRM_PLANE_TYPE_PRIMARY 1
-#define DRM_PLANE_TYPE_CURSOR 2
-
/* list of connectors that need resetting on exit */
#define MAX_CONNECTORS 32
static char *forced_connectors[MAX_CONNECTORS + 1];