diff options
author | Seshendra Gadagottu <sgadagottu@nvidia.com> | 2016-04-14 16:01:58 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-04-16 10:48:28 -0400 |
commit | c84ddceda648d6e47828115654ca7745010ec09f (patch) | |
tree | 3dcd960110c55f694a16230323e77ac4d008970d /drivers/gpu/nvgpu/gv11b/ce2_gv11b.c | |
parent | 07cd80ab096346d64f93b051e80ba43c090deb09 (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/ce2_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/ce2_gv11b.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/ce2_gv11b.c b/drivers/gpu/nvgpu/gv11b/ce2_gv11b.c new file mode 100644 index 00000000..d4ba4003 --- /dev/null +++ b/drivers/gpu/nvgpu/gv11b/ce2_gv11b.c | |||
@@ -0,0 +1,28 @@ | |||
1 | /* | ||
2 | * GV11B Graphics Copy Engine (gr host) | ||
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 along with | ||
16 | * this program; if not, write to the Free Software Foundation, Inc., | ||
17 | * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. | ||
18 | */ | ||
19 | |||
20 | #include "gk20a/gk20a.h" /* FERMI and MAXWELL classes defined here */ | ||
21 | #include "hw_ce2_gv11b.h" | ||
22 | #include "gp10b/ce2_gp10b.h" | ||
23 | #include "ce2_gv11b.h" | ||
24 | |||
25 | void gv11b_init_ce2(struct gpu_ops *gops) | ||
26 | { | ||
27 | gp10b_init_ce2(gops); | ||
28 | } | ||