From: Maarten Lankhorst Date: Wed, 24 Jun 2015 06:59:24 +0000 (+0200) Subject: drm/atomic: Update old_fb after setting a property. X-Git-Tag: omap-for-v4.3/fixes-rc1~89^2~37^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9cc54eeba635d2feb2ed4bf43d4ea4e08e7e0a9;p=pandora-kernel.git drm/atomic: Update old_fb after setting a property. This change updates the old_fb pointer only after acquiring the plane lock, if there are no properties the fb cannot have been changed either, so this works out correctly. Found in a discussion with Rob Clark. Cc: Rob Clark Signed-off-by: Maarten Lankhorst Reviewed-by: Rob Clark Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed