summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/nvgpu/vgpu/ltc_vgpu.c3
-rw-r--r--drivers/gpu/nvgpu/vgpu/vgpu.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/ltc_vgpu.c b/drivers/gpu/nvgpu/vgpu/ltc_vgpu.c
index 76ee5ec9..1adb8b22 100644
--- a/drivers/gpu/nvgpu/vgpu/ltc_vgpu.c
+++ b/drivers/gpu/nvgpu/vgpu/ltc_vgpu.c
@@ -1,7 +1,7 @@
1/* 1/*
2 * Virtualized GPU L2 2 * Virtualized GPU L2
3 * 3 *
4 * Copyright (c) 2014-2015 NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2014-2016 NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it 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, 7 * under the terms and conditions of the GNU General Public License,
@@ -82,4 +82,5 @@ void vgpu_init_ltc_ops(struct gpu_ops *gops)
82 gops->ltc.determine_L2_size_bytes = vgpu_determine_L2_size_bytes; 82 gops->ltc.determine_L2_size_bytes = vgpu_determine_L2_size_bytes;
83 gops->ltc.init_comptags = vgpu_ltc_init_comptags; 83 gops->ltc.init_comptags = vgpu_ltc_init_comptags;
84 gops->ltc.init_fs_state = vgpu_ltc_init_fs_state; 84 gops->ltc.init_fs_state = vgpu_ltc_init_fs_state;
85 gops->ltc.cbc_ctrl = NULL;
85} 86}
diff --git a/drivers/gpu/nvgpu/vgpu/vgpu.c b/drivers/gpu/nvgpu/vgpu/vgpu.c
index 4750d7ee..ab063c9b 100644
--- a/drivers/gpu/nvgpu/vgpu/vgpu.c
+++ b/drivers/gpu/nvgpu/vgpu/vgpu.c
@@ -261,6 +261,7 @@ void vgpu_init_hal_common(struct gk20a *g)
261 vgpu_init_mm_ops(gops); 261 vgpu_init_mm_ops(gops);
262 vgpu_init_debug_ops(gops); 262 vgpu_init_debug_ops(gops);
263 vgpu_init_fecs_trace_ops(gops); 263 vgpu_init_fecs_trace_ops(gops);
264 gops->chip_init_gpu_characteristics = gk20a_init_gpu_characteristics;
264} 265}
265 266
266static int vgpu_init_hal(struct gk20a *g) 267static int vgpu_init_hal(struct gk20a *g)