From: Daniel Vetter Date: Fri, 10 Apr 2015 14:22:39 +0000 (+0200) Subject: drm/atomic-helper: Don't call atomic_update_plane when it stays off X-Git-Tag: omap-for-v4.3/legacy-v2-signed~46^2~60^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=475d231be9bae4b997eb7e5a9a3cb214259cf90a;p=pandora-kernel.git drm/atomic-helper: Don't call atomic_update_plane when it stays off It's a silly thing to do and surprises driver writers. Most likely this did already blow up for exynos. It's also a silly thing to change plane state when it's off, but fbdev is silly (it does an unconditional modeset over all planes). And userspace can be evil. So I think we need this. With this check in the helpers we can remove the one in i915 code for the same conditions (becuase ->crtc iff ->fb). Cc: Gustavo Padovan Cc: dri-devel@lists.freedesktop.org Cc: Inki Dae Cc: Matt Roper Acked-by: Laurent Pinchart Tested-by: Laurent Pinchart Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed