summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h1
-rw-r--r--drivers/gpu/nvgpu/gk20a/gr_gk20a.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index 09198fa5..f228cce4 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -259,6 +259,7 @@ struct gpu_ops {
259 u32 compute_preempt_mode); 259 u32 compute_preempt_mode);
260 int (*get_preemption_mode_flags)(struct gk20a *g, 260 int (*get_preemption_mode_flags)(struct gk20a *g,
261 struct nvgpu_preemption_modes_rec *preemption_modes_rec); 261 struct nvgpu_preemption_modes_rec *preemption_modes_rec);
262 int (*fuse_override)(struct gk20a *g);
262 } gr; 263 } gr;
263 const char *name; 264 const char *name;
264 struct { 265 struct {
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
index 8b645cc2..c61bb235 100644
--- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
@@ -4740,6 +4740,9 @@ static int gk20a_init_gr_setup_sw(struct gk20a *g)
4740 return 0; 4740 return 0;
4741 } 4741 }
4742 4742
4743 if (g->ops.gr.fuse_override)
4744 g->ops.gr.fuse_override(g);
4745
4743 gr->g = g; 4746 gr->g = g;
4744 4747
4745#if defined(CONFIG_GK20A_CYCLE_STATS) 4748#if defined(CONFIG_GK20A_CYCLE_STATS)