diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/gr_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/gr_gv11b.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c index c3f19fa2..da683af6 100644 --- a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c | |||
@@ -1688,7 +1688,12 @@ void gr_gv11b_commit_global_attrib_cb(struct gk20a *g, | |||
1688 | void gr_gv11b_init_cyclestats(struct gk20a *g) | 1688 | void gr_gv11b_init_cyclestats(struct gk20a *g) |
1689 | { | 1689 | { |
1690 | #if defined(CONFIG_GK20A_CYCLE_STATS) | 1690 | #if defined(CONFIG_GK20A_CYCLE_STATS) |
1691 | /* TODO: waiting for cycle stats to be implemented for gv11b */ | 1691 | g->gpu_characteristics.flags |= |
1692 | NVGPU_GPU_FLAGS_SUPPORT_CYCLE_STATS; | ||
1693 | g->gpu_characteristics.flags |= | ||
1694 | NVGPU_GPU_FLAGS_SUPPORT_CYCLE_STATS_SNAPSHOT; | ||
1695 | #else | ||
1696 | (void)g; | ||
1692 | #endif | 1697 | #endif |
1693 | } | 1698 | } |
1694 | 1699 | ||