summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/platform_tegra.h
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2015-04-30 13:05:34 -0400
committerAlexander Van Brunt <avanbrunt@nvidia.com>2015-05-05 16:59:06 -0400
commit5a5662fffbce050adf59ba4fac60d217b5651f90 (patch)
tree00dca9d73f64ab86a92c4afaed8baaf7955b3575 /drivers/gpu/nvgpu/platform_tegra.h
parentb3a85df53ba844626e477451313ecb2097a34fd0 (diff)
gpu: nvgpu: Export VPR allocator
Export functions for VPR allocation. Bug 1625090 Change-Id: Ief54613402965da3f41d8dd4a463c75729a3941a Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/737847 Reviewed-on: http://git-master/r/738574 Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com> Tested-by: Alexander Van Brunt <avanbrunt@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'drivers/gpu/nvgpu/platform_tegra.h')
-rw-r--r--drivers/gpu/nvgpu/platform_tegra.h31
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
23struct platform_device;
24struct gr_ctx_buffer_desc;
25
26int gk20a_tegra_secure_alloc(struct platform_device *pdev,
27 struct gr_ctx_buffer_desc *desc,
28 size_t size);
29int gk20a_tegra_secure_page_alloc(struct platform_device *pdev);
30
31#endif