diff options
Diffstat (limited to 'drivers/gpu/nvgpu/nvgpu_gpuid_t18x.h')
-rw-r--r-- | drivers/gpu/nvgpu/nvgpu_gpuid_t18x.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/nvgpu_gpuid_t18x.h b/drivers/gpu/nvgpu/nvgpu_gpuid_t18x.h new file mode 100644 index 00000000..fe027fb0 --- /dev/null +++ b/drivers/gpu/nvgpu/nvgpu_gpuid_t18x.h | |||
@@ -0,0 +1,30 @@ | |||
1 | /* | ||
2 | * NVIDIA GPU ID functions, definitions. | ||
3 | * | ||
4 | * Copyright (c) 2014, 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 | |||
21 | #define NVGPU_COMPAT_TEGRA_GP10B "nvidia,tegra186-gp10b" | ||
22 | #define NVGPU_COMPAT_GENERIC_GP10B "nvidia,generic-gp10b" | ||
23 | |||
24 | #define TEGRA_18x_GPUID NVGPU_GPUID_GP10B | ||
25 | #define TEGRA_18x_GPUID_HAL gp10b_init_hal | ||
26 | #define TEGRA_18x_GPU_COMPAT_TEGRA NVGPU_COMPAT_TEGRA_GP10B | ||
27 | #define TEGRA_18x_GPU_COMPAT_GENERIC NVGPU_COMPAT_GENERIC_GP10B | ||
28 | struct gpu_ops; | ||
29 | extern int gp10b_init_hal(struct gpu_ops *); | ||
30 | #endif | ||