]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4d94940382f792c54f06aeab459c704e8507f7ff
treeb88e8ff21a35d398d18b1bb7725a80f307c51bfc
parent3b450ee18e6f4762d885e248269702daada37ed0
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