Bump libdrm version requirement and remove unecessary ifdef's
- Nov 23, 2019
-
-
Since commit 28d26483 ("build: bump libdrm requirement to newer version (2.4.83)"), all supported libdrm versions provide modifier formats, atomic API and blob formats. Remove ifdef checks (HAVE_DRM_ADDFB2_MODIFIERS, HAVE_DRM_ATOMIC, HAVE_DRM_FORMATS_BLOB) to improve the code and make it simpler. Signed-off-by:
Leandro Ribeiro <leandrohr@riseup.net>
-
There are some features that are available only if the user's libdrm version is not too old: format modifiers require at least libdrm 2.4.71, atomic API at least 2.4.78 and blob formats at least 2.4.83. Bump libdrm to 2.4.83 (the oldest version that support these features) in order to be able to remove ifdef checks and simplify the code. Major distributions already support libdrm 2.4.91, so it's safe to apply this commit. Signed-off-by:
Leandro Ribeiro <leandrohr@riseup.net>
-