summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/os/linux/driver_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/os/linux/driver_common.c')
-rw-r--r--drivers/gpu/nvgpu/os/linux/driver_common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/driver_common.c b/drivers/gpu/nvgpu/os/linux/driver_common.c
index 539f0559..cf7877e2 100644
--- a/drivers/gpu/nvgpu/os/linux/driver_common.c
+++ b/drivers/gpu/nvgpu/os/linux/driver_common.c
@@ -92,6 +92,8 @@ static void nvgpu_init_vars(struct gk20a *g)
92 92
93 nvgpu_init_list_node(&g->boardobj_head); 93 nvgpu_init_list_node(&g->boardobj_head);
94 nvgpu_init_list_node(&g->boardobjgrp_head); 94 nvgpu_init_list_node(&g->boardobjgrp_head);
95
96 __nvgpu_set_enabled(g, NVGPU_HAS_SYNCPOINTS, platform->has_syncpoints);
95} 97}
96 98
97static void nvgpu_init_gr_vars(struct gk20a *g) 99static void nvgpu_init_gr_vars(struct gk20a *g)
@@ -165,7 +167,6 @@ static void nvgpu_init_pm_vars(struct gk20a *g)
165 167
166 g->aggressive_sync_destroy = platform->aggressive_sync_destroy; 168 g->aggressive_sync_destroy = platform->aggressive_sync_destroy;
167 g->aggressive_sync_destroy_thresh = platform->aggressive_sync_destroy_thresh; 169 g->aggressive_sync_destroy_thresh = platform->aggressive_sync_destroy_thresh;
168 g->has_syncpoints = platform->has_syncpoints;
169#ifdef CONFIG_NVGPU_SUPPORT_CDE 170#ifdef CONFIG_NVGPU_SUPPORT_CDE
170 g->has_cde = platform->has_cde; 171 g->has_cde = platform->has_cde;
171#endif 172#endif