summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Michael <cp.michael@samsung.com>2019-01-02 10:01:55 -0500
committerChristopher Michael <cp.michael@samsung.com>2019-01-02 10:01:55 -0500
commitcbac8eddb097d55b927e30b22f28f187808a4d0a (patch)
tree232aee560c35abb18e4af7268eea66b14793cc56
parente36e8d932165c531c9d77b725489bd976ecc9c6a (diff)
downloadefl-cbac8eddb097d55b927e30b22f28f187808a4d0a.tar.gz
ecore-drm2: Minor formatting fixes
NB: No functional changes
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_fb.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_fb.c b/src/lib/ecore_drm2/ecore_drm2_fb.c
index 85331aeaa2..243feca289 100644
--- a/src/lib/ecore_drm2/ecore_drm2_fb.c
+++ b/src/lib/ecore_drm2/ecore_drm2_fb.c
@@ -290,8 +290,7 @@ ecore_drm2_fb_flip_complete(Ecore_Drm2_Output *output)
plane->scanout = EINA_TRUE;
if (fb->status_handler && (fb->scanout_count == 1) &&
(plane_scanout != plane->scanout))
- fb->status_handler(fb,
- ECORE_DRM2_FB_STATUS_SCANOUT_ON,
+ fb->status_handler(fb, ECORE_DRM2_FB_STATUS_SCANOUT_ON,
fb->status_data);
continue;
}
@@ -301,8 +300,7 @@ ecore_drm2_fb_flip_complete(Ecore_Drm2_Output *output)
fb->scanout_count--;
if (fb->status_handler && (fb->scanout_count == 0))
- fb->status_handler(fb,
- ECORE_DRM2_FB_STATUS_SCANOUT_OFF,
+ fb->status_handler(fb, ECORE_DRM2_FB_STATUS_SCANOUT_OFF,
fb->status_data);
}
}
@@ -448,8 +446,7 @@ _fb_atomic_flip(Ecore_Drm2_Output *output)
EINA_SAFETY_ON_NULL_RETURN_VAL(output->prep.atomic_req, -1);
res =
- sym_drmModeAtomicCommit(output->fd,
- output->prep.atomic_req, flags,
+ sym_drmModeAtomicCommit(output->fd, output->prep.atomic_req, flags,
output->user_data);
if (res < 0)
{
@@ -502,8 +499,7 @@ _fb_flip(Ecore_Drm2_Output *output)
static Eina_Bool bugged_about_bug = EINA_FALSE;
repeat = EINA_FALSE;
ret = sym_drmModePageFlip(fb->fd, output->crtc_id, fb->id,
- DRM_MODE_PAGE_FLIP_EVENT,
- output->user_data);
+ DRM_MODE_PAGE_FLIP_EVENT, output->user_data);
/* Some drivers (RPI - looking at you) are broken and produce
* flip events before they are ready for another flip, so be
* a little robust in the face of badness and try a few times