mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-23 01:31:30 +03:00
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>
14 lines
274 B
C
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
|