drm/imx: don't wait for vblank and stop calling cleanup_planes in commit_tail
authorPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 24 Feb 2017 17:16:47 +0000 (18:16 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 15 Mar 2017 14:28:27 +0000 (15:28 +0100)
drm_atomic_helper_cleanup_planes only calls the cleanup_fb plane
helpers, which we don't implement as a CMA framebuffer based driver.
There is no reason to wait for vblanks in commit_tail only to do nothing
afterwards.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
drivers/gpu/drm/imx/imx-drm-core.c

index 4b7b92a7bcf7bdeb37aa5af08ecb336148c25d5d..2566e4dbe92ee0a06b068b4400b8089391036763 100644 (file)
@@ -132,10 +132,6 @@ static void imx_drm_atomic_commit_tail(struct drm_atomic_state *state)
        drm_atomic_helper_commit_modeset_enables(dev, state);
 
        drm_atomic_helper_commit_hw_done(state);
-
-       drm_atomic_helper_wait_for_vblanks(dev, state);
-
-       drm_atomic_helper_cleanup_planes(dev, state);
 }
 
 static const struct drm_mode_config_helper_funcs imx_drm_mode_config_helpers = {