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@>
This commit is contained in:
Paulo Zanoni
2015-07-14 12:45:04 -03:00
committed by Paulo Zanoni
parent 19e4632407
commit 4deb562659
3 changed files with 1 additions and 16 deletions
-12
View File
@@ -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];