tegra: Add syncpoint APIs
authorThierry Reding <treding@nvidia.com>
Fri, 9 Jul 2021 18:45:20 +0000 (20:45 +0200)
committerThierry Reding <treding@nvidia.com>
Wed, 23 Feb 2022 14:40:04 +0000 (15:40 +0100)
commit55bc688f1104c2bf716e58bd11d076fa90d248e4
tree5691a235cbc15bb6d9265a9bd389905b5cde89b0
parent4c18828e16f0f1ce4eabb289980c69090dc29453
tegra: Add syncpoint APIs

These new functions can be used to allocate and free syncpoints, as well
as wait for a syncpoint threshold to be reached. Jobs can also be waited
on if a syncpoint was attached to them.

Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
tegra/job.c
tegra/meson.build
tegra/private.h
tegra/pushbuf.c
tegra/syncpt.c [new file with mode: 0644]
tegra/tegra-symbols.txt
tegra/tegra.h