From: Ville Syrjälä Date: Tue, 13 Mar 2012 10:35:38 +0000 (+0200) Subject: drm: Reject mode set with current fb if no current fb is bound X-Git-Tag: v3.4-rc1~143^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6653cc8d3b8d1c685fbf01cc8a536957045f4609;p=pandora-kernel.git drm: Reject mode set with current fb if no current fb is bound When doing a mode set with the special fb id -1, reject the mode set if no fb is currently bound to the crtc. Also remove the pointless list traversal to find the current crtc based on the current crtc :) Signed-off-by: Ville Syrjälä Reviewed-by: Alex Deucher Signed-off-by: Dave Airlie --- Reading git-diff-tree failed