summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/nvgpu_gpuid_t19x.h
diff options
context:
space:
mode:
authorDavid Nieto <dmartineznie@nvidia.com>2017-08-04 00:43:50 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-08-11 14:07:17 -0400
commitde8e057f7eebcfe676278826ab457bf86b1b36fd (patch)
tree1e49d8ca9858406296c12ebcee8e9da2ea9969c2 /drivers/gpu/nvgpu/nvgpu_gpuid_t19x.h
parent026d1f8efec6f88a6a910820b761ba1b335edc72 (diff)
gpu: nvgpu: GV100 support
Adds support of GV100 up to devinit. JIRA: EVLR-1693 Change-Id: Ic7aa5f1c20714e05954139f143abb6a3459858fc Signed-off-by: David Nieto <dmartineznie@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1532747 Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/nvgpu_gpuid_t19x.h')
-rw-r--r--drivers/gpu/nvgpu/nvgpu_gpuid_t19x.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/nvgpu_gpuid_t19x.h b/drivers/gpu/nvgpu/nvgpu_gpuid_t19x.h
index 63901445..71841484 100644
--- a/drivers/gpu/nvgpu/nvgpu_gpuid_t19x.h
+++ b/drivers/gpu/nvgpu/nvgpu_gpuid_t19x.h
@@ -17,16 +17,25 @@
17 17
18#define NVGPU_GPUID_GV11B \ 18#define NVGPU_GPUID_GV11B \
19 GK20A_GPUID(NVGPU_GPU_ARCH_GV110, NVGPU_GPU_IMPL_GV11B) 19 GK20A_GPUID(NVGPU_GPU_ARCH_GV110, NVGPU_GPU_IMPL_GV11B)
20#define NVGPU_GPUID_GV100 \
21 GK20A_GPUID(NVGPU_GPU_ARCH_GV100, NVGPU_GPU_IMPL_GV100)
22
20 23
21#define NVGPU_COMPAT_TEGRA_GV11B "nvidia,gv11b" 24#define NVGPU_COMPAT_TEGRA_GV11B "nvidia,gv11b"
22#define NVGPU_COMPAT_GENERIC_GV11B "nvidia,generic-gv11b" 25#define NVGPU_COMPAT_GENERIC_GV11B "nvidia,generic-gv11b"
23 26
27
24#define TEGRA_19x_GPUID NVGPU_GPUID_GV11B 28#define TEGRA_19x_GPUID NVGPU_GPUID_GV11B
25#define TEGRA_19x_GPUID_HAL gv11b_init_hal 29#define TEGRA_19x_GPUID_HAL gv11b_init_hal
26#define TEGRA_19x_GPU_COMPAT_TEGRA NVGPU_COMPAT_TEGRA_GV11B 30#define TEGRA_19x_GPU_COMPAT_TEGRA NVGPU_COMPAT_TEGRA_GV11B
27#define TEGRA_19x_GPU_COMPAT_GENERIC NVGPU_COMPAT_GENERIC_GV11B 31#define TEGRA_19x_GPU_COMPAT_GENERIC NVGPU_COMPAT_GENERIC_GV11B
32
33#define BIGGPU_19x_GPUID NVGPU_GPUID_GV100
34#define BIGGPU_19x_GPUID_HAL gv100_init_hal
35
28struct gpu_ops; 36struct gpu_ops;
29extern int gv11b_init_hal(struct gk20a *); 37extern int gv11b_init_hal(struct gk20a *);
38extern int gv100_init_hal(struct gk20a *);
30extern struct gk20a_platform t19x_gpu_tegra_platform; 39extern struct gk20a_platform t19x_gpu_tegra_platform;
31 40
32#endif 41#endif