summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2/Ecore_Drm2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_drm2/Ecore_Drm2.h')
-rw-r--r--src/lib/ecore_drm2/Ecore_Drm2.h19
1 files changed, 3 insertions, 16 deletions
diff --git a/src/lib/ecore_drm2/Ecore_Drm2.h b/src/lib/ecore_drm2/Ecore_Drm2.h
index 81c3ace6a8..d90ee99dc2 100644
--- a/src/lib/ecore_drm2/Ecore_Drm2.h
+++ b/src/lib/ecore_drm2/Ecore_Drm2.h
@@ -166,30 +166,17 @@ EAPI int ecore_drm2_event_handle(Ecore_Drm2_Device *dev, Ecore_Drm2_Context *drm
166 */ 166 */
167 167
168/** 168/**
169 * Try to find a drm device on a given seat 169 * Try to open the Ecore_Drm2_Device for a given seat
170 * 170 *
171 * @param seat 171 * @param seat
172 * @param tty 172 * @param tty
173 * @param sync
174 * 173 *
175 * @return A newly allocated Ecore_Drm2_Device on success, NULL otherwise 174 * @return An Ecore_Drm2_Device or NULL on failure.
176 * 175 *
177 * @ingroup Ecore_Drm2_Device_Group 176 * @ingroup Ecore_Drm2_Device_Group
178 * @since 1.18 177 * @since 1.18
179 */ 178 */
180EAPI Ecore_Drm2_Device *ecore_drm2_device_find(const char *seat, unsigned int tty); 179EAPI Ecore_Drm2_Device *ecore_drm2_device_open(const char *seat, unsigned int tty);
181
182/**
183 * Try to open a given Ecore_Drm2_Device
184 *
185 * @param device
186 *
187 * @return A valid file descriptor if open succeeds, -1 otherwise.
188 *
189 * @ingroup Ecore_Drm2_Device_Group
190 * @since 1.18
191 */
192EAPI int ecore_drm2_device_open(Ecore_Drm2_Device *device);
193 180
194/** 181/**
195 * Close an open Ecore_Drm2_Device 182 * Close an open Ecore_Drm2_Device