diff options
author | Alex Waterman <alexw@nvidia.com> | 2017-01-12 21:18:49 -0500 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2017-02-13 21:14:34 -0500 |
commit | b9194a1c3300e505d22fba97136dd305300397f0 (patch) | |
tree | c9c5366fb8dbca742200e2c8f85650ef8cc46859 /drivers/gpu/nvgpu/nvgpu_common.h | |
parent | ed35f0a4042074463bf52ba04583fde680d1d389 (diff) |
gpu: nvgpu: Organize nvgpu_common.[ch]
Move nvgpu_common.c to drivers/gpu/nvgpu/common since it is a common
C file to all drivers.
Similarly move nvgpu_common.h to drivers/gpu/nvgpu/include/nvgpu since
this follows the new include guidelines.
Bug 1799159
Change-Id: I00ebed289973b27704c2cff073526e36505bf699
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/1284612
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/nvgpu_common.h')
-rw-r--r-- | drivers/gpu/nvgpu/nvgpu_common.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/drivers/gpu/nvgpu/nvgpu_common.h b/drivers/gpu/nvgpu/nvgpu_common.h deleted file mode 100644 index 85b4a3df..00000000 --- a/drivers/gpu/nvgpu/nvgpu_common.h +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved. | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify it | ||
5 | * under the terms and conditions of the GNU General Public License, | ||
6 | * version 2, as published by the Free Software Foundation. | ||
7 | * | ||
8 | * This program is distributed in the hope it will be useful, but WITHOUT | ||
9 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
10 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
11 | * more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | |||
17 | #ifndef NVGPU_COMMON_H | ||
18 | #define NVGPU_COMMON_H | ||
19 | |||
20 | struct gk20a; | ||
21 | struct class; | ||
22 | |||
23 | int nvgpu_probe(struct gk20a *g, | ||
24 | const char *debugfs_symlink, | ||
25 | const char *interface_name, | ||
26 | struct class *class); | ||
27 | |||
28 | #define NVGPU_REQUEST_FIRMWARE_NO_WARN BIT(0) | ||
29 | #define NVGPU_REQUEST_FIRMWARE_NO_SOC BIT(1) | ||
30 | |||
31 | const struct firmware *nvgpu_request_firmware(struct gk20a *g, | ||
32 | const char *fw_name, | ||
33 | int flags); | ||
34 | |||
35 | #endif | ||