mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 10:11:26 +03:00
Add nvcvnas_get_cvsram_base and nvcvnas_get_cvsram_size, Use them in pva_queue.c and nvhost_buffer.c instead of hardcoded values. JIRA EVLR-2273 Change-Id: I3fbec50a2c57220034b25b3a91569ba4aec319f6 Signed-off-by: Damian Halas <dhalas@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1651414 Reviewed-by: Puneet Saxena <puneets@nvidia.com> Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com> Reviewed-by: Nirav Patel <nipatel@nvidia.com>
29 lines
818 B
C
29 lines
818 B
C
/*
|
|
* include/linux/cvnas.h
|
|
*
|
|
* Tegra cvnas driver
|
|
*
|
|
* Copyright (c) 2018, NVIDIA Corporation. All rights reserved.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
* more details.
|
|
*
|
|
*/
|
|
|
|
#ifndef __LINUX_CVNAS_H
|
|
#define __LINUX_CVNAS_H
|
|
|
|
int nvcvnas_busy(void);
|
|
int nvcvnas_idle(void);
|
|
phys_addr_t nvcvnas_get_cvsram_base(void);
|
|
size_t nvcvnas_get_cvsram_size(void);
|
|
|
|
#endif
|