ecore-drm: Fix issue of duplicate page flips
authorChris Michael <cp.michael@samsung.com>
Thu, 5 Nov 2015 13:58:46 +0000 (08:58 -0500)
committerChris Michael <cp.michael@samsung.com>
Thu, 5 Nov 2015 14:01:36 +0000 (09:01 -0500)
commitae7a243c99c071a92582fda0a2dfdd27e3a39e1b
treea019a7c0b992f440d45834f251c319442716008a
parent483cec924bff9bd2a803dcb2fef161759f302f8d
ecore-drm: Fix issue of duplicate page flips

Summary: If we already have a pending pageflip scheduled for a given
framebuffer, don't reschedule another one. This also includes a minor
fix when mmap'ing the framebuffer (previously was also mapped
PROT_READ).

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/lib/ecore_drm/ecore_drm_fb.c