diff options
author | Inki Dae <inki.dae@samsung.com> | 2011-10-14 13:29:47 +0900 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-10-18 10:01:18 +0100 |
commit | 8e9cc6a13ac0c6a5a1fef5ca2bda0925832516f3 (patch) | |
tree | 639cc5edeff611de20676d34a7b178583bda12f8 /drivers/gpu/drm/exynos/exynos_drm_crtc.c | |
parent | 19c8b8343d9cb9674fa47103bf2a4abb43757e65 (diff) | |
download | op-kernel-dev-8e9cc6a13ac0c6a5a1fef5ca2bda0925832516f3.zip op-kernel-dev-8e9cc6a13ac0c6a5a1fef5ca2bda0925832516f3.tar.gz |
drm/exynos: fixed overlay updating time at page flip.
buffer addess is set to shadow register and then applied to
real register at vsync front porch time.
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_crtc.c')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_crtc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_crtc.c b/drivers/gpu/drm/exynos/exynos_drm_crtc.c index 654bf3a..0587b52 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_crtc.c +++ b/drivers/gpu/drm/exynos/exynos_drm_crtc.c @@ -78,7 +78,7 @@ struct exynos_drm_crtc { unsigned int pipe; }; -void exynos_drm_crtc_apply(struct drm_crtc *crtc) +static void exynos_drm_crtc_apply(struct drm_crtc *crtc) { struct exynos_drm_crtc *exynos_crtc = to_exynos_crtc(crtc); struct exynos_drm_overlay *overlay = &exynos_crtc->overlay; @@ -279,6 +279,8 @@ static int exynos_drm_crtc_page_flip(struct drm_crtc *crtc, goto out; } + exynos_drm_crtc_apply(crtc); + dev_priv->pageflip_event = true; } out: |