diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2017-02-24 18:16:47 +0100 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2017-03-15 15:28:27 +0100 |
commit | cf92fefd040e6117fbcd4ce2baa9c54ae515e0c6 (patch) | |
tree | 6a6aaf531143b5d87daab71e5e486cbf4f0411fd | |
parent | f9bb7acb9b19a40dbd9d1b89380335dc8e23925f (diff) | |
download | op-kernel-dev-cf92fefd040e6117fbcd4ce2baa9c54ae515e0c6.zip op-kernel-dev-cf92fefd040e6117fbcd4ce2baa9c54ae515e0c6.tar.gz |
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>
-rw-r--r-- | drivers/gpu/drm/imx/imx-drm-core.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/imx/imx-drm-core.c b/drivers/gpu/drm/imx/imx-drm-core.c index 4b7b92a..2566e4d 100644 --- a/drivers/gpu/drm/imx/imx-drm-core.c +++ b/drivers/gpu/drm/imx/imx-drm-core.c @@ -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 = { |