diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2015-05-27 23:39:35 (GMT) |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2015-06-12 19:52:51 (GMT) |
commit | af6da31e9c8d25f4be524c2bf97a886071eb4a00 (patch) | |
tree | b73da3579aa31f29ea6d63a8ed37b332d03bc9ce /drivers/gpu/drm | |
parent | 4029755e2a411c72f32b60b37ca8861f21647139 (diff) | |
download | linux-af6da31e9c8d25f4be524c2bf97a886071eb4a00.tar.xz |
drm: omapdrm: Don't flush CRTC when enabling or disabling it
The omap_crtc_flush() call in omap_crtc_enable() and omap_crtc_disable()
is a no-op, as the display manager is always disabled at this point. Just
remove the function call.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/omapdrm/omap_crtc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_crtc.c b/drivers/gpu/drm/omapdrm/omap_crtc.c index 2236f52..701406e 100644 --- a/drivers/gpu/drm/omapdrm/omap_crtc.c +++ b/drivers/gpu/drm/omapdrm/omap_crtc.c @@ -405,8 +405,6 @@ static void omap_crtc_enable(struct drm_crtc *crtc) WARN_ON(omap_plane_setup(plane)); } - omap_crtc_flush(crtc); - drm_crtc_vblank_on(crtc); } @@ -428,8 +426,6 @@ static void omap_crtc_disable(struct drm_crtc *crtc) if (plane->crtc == crtc) WARN_ON(omap_plane_setup(plane)); } - - omap_crtc_flush(crtc); } static void omap_crtc_mode_set_nofb(struct drm_crtc *crtc) |