diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c index 05877159..76985994 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a.c | |||
@@ -1887,9 +1887,9 @@ int gk20a_init_gpu_characteristics(struct gk20a *g) | |||
1887 | 1887 | ||
1888 | gpu->bus_type = NVGPU_GPU_BUS_TYPE_AXI; /* always AXI for now */ | 1888 | gpu->bus_type = NVGPU_GPU_BUS_TYPE_AXI; /* always AXI for now */ |
1889 | 1889 | ||
1890 | gpu->big_page_size = g->mm.big_page_size; | 1890 | gpu->big_page_size = g->mm.pmu.vm.big_page_size; |
1891 | gpu->compression_page_size = g->mm.compression_page_size; | 1891 | gpu->compression_page_size = g->mm.pmu.vm.compression_page_size; |
1892 | gpu->pde_coverage_bit_count = g->mm.pde_stride_shift; | 1892 | gpu->pde_coverage_bit_count = g->mm.pmu.vm.pde_stride_shift; |
1893 | 1893 | ||
1894 | gpu->flags = NVGPU_GPU_FLAGS_SUPPORT_PARTIAL_MAPPINGS | 1894 | gpu->flags = NVGPU_GPU_FLAGS_SUPPORT_PARTIAL_MAPPINGS |
1895 | | NVGPU_GPU_FLAGS_SUPPORT_SPARSE_ALLOCS; | 1895 | | NVGPU_GPU_FLAGS_SUPPORT_SPARSE_ALLOCS; |