summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tegra/uapi.h
diff options
context:
space:
mode:
authorMikko Perttunen <mperttunen@nvidia.com>2021-06-10 13:04:53 +0200
committerThierry Reding <treding@nvidia.com>2021-08-10 17:04:05 +0200
commit44e961381354df6db92065be3ba2e608c1838b3e (patch)
treed68f23dd9dbbcefbd907103d0f3315cff3e7fa14 /drivers/gpu/drm/tegra/uapi.h
parentdrm/tegra: Implement syncpoint management UAPI (diff)
downloadlinux-44e961381354df6db92065be3ba2e608c1838b3e.tar.xz
linux-44e961381354df6db92065be3ba2e608c1838b3e.zip
drm/tegra: Implement syncpoint wait UAPI
Implement new syncpoint wait UAPI. This is different from the legacy one in taking an absolute timestamp in line with modern DRM conventions. Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to '')
-rw-r--r--drivers/gpu/drm/tegra/uapi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tegra/uapi.h b/drivers/gpu/drm/tegra/uapi.h
index e4e498facf61..12adad770ad3 100644
--- a/drivers/gpu/drm/tegra/uapi.h
+++ b/drivers/gpu/drm/tegra/uapi.h
@@ -49,6 +49,8 @@ int tegra_drm_ioctl_syncpoint_allocate(struct drm_device *drm, void *data,
struct drm_file *file);
int tegra_drm_ioctl_syncpoint_free(struct drm_device *drm, void *data,
struct drm_file *file);
+int tegra_drm_ioctl_syncpoint_wait(struct drm_device *drm, void *data,
+ struct drm_file *file);
void tegra_drm_uapi_close_file(struct tegra_drm_file *file);
void tegra_drm_mapping_put(struct tegra_drm_mapping *mapping);