drm/exynos: implement an optimized page_flip
authorMandeep Singh Baines <msb@chromium.org>
Tue, 4 Sep 2012 19:21:07 +0000 (12:21 -0700)
committerGerrit <chrome-bot@google.com>
Tue, 25 Sep 2012 05:34:02 +0000 (22:34 -0700)
commit16c3c0609f298adba79e4bf290a48fabc2926bea
tree1c5520ee90f4e5b4c9c22fb7b9fba1266c3a49fb
parent77efa3cd65305d7150b439252f643c2ea31c8b23
drm/exynos: implement an optimized page_flip

We want to avoid all the mode_set logic and just update the
dma_addr when page-flipping. This is necessary for the parallel
page_flip support. We want to avoid a having to call
crtc_update (which can fail) and then call commit. We need
a single call (which we call from the kds callback) which cannot
fail.

BUG=chrome-os-partner:12170
TEST=VT switch. Log in/out. Suspend/resume. Web GL. Youtube. HDMI.

Change-Id: I21afa7dd15bbff184c7ae759bb26e23d855af372
Signed-off-by: Mandeep Singh Baines <msb@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/32787
drivers/gpu/drm/exynos/exynos_drm_crtc.c
drivers/gpu/drm/exynos/exynos_drm_drv.h
drivers/gpu/drm/exynos/exynos_drm_encoder.c
drivers/gpu/drm/exynos/exynos_drm_encoder.h
drivers/gpu/drm/exynos/exynos_drm_fimd.c
drivers/gpu/drm/exynos/exynos_drm_hdmi.c
drivers/gpu/drm/exynos/exynos_drm_hdmi.h
drivers/gpu/drm/exynos/exynos_mixer.c