[PATCH v2 1/3] drm/exynos: remove to call mixer_wait_for_vblank

Joonyoung Shim jy0922.shim at samsung.com
Fri Jun 12 01:27:14 PDT 2015


The reason waiting vblank is to be power gated and disabled clocks after
dma operation is completed. The dma operation is stopped already before
be power gated and clocks are disabled when mixer is disabled by commit
381be025ac1a6("drm/exynos: stop mixer before gating clocks during
poweroff"). Don't need to wait vblank anymore.

Signed-off-by: Joonyoung Shim <jy0922.shim at samsung.com>
---
 drivers/gpu/drm/exynos/exynos_mixer.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/exynos/exynos_mixer.c b/drivers/gpu/drm/exynos/exynos_mixer.c
index 6bab717..f93f038 100644
--- a/drivers/gpu/drm/exynos/exynos_mixer.c
+++ b/drivers/gpu/drm/exynos/exynos_mixer.c
@@ -1010,7 +1010,6 @@ static void mixer_window_suspend(struct mixer_context *ctx)
 		plane->resume = plane->enabled;
 		mixer_win_disable(ctx->crtc, i);
 	}
-	mixer_wait_for_vblank(ctx->crtc);
 }
 
 static void mixer_window_resume(struct mixer_context *ctx)
-- 
1.9.1



More information about the dri-devel mailing list