From 4deb562659edc1b4d53024b6ef6e183b4f94f768 Mon Sep 17 00:00:00 2001 From: Paulo Zanoni Date: Tue, 14 Jul 2015 12:45:04 -0300 Subject: 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 --- lib/igt_kms.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'lib') 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]; -- cgit v1.2.3