From cc6e6b22af6b962a10eb862986ecbe1f135f2f7d Mon Sep 17 00:00:00 2001 From: Matt Hoosier Date: Fri, 15 Nov 2019 14:35:50 -0600 Subject: Allow making extframebuffer and dmabufframebuffer with modifiers Many GPUs use bandwidth compression or tiling, and this information must be passed along to KMS when constructing the framebuffer object around the GEM handle or prime filedescriptor. Add an vector of modifiers as an optional parameter to both of these classes. Bump the minimum required version of libdrm to 2.4.17 to ensure drmModeAddFB2WithModifiers() is available. Signed-off-by: Matt Hoosier --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 216f537..3f0084c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -66,7 +66,7 @@ if (NOT ${U_CMAKE_BUILD_TYPE} MATCHES DEBUG) endif() find_package(PkgConfig REQUIRED) -pkg_check_modules(LIBDRM libdrm>=2.4.64 REQUIRED) +pkg_check_modules(LIBDRM libdrm>=2.4.71 REQUIRED) pkg_check_modules(LIBDRM_OMAP libdrm_omap) if(LIBDRM_OMAP_FOUND) -- cgit v1.2.3