mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 02:52:51 +03:00
gpu: nvgpu: User-space managed address space support (gp10b)
Tell gk20a_init_vm() that bar2 VM is kernel-managed. Bug 200077571 Change-Id: I151c540a6dec76238e7959f745cfca280927f2d4 Signed-off-by: Sami Kiminki <skiminki@nvidia.com> Reviewed-on: http://git-master/r/746803 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
This commit is contained in:
committed by
Deepak Nibade
parent
ac335e6fb5
commit
4181fa7185
@@ -76,7 +76,7 @@ static int gb10b_init_bar2_vm(struct gk20a *g)
|
||||
gk20a_dbg_info("bar2 vm size = 0x%x", mm->bar2.aperture_size);
|
||||
gk20a_init_vm(mm, vm, big_page_size, SZ_4K,
|
||||
mm->bar2.aperture_size - SZ_4K,
|
||||
mm->bar2.aperture_size, false, "bar2");
|
||||
mm->bar2.aperture_size, false, false, "bar2");
|
||||
|
||||
/* allocate instance mem for bar2 */
|
||||
err = gk20a_alloc_inst_block(g, inst_block);
|
||||
|
||||
Reference in New Issue
Block a user