diff options
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c index 3388a2ff..629423c0 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a.c | |||
@@ -1817,6 +1817,13 @@ int gk20a_init_gpu_characteristics(struct gk20a *g) | |||
1817 | gpu->big_page_size = g->mm.big_page_size; | 1817 | gpu->big_page_size = g->mm.big_page_size; |
1818 | gpu->compression_page_size = g->mm.compression_page_size; | 1818 | gpu->compression_page_size = g->mm.compression_page_size; |
1819 | gpu->pde_coverage_bit_count = g->mm.pde_stride_shift; | 1819 | gpu->pde_coverage_bit_count = g->mm.pde_stride_shift; |
1820 | |||
1821 | gpu->flags = 0; | ||
1822 | |||
1823 | if (IS_ENABLED(CONFIG_TEGRA_GK20A) && | ||
1824 | gk20a_platform_has_syncpoints(g->dev)) | ||
1825 | gpu->flags |= NVHOST_GPU_FLAGS_HAS_SYNCPOINTS; | ||
1826 | |||
1820 | gpu->reserved = 0; | 1827 | gpu->reserved = 0; |
1821 | 1828 | ||
1822 | return 0; | 1829 | return 0; |