drm: mali-dp: Don't set DRM_PLANE_COMMIT_ACTIVE_ONLY
authorBrian Starkey <brian.starkey@arm.com>
Mon, 24 Oct 2016 13:55:17 +0000 (14:55 +0100)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Fri, 4 Nov 2016 17:10:10 +0000 (17:10 +0000)
We need to explicitly disable our planes, so don't set the flag which
would otherwise skip the plane disable when the CRTC is disabled.

Signed-off-by: Brian Starkey <brian.starkey@arm.com>
Acked-by: Liviu Dudau <Liviu.Dudau@arm.com>
Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
drivers/gpu/drm/arm/malidp_drv.c

index 9bd6b072a405aa847302ac721578f668498be4ef..6cbf4fa90ea0c4efb80dfaf071d11cb64a8b7012 100644 (file)
@@ -92,8 +92,7 @@ static void malidp_atomic_commit_tail(struct drm_atomic_state *state)
 
        drm_atomic_helper_commit_modeset_disables(drm, state);
        drm_atomic_helper_commit_modeset_enables(drm, state);
-       drm_atomic_helper_commit_planes(drm, state,
-                                       DRM_PLANE_COMMIT_ACTIVE_ONLY);
+       drm_atomic_helper_commit_planes(drm, state, 0);
 
        malidp_atomic_commit_hw_done(state);