2016-09-23 Andrzej Hajda <a.hajda at samsung.com>: > 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 cases IOMMU can throw OOPS. > The patch instead of fixing the mechanism replaces it with drm core helper. > > Signed-off-by: Andrzej Hajda <a.hajda at samsung.com> > --- > drivers/gpu/drm/exynos/exynos_drm_crtc.c | 16 +----------- > drivers/gpu/drm/exynos/exynos_drm_drv.c | 44 > +------------------------------- > drivers/gpu/drm/exynos/exynos_drm_drv.h | 2 -- > 3 files changed, 2 insertions(+), 60 deletions(-)
Reviewed-by: Gustavo Padovan <gustavo.padovan at collabora.co.uk> Gustavo