Skip to contentSkip to conversation

drm: mali-dp: Don't set DRM_PLANE_COMMIT_ACTIVE_ONLY

PATCH In review Brian Starkey 2 participants 2 messages Oct 24, 2016

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 drivers/gpu/drm/arm/malidp_drv.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/arm/malidp_drv.c +1 -2
index 9ed938e..f7bb763 100644
@@ -102,8 +102,7 @@ static void malidp_atomic_commit_tail(struct drm_atomic_state *state)
 	 */
 	malidp_mw_atomic_commit(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);
 
Signature · 1 line
1.7.9.5
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Brian Starkey

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.

Quoted 21 lines
---
 drivers/gpu/drm/arm/malidp_drv.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/arm/malidp_drv.c +1 -2
index 9ed938e..f7bb763 100644
@@ -102,8 +102,7 @@ static void malidp_atomic_commit_tail(struct drm_atomic_state *state)
 	 */
 	malidp_mw_atomic_commit(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);
 
Signature · 1 line
1.7.9.5
Signature · 12 lines
====================
| I would like to |
| fix the world,  |
| but they're not |
| giving me the   |
 \ source code!  /
  ---------------
    ¯\_(ツ)_/¯
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel