mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
gpu: nvgpu: VM size should be u64
VM size should not depend on CPU architecture. It should be always u64. Change-Id: I81539807f6674877fd04f0079b2bec05b2a0640d Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/562466
This commit is contained in:
committed by
Dan Willemsen
parent
4c12bbce39
commit
fcf4a10799
@@ -2172,7 +2172,7 @@ static int gk20a_init_vm(struct mm_gk20a *mm,
|
|||||||
int err, i;
|
int err, i;
|
||||||
u32 num_pages, low_hole_pages;
|
u32 num_pages, low_hole_pages;
|
||||||
char alloc_name[32];
|
char alloc_name[32];
|
||||||
size_t vma_size;
|
u64 vma_size;
|
||||||
|
|
||||||
/* note: keep the page sizes sorted lowest to highest here */
|
/* note: keep the page sizes sorted lowest to highest here */
|
||||||
u32 gmmu_page_sizes[gmmu_nr_page_sizes] = { SZ_4K, big_page_size };
|
u32 gmmu_page_sizes[gmmu_nr_page_sizes] = { SZ_4K, big_page_size };
|
||||||
|
|||||||
Reference in New Issue
Block a user