[PATCH 2/2] drm/exynos: fix pending update handling

2016-09-23 Thread Gustavo Padovan
2016-09-23 Andrzej Hajda : > Exynos DRM devices update their registers at vblank time. Exynos-DRM uses > custom mechanism to wait for vblank. This mechanism is error prone - > variables are not updated atomically. As a result in certain circumstances > user space can try to free buffers which are

[PATCH 2/2] drm/exynos: fix pending update handling

2016-09-23 Thread Andrzej Hajda
Exynos DRM devices update their registers at vblank time. Exynos-DRM uses custom mechanism to wait for vblank. This mechanism is error prone - variables are not updated atomically. As a result in certain circumstances user space can try to free buffers which are still in use by hardware, in such ca