summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv100/gr_ctx_gv100.c
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2017-10-29 23:17:50 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-11-01 12:36:26 -0400
commit39cc741a02067e00f0003649dcd45285eb4640a5 (patch)
tree11757f38ff649f34a327370f2ed27cf11f0cea30 /drivers/gpu/nvgpu/gv100/gr_ctx_gv100.c
parentd393d3294ff8f1771484435d4edbb61df1e4f433 (diff)
gpu: nvgpu: Add GPU arch and impl to common structure
Add GPU architecture and implementation to a new struct nvgpu_gpu_params which is defined in common header file gk20a/gk20.h. JIRA NVGPU-259 Change-Id: Idde2caded75fcb1e03e95be11f6aa2ec33a0962b Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1588033 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv100/gr_ctx_gv100.c')
-rw-r--r--drivers/gpu/nvgpu/gv100/gr_ctx_gv100.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gv100/gr_ctx_gv100.c b/drivers/gpu/nvgpu/gv100/gr_ctx_gv100.c
index 9f13abce..8b50125e 100644
--- a/drivers/gpu/nvgpu/gv100/gr_ctx_gv100.c
+++ b/drivers/gpu/nvgpu/gv100/gr_ctx_gv100.c
@@ -27,7 +27,7 @@
27 27
28int gr_gv100_get_netlist_name(struct gk20a *g, int index, char *name) 28int gr_gv100_get_netlist_name(struct gk20a *g, int index, char *name)
29{ 29{
30 u32 ver = g->gpu_characteristics.arch + g->gpu_characteristics.impl; 30 u32 ver = g->params.gpu_arch + g->params.gpu_impl;
31 31
32 switch (ver) { 32 switch (ver) {
33 case NVGPU_GPUID_GV100: 33 case NVGPU_GPUID_GV100: