summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/hal_gm20b.c')
-rw-r--r--drivers/gpu/nvgpu/gm20b/hal_gm20b.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/hal_gm20b.c b/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
index 34e3b605..e30ca96f 100644
--- a/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
@@ -36,6 +36,7 @@
36#include "therm_gm20b.h" 36#include "therm_gm20b.h"
37#include "hw_proj_gm20b.h" 37#include "hw_proj_gm20b.h"
38#include "gk20a/dbg_gpu_gk20a.h" 38#include "gk20a/dbg_gpu_gk20a.h"
39#include "gk20a/css_gr_gk20a.h"
39 40
40#define FUSE_OPT_PRIV_SEC_DIS_0 0x264 41#define FUSE_OPT_PRIV_SEC_DIS_0 0x264
41#define PRIV_SECURITY_DISABLE 0x01 42#define PRIV_SECURITY_DISABLE 0x01
@@ -226,6 +227,9 @@ int gm20b_init_hal(struct gk20a *g)
226 gm20b_init_cde_ops(gops); 227 gm20b_init_cde_ops(gops);
227 gm20b_init_therm_ops(gops); 228 gm20b_init_therm_ops(gops);
228 gk20a_init_tsg_ops(gops); 229 gk20a_init_tsg_ops(gops);
230#if defined(CONFIG_GK20A_CYCLE_STATS)
231 gk20a_init_css_ops(gops);
232#endif
229 gops->name = "gm20b"; 233 gops->name = "gm20b";
230 gops->chip_init_gpu_characteristics = gk20a_init_gpu_characteristics; 234 gops->chip_init_gpu_characteristics = gk20a_init_gpu_characteristics;
231 gops->get_litter_value = gm20b_get_litter_value; 235 gops->get_litter_value = gm20b_get_litter_value;