From: Thierry Reding Date: Tue, 25 Nov 2014 11:09:44 +0000 (+0100) Subject: drm/plane: Pass old state to ->atomic_update() X-Git-Tag: omap-for-v3.20/drop-legacy-3517~77^2~18^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1c37e1adc6eca1fb492c74d466141d9b01e0428;p=pandora-kernel.git drm/plane: Pass old state to ->atomic_update() In most situations it will be useful to have the old state passed to the ->atomic_update() callback. For example if a plane is being disabled the new state's .crtc field will be NULL, but some drivers may rely on this field to program the CRTCs registers. v2: rename variable to old_plane_state and remove redundant comment as suggested by Daniel Vetter, remove an Exynos hunk that doesn't apply to drm-next and add a hunk for pending MSM mdp5 changes Reviewed-by: Daniel Vetter Signed-off-by: Thierry Reding Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed