diff options
author | Mikko Perttunen <mperttunen@nvidia.com> | 2021-06-10 13:04:53 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2021-08-10 17:04:05 +0200 |
commit | 44e961381354df6db92065be3ba2e608c1838b3e (patch) | |
tree | d68f23dd9dbbcefbd907103d0f3315cff3e7fa14 /drivers/gpu/drm/tegra/uapi.h | |
parent | drm/tegra: Implement syncpoint management UAPI (diff) | |
download | linux-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.h | 2 |
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); |