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.8-rc1~82^2~192^2~224 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07d3dc18396790d9d394f4f0717a91b3a845c758;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