summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorInki Dae <inki.dae@samsung.com>2015-06-19 13:53:03 +0200
committerInki Dae <daeinki@gmail.com>2015-06-19 17:33:02 +0200
commitad533ade869d33f496d96e6aa639a51e9c06e241 (patch)
tree155feed6f398609108b27f2db4c2e31688d54552
parentdrm/exynos: Remove unused vma field of exynos_drm_gem_obj (diff)
downloadlinux-ad533ade869d33f496d96e6aa639a51e9c06e241.tar.xz
linux-ad533ade869d33f496d96e6aa639a51e9c06e241.zip
drm/exynos: do not wait for vblank at atomic operation
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>
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_fb.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_fb.c b/drivers/gpu/drm/exynos/exynos_drm_fb.c
index 789db6f29f31..2b6320e6eae2 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_fb.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_fb.c
@@ -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);