mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
Port the nvhost driver below from /kernel/nvidia to /kernel/nvidia-oot as OOT modules and switching from using downstream nvhost driver to upstream host1x driver: - capture support driver - nvcsi driver - vi driver - isp driver Change-Id: I31814f202816230029bd8454b8ff58530a96f436 Signed-off-by: Frank Chen <frankc@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2797339 Reviewed-by: Ankur Pawar <ankurp@nvidia.com> Reviewed-by: Shiva Dubey <sdubey@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
31 lines
774 B
C
31 lines
774 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Capture support for syncpoint and GoS management
|
|
*
|
|
* Copyright (c) 2017-2022, NVIDIA Corporation. All rights reserved.
|
|
*/
|
|
|
|
#ifndef _CAPTURE_SUPPORT_H_
|
|
#define _CAPTURE_SUPPORT_H_
|
|
|
|
#include <linux/types.h>
|
|
#include <linux/platform_device.h>
|
|
|
|
int capture_alloc_syncpt(struct platform_device *pdev,
|
|
const char *name,
|
|
uint32_t *syncpt_id);
|
|
|
|
void capture_release_syncpt(struct platform_device *pdev, uint32_t id);
|
|
|
|
void capture_get_gos_table(struct platform_device *pdev,
|
|
int *gos_count,
|
|
const dma_addr_t **gos_table);
|
|
|
|
int capture_get_syncpt_gos_backing(struct platform_device *pdev,
|
|
uint32_t id,
|
|
dma_addr_t *syncpt_addr,
|
|
uint32_t *gos_index,
|
|
uint32_t *gos_offset);
|
|
|
|
#endif /* _CAPTURE_SUPPORT_H_ */
|