summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c
index 1cad8dcb..39318f66 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.c
@@ -391,7 +391,7 @@ int gk20a_finalize_poweron(struct gk20a *g)
391 } 391 }
392 392
393#if defined(CONFIG_TEGRA_GK20A_NVHOST) 393#if defined(CONFIG_TEGRA_GK20A_NVHOST)
394 if (gk20a_platform_has_syncpoints(g) && g->syncpt_unit_size) { 394 if (nvgpu_has_syncpoints(g) && g->syncpt_unit_size) {
395 if (!nvgpu_mem_is_valid(&g->syncpt_mem)) { 395 if (!nvgpu_mem_is_valid(&g->syncpt_mem)) {
396 nr_pages = DIV_ROUND_UP(g->syncpt_unit_size, PAGE_SIZE); 396 nr_pages = DIV_ROUND_UP(g->syncpt_unit_size, PAGE_SIZE);
397 __nvgpu_mem_create_from_phys(g, &g->syncpt_mem, 397 __nvgpu_mem_create_from_phys(g, &g->syncpt_mem,
@@ -461,10 +461,6 @@ int gk20a_init_gpu_characteristics(struct gk20a *g)
461 __nvgpu_set_enabled(g, NVGPU_SUPPORT_SPARSE_ALLOCS, true); 461 __nvgpu_set_enabled(g, NVGPU_SUPPORT_SPARSE_ALLOCS, true);
462 } 462 }
463 463
464 if (gk20a_platform_has_syncpoints(g)) {
465 __nvgpu_set_enabled(g, NVGPU_HAS_SYNCPOINTS, true);
466 }
467
468 /* 464 /*
469 * Fast submits are supported as long as the user doesn't request 465 * Fast submits are supported as long as the user doesn't request
470 * anything that depends on job tracking. (Here, fast means strictly no 466 * anything that depends on job tracking. (Here, fast means strictly no