summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/hal.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/hal.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/hal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/hal.c b/drivers/gpu/nvgpu/gk20a/hal.c
index 3535fedd..13e6f374 100644
--- a/drivers/gpu/nvgpu/gk20a/hal.c
+++ b/drivers/gpu/nvgpu/gk20a/hal.c
@@ -36,7 +36,7 @@
36 36
37int gpu_init_hal(struct gk20a *g) 37int gpu_init_hal(struct gk20a *g)
38{ 38{
39 u32 ver = g->gpu_characteristics.arch + g->gpu_characteristics.impl; 39 u32 ver = g->params.gpu_arch + g->params.gpu_impl;
40 switch (ver) { 40 switch (ver) {
41 case GK20A_GPUID_GM20B: 41 case GK20A_GPUID_GM20B:
42 case GK20A_GPUID_GM20B_B: 42 case GK20A_GPUID_GM20B_B: