The primary plane can still be configured when crtc is off,
furthermore this is also a noop now that affected planes are
added on modesets.

Signed-off-by: Maarten Lankhorst <maarten.lankho...@linux.intel.com>
---
 drivers/gpu/drm/i915/intel_display.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_display.c 
b/drivers/gpu/drm/i915/intel_display.c
index 9e1723e20377..d738230bedf8 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -12265,8 +12265,6 @@ static int __intel_set_mode(struct drm_atomic_state 
*state)
 
                intel_crtc_disable_planes(crtc);
                dev_priv->display.crtc_disable(crtc);
-               if (!crtc_state->enable)
-                       drm_plane_helper_disable(crtc->primary);
        }
 
        /* Only after disabling all output pipelines that will be changed can we
-- 
2.1.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to