summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv100/gr_ctx_gv100.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/gv100/gr_ctx_gv100.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/gv100/gr_ctx_gv100.h')
-rw-r--r--drivers/gpu/nvgpu/gv100/gr_ctx_gv100.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv100/gr_ctx_gv100.h b/drivers/gpu/nvgpu/gv100/gr_ctx_gv100.h
new file mode 100644
index 00000000..122e750f
--- /dev/null
+++ b/drivers/gpu/nvgpu/gv100/gr_ctx_gv100.h
@@ -0,0 +1,28 @@
1/*
2 * Copyright (c) 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#ifndef __GR_CTX_GV100_H__
17#define __GR_CTX_GV100_H__
18
19#include "gk20a/gr_ctx_gk20a.h"
20#include "nvgpu_gpuid_t19x.h"
21
22/* production netlist, one and only one from below */
23#define GV100_NETLIST_IMAGE_FW_NAME GK20A_NETLIST_IMAGE_D
24
25int gr_gv100_get_netlist_name(struct gk20a *g, int index, char *name);
26bool gr_gv100_is_firmware_defined(void);
27
28#endif /*__GR_CTX_GV100_H__*/