]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: fix port checks for MST support on gen >= 11
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 11 Oct 2019 01:09:03 +0000 (18:09 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Sat, 19 Oct 2019 00:28:12 +0000 (17:28 -0700)
commit3345dedea1f7398232d5cb6baae39ceba6d55675
tree3420ba16c6456d1e858dde59961ad10e2a624f27
parenta6a5981a404d70b30935534d6936c4df499c2e99
drm/i915: fix port checks for MST support on gen >= 11

Both Ice Lake and Elkhart Lake (gen 11) support MST on all external
connections except DDI A. Tiger Lake (gen 12) supports on all external
connections.

Move the check to happen inside intel_dp_mst_encoder_init() and add
specific platform checks.

v2: Replace != with == checks for ports on gen < 11 (Ville)

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191015164029.18431-3-lucas.demarchi@intel.com
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_dp_mst.c