summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2017-10-26 14:22:01 -0400
committerChristopher Michael <cp.michael@samsung.com>2019-02-25 13:17:47 -0500
commitb532cc850f642a1f1e7862d7eadf5ee756733e05 (patch)
treec24ebd9d3aff56e02b91fb8fcdb1ae92339102ca
parent50d50c720dcfc0424e1a7ff3f1fca9d361dddc8e (diff)
ecore-drm2: Pass 'output' as user data for pageflip callbacks
With the rework of evas & ecore_evas drm engines, we need to pass the output as 'user_data' to the pageflip functions so that when we get the pageflip callback, we have an output to work with. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_fb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_fb.c b/src/lib/ecore_drm2/ecore_drm2_fb.c
index 6888a3c2c1..ea217a182d 100644
--- a/src/lib/ecore_drm2/ecore_drm2_fb.c
+++ b/src/lib/ecore_drm2/ecore_drm2_fb.c
@@ -522,6 +522,7 @@ _fb_flip(Ecore_Drm2_Output *output)
522 do 522 do
523 { 523 {
524 static Eina_Bool bugged_about_bug = EINA_FALSE; 524 static Eina_Bool bugged_about_bug = EINA_FALSE;
525
525 repeat = EINA_FALSE; 526 repeat = EINA_FALSE;
526 ret = sym_drmModePageFlip(fb->fd, output->crtc_id, fb->id, 527 ret = sym_drmModePageFlip(fb->fd, output->crtc_id, fb->id,
527 DRM_MODE_PAGE_FLIP_EVENT, output); 528 DRM_MODE_PAGE_FLIP_EVENT, output);