diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c index 0b53bffc..c8e2b19e 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a.c | |||
@@ -1834,8 +1834,10 @@ int gk20a_init_gpu_characteristics(struct gk20a *g) | |||
1834 | gpu->available_big_page_sizes |= g->ops.mm.get_big_page_sizes(); | 1834 | gpu->available_big_page_sizes |= g->ops.mm.get_big_page_sizes(); |
1835 | } | 1835 | } |
1836 | 1836 | ||
1837 | gpu->flags = NVGPU_GPU_FLAGS_SUPPORT_PARTIAL_MAPPINGS | 1837 | gpu->flags = NVGPU_GPU_FLAGS_SUPPORT_PARTIAL_MAPPINGS; |
1838 | | NVGPU_GPU_FLAGS_SUPPORT_SYNC_FENCE_FDS; | 1838 | |
1839 | if (IS_ENABLED(CONFIG_SYNC)) | ||
1840 | gpu->flags |= NVGPU_GPU_FLAGS_SUPPORT_SYNC_FENCE_FDS; | ||
1839 | 1841 | ||
1840 | if (g->ops.mm.support_sparse && g->ops.mm.support_sparse(g)) | 1842 | if (g->ops.mm.support_sparse && g->ops.mm.support_sparse(g)) |
1841 | gpu->flags |= NVGPU_GPU_FLAGS_SUPPORT_SPARSE_ALLOCS; | 1843 | gpu->flags |= NVGPU_GPU_FLAGS_SUPPORT_SPARSE_ALLOCS; |