[PATCH v3 13/20] drm: omapdrm: Use a spinlock to protect the CRTC pending flag

2016-09-27 Thread Tomi Valkeinen
On 19/09/16 15:27, Laurent Pinchart wrote: > The flag will need to be accessed atomically in the vblank interrupt > handler, memory barriers won't be enough. > Please write the descriptions so that they don't depend on the subject. Reviewed-by: Tomi Valkeinen Tomi -- next part --

[PATCH v3 13/20] drm: omapdrm: Use a spinlock to protect the CRTC pending flag

2016-09-19 Thread Laurent Pinchart
The flag will need to be accessed atomically in the vblank interrupt handler, memory barriers won't be enough. Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/omapdrm/omap_crtc.c | 28 +--- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm