Commit e5e3b44c authored by Ville Syrjälä's avatar Ville Syrjälä Committed by Dave Airlie
Browse files

drm: plane: Clear plane.crtc and plane.fb after disable_plane()

These are the only indication to user space that the plane was disabled.
Signed-off-by: default avatarVille Syrjälä <>
Acked-by: default avatarJesse Barnes <>
Signed-off-by: default avatarDave Airlie <>
parent 81f6c7f8
......@@ -1684,6 +1684,8 @@ int drm_mode_setplane(struct drm_device *dev, void *data,
/* No fb means shut it down */
if (!plane_req->fb_id) {
plane->crtc = NULL;
plane->fb = NULL;
goto out;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment