From: Adam Jackson Date: Tue, 18 Sep 2012 14:58:50 +0000 (-0400) Subject: drm/i915/dp: Be smarter about connection sense for branch devices X-Git-Tag: v3.7-rc1~86^2^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=caf9ab24e352102ec9dc6df82c78c3a9082109d6;p=pandora-kernel.git drm/i915/dp: Be smarter about connection sense for branch devices If there's no downstream device, DPCD success is good enough. If there's a hotplug-capable downstream device, count the number of connected sinks in DP_SINK_STATUS and return success if it's non-zero. Otherwise, probe DDC and report appropriately. v2: Check DP_SINK_STATUS instead of something unrelated to sink status. Tested-by: Takashi Iwai Signed-off-by: Adam Jackson Reviewed-by: Jani Nikula Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed