drm: sti: clear all mixer control
[deliverable/linux.git] / drivers / gpu / drm / sti / sti_drm_crtc.c
index d2ae0c0e13be6695a109bdea7ea107a35c8654f3..d42c63f756ef45caeb6859b81f1acfda2a7bc579 100644 (file)
@@ -10,6 +10,7 @@
 
 #include <drm/drmP.h>
 #include <drm/drm_crtc_helper.h>
+#include <drm/drm_plane_helper.h>
 
 #include "sti_compositor.h"
 #include "sti_drm_drv.h"
@@ -37,6 +38,8 @@ static void sti_drm_crtc_prepare(struct drm_crtc *crtc)
                if (clk_prepare_enable(compo->clk_compo_aux))
                        DRM_INFO("Failed to prepare/enable compo_aux clk\n");
        }
+
+       sti_mixer_clear_all_layers(mixer);
 }
 
 static void sti_drm_crtc_commit(struct drm_crtc *crtc)
This page took 0.032497 seconds and 5 git commands to generate.