commit | 709ffd82fc6ff760dc3a7f71bdf26d78a8e3caf0 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Wed Jul 15 18:09:38 2015 +0100 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Tue Sep 15 16:26:50 2015 +0100 |
tree | a728a5823f6e33e0897d38b6e426f28149e27220 | |
parent | e0ac5e9b4b14ab4be7fbba48d666fc619342fd88 [diff] |
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: Russell King <rmk+kernel@arm.linux.org.uk>