diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/gr_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/gr_gv11b.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c index fc894908..59a04d2c 100644 --- a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c | |||
@@ -1684,19 +1684,6 @@ void gr_gv11b_commit_global_attrib_cb(struct gk20a *g, | |||
1684 | gr_gpcs_tpcs_tex_rm_cb_1_valid_true_f(), patch); | 1684 | gr_gpcs_tpcs_tex_rm_cb_1_valid_true_f(), patch); |
1685 | } | 1685 | } |
1686 | 1686 | ||
1687 | |||
1688 | void gr_gv11b_init_cyclestats(struct gk20a *g) | ||
1689 | { | ||
1690 | #if defined(CONFIG_GK20A_CYCLE_STATS) | ||
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; | ||
1697 | #endif | ||
1698 | } | ||
1699 | |||
1700 | void gr_gv11b_set_gpc_tpc_mask(struct gk20a *g, u32 gpc_index) | 1687 | void gr_gv11b_set_gpc_tpc_mask(struct gk20a *g, u32 gpc_index) |
1701 | { | 1688 | { |
1702 | #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 4, 0) | 1689 | #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 4, 0) |