summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/vgpu/vgpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/vgpu.c')
-rw-r--r--drivers/gpu/nvgpu/vgpu/vgpu.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/vgpu.c b/drivers/gpu/nvgpu/vgpu/vgpu.c
index 84034b38..f0f05637 100644
--- a/drivers/gpu/nvgpu/vgpu/vgpu.c
+++ b/drivers/gpu/nvgpu/vgpu/vgpu.c
@@ -370,10 +370,8 @@ int vgpu_init_gpu_characteristics(struct gk20a *g)
370 g->gpu_characteristics.map_buffer_batch_limit = 0; 370 g->gpu_characteristics.map_buffer_batch_limit = 0;
371 371
372 /* features vgpu does not support */ 372 /* features vgpu does not support */
373 g->gpu_characteristics.flags &= ~NVGPU_GPU_FLAGS_SUPPORT_CYCLE_STATS; 373 __nvgpu_set_enabled(g, NVGPU_SUPPORT_CYCLE_STATS, false);
374 g->gpu_characteristics.flags &= ~NVGPU_GPU_FLAGS_SUPPORT_MAP_COMPBITS; 374 __nvgpu_set_enabled(g, NVGPU_SUPPORT_RESCHEDULE_RUNLIST, false);
375 g->gpu_characteristics.flags &=
376 ~NVGPU_GPU_FLAGS_SUPPORT_RESCHEDULE_RUNLIST;
377 375
378 return 0; 376 return 0;
379} 377}