]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/exynos: make sure that overlay data are updated
authorInki Dae <inki.dae@samsung.com>
Thu, 22 Nov 2012 08:41:23 +0000 (17:41 +0900)
committerInki Dae <inki.dae@samsung.com>
Wed, 5 Dec 2012 05:39:19 +0000 (14:39 +0900)
commit1daa892c1df5c329375d791ca169db22f18e5c28
treebfb8c9f267db09f61e5d01a6cba464dded4a1d7e
parent5b07c66059313fc998d28cf6775fd1a8bbb034aa
drm/exynos: make sure that overlay data are updated

Changelog v2:
fix a little bit performance issue to previous patch.
- When drm framebuffer is destroyed, make sure that overlay
  data are updated to real hardwrae for all encoders
  instead of waiting for vblank every page flip request.
  For this, it adds a new function,
  exynos_drm_encoder_complete_scanout function.

Changelog v1:
This patch removes wait_for_vblank call from
exynos_drm_encoder_plane_disable function and move it to
exynos_drm_encoder_plane_commit function.

Disabling dma channel to each plane doens't need vblank
signal to update data to real hardware. But updating
overlay data to real hardware does need vblank signal.

Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_encoder.c
drivers/gpu/drm/exynos/exynos_drm_encoder.h
drivers/gpu/drm/exynos/exynos_drm_fb.c