summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/nvgpu_gpuid_t19x.h
diff options
context:
space:
mode:
authorSeshendra Gadagottu <sgadagottu@nvidia.com>2016-04-07 19:57:18 -0400
committerKen Adams <kadams@nvidia.com>2016-04-13 11:15:13 -0400
commit55a5c57bc1fd532cc6d041fdfb70d90286894b35 (patch)
tree2c5d2bd6ee19d470b576eaee90a85b99d4235015 /drivers/gpu/nvgpu/nvgpu_gpuid_t19x.h
parent3f26f6955fc6736384e1d56f9ddff2baaa2102a0 (diff)
gpu: nvgpu: gv11b: added initial source code
Bug 1735757 Change-Id: Iea7488551a437afa0dfc005c87ad1b9ab9673b6c Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: http://git-master/r/1122123 GVS: Gerrit_Virtual_Submit Reviewed-by: Ken Adams <kadams@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/nvgpu_gpuid_t19x.h')
-rw-r--r--drivers/gpu/nvgpu/nvgpu_gpuid_t19x.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/nvgpu_gpuid_t19x.h b/drivers/gpu/nvgpu/nvgpu_gpuid_t19x.h
new file mode 100644
index 00000000..d376f3dd
--- /dev/null
+++ b/drivers/gpu/nvgpu/nvgpu_gpuid_t19x.h
@@ -0,0 +1,32 @@
1/*
2 * NVIDIA GPU ID functions, definitions.
3 *
4 * Copyright (c) 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_T19X_H_
16#define _NVGPU_GPUID_T19X_H_
17
18#define NVGPU_GPUID_GV11B \
19 GK20A_GPUID(NVGPU_GPU_ARCH_GV110, NVGPU_GPU_IMPL_GV11B)
20
21#define NVGPU_COMPAT_TEGRA_GV11B "nvidia,g11b"
22#define NVGPU_COMPAT_GENERIC_GV11B "nvidia,generic-gv11b"
23
24#define TEGRA_19x_GPUID NVGPU_GPUID_GV11B
25#define TEGRA_19x_GPUID_HAL gv11b_init_hal
26#define TEGRA_19x_GPU_COMPAT_TEGRA NVGPU_COMPAT_TEGRA_GV11B
27#define TEGRA_19x_GPU_COMPAT_GENERIC NVGPU_COMPAT_GENERIC_GV11B
28struct gpu_ops;
29extern int gv11b_init_hal(struct gk20a *);
30extern struct gk20a_platform t19x_gpu_tegra_platform;
31
32#endif