summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv11b/gr_ctx_gv11b.h
diff options
context:
space:
mode:
authorSeshendra Gadagottu <sgadagottu@nvidia.com>2016-04-14 16:01:58 -0400
committerTerje Bergstrom <tbergstrom@nvidia.com>2016-04-16 10:48:28 -0400
commitc84ddceda648d6e47828115654ca7745010ec09f (patch)
tree3dcd960110c55f694a16230323e77ac4d008970d /drivers/gpu/nvgpu/gv11b/gr_ctx_gv11b.h
parent07cd80ab096346d64f93b051e80ba43c090deb09 (diff)
gpu: nvgpu: gv11b: sm priv reg related changes
Included all basic ops for gv11b and updated sm related functions to include new priv register addresses. Bug 1735757 Change-Id: Ie48651f918ee97fba00487111e4b28d6c95747f5 Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: http://git-master/r/1126961 GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/gr_ctx_gv11b.h')
-rw-r--r--drivers/gpu/nvgpu/gv11b/gr_ctx_gv11b.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/gr_ctx_gv11b.h b/drivers/gpu/nvgpu/gv11b/gr_ctx_gv11b.h
new file mode 100644
index 00000000..e889e9ab
--- /dev/null
+++ b/drivers/gpu/nvgpu/gv11b/gr_ctx_gv11b.h
@@ -0,0 +1,28 @@
1/*
2 * GV11B Graphics Context
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 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18#ifndef __GR_CTX_GV11B_H__
19#define __GR_CTX_GV11B_H__
20
21#include "gk20a/gr_ctx_gk20a.h"
22
23/* production netlist, one and only one from below */
24#define GV11B_NETLIST_IMAGE_FW_NAME GK20A_NETLIST_IMAGE_A
25
26void gv11b_init_gr_ctx(struct gpu_ops *gops);
27
28#endif /*__GR_CTX_GV11B_H__*/