mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
meson.build: Lower libdrm version requirement
The version requrement was increased twice for Xwayland:5a742ab876588464332dIf we eventually add explicit sync support, we can increase the requirement again, or add `ifdef`'s so we allow build with older libdrm Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
This commit is contained in:
committed by
Enrico Weigelt
parent
91e09f8865
commit
569787fcb4
@@ -535,6 +535,10 @@ ms_present_screen_init(ScreenPtr screen)
|
||||
uint64_t value;
|
||||
int ret;
|
||||
|
||||
#ifndef DRM_CAP_ATOMIC_ASYNC_PAGE_FLIP
|
||||
#define DRM_CAP_ATOMIC_ASYNC_PAGE_FLIP 0x15
|
||||
#endif
|
||||
|
||||
ret = drmGetCap(ms->fd, ms->atomic_modeset ?
|
||||
DRM_CAP_ATOMIC_ASYNC_PAGE_FLIP :
|
||||
DRM_CAP_ASYNC_PAGE_FLIP, &value);
|
||||
|
||||
@@ -83,7 +83,7 @@ endforeach
|
||||
|
||||
add_project_arguments(common_wflags, language : ['c', 'objc'])
|
||||
|
||||
libdrm_req = '>= 2.4.116'
|
||||
libdrm_req = '>= 2.4.89'
|
||||
libselinux_req = '>= 2.0.86'
|
||||
xext_req = '>= 1.0.99.4'
|
||||
xproto_req = '>= 7.0.31'
|
||||
|
||||
Reference in New Issue
Block a user