diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2015-03-13 13:30:52 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-04-04 22:00:43 -0400 |
commit | 1eded552869f6957bec7695554752e26391daaee (patch) | |
tree | ec6e28c44af49d97212a2df171d61914e4933bdb /drivers/gpu/nvgpu/gm20b/acr_gm20b.c | |
parent | e9f8cb79f18da8b37e575ad15f57da8e82e8296e (diff) |
gpu: nvgpu: Use gk20a_mem_phys instead of sg_phys
There were still a couple of places using sg_phys directly. Use new
gk20a_mem_phys() to make the code shorter.
Change-Id: I6eb9b14e0c14a27ec39bacd06ab24e31e99769ca
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/717502
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/acr_gm20b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/acr_gm20b.c | 2 |
1 files changed, 1 insertions, 1 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 | ||