OSDN Git Service

Revert "drm/exynos/decon5433: implement frame counter"
authorInki Dae <inki.dae@samsung.com>
Fri, 5 Oct 2018 02:50:20 +0000 (11:50 +0900)
committerInki Dae <inki.dae@samsung.com>
Mon, 5 Nov 2018 07:37:24 +0000 (16:37 +0900)
commit6ca469e22a30992b4478d2ab88737c70667c1e00
tree1bd763aa2679ace39ae053c24e3a661a3d3bbdfa
parent8727b230f665cadb9349a915c60e6abb18fb083c
Revert "drm/exynos/decon5433: implement frame counter"

This reverts commit 0586feba322e1de05075700eb4b835c8b683e62b

This patch makes it to need get_vblank_counter callback in crtc
to get frame counter from decon driver.

However, drm_dev->max_vblank_count is a member unique to
vendor's DRM driver but in case of ARM DRM, some CRTC devices
don't provide the frame counter value. As a result, this patch
made extension and clone mode not working.

Instead of this patch, we may need separated max_vblank_count
which belongs to each CRTC device, or need to implement frame
counter emulation for them who don't support HW frame counter.

Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos5433_drm_decon.c
drivers/gpu/drm/exynos/exynos_drm_crtc.c
drivers/gpu/drm/exynos/exynos_drm_drv.h