summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2014-05-08 02:09:49 -0400
committerDan Willemsen <dwillemsen@nvidia.com>2015-03-18 15:09:49 -0400
commit3e5c123862c87e22311c21558178f287f85ecb5d (patch)
treee0bef0d98cf00237fce691e9f2b4cab2901a879b /drivers/gpu/nvgpu/gk20a/mm_gk20a.h
parentdf1852752a3ba9365ae6dca2795af4d43267896d (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.h2
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
286int gk20a_init_mm_support(struct gk20a *g); 286int gk20a_init_mm_support(struct gk20a *g);
287int gk20a_init_mm_setup_sw(struct gk20a *g); 287int gk20a_init_mm_setup_sw(struct gk20a *g);
288int gk20a_init_bar1_vm(struct mm_gk20a *mm);
289int gk20a_init_pmu_vm(struct mm_gk20a *mm);
290 288
291int gk20a_mm_fb_flush(struct gk20a *g); 289int gk20a_mm_fb_flush(struct gk20a *g);
292void gk20a_mm_l2_flush(struct gk20a *g, bool invalidate); 290void gk20a_mm_l2_flush(struct gk20a *g, bool invalidate);