From: Ville Syrjälä Date: Wed, 7 Aug 2013 10:30:23 +0000 (+0300) Subject: drm/i915: Don't try to disable plane if it's already disabled X-Git-Tag: v3.12-rc1~136^2~59^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88a94a58a07267d979cc168c3e511b99f4164951;p=pandora-kernel.git drm/i915: Don't try to disable plane if it's already disabled Check plane->fb in intel_disable_plane() to determine if the plane is already disabled. If the plane has an fb, then it must also have a crtc, so we can drop the plane->crtc check and just call intel_enable_primary() directly. v2: WARN and bail if the plane doesn't have a crtc when it should Signed-off-by: Ville Syrjälä Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed