summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2/ecore_drm2_fb.c
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2017-04-28 14:51:46 -0500
committerDerek Foreman <derekf@osg.samsung.com>2017-05-05 12:53:23 -0500
commit9223b0d5356560d4246b5ef4d592672cab032949 (patch)
tree3139adb1f413da971d06d185b1e8c7f9eb00c03a /src/lib/ecore_drm2/ecore_drm2_fb.c
parentb6f67124e46d9be11c8b2fec36c3dd8fc7037d10 (diff)
ecore_drm2: Pass user data to atomic flip
We need the user_data to come back to us in the flip handler like it does in the non atomic flip.
Diffstat (limited to '')
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_fb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_fb.c b/src/lib/ecore_drm2/ecore_drm2_fb.c
index f2c2bc09a7..43e8533bf6 100644
--- a/src/lib/ecore_drm2/ecore_drm2_fb.c
+++ b/src/lib/ecore_drm2/ecore_drm2_fb.c
@@ -365,7 +365,8 @@ _fb_atomic_flip(Ecore_Drm2_Output *output)
365 365
366 res = 366 res =
367 sym_drmModeAtomicCommit(output->fd, 367 sym_drmModeAtomicCommit(output->fd,
368 output->prep.atomic_req, flags, NULL); 368 output->prep.atomic_req, flags,
369 output->user_data);
369 if (res < 0) 370 if (res < 0)
370 { 371 {
371 ERR("Failed Atomic Commit: %m"); 372 ERR("Failed Atomic Commit: %m");