From: Chris Wilson Date: Wed, 20 Apr 2011 18:20:15 +0000 (+0100) Subject: drm/i915: Propagate failure to set mode for load-detect pipe X-Git-Tag: v3.0-rc1~312^2~4^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be925587570a745944d99042368f72496bc28a70;p=pandora-kernel.git drm/i915: Propagate failure to set mode for load-detect pipe Check the return value from drm_crtc_set_mode(), report the failure via a debug message and propagate the error back to the caller. This prevents us from blissfully continuing to do the load detection on a disabled pipe. Fortunately actual failure for modesetting is very rare, and reported failures even rarer. Signed-off-by: Chris Wilson Signed-off-by: Keith Packard --- Reading git-diff-tree failed