summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Starkey <brian.starkey@arm.com>2016-10-24 14:55:17 +0100
committerLiviu Dudau <Liviu.Dudau@arm.com>2016-11-04 17:10:10 +0000
commitfe37ed6a2dd63b5cc945b6b354c02b58473c0abf (patch)
tree6f0b51625bb43264c2d0b8bcfba30fc54ebbbd65
parent70c94a3c8f68187b272e5aa4e1a9df354df461eb (diff)
downloadop-kernel-dev-fe37ed6a2dd63b5cc945b6b354c02b58473c0abf.zip
op-kernel-dev-fe37ed6a2dd63b5cc945b6b354c02b58473c0abf.tar.gz
drm: mali-dp: Don't set DRM_PLANE_COMMIT_ACTIVE_ONLY
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>
-rw-r--r--drivers/gpu/drm/arm/malidp_drv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/arm/malidp_drv.c b/drivers/gpu/drm/arm/malidp_drv.c
index 9bd6b07..6cbf4fa 100644
--- a/drivers/gpu/drm/arm/malidp_drv.c
+++ b/drivers/gpu/drm/arm/malidp_drv.c
@@ -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);
OpenPOWER on IntegriCloud