From: Ville Syrjälä Date: Mon, 3 Jun 2013 13:10:40 +0000 (+0300) Subject: drm: Add drm_plane_force_disable() X-Git-Tag: v3.11-rc1~65^2~101 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9125e6186822b2698da17690416cd1b55c030115;p=pandora-kernel.git drm: Add drm_plane_force_disable() drm_plane_force_disable() will forcibly disable the plane even if user had previously requested the plane to be enabled. This can be used to force planes to be off when restoring the fbdev mode. The code was simply pulled from drm_framebuffer_remove(), which now calls the new function as well. v2: Check plane->fb in drm_plane_force_disable(), drop bogus comment about disabling crtc Signed-off-by: Ville Syrjälä Signed-off-by: Dave Airlie --- Reading git-diff-tree failed