path: root/src/lib/ecore_drm2/ecore_drm2.c (follow)
AgeCommit message (Collapse)Author
2017-08-09ecore_drm2: Pass Ecore_Drm2_Device instead of fd to most functionsDerek Foreman
Intended to simplify the upcoming commit that merges device find and device open into a single function that returns a device. The fd is something callers shouldn't really need to get their hands on, right now there are still a few places where it's needed, but those will be gone soon too.
2017-07-13ecore_drm2: Add a query for the next vblank timeDerek Foreman
I guess this is a feature, and we're deep in freeze, but: a) this is critical for fixing T5462 properly without any side effects. b) ecore_drm2 is all beta api c) this should only affect wayland users ref T5462
2017-06-09ecore-drm2: Remove #ifdef HAVE_ATOMIC_DRMChris Michael
As we now use static_libs/libdrm for compiling ecore-drm2, we can remove the atomic #ifdefs as we can run-time check this now. Signed-off-by: Chris Michael <>
2017-04-18ecore-drm2: Add library symlink to merge atomic commit requestsChris Michael
Small commit to symlink to drmModeAtomicMerge function so we can use that for atomic commit tests. @feature Signed-off-by: Chris Michael <>
2017-04-18ecore_drm2: Add ecore_drm2_fb_dmabuf_importDerek Foreman
Imports a set of dmabuf buffers as a single Ecore_Drm2_Fb
2017-04-18ecore_drm2: Use library function instead of ioctl for addfb2Derek Foreman
Minor clean up.
2017-04-07ecore_drm2: Use correct drm context versionDerek Foreman
We should be setting this to the context version we understand, not the highest version supported by the library. From Daniel Stone's recent intel-gpu-tools commit fixing the same bug: With libdrm 2.4.78, setting a higher context version than 2 will attempt to call the page_flip_handler2 vfunc if it was non-NULL, which being a random chunk of stack memory, it might well have been.
2016-11-29ecore-drm2: Add symlink to gamma setting functionChris Michael
Signed-off-by: Chris Michael <>
2016-11-15ecore-drm2: Symlink to drmModePageFlip functionChris Michael
Somehow this got missed in initial commit, so fix to symlink to drmModePageFlip function. Signed-off-by: Chris Michael <>
2016-11-15ecore-drm2: Add API function for drmHandleEventChris Michael
As we are not compile-time linking to libdrm anymore, Ecore_Evas_Drm needs to be able to call drmHandleEvent, so add an API function to Ecore_Drm2 that can be used there. @feature Signed-off-by: Chris Michael <>
2016-11-15ecore-drm2: Make calls to symlink'd libdrm functionsChris Michael
Instead of linking to libdrm and calling drmMode functions, we will instead symlink the functions we need during runtime and call those symlinks. Signed-off-by: Chris Michael <>
2016-11-15ecore-drm2: Symlink to libdrm functions during init timeChris Michael
Signed-off-by: Chris Michael <>
2016-05-27ecore-drm2: Add drm2 event for session activationChris Michael
This patch adds a new Ecore_Drm2_Event_Activate that can be raised to inform Enlightenment that a session has been activated or suspended so that rendering can be paused/resumed Signed-off-by: Chris Michael <>
2016-05-27ecore-drm2: Add API functions to work with outputsChris Michael
This patch adds support for creating, destroying, and otherwise working with outputs via exposed API functions. Signed-off-by: Chris Michael <>
2016-05-27ecore-drm2: Add start of Ecore_Drm2 libraryChris Michael
This new library is going to replace the existing Ecore_Drm. This will refactor a lot of the code, bring improvements over the existing API, and provide additional support for missing features. @feature Signed-off-by: Chris Michael <>