]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
drm/exynos: do not wait for vblank at atomic operation
authorInki Dae <inki.dae@samsung.com>
Fri, 19 Jun 2015 11:53:03 +0000 (20:53 +0900)
committerInki Dae <daeinki@gmail.com>
Fri, 19 Jun 2015 15:33:02 +0000 (00:33 +0900)
This patch resolves the issue that refresh rate got low
at extension mode test with fimd and vidi combination.

The problem was because atomic_commit callback waited
for the completion of vblank to gaurantee crtc relevant
registers are updated from shadow registers to real ones.

However, the waiting there is really unnecessary because
page flip operation does already it.

Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_fb.c

index 789db6f29f31676266ecff084e9a64315ae51f17..2b6320e6eae2fa1189693a6f3de159d607d43129 100644 (file)
@@ -295,8 +295,6 @@ static int exynos_atomic_commit(struct drm_device *dev,
 
        drm_atomic_helper_commit_planes(dev, state);
 
-       drm_atomic_helper_wait_for_vblanks(dev, state);
-
        drm_atomic_helper_cleanup_planes(dev, state);
 
        drm_atomic_state_free(state);