summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorSeema Khowala <seemaj@nvidia.com>2017-10-05 13:25:51 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-10-10 12:22:08 -0400
commit6647e5c9569258fbf3db096275a79f86f86ed3a6 (patch)
tree31db4f785bef409ad406ed35b1daebe3d5cc9ea4 /drivers/gpu
parent6fe9bdeb9af81d42d6f5d8edcc98487d3fb155ea (diff)
gpu: nvgpu: gv11b: disable cycle stat
Feature will be enabled after it is verified. To disable cycle stat, do not set NVGPU_GPU_FLAGS_SUPPORT_CYCLE_STATS and NVGPU_GPU_FLAGS_SUPPORT_CYCLE_STATS_SNAPSHOT Bug 200352825 Change-Id: I3f0d58a8095f3a0996964056029c12cff45f0a5b Signed-off-by: Seema Khowala <seemaj@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1573760 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/nvgpu/gv11b/gr_gv11b.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c
index da683af6..c3f19fa2 100644
--- a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c
+++ b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c
@@ -1688,12 +1688,7 @@ void gr_gv11b_commit_global_attrib_cb(struct gk20a *g,
1688void gr_gv11b_init_cyclestats(struct gk20a *g) 1688void gr_gv11b_init_cyclestats(struct gk20a *g)
1689{ 1689{
1690#if defined(CONFIG_GK20A_CYCLE_STATS) 1690#if defined(CONFIG_GK20A_CYCLE_STATS)
1691 g->gpu_characteristics.flags |= 1691 /* TODO: waiting for cycle stats to be implemented for gv11b */
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;
1697#endif 1692#endif
1698} 1693}
1699 1694