commit | be925587570a745944d99042368f72496bc28a70 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Wed Apr 20 19:20:15 2011 +0100 |
committer | Keith Packard <keithp@keithp.com> | Tue May 10 13:19:14 2011 -0700 |
tree | 88d6a565465b737ed45d8dc8d1ff743a47463401 | |
parent | 7173188d5d5e50b95c588dbae3b3bc78fde4138e [diff] |
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 <chris@chris-wilson.co.uk> Signed-off-by: Keith Packard <keithp@keithp.com>