diff options
Diffstat (limited to 'drivers/gpu/nvgpu/platform_tegra.h')
-rw-r--r-- | drivers/gpu/nvgpu/platform_tegra.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/platform_tegra.h b/drivers/gpu/nvgpu/platform_tegra.h new file mode 100644 index 00000000..6fa13831 --- /dev/null +++ b/drivers/gpu/nvgpu/platform_tegra.h | |||
@@ -0,0 +1,31 @@ | |||
1 | /* | ||
2 | * drivers/video/tegra/host/gk20a/soc/platform_gk20a.h | ||
3 | * | ||
4 | * GK20A Platform (SoC) Interface | ||
5 | * | ||
6 | * Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved. | ||
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify it | ||
9 | * under the terms and conditions of the GNU General Public License, | ||
10 | * version 2, as published by the Free Software Foundation. | ||
11 | * | ||
12 | * This program is distributed in the hope it will be useful, but WITHOUT | ||
13 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
14 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
15 | * more details. | ||
16 | */ | ||
17 | |||
18 | #ifndef _NVGPU_PLATFORM_TEGRA_H_ | ||
19 | #define _NVGPU_PLATFORM_TEGRA_H_ | ||
20 | |||
21 | #include <linux/types.h> | ||
22 | |||
23 | struct platform_device; | ||
24 | struct gr_ctx_buffer_desc; | ||
25 | |||
26 | int gk20a_tegra_secure_alloc(struct platform_device *pdev, | ||
27 | struct gr_ctx_buffer_desc *desc, | ||
28 | size_t size); | ||
29 | int gk20a_tegra_secure_page_alloc(struct platform_device *pdev); | ||
30 | |||
31 | #endif | ||