ecore_drm2: Fix ticking when atomic mode set is enabled

Putting the PAGE_FLIP_EVENT flag on the set rotation request resulted
in an extra event on the drm device fd that screwed up page flipping
badly from that point on.

@fix
This commit is contained in:
Derek Foreman 2017-04-21 16:37:18 -05:00
parent 73fb81b19e
commit 05e8d76021
1 changed files with 1 additions and 1 deletions

View File

@ -1588,7 +1588,7 @@ ecore_drm2_output_rotation_set(Ecore_Drm2_Output *output, int rotation)
drmModeAtomicReq *req = NULL;
int res = 0;
uint32_t flags =
DRM_MODE_ATOMIC_NONBLOCK | DRM_MODE_PAGE_FLIP_EVENT |
DRM_MODE_ATOMIC_NONBLOCK |
DRM_MODE_ATOMIC_ALLOW_MODESET;
EINA_LIST_FOREACH(output->plane_states, l, pstate)