diff options
author | Alex Waterman <alexw@nvidia.com> | 2017-10-06 20:20:12 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-10-24 18:16:49 -0400 |
commit | 0899e11d4bb630381607a0c245f72476e2e9209e (patch) | |
tree | 9ac90c2629e30d9c9e3f8c237f45eab6cd9f386f /drivers/gpu/nvgpu/gv11b/pmu_gv11b.c | |
parent | df4e88a21d51d5e098b66c3094fa91ae633777e5 (diff) |
gpu: nvgpu: Cleanup generic MM code
t19x changes necessary for change in core MM code.
JIRA NVGPU-30
Change-Id: I62f419450c1a33d0826390d7cbb5ad93569f8c89
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1577265
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: David Martinez Nieto <dmartineznie@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
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 | ||