summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp106/hal_gp106.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/hal_gp106.c')
-rw-r--r--drivers/gpu/nvgpu/gp106/hal_gp106.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp106/hal_gp106.c b/drivers/gpu/nvgpu/gp106/hal_gp106.c
index 0423dcfc..eadeb1b4 100644
--- a/drivers/gpu/nvgpu/gp106/hal_gp106.c
+++ b/drivers/gpu/nvgpu/gp106/hal_gp106.c
@@ -46,6 +46,7 @@
46#include "nvgpu_gpuid_t18x.h" 46#include "nvgpu_gpuid_t18x.h"
47#include "hw_proj_gp106.h" 47#include "hw_proj_gp106.h"
48#include "gk20a/dbg_gpu_gk20a.h" 48#include "gk20a/dbg_gpu_gk20a.h"
49#include "gk20a/css_gr_gk20a.h"
49 50
50static struct gpu_ops gp106_ops = { 51static struct gpu_ops gp106_ops = {
51 .clock_gating = { 52 .clock_gating = {
@@ -207,6 +208,9 @@ int gp106_init_hal(struct gk20a *g)
207 gp10b_init_regops(gops); 208 gp10b_init_regops(gops);
208 gp10b_init_cde_ops(gops); 209 gp10b_init_cde_ops(gops);
209 gk20a_init_tsg_ops(gops); 210 gk20a_init_tsg_ops(gops);
211#if defined(CONFIG_GK20A_CYCLE_STATS)
212 gk20a_init_css_ops(gops);
213#endif
210 gm206_init_bios(gops); 214 gm206_init_bios(gops);
211 gops->name = "gp10x"; 215 gops->name = "gp10x";
212 gops->get_litter_value = gp106_get_litter_value; 216 gops->get_litter_value = gp106_get_litter_value;