From: Ville Syrjälä Date: Fri, 1 Nov 2013 16:22:39 +0000 (+0200) Subject: drm/i915: Check VBT for eDP ports on VLV X-Git-Tag: v3.13-rc4~39^2~3^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d8a77529bd6864361005117c3a611b6d810aa77;p=pandora-kernel.git drm/i915: Check VBT for eDP ports on VLV VLV can have eDP on either port B or C, or even both. Based on the VBT spec, intel_dpd_is_edp() should work on VLV too, assuming we check the correct ports. So instead of hardcoding port D, rename the function to intel_dp_is_edp() and pass the port as a parameter, and use it on VLV ports B and C. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=71051 Tested-by: Robert Hooker Signed-off-by: Ville Syrjälä Reviewed-by: Jesse Barnes [danvet: Wrestle the patch to apply and compile properly.] Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed