drm/i915: Calculate a new pipe_config based on new enabled state
[deliverable/linux.git] / drivers / gpu / drm / i915 / intel_display.c
index 0d18a436e34ca88cc3508f6b9b5dc0838d4a09d7..aa445386b21f7f1af48a44361ee922a8610efa8f 100644 (file)
@@ -12220,7 +12220,7 @@ intel_modeset_compute_config(struct drm_crtc *crtc,
        if (IS_ERR(pipe_config))
                return pipe_config;
 
-       if (!(*modeset_pipes & (1 << to_intel_crtc(crtc)->pipe)))
+       if (!pipe_config->base.enable)
                return pipe_config;
 
        ret = intel_modeset_pipe_config(crtc, mode, state, pipe_config);
This page took 0.030735 seconds and 5 git commands to generate.