mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
gpu: host1x-nvhost: Prepare for removing nvhost_t194.h
Move the function prototypes declared in nvhost_t194.h into nvhost.h so that we can update the necessary drivers and remove nvhost_t194.h completely. Bug 4472097 Change-Id: I1466561cf2ec98b0552bff84c1e45a52a74a3598 Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3283337 Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/* SPDX-FileCopyrightText: Copyright (c) 2009-2024 NVIDIA CORPORATION & AFFILIATES. All Rights Reserved. */
|
||||
/* SPDX-FileCopyrightText: Copyright (c) 2009-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. */
|
||||
|
||||
#ifndef __LINUX_NVHOST_H
|
||||
#define __LINUX_NVHOST_H
|
||||
@@ -222,6 +222,14 @@ int nvhost_syncpt_is_expired_ext(struct platform_device *dev, u32 id,
|
||||
dma_addr_t nvhost_syncpt_address(struct platform_device *engine_pdev, u32 id);
|
||||
int nvhost_syncpt_unit_interface_init(struct platform_device *pdev);
|
||||
void nvhost_syncpt_unit_interface_deinit(struct platform_device *pdev);
|
||||
int nvhost_syncpt_unit_interface_get_aperture(
|
||||
struct platform_device *host_pdev,
|
||||
phys_addr_t *base,
|
||||
size_t *size);
|
||||
u32 nvhost_syncpt_unit_interface_get_byte_offset(u32 syncpt_id);
|
||||
u32 nvhost_syncpt_unit_interface_get_byte_offset_ext(
|
||||
struct platform_device *host_pdev,
|
||||
u32 syncpt_id);
|
||||
|
||||
/* public host1x interrupt management APIs */
|
||||
int nvhost_intr_register_notifier(struct platform_device *pdev,
|
||||
|
||||
@@ -1,20 +1,11 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2017-2024, NVIDIA Corporation. All rights reserved.
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2017-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef __LINUX_NVHOST_T194_H__
|
||||
#define __LINUX_NVHOST_T194_H__
|
||||
|
||||
int nvhost_syncpt_unit_interface_get_aperture(
|
||||
struct platform_device *host_pdev,
|
||||
phys_addr_t *base,
|
||||
size_t *size);
|
||||
|
||||
u32 nvhost_syncpt_unit_interface_get_byte_offset(u32 syncpt_id);
|
||||
|
||||
u32 nvhost_syncpt_unit_interface_get_byte_offset_ext(
|
||||
struct platform_device *host_pdev,
|
||||
u32 syncpt_id);
|
||||
#include <linux/nvhost.h>
|
||||
|
||||
#endif /* __LINUX_NVHOST_T194_H__ */
|
||||
|
||||
Reference in New Issue
Block a user