Files
linux-nv-oot/drivers/gpu/drm/tegra/include/drm/tegra_drm-next.h
Mikko Perttunen f6df3cee62 drm/tegra: Add function for accessing user syncpoints from kernel
Add a kernel API allowing other drivers to convert syncpoints
allocated by userspace to respective kernel 'struct host1x_syncpt'
objects while verifying the syncpoint's ownership.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Change-Id: I4368e7405d401bfe57bbd8315f69465effb16330
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2817764
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-04-03 09:18:59 +00:00

14 lines
274 B
C

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* Copyright (c) 2022, NVIDIA Corporation. All rights reserved.
*/
#ifndef __DRM_TEGRA_DRM_H
#define __DRM_TEGRA_DRM_H
#include <linux/types.h>
struct host1x_syncpt *tegra_drm_get_syncpt(int fd, u32 syncpt_id);
#endif