[PATCH 1/2] drm/exynos/vidi: use timer for vblanks instead of sleeping worker

2016-09-23 Thread Gustavo Padovan
2016-09-23 Andrzej Hajda : > VIDI driver uses fake vblank handler to generate vblank events. > It was implemented using worker which slept for vblank time, additionally > it did not work if there were no page flips. The patch replaces it with > timer, uses drm_crtc_vblank_(on|off) helpers to

[PATCH 1/2] drm/exynos/vidi: use timer for vblanks instead of sleeping worker

2016-09-23 Thread Andrzej Hajda
VIDI driver uses fake vblank handler to generate vblank events. It was implemented using worker which slept for vblank time, additionally it did not work if there were no page flips. The patch replaces it with timer, uses drm_crtc_vblank_(on|off) helpers to manage it and fixes behavior for