Skip to content

Commit cf92fef

Browse files
committed
drm/imx: don't wait for vblank and stop calling cleanup_planes in commit_tail
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>
1 parent f9bb7ac commit cf92fef

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

‎drivers/gpu/drm/imx/imx-drm-core.c‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,6 @@ static void imx_drm_atomic_commit_tail(struct drm_atomic_state *state)
132132
drm_atomic_helper_commit_modeset_enables(dev, state);
133133

134134
drm_atomic_helper_commit_hw_done(state);
135-
136-
drm_atomic_helper_wait_for_vblanks(dev, state);
137-
138-
drm_atomic_helper_cleanup_planes(dev, state);
139135
}
140136

141137
static const struct drm_mode_config_helper_funcs imx_drm_mode_config_helpers = {

0 commit comments

Comments
 (0)