diff options
author | Alex Waterman <alexw@nvidia.com> | 2017-02-07 19:29:51 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-03-02 21:48:41 -0500 |
commit | 76b78b6fdcb0bbed72645aaa85de6013e2b135c3 (patch) | |
tree | def110f0c0b0928651186444a9dab058b510c5bb /drivers/gpu/nvgpu/nvgpu_gpuid_t18x.h | |
parent | f9b2c30b369ba13735e2c0168fd45bb7275bdebd (diff) |
gpu: nvgpu: Remove nvgpu_gpuid_t18x.h
Remove nvgpu_gpuid_t18x.h since this file is now visible. Migrate
the relevant definitions and defines into their expected places and
make the code use the real defines. No longer is hiding t18x specific
stuff necessary.
Bug 1799159
Change-Id: I47fa2392e46fdb7aacc70aeb0cc8c3f5ca0dc22f
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/1300976
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/nvgpu_gpuid_t18x.h')
-rw-r--r-- | drivers/gpu/nvgpu/nvgpu_gpuid_t18x.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/drivers/gpu/nvgpu/nvgpu_gpuid_t18x.h b/drivers/gpu/nvgpu/nvgpu_gpuid_t18x.h deleted file mode 100644 index 84da4b96..00000000 --- a/drivers/gpu/nvgpu/nvgpu_gpuid_t18x.h +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | /* | ||
2 | * NVIDIA GPU ID functions, definitions. | ||
3 | * | ||
4 | * Copyright (c) 2014-2016, NVIDIA CORPORATION. All rights reserved. | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms and conditions of the GNU General Public License, | ||
8 | * version 2, as published by the Free Software Foundation. | ||
9 | * | ||
10 | * This program is distributed in the hope it will be useful, but WITHOUT | ||
11 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
12 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
13 | * more details. | ||
14 | */ | ||
15 | #ifndef _NVGPU_GPUID_T18X_H_ | ||
16 | #define _NVGPU_GPUID_T18X_H_ | ||
17 | |||
18 | #define NVGPU_GPUID_GP10B \ | ||
19 | GK20A_GPUID(NVGPU_GPU_ARCH_GP100, NVGPU_GPU_IMPL_GP10B) | ||
20 | #define NVGPU_GPUID_GP104 \ | ||
21 | GK20A_GPUID(NVGPU_GPU_ARCH_GP100, NVGPU_GPU_IMPL_GP104) | ||
22 | #define NVGPU_GPUID_GP106 \ | ||
23 | GK20A_GPUID(NVGPU_GPU_ARCH_GP100, NVGPU_GPU_IMPL_GP106) | ||
24 | |||
25 | #define NVGPU_COMPAT_TEGRA_GP10B "nvidia,tegra186-gp10b" | ||
26 | #define NVGPU_COMPAT_GENERIC_GP10B "nvidia,generic-gp10b" | ||
27 | |||
28 | #define TEGRA_18x_GPUID NVGPU_GPUID_GP10B | ||
29 | #define TEGRA_18x_GPUID_HAL gp10b_init_hal | ||
30 | #define TEGRA_18x_GPU_COMPAT_TEGRA NVGPU_COMPAT_TEGRA_GP10B | ||
31 | #define TEGRA_18x_GPU_COMPAT_GENERIC NVGPU_COMPAT_GENERIC_GP10B | ||
32 | #define TEGRA_18x_GPUID2 NVGPU_GPUID_GP104 | ||
33 | #define TEGRA_18x_GPUID2_HAL gp106_init_hal | ||
34 | #define TEGRA_18x_GPUID3 NVGPU_GPUID_GP106 | ||
35 | #define TEGRA_18x_GPUID3_HAL gp106_init_hal | ||
36 | struct gpu_ops; | ||
37 | extern int gp10b_init_hal(struct gk20a *); | ||
38 | extern int gp106_init_hal(struct gk20a *); | ||
39 | extern struct gk20a_platform t18x_gpu_tegra_platform; | ||
40 | |||
41 | #ifdef CONFIG_TEGRA_GR_VIRTUALIZATION | ||
42 | #define TEGRA_18x_GPUID_VGPU_HAL vgpu_gp10b_init_hal | ||
43 | extern int vgpu_gp10b_init_hal(struct gk20a *); | ||
44 | #endif | ||
45 | #endif | ||