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

Gustavo Padovan gustavo at padovan.org
Fri Sep 23 12:27:41 UTC 2016


2016-09-23 Andrzej Hajda <a.hajda at samsung.com>:

> 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 non-page-flip cases.
> This change allows further improvements of vblank in exynos-drm framework.
> 
> Signed-off-by: Andrzej Hajda <a.hajda at samsung.com>
> ---
>  drivers/gpu/drm/exynos/exynos_drm_vidi.c | 66 ++++++++++----------------------
>  1 file changed, 20 insertions(+), 46 deletions(-)

Reviewed-by: Gustavo Padovan <gustavo.padovan at collabora.co.uk>

Gustavo




More information about the dri-devel mailing list