diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2015-01-17 23:12:38 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2015-03-20 14:30:22 +0200 |
commit | 87bb2ef15b0fbb91e9ea2d56ef5100e47439e11d (patch) | |
tree | c2408839a5cdc849a142c6df6954b24830661d3e /drivers/gpu/drm/omapdrm | |
parent | a350da8be4d91e733ec8cb225e5edefa8b085167 (diff) | |
download | op-kernel-dev-87bb2ef15b0fbb91e9ea2d56ef5100e47439e11d.zip op-kernel-dev-87bb2ef15b0fbb91e9ea2d56ef5100e47439e11d.tar.gz |
drm: omapdrm: Planes are already disabled when destroyed
Planes are destroyed after framebuffers, which has the side effect of
disabling all planes. There is thus no need to disable planes explicitly
when destroying them.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm')
-rw-r--r-- | drivers/gpu/drm/omapdrm/omap_plane.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_plane.c b/drivers/gpu/drm/omapdrm/omap_plane.c index 29f4371..e03512c 100644 --- a/drivers/gpu/drm/omapdrm/omap_plane.c +++ b/drivers/gpu/drm/omapdrm/omap_plane.c @@ -268,7 +268,6 @@ static void omap_plane_destroy(struct drm_plane *plane) omap_irq_unregister(plane->dev, &omap_plane->error_irq); - omap_plane_disable(plane); drm_plane_cleanup(plane); drm_flip_work_cleanup(&omap_plane->unpin_work); |