gpu: host1x: Export host1x_syncpt_read()
authorThierry Reding <treding@nvidia.com>
Wed, 28 Jan 2015 13:29:02 +0000 (14:29 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 2 Apr 2015 16:46:20 +0000 (18:46 +0200)
commitb4a20144e0c0a45431695fa5968ce2ed8c9ce6ca
treeb88e8ff21a35d398d18b1bb7725a80f307c51bfc
parentdab163366a2a0f134cfa13a64ab750945648a18a
gpu: host1x: Export host1x_syncpt_read()

This function is used to read the current value of the syncpt and is
useful in situations where drivers don't schedule work and wait for the
syncpoint to increment. One particular use-case is using the syncpoint
as a VBLANK counter.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/syncpt.c
include/linux/host1x.h