From: Keith Packard Date: Tue, 26 Jul 2011 02:50:10 +0000 (-0700) Subject: drm/i915: Use dp_detect_common in hotplug helper function X-Git-Tag: v3.1-rc1~22^2~10^2~8^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92fd8fd13b7570f6a8ba519c4e8ec98f10a86ce9;p=pandora-kernel.git drm/i915: Use dp_detect_common in hotplug helper function This uses the common dpcd reading routine, i915_dp_detect_common, instead of open-coding a call to intel_dp_aux_native_read. Besides reducing duplicated code, this also gains the read retries which may be necessary when a cable is first plugged back in and the link needs to be retrained. Signed-off-by: Keith Packard Reviewed-by: Jesse Barnes Reviewed-by: Adam Jackson --- Reading git-diff-tree failed