commit | 66377efa3fd468283a092f17692e81c2344b03ed | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Wed Jul 15 18:11:24 2015 +0100 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Thu Oct 01 14:32:52 2015 +0100 |
tree | 602c3b33b5c330dc20495cba33179ce7c53563ee | |
parent | fecfdb2db8b5fc2e6cb731a714889de5e43c2380 [diff] |
drm/armada: use xchg() to atomically update dplane->old_fb Rather than using a spinlock, use xchg() to atomically update dplane->old_fb. This allows us to eliminate dplane->lock. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>