drm/i915: consider the source max DP lane count too
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 6 May 2014 11:56:50 +0000 (14:56 +0300)
committerJani Nikula <jani.nikula@intel.com>
Wed, 7 May 2014 12:01:49 +0000 (15:01 +0300)
commiteeb6324dd6668b05192708916f2a4bc463f382ca
treee2d2e8760f2af89a0e43febd29e11587b431ea5d
parent2a1235e53bed8fa111e1c1ee2e7d8d91efa71ebc
drm/i915: consider the source max DP lane count too

Even if the panel claims it can support 4 lanes, there's the
possibility that the HW can't, so consider this while selecting the
max lane count.

Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_dp.c