diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/pmu_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/pmu_gv11b.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/pmu_gv11b.c b/drivers/gpu/nvgpu/gv11b/pmu_gv11b.c index 74ed9165..2c7b6457 100644 --- a/drivers/gpu/nvgpu/gv11b/pmu_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/pmu_gv11b.c | |||
@@ -30,6 +30,7 @@ | |||
30 | #include <nvgpu/pmu.h> | 30 | #include <nvgpu/pmu.h> |
31 | #include <nvgpu/falcon.h> | 31 | #include <nvgpu/falcon.h> |
32 | #include <nvgpu/enabled.h> | 32 | #include <nvgpu/enabled.h> |
33 | #include <nvgpu/mm.h> | ||
33 | 34 | ||
34 | #include "gk20a/gk20a.h" | 35 | #include "gk20a/gk20a.h" |
35 | 36 | ||
@@ -104,7 +105,7 @@ int gv11b_pmu_bootstrap(struct nvgpu_pmu *pmu) | |||
104 | 105 | ||
105 | gk20a_writel(g, pwr_pmu_new_instblk_r(), | 106 | gk20a_writel(g, pwr_pmu_new_instblk_r(), |
106 | pwr_pmu_new_instblk_ptr_f( | 107 | pwr_pmu_new_instblk_ptr_f( |
107 | gk20a_mm_inst_block_addr(g, &mm->pmu.inst_block) >> ALIGN_4KB) | 108 | nvgpu_inst_block_addr(g, &mm->pmu.inst_block) >> ALIGN_4KB) |
108 | | pwr_pmu_new_instblk_valid_f(1) | 109 | | pwr_pmu_new_instblk_valid_f(1) |
109 | | pwr_pmu_new_instblk_target_sys_ncoh_f()); | 110 | | pwr_pmu_new_instblk_target_sys_ncoh_f()); |
110 | 111 | ||