From: Laurent Pinchart Date: Fri, 6 Mar 2015 17:18:56 +0000 (+0200) Subject: drm: omapdrm: Remove omap_plane enabled field X-Git-Tag: omap-for-v4.3/legacy-v2-signed~46^2~16^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=edc725577c52d4abe1dac54ccca1b7bc08672f13;p=pandora-kernel.git drm: omapdrm: Remove omap_plane enabled field The field tracks the plane state to avoid double-enable or -disable. This isn't required anymore, as - the DRM atomic core guarantees that the plane atomic_update and atomic_disable functions will never be called on an enabled/disabled plane - the CRTC enable/disable operations that enable/disable the plane are already guarded against double enable/disable We can thus remove the enabled field completely. The omap_plane_set_enable() function then becomes a wrapper around omap_plane_setup() which can be called directly. Signed-off-by: Laurent Pinchart Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed