diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2014-05-08 02:09:49 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:09:49 -0400 |
commit | 3e5c123862c87e22311c21558178f287f85ecb5d (patch) | |
tree | e0bef0d98cf00237fce691e9f2b4cab2901a879b /drivers/gpu/nvgpu/gk20a/mm_gk20a.h | |
parent | df1852752a3ba9365ae6dca2795af4d43267896d (diff) |
gpu: nvgpu: Always initialize system vm
PMU, FECS and GPCCS use the same address space. We used to initialize
the address space only if PMU is enabled. Create the system address
space always.
FECS and GPCCS used to have slower bit bang and faster DMA method
for loading ucode. Slower method is needed when FECS and GPCCS do not
have an address space. Remove the slower method as not anymore
needed.
Change-Id: I155619741ecc36aa6bf13a9c1ccb03c7c1330f0a
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/406771
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/mm_gk20a.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h index 4dfc2b7d..c759718e 100644 --- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h | |||
@@ -285,8 +285,6 @@ struct channel_gk20a; | |||
285 | 285 | ||
286 | int gk20a_init_mm_support(struct gk20a *g); | 286 | int gk20a_init_mm_support(struct gk20a *g); |
287 | int gk20a_init_mm_setup_sw(struct gk20a *g); | 287 | int gk20a_init_mm_setup_sw(struct gk20a *g); |
288 | int gk20a_init_bar1_vm(struct mm_gk20a *mm); | ||
289 | int gk20a_init_pmu_vm(struct mm_gk20a *mm); | ||
290 | 288 | ||
291 | int gk20a_mm_fb_flush(struct gk20a *g); | 289 | int gk20a_mm_fb_flush(struct gk20a *g); |
292 | void gk20a_mm_l2_flush(struct gk20a *g, bool invalidate); | 290 | void gk20a_mm_l2_flush(struct gk20a *g, bool invalidate); |