Skip to content
Commit 709ffd82 authored by Russell King's avatar Russell King
Browse files

drm/armada: redo locking and atomics for armada_drm_crtc_complete_frame_work()



We can do better with armada_drm_crtc_complete_frame_work() - we can
avoid taking the event lock unless a call to drm_send_vblank_event()
is required, and using cmpxchg() and xchg(), we can eliminate the
locking around dcrtc->frame_work entirely.

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent e0ac5e9b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment