drm/i915/icl: remove port A/E lane sharing limitation.
authorMahesh Kumar <mahesh1.kumar@intel.com>
Tue, 6 Feb 2018 06:08:55 +0000 (11:38 +0530)
committerJani Nikula <jani.nikula@intel.com>
Mon, 5 Mar 2018 10:27:19 +0000 (12:27 +0200)
commit3d2011cfa41faf4981f72b050f0891c528c09f52
treea4d9fdc0e04c0fb9af3673f9445ced2582441373
parent1f267a572b573b0b155022750cba93001f4367a8
drm/i915/icl: remove port A/E lane sharing limitation.

Platforms before Gen11 were sharing lanes between port-A & port-E.
This limitation is no more there.

Changes since V1:
 - optimize the code (Shashank/Jani)
 - create helper function to get max lanes (ville)
Changes since V2:
 - Include BIOS fail fix-up in same helper function (ville)
Changes since V3:
 - remove confusing if/else (jani)
 - group intel_encoder initialization

Signed-off-by: Mahesh Kumar <mahesh1.kumar@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180206060855.30026-1-mahesh1.kumar@intel.com
drivers/gpu/drm/i915/intel_ddi.c