Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

-4
-4
drivers/gpu/drm/imx/imx-drm-core.c
··· 132 132 drm_atomic_helper_commit_modeset_enables(dev, state); 133 133 134 134 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); 139 135 } 140 136 141 137 static const struct drm_mode_config_helper_funcs imx_drm_mode_config_helpers = {