Skip to content

Commit

Permalink
drm/imx: plane: Don't set plane->crtc in ipu_plane_update()
Browse files Browse the repository at this point in the history
Since the drm core sets plane->crtc correctly, we don't need to do that.

Signed-off-by: Liu Ying <gnuiyl@gmail.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
  • Loading branch information
Liu Ying authored and Philipp Zabel committed May 30, 2016
1 parent 8b3ce87 commit 151787b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/gpu/drm/imx/ipuv3-plane.c
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,6 @@ static int ipu_update_plane(struct drm_plane *plane, struct drm_crtc *crtc,
if (crtc != plane->crtc)
dev_dbg(plane->dev->dev, "crtc change: %p -> %p\n",
plane->crtc, crtc);
plane->crtc = crtc;

if (!ipu_plane->enabled)
ipu_plane_enable(ipu_plane);
Expand Down

0 comments on commit 151787b

Please sign in to comment.