summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
AgeCommit message (Collapse)Author
2020-09-08Move to c++17Tomi Valkeinen
It's time. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2020-09-05Drop python2Tomi Valkeinen
I don't think python2 even works with kms++. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2020-04-21Add simple kmstouch test toolTomi Valkeinen
Only single touch supported, and pretty naive implementation.
2019-11-20Add configure-time option to disable libdrm-omap usageMatt Hoosier
Add an build option to allow explicitly shutting off libdrm-omap features. This is useful for packaging situations to prevent accidental unexpected features. To deactivate the drm-omap specific functionality that was activated unconditionally if present until now, use: cmake -DKMSXX_ENABLE_LIBDRMOMAP=OFF Signed-off-by: Matt Hoosier <matt.hoosier@garmin.com>
2019-11-18Allow making extframebuffer and dmabufframebuffer with modifiersMatt Hoosier
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>
2019-09-25videomode to_string improvementsTomi Valkeinen
Add to_string_short() and to_string_long() to videomode (using the fmt library) for easy printing of videomodes. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2018-08-23Revert "testpat: remove threaded drawing"Tomi Valkeinen
This reverts commit 33246d9b5fb0347aabd62caac1da03440f9e1634. Add threaded drawing back, but have it behind a CMAKE variable so that it can easily be turned off. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2017-02-06Support python2 based pykms bindingAlejandro Hernandez
Previously only binding with python3 was supported, this patch allows compilation of pykms with python3 or python2. When compiling with python2 some of the python scripts located in the py/test will not work since they import python3 only modules Signed-off-by: Alejandro Hernandez <ajhernandez@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2017-02-06Add README.md to custom targetsTomi Valkeinen
2016-11-26cmake: set C_FLAGS tooTomi Valkeinen
2016-11-22py: Add OmapCard & OmapFramebuffer supportTomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-11-21Add OmapCard and OmapFramebufferTomi Valkeinen
Add OmapCard and OmapFramebuffer classes to utilize omap_bos. Only non-tiled framebuffer is implemented for now. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-10-01Add cmake option for -WerrorTomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-10-01remove -rdynamic gcc flagTomi Valkeinen
This reduces the exe sizes. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-09-29Improve LTO detection codeTomi Valkeinen
Split LTO detection into separate func and file, and create a cached LTO_WORKS variable. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2016-09-28Fix LTO detectionLaurent Pinchart
Catch gcc-ar and gcc-ranlib versions compiled without plugin support and disable LTO in that case. Also do the LTO check only once by checking if HAS_LTO_FLAG has been set. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-08-27Fix LTO support for cross-compilation.Arnout Vandecappelle (Essensium/Mind)
When cross-compiling, the ar and ranlib to be used for LTO are prefixed by the cross-tuple. gcc-ar and gcc-ranlib may not exist. Cfr. http://autobuild.buildroot.net/results/f3c/f3c48da3a9706cd366c0e0a96c3cd0ff959f2a78/ Therefore, search for an appropriate lto-ar and lto-ranlib before enabling LTO. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2016-06-11cmake: results to bin & lib dirsTomi Valkeinen
2016-06-11rename libkms to kms++Tomi Valkeinen
2016-06-11cmake: add option to build shared libsTomi Valkeinen
2016-06-11rename dirsTomi Valkeinen
2016-05-25disable Wmissing-field-initializers when gcc <= 5.0Tomi Valkeinen
2016-05-25Require libdrm >= 2.4.64Tomi Valkeinen
2016-05-23File/dir renamesTomi Valkeinen
2016-05-23Automatically use -fltoTomi Valkeinen
2016-05-23improve build typeTomi Valkeinen
2016-04-16add -Wextra & fix warningsTomi Valkeinen
2016-03-20Add LTO optionTomi Valkeinen
2015-11-30remove lua bindingsTomi Valkeinen
2015-11-18Add kmscubeTomi Valkeinen
2015-10-06don't enable lua by defaultTomi Valkeinen
2015-10-01move test utils to libkmstest libraryTomi Valkeinen
2015-10-01add options to turn off py/lua buildTomi Valkeinen
2015-10-01cmake: add (commented out) lines for static libcTomi Valkeinen
2015-10-01Relax cmake minumum version to 2.8 from 3.0. Seems to work fine.Jyri Sarha
2015-09-28move db and testpat to tests/Tomi Valkeinen
2015-09-28Initial versionTomi Valkeinen