diff --git a/include/linux/nvhost.h b/include/linux/nvhost.h index 3a4d9fbc..8054cca3 100644 --- a/include/linux/nvhost.h +++ b/include/linux/nvhost.h @@ -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, diff --git a/include/linux/nvhost_t194.h b/include/linux/nvhost_t194.h index 34837b9d..3812e827 100644 --- a/include/linux/nvhost_t194.h +++ b/include/linux/nvhost_t194.h @@ -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 #endif /* __LINUX_NVHOST_T194_H__ */