]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drm/exynos: remove to call mixer_wait_for_vblank
authorJoonyoung Shim <jy0922.shim@samsung.com>
Fri, 12 Jun 2015 08:27:14 +0000 (17:27 +0900)
committerInki Dae <daeinki@gmail.com>
Fri, 19 Jun 2015 15:32:58 +0000 (00:32 +0900)
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@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_mixer.c

index 854b6d8e3db000f30ca54d63d0343d282bea478f..24f0c22ff49500ffe2c457479a753ac470809fa8 100644 (file)
@@ -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)