drm/tegra: dc: Implement hardware VBLANK counter
authorThierry Reding <treding@nvidia.com>
Wed, 28 Jan 2015 13:43:05 +0000 (14:43 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 2 Apr 2015 16:46:21 +0000 (18:46 +0200)
commit42e9ce0523699b3f3383b7c5c0bcc2657a77d0ca
tree6b12a0c8d1152a7ee3e7b670e9236b311a08a8f6
parentb4a20144e0c0a45431695fa5968ce2ed8c9ce6ca
drm/tegra: dc: Implement hardware VBLANK counter

The display controller on Tegra can use syncpoints to count VBLANK
events. syncpoints are 32-bit unsigned integers, so well suited as
VBLANK counters.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/dc.c
drivers/gpu/drm/tegra/dc.h
drivers/gpu/drm/tegra/drm.c
drivers/gpu/drm/tegra/drm.h