]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/i915: Fix DP-MST crtc_mask
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Sat, 17 Aug 2019 09:38:37 +0000 (02:38 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Tue, 20 Aug 2019 19:53:13 +0000 (12:53 -0700)
Each fake MST encoder is tied to a specific pipe. Fix the encoder's
crtc_mask to reflect that fact.

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

index 83faa246e361a7d6c7ba8b8ead203049e2d7ba86..f52cdd4ca877542647c5579a7451484cc2c572df 100644 (file)
@@ -599,7 +599,7 @@ intel_dp_create_fake_mst_encoder(struct intel_digital_port *intel_dig_port, enum
        intel_encoder->type = INTEL_OUTPUT_DP_MST;
        intel_encoder->power_domain = intel_dig_port->base.power_domain;
        intel_encoder->port = intel_dig_port->base.port;
-       intel_encoder->crtc_mask = 0x7;
+       intel_encoder->crtc_mask = BIT(pipe);
        intel_encoder->cloneable = 0;
 
        intel_encoder->compute_config = intel_dp_mst_compute_config;