summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/ltc_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/ltc_common.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/ltc_common.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/ltc_common.c b/drivers/gpu/nvgpu/gk20a/ltc_common.c
index cc0932d9..a4d16b67 100644
--- a/drivers/gpu/nvgpu/gk20a/ltc_common.c
+++ b/drivers/gpu/nvgpu/gk20a/ltc_common.c
@@ -25,20 +25,6 @@
25#include "gr_gk20a.h" 25#include "gr_gk20a.h"
26 26
27/* 27/*
28 * Set the maximum number of ways that can have the "EVIST_LAST" class.
29 */
30static void gk20a_ltc_set_max_ways_evict_last(struct gk20a *g, u32 max_ways)
31{
32 u32 mgmt_reg;
33
34 mgmt_reg = gk20a_readl(g, ltc_ltcs_ltss_tstg_set_mgmt_r()) &
35 ~ltc_ltcs_ltss_tstg_set_mgmt_max_ways_evict_last_f(~0);
36 mgmt_reg |= ltc_ltcs_ltss_tstg_set_mgmt_max_ways_evict_last_f(max_ways);
37
38 gk20a_writel(g, ltc_ltcs_ltss_tstg_set_mgmt_r(), mgmt_reg);
39}
40
41/*
42 * Sets the ZBC color for the passed index. 28 * Sets the ZBC color for the passed index.
43 */ 29 */
44static void gk20a_ltc_set_zbc_color_entry(struct gk20a *g, 30static void gk20a_ltc_set_zbc_color_entry(struct gk20a *g,