path: root/src/lib/ecore_drm/ecore_drm.c (follow)
AgeCommit message (Collapse)Author
2020-06-23Get rid of trailing whitespaces (4 / 14)Elyes HAOUAS
Remove trailing whitespaces Differential Revision:
2017-03-09ecore_drm: avoid crash during shutdown due to Ecore_Event queue.Cedric BAIL
2016-03-09ecore-drm: don't set DBG on log level if DBG not already setMike Blumenkrantz
2016-03-09ecore-drm: Disable default DBG log levelChris Michael
Simple patch to disable setting ecore-drm log level to DBG by default @fix Signed-off-by: Chris Michael <>
2016-03-09ecore-drm: Don't re-include config.hChris Michael
As ecore_drm_private.h already includes config.h header, we don't need to include it here in these files also @fix Signed-off-by: Chris Michael <>
2016-03-09ecore-drm: Update copyright noticeChris Michael
As portions of this code have been derived from existing code in Weston, we should also be including their copyright/licence text to give credit. NB: Fixes T3286 @fix Signed-off-by: Chris Michael <>
2016-01-13ecore_drm: close all devices in shutdownMarcel Hollerbach
2016-01-12ecore-drm: Call inputs shutdown before eina_shutdownChris Michael
As we end up freeing the input hash inside the _ecore_drm_inputs_shutdown function, it should be called before we shutdown eina @fix Signed-off-by: Chris Michael <>
2015-12-15ecore-drm: Fix failure of setting/closing evdev->fd which causes fd leakDuna Oh
Summary: When a input device is plugged in, _cb_open_restricted() is called before creating evdev. So setting fd value on evdev was failed in _cb_open_restricted() and also closing evdev->fd was invalid. Using a eina_hash which has 'path-fd' pairs, we can find fd value after evdev is created. @fix Test Plan: (1) Multiple input devices are connected. Their evdev->fd remains zero or initial value. (2) When one of those devices are plugged out, fd leak would happen. Reviewers: raster, zmike, gwanglim, stefan_schmidt, devilhorns, ManMower Subscribers: cedric, jpeg, Jeon, input.hacker Differential Revision:
2015-05-07ecore: remove the need to order the header correctly for Windows.Cedric BAIL
2015-03-24ecore_drm: Add event of ECORE_DRM_EVENT_SEAT_ADD.Seunghun Lee
Summary: To support multi-seat, ecore_drm need to issue the event to notify compositor of seat is added. Test Plan: N/A Reviewers: zmike, raster, gwanglim, devilhorns Reviewed By: devilhorns Subscribers: cedric Differential Revision:
2015-02-19ecore-drm Add hooks for updating wl_output when outputs are hotpluggedDerek Foreman
Summary: This provides callbacks to any bound wl_output listeners when a display is hotplugged. NOTE: Currently we don't receive hotplug events ANOTHER NOTE: We don't yet handle display removal Reviewers: devilhorns, zmike Reviewed By: devilhorns, zmike Subscribers: cedric Maniphest Tasks: T2131 Differential Revision:
2014-12-10ecore-drm: Fix formattingChris Michael
Summary: No functional changes, just formatting fixes Signed-off-by: Chris Michael <>
2014-12-10ecore-drm: Add event to notify session activation state.Seunghun Lee
Summary: this event is to notify session activation state to compositor. thus compositor can change composite state by this event. Reviewers: devilhorns Subscribers: torori, cedric Differential Revision:
2014-12-09ecore-drm: added drm launcher that is allow to determine whether to launch ↵Seunghun Lee
with logind or root privilege. Summary: - allow to launch drm backend without systemd-logind with root privilege. - allow to open drm device node via logind, not directly open it, in case exist systemd-logind. - fixes issue that couldn't switch session, because ecore-drm couldn't drop master to drm device with no permission. (allow to switch session appropriate.) Reviewers: gwanglim, devilhorns Subscribers: torori, cedric Differential Revision:
2014-10-30ecore-drm: Remove dead functionsChris Michael
Summary: These functions were never exposed via API/Header, and never used internally. Since drm gbm stuff is handled inside the gl_drm evas engine now, we don't need this code here. @fix Signed-off-by: Chris Michael <>
2014-10-30ecoreidrm: Cleaned up unwanted code.Srivardhan Hebbar
Summary: Cleaned up all unwanted code's in ecore_drm. This just removes a bunch of already commented out code. @fix Signed-off-by: Srivardhan Hebbar <> Reviewers: devilhorns Subscribers: cedric Differential Revision:
2014-10-23ecore-drm: Add error message for calling shutdown without calling initChris Michael
first. Summary: If someone calls ecore_drm_shutdown without first calling ecore_drm_init, then the init count is wrong. Warn the caller. @fix Signed-off-by: Chris Michael <>
2014-10-23ecore_drm: Making _ecore_drm_init_count not to go below zero in ↵Srivardhan Hebbar
_ecore_drm_shutdown. Summary: If _ecore_drm_init_count goes below zero, then when next time ecore_drm_init is called, it won't do the initializations which it is supposed to do. So preventing this scenario by not making it go below zero in _ecore_wl_shutdown function. @fix Signed-off-by: Srivardhan Hebbar <> Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric Differential Revision:
2014-09-23ecore-drm: Remove references to udev functions and init Eeze duringChris Michael
startup Summary: This removes the variable & function calls to udev and adds code to initialize/shutdown Eeze. @fix Signed-off-by: Chris Michael <>
2014-07-24ecore-drm: Fix improper shutdown for error cases in ecore_drm_initChris Michael
If an error occurs during ecore_drm_init, we need to cleanup things in the proper order. This fixes the case where ecore_event_shutdown and ecore_shutdown May Not have been called (in previous revision) due to the error conditions being out of order. Signed-off-by: Chris Michael <>
2014-07-15ecore-drm: Cleanup ecore_drm init/shutdown functionsChris Michael
As we don't need to spawn the suid binary anymore, we can remove all the old code that was doing socketpair, passing messages, etc, etc. Replace with proper ecore_drm_dbus function calls. Signed-off-by: Chris Michael <>
2014-07-06ecore-drm: Shutdown ecore_event on udev error.Chris Michael
Since we have already called ecore_event_init prior to using any udev functions, if udev fails for some reason or another, we should also shutdown ecore_event subsystem. @fix Signed-off-by: Chris Michael <>
2014-03-22drm - shut up warnings (not actual bugs)Carsten Haitzler (Rasterman)
2014-03-10ecore-drm: Initialize ecore_event on ecore_drm_initChris Michael
@bugfix: Initialize ecore_event on ecore_drm_init We need to make sure ecore_event_init has been called so we can process events for ecore_evas. Signed-off-by: Chris Michael <>
2014-03-06ecore-drm: Add Ecore_Drm codeChris Michael
@feature: Add Ecore_Drm library code for setting up drm card, outputs, virtual terminals, framebuffers, and input for use with ecore_evas drm code. Signed-off-by: Chris Michael <>