build: Require libdrm >= 2.4.95

So we can drop the DRM_FORMAT_INVALID fallback

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3480>
This commit is contained in:
Bilal Elmoussaoui
2024-01-03 14:44:48 +01:00
parent a72f44132d
commit 786a9d9072
3 changed files with 2 additions and 11 deletions

View File

@ -23,11 +23,6 @@
#include <drm_fourcc.h>
#include <glib.h>
/* added in libdrm 2.4.95 */
#ifndef DRM_FORMAT_INVALID
#define DRM_FORMAT_INVALID 0
#endif
float
meta_calculate_drm_mode_refresh_rate (const drmModeModeInfo *drm_mode)
{