mirror of
https://github.com/brl/mutter.git
synced 2024-12-26 12:52:14 +00:00
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:
parent
a72f44132d
commit
786a9d9072
@ -51,6 +51,7 @@ wayland_protocols_req = '>= 1.32'
|
||||
# native backend version requirements
|
||||
libinput_req = '>= 1.19.0'
|
||||
gbm_req = '>= 21.3'
|
||||
libdrm_req = '>= 2.4.95'
|
||||
|
||||
# screen cast version requirements
|
||||
libpipewire_req = '>= 0.3.33'
|
||||
@ -270,7 +271,7 @@ if have_native_backend
|
||||
endif
|
||||
|
||||
if have_wayland or have_native_backend
|
||||
libdrm_dep = dependency('libdrm')
|
||||
libdrm_dep = dependency('libdrm', version: libdrm_req)
|
||||
endif
|
||||
|
||||
have_egl_device = get_option('egl_device')
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -76,11 +76,6 @@
|
||||
#define EGL_DRM_MASTER_FD_EXT 0x333C
|
||||
#endif
|
||||
|
||||
/* added in libdrm 2.4.95 */
|
||||
#ifndef DRM_FORMAT_INVALID
|
||||
#define DRM_FORMAT_INVALID 0
|
||||
#endif
|
||||
|
||||
struct _MetaRendererNative
|
||||
{
|
||||
MetaRenderer parent;
|
||||
|
Loading…
Reference in New Issue
Block a user