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>
Fri, 28 Sep 2012 01:21:30 +0000 (18:21 -0700)
commit69518a3c650de9186f345a5e7feaddbadfc394d0
tree23a38e285aef3b339da17f7e5bc8112fc6e8f103
parentb07674485c532f07b15a0ac2e666abe8c8cdaf48
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: I41b63bdde0b1a4f2b4cb296b32eb75bde2d5d76b
Signed-off-by: Mandeep Singh Baines <msb@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/34198
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
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