ecore_drm2: Pass user data to atomic flip
authorDerek Foreman <derekf@osg.samsung.com>
Fri, 28 Apr 2017 19:51:46 +0000 (14:51 -0500)
committerDerek Foreman <derekf@osg.samsung.com>
Fri, 5 May 2017 17:53:23 +0000 (12:53 -0500)
We need the user_data to come back to us in the flip handler like it does
in the non atomic flip.

src/lib/ecore_drm2/ecore_drm2_fb.c

index f2c2bc0..43e8533 100644 (file)
@@ -365,7 +365,8 @@ _fb_atomic_flip(Ecore_Drm2_Output *output)
 
    res =
      sym_drmModeAtomicCommit(output->fd,
-                             output->prep.atomic_req, flags, NULL);
+                             output->prep.atomic_req, flags,
+                             output->user_data);
    if (res < 0)
      {
         ERR("Failed Atomic Commit: %m");