diff options
author | Matt Hoosier <matt.hoosier@garmin.com> | 2019-11-15 14:35:50 -0600 |
---|---|---|
committer | Matt Hoosier <matt.hoosier@garmin.com> | 2019-11-18 15:56:57 -0600 |
commit | cc6e6b22af6b962a10eb862986ecbe1f135f2f7d (patch) | |
tree | 023bb4a36c94d7b1ba5290c7fd404d1d1cc075ce /CMakeLists.txt | |
parent | f824cccac7311647a8bd22d193d3aac2b961a1dd (diff) |
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 <matt.hoosier@garmin.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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) |