summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2/ecore_drm2_private.h
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2017-06-09 14:20:05 -0400
committerChris Michael <cp.michael@samsung.com>2017-06-09 14:20:05 -0400
commitbbd18510d690cfc02c20e36850a0aea75fd4e4a0 (patch)
tree78b703385c87acc9d2c61e726fd806090f0443e0 /src/lib/ecore_drm2/ecore_drm2_private.h
parentde12621c900177b99fd05684f2e101cea9e628f3 (diff)
ecore-drm2: Remove #ifdef HAVE_ATOMIC_DRM
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 <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore_drm2/ecore_drm2_private.h')
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_private.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_private.h b/src/lib/ecore_drm2/ecore_drm2_private.h
index 55b6fef424..6270b2d7a4 100644
--- a/src/lib/ecore_drm2/ecore_drm2_private.h
+++ b/src/lib/ecore_drm2/ecore_drm2_private.h
@@ -192,9 +192,7 @@ struct _Ecore_Drm2_Output_Mode
192typedef struct _Ecore_Drm2_Output_State 192typedef struct _Ecore_Drm2_Output_State
193{ 193{
194 Ecore_Drm2_Fb *fb; 194 Ecore_Drm2_Fb *fb;
195# ifdef HAVE_ATOMIC_DRM
196 drmModeAtomicReq *atomic_req; 195 drmModeAtomicReq *atomic_req;
197# endif
198} Ecore_Drm2_Output_State; 196} Ecore_Drm2_Output_State;
199 197
200struct _Ecore_Drm2_Output 198struct _Ecore_Drm2_Output
@@ -314,14 +312,12 @@ extern int (*sym_drmIoctl)(int fd, unsigned long request, void *arg);
314extern void *(*sym_drmModeObjectGetProperties)(int fd, uint32_t object_id, uint32_t object_type); 312extern void *(*sym_drmModeObjectGetProperties)(int fd, uint32_t object_id, uint32_t object_type);
315extern void (*sym_drmModeFreeObjectProperties)(drmModeObjectPropertiesPtr ptr); 313extern void (*sym_drmModeFreeObjectProperties)(drmModeObjectPropertiesPtr ptr);
316extern int (*sym_drmModeCreatePropertyBlob)(int fd, const void *data, size_t size, uint32_t *id); 314extern int (*sym_drmModeCreatePropertyBlob)(int fd, const void *data, size_t size, uint32_t *id);
317# ifdef HAVE_ATOMIC_DRM
318extern void *(*sym_drmModeAtomicAlloc)(void); 315extern void *(*sym_drmModeAtomicAlloc)(void);
319extern void (*sym_drmModeAtomicFree)(drmModeAtomicReqPtr req); 316extern void (*sym_drmModeAtomicFree)(drmModeAtomicReqPtr req);
320extern int (*sym_drmModeAtomicAddProperty)(drmModeAtomicReqPtr req, uint32_t object_id, uint32_t property_id, uint64_t value); 317extern int (*sym_drmModeAtomicAddProperty)(drmModeAtomicReqPtr req, uint32_t object_id, uint32_t property_id, uint64_t value);
321extern int (*sym_drmModeAtomicCommit)(int fd, drmModeAtomicReqPtr req, uint32_t flags, void *user_data); 318extern int (*sym_drmModeAtomicCommit)(int fd, drmModeAtomicReqPtr req, uint32_t flags, void *user_data);
322extern void (*sym_drmModeAtomicSetCursor)(drmModeAtomicReqPtr req, int cursor); 319extern void (*sym_drmModeAtomicSetCursor)(drmModeAtomicReqPtr req, int cursor);
323extern int (*sym_drmModeAtomicMerge)(drmModeAtomicReqPtr base, drmModeAtomicReqPtr augment); 320extern int (*sym_drmModeAtomicMerge)(drmModeAtomicReqPtr base, drmModeAtomicReqPtr augment);
324# endif
325extern void *(*sym_drmModeGetEncoder)(int fd, uint32_t encoder_id); 321extern void *(*sym_drmModeGetEncoder)(int fd, uint32_t encoder_id);
326extern void (*sym_drmModeFreeEncoder)(drmModeEncoderPtr ptr); 322extern void (*sym_drmModeFreeEncoder)(drmModeEncoderPtr ptr);
327extern void *(*sym_drmModeGetCrtc)(int fd, uint32_t crtcId); 323extern void *(*sym_drmModeGetCrtc)(int fd, uint32_t crtcId);