summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c
index c8e2b19e..76484dd5 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.c
@@ -1842,8 +1842,7 @@ int gk20a_init_gpu_characteristics(struct gk20a *g)
1842 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))
1843 gpu->flags |= NVGPU_GPU_FLAGS_SUPPORT_SPARSE_ALLOCS; 1843 gpu->flags |= NVGPU_GPU_FLAGS_SUPPORT_SPARSE_ALLOCS;
1844 1844
1845 if (IS_ENABLED(CONFIG_TEGRA_GK20A) && 1845 if (gk20a_platform_has_syncpoints(g->dev))
1846 gk20a_platform_has_syncpoints(g->dev))
1847 gpu->flags |= NVGPU_GPU_FLAGS_HAS_SYNCPOINTS; 1846 gpu->flags |= NVGPU_GPU_FLAGS_HAS_SYNCPOINTS;
1848 1847
1849 gpu->flags |= NVGPU_GPU_FLAGS_SUPPORT_USERSPACE_MANAGED_AS; 1848 gpu->flags |= NVGPU_GPU_FLAGS_SUPPORT_USERSPACE_MANAGED_AS;