summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b')
-rw-r--r--drivers/gpu/nvgpu/gm20b/acr_gm20b.c2
-rw-r--r--drivers/gpu/nvgpu/gm20b/fifo_gm20b.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/acr_gm20b.c b/drivers/gpu/nvgpu/gm20b/acr_gm20b.c
index ecb0f8ab..02706bad 100644
--- a/drivers/gpu/nvgpu/gm20b/acr_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/acr_gm20b.c
@@ -1041,7 +1041,7 @@ static int bl_bootstrap(struct pmu_gk20a *pmu,
1041 pwr_falcon_itfen_ctxen_enable_f()); 1041 pwr_falcon_itfen_ctxen_enable_f());
1042 gk20a_writel(g, pwr_pmu_new_instblk_r(), 1042 gk20a_writel(g, pwr_pmu_new_instblk_r(),
1043 pwr_pmu_new_instblk_ptr_f( 1043 pwr_pmu_new_instblk_ptr_f(
1044 sg_phys(mm->pmu.inst_block.sgt->sgl) >> 12) | 1044 gk20a_mem_phys(&mm->pmu.inst_block) >> 12) |
1045 pwr_pmu_new_instblk_valid_f(1) | 1045 pwr_pmu_new_instblk_valid_f(1) |
1046 pwr_pmu_new_instblk_target_sys_coh_f()); 1046 pwr_pmu_new_instblk_target_sys_coh_f());
1047 1047
diff --git a/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c b/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c
index 10d2a13e..530df04a 100644
--- a/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c
@@ -24,7 +24,7 @@ static void channel_gm20b_bind(struct channel_gk20a *ch_gk20a)
24{ 24{
25 struct gk20a *g = ch_gk20a->g; 25 struct gk20a *g = ch_gk20a->g;
26 26
27 u32 inst_ptr = sg_phys(ch_gk20a->inst_block.sgt->sgl) 27 u32 inst_ptr = gk20a_mem_phys(&ch_gk20a->inst_block)
28 >> ram_in_base_shift_v(); 28 >> ram_in_base_shift_v();
29 29
30 gk20a_dbg_info("bind channel %d inst ptr 0x%08x", 30 gk20a_dbg_info("bind channel %d inst ptr 0x%08x",