|
@@ -4539,10 +4539,10 @@ static void valleyview_crtc_enable(struct drm_crtc *crtc)
|
|
intel_wait_for_vblank(dev_priv->dev, pipe);
|
|
intel_wait_for_vblank(dev_priv->dev, pipe);
|
|
intel_set_cpu_fifo_underrun_reporting(dev, pipe, true);
|
|
intel_set_cpu_fifo_underrun_reporting(dev, pipe, true);
|
|
|
|
|
|
- intel_crtc_enable_planes(crtc);
|
|
|
|
-
|
|
|
|
for_each_encoder_on_crtc(dev, crtc, encoder)
|
|
for_each_encoder_on_crtc(dev, crtc, encoder)
|
|
encoder->enable(encoder);
|
|
encoder->enable(encoder);
|
|
|
|
+
|
|
|
|
+ intel_crtc_enable_planes(crtc);
|
|
}
|
|
}
|
|
|
|
|
|
static void i9xx_crtc_enable(struct drm_crtc *crtc)
|
|
static void i9xx_crtc_enable(struct drm_crtc *crtc)
|
|
@@ -4575,10 +4575,10 @@ static void i9xx_crtc_enable(struct drm_crtc *crtc)
|
|
intel_wait_for_vblank(dev_priv->dev, pipe);
|
|
intel_wait_for_vblank(dev_priv->dev, pipe);
|
|
intel_set_cpu_fifo_underrun_reporting(dev, pipe, true);
|
|
intel_set_cpu_fifo_underrun_reporting(dev, pipe, true);
|
|
|
|
|
|
- intel_crtc_enable_planes(crtc);
|
|
|
|
-
|
|
|
|
for_each_encoder_on_crtc(dev, crtc, encoder)
|
|
for_each_encoder_on_crtc(dev, crtc, encoder)
|
|
encoder->enable(encoder);
|
|
encoder->enable(encoder);
|
|
|
|
+
|
|
|
|
+ intel_crtc_enable_planes(crtc);
|
|
}
|
|
}
|
|
|
|
|
|
static void i9xx_pfit_disable(struct intel_crtc *crtc)
|
|
static void i9xx_pfit_disable(struct intel_crtc *crtc)
|
|
@@ -4607,11 +4607,11 @@ static void i9xx_crtc_disable(struct drm_crtc *crtc)
|
|
if (!intel_crtc->active)
|
|
if (!intel_crtc->active)
|
|
return;
|
|
return;
|
|
|
|
|
|
|
|
+ intel_crtc_disable_planes(crtc);
|
|
|
|
+
|
|
for_each_encoder_on_crtc(dev, crtc, encoder)
|
|
for_each_encoder_on_crtc(dev, crtc, encoder)
|
|
encoder->disable(encoder);
|
|
encoder->disable(encoder);
|
|
|
|
|
|
- intel_crtc_disable_planes(crtc);
|
|
|
|
-
|
|
|
|
intel_set_cpu_fifo_underrun_reporting(dev, pipe, false);
|
|
intel_set_cpu_fifo_underrun_reporting(dev, pipe, false);
|
|
intel_disable_pipe(dev_priv, pipe);
|
|
intel_disable_pipe(dev_priv, pipe);
|
|
|
|
|