drm/i915: Simplify DP vs. eDP detection
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 1 Nov 2013 16:22:41 +0000 (18:22 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 28 Nov 2013 12:42:25 +0000 (13:42 +0100)
commit3b32a35b31b19c8f9340d3b3a149062fce1cd89f
treed16ba52aa5814a635867b39c94f09feb5d16c351
parent5d8a77529bd6864361005117c3a611b6d810aa77
drm/i915: Simplify DP vs. eDP detection

Reduce the eDP detection to just checking if it's port A, or if
the VBT tells us that the port is eDP for the other ports.

Suggested-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c