drm/i915/skl: Skylake also supports DP MST
authorDamien Lespiau <damien.lespiau@intel.com>
Fri, 12 Dec 2014 14:26:58 +0000 (14:26 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 15 Dec 2014 14:43:18 +0000 (15:43 +0100)
I've checked that TRANS_DDI_MODE, DP_TP_CTL MST bits are identical to
HSW/BDW on SKL, as well as the long vs short HPD bits. So we have a good
chance to be working as well as prevous platforms.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c

index 3fc32968252762c52f15a043bae719aa27e692e7..8e276c41d4d2593495a73d394612fb97db10bbd9 100644 (file)
@@ -5085,7 +5085,7 @@ intel_dp_init_connector(struct intel_digital_port *intel_dig_port,
        intel_dp_aux_init(intel_dp, intel_connector);
 
        /* init MST on ports that can support it */
-       if (IS_HASWELL(dev) || IS_BROADWELL(dev)) {
+       if (IS_HASWELL(dev) || IS_BROADWELL(dev) || INTEL_INFO(dev)->gen >= 9) {
                if (port == PORT_B || port == PORT_C || port == PORT_D) {
                        intel_dp_mst_encoder_init(intel_dig_port,
                                                  intel_connector->base.base.id);