diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/hal_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/hal_gk20a.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/hal_gk20a.c b/drivers/gpu/nvgpu/gk20a/hal_gk20a.c index 4da7ffad..550dffa6 100644 --- a/drivers/gpu/nvgpu/gk20a/hal_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/hal_gk20a.c | |||
@@ -32,6 +32,7 @@ | |||
32 | #include "hw_proj_gk20a.h" | 32 | #include "hw_proj_gk20a.h" |
33 | #include "tsg_gk20a.h" | 33 | #include "tsg_gk20a.h" |
34 | #include "dbg_gpu_gk20a.h" | 34 | #include "dbg_gpu_gk20a.h" |
35 | #include "css_gr_gk20a.h" | ||
35 | 36 | ||
36 | static struct gpu_ops gk20a_ops = { | 37 | static struct gpu_ops gk20a_ops = { |
37 | .clock_gating = { | 38 | .clock_gating = { |
@@ -157,6 +158,9 @@ int gk20a_init_hal(struct gk20a *g) | |||
157 | gk20a_init_dbg_session_ops(gops); | 158 | gk20a_init_dbg_session_ops(gops); |
158 | gk20a_init_therm_ops(gops); | 159 | gk20a_init_therm_ops(gops); |
159 | gk20a_init_tsg_ops(gops); | 160 | gk20a_init_tsg_ops(gops); |
161 | #if defined(CONFIG_GK20A_CYCLE_STATS) | ||
162 | gk20a_init_css_ops(gops); | ||
163 | #endif | ||
160 | gops->name = "gk20a"; | 164 | gops->name = "gk20a"; |
161 | gops->chip_init_gpu_characteristics = gk20a_init_gpu_characteristics; | 165 | gops->chip_init_gpu_characteristics = gk20a_init_gpu_characteristics; |
162 | gops->get_litter_value = gk20a_get_litter_value; | 166 | gops->get_litter_value = gk20a_get_litter_value; |