summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/fifo_gv11b.c')
-rw-r--r--drivers/gpu/nvgpu/gv11b/fifo_gv11b.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c b/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c
index b8798033..e9830c0e 100644
--- a/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c
+++ b/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c
@@ -61,15 +61,6 @@
61static void gv11b_fifo_init_ramfc_eng_method_buffer(struct gk20a *g, 61static void gv11b_fifo_init_ramfc_eng_method_buffer(struct gk20a *g,
62 struct channel_gk20a *ch, struct nvgpu_mem *mem); 62 struct channel_gk20a *ch, struct nvgpu_mem *mem);
63 63
64static inline void gv11b_usermode_writel(struct gk20a *g, u32 r, u32 v)
65{
66 struct fifo_gk20a *f = &g->fifo;
67 void __iomem *reg = f->t19x.usermode_regs + (r - usermode_cfg0_r());
68
69 writel_relaxed(v, reg);
70 gk20a_dbg(gpu_dbg_reg, "usermode r=0x%x v=0x%x", r, v);
71}
72
73void gv11b_get_tsg_runlist_entry(struct tsg_gk20a *tsg, u32 *runlist) 64void gv11b_get_tsg_runlist_entry(struct tsg_gk20a *tsg, u32 *runlist)
74{ 65{
75 66
@@ -1787,7 +1778,6 @@ int gv11b_init_fifo_setup_hw(struct gk20a *g)
1787{ 1778{
1788 struct fifo_gk20a *f = &g->fifo; 1779 struct fifo_gk20a *f = &g->fifo;
1789 1780
1790 f->t19x.usermode_regs = g->regs + usermode_cfg0_r();
1791 f->t19x.max_subctx_count = 1781 f->t19x.max_subctx_count =
1792 gr_pri_fe_chip_def_info_max_veid_count_init_v(); 1782 gr_pri_fe_chip_def_info_max_veid_count_init_v();
1793 return 0; 1783 return 0;