diff options
author | Chris Michael <cp.michael@samsung.com> | 2017-04-25 10:29:00 -0400 |
---|---|---|
committer | Derek Foreman <derekf@osg.samsung.com> | 2017-05-05 12:53:20 -0500 |
commit | e5de325e9019fd35d0beed1568136c73dbaf2960 (patch) | |
tree | 4fb394f55941acc4b1851a9e2d27e6770837bb20 /src/lib/ecore_drm2/ecore_drm2_plane.c | |
parent | b9f46417624e40cf02ab3cb0b1041984854db2c6 (diff) |
ecore-drm2: Remove #ifdef for HAVE_ATOMIC in plane_assign function
As there is nothing inside this function which requires any Atomic API
calls, this #ifdef can be removed and the function can then still be
used to assign Primary planes for non-atomic use cases.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore_drm2/ecore_drm2_plane.c')
-rw-r--r-- | src/lib/ecore_drm2/ecore_drm2_plane.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_plane.c b/src/lib/ecore_drm2/ecore_drm2_plane.c index 720a610c6e..044fd57d49 100644 --- a/src/lib/ecore_drm2/ecore_drm2_plane.c +++ b/src/lib/ecore_drm2/ecore_drm2_plane.c | |||
@@ -41,7 +41,6 @@ _plane_cursor_size_get(int fd, int *width, int *height) | |||
41 | EAPI Ecore_Drm2_Plane * | 41 | EAPI Ecore_Drm2_Plane * |
42 | ecore_drm2_plane_assign(Ecore_Drm2_Output *output, Ecore_Drm2_Fb *fb) | 42 | ecore_drm2_plane_assign(Ecore_Drm2_Output *output, Ecore_Drm2_Fb *fb) |
43 | { | 43 | { |
44 | #ifdef HAVE_ATOMIC_DRM | ||
45 | Eina_List *l; | 44 | Eina_List *l; |
46 | Ecore_Drm2_Plane *plane; | 45 | Ecore_Drm2_Plane *plane; |
47 | Ecore_Drm2_Plane_State *pstate; | 46 | Ecore_Drm2_Plane_State *pstate; |
@@ -107,9 +106,6 @@ out: | |||
107 | output->planes = eina_list_append(output->planes, plane); | 106 | output->planes = eina_list_append(output->planes, plane); |
108 | 107 | ||
109 | return plane; | 108 | return plane; |
110 | #else | ||
111 | return NULL; | ||
112 | #endif | ||
113 | } | 109 | } |
114 | 110 | ||
115 | EAPI void | 111 | EAPI void |