summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/ltc_gm20b.c')
-rw-r--r--drivers/gpu/nvgpu/gm20b/ltc_gm20b.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c b/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c
index a089b59c..10e3ba7f 100644
--- a/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c
@@ -197,7 +197,7 @@ static void gm20b_ltc_init_fs_state(struct gk20a *g)
197 gk20a_writel(g, ltc_ltcs_ltss_intr_r(), reg); 197 gk20a_writel(g, ltc_ltcs_ltss_intr_r(), reg);
198} 198}
199 199
200void gm20b_ltc_isr(struct gk20a *g) 200static void gm20b_ltc_isr(struct gk20a *g)
201{ 201{
202 u32 mc_intr, ltc_intr; 202 u32 mc_intr, ltc_intr;
203 int ltc, slice; 203 int ltc, slice;
@@ -266,7 +266,7 @@ static void gm20b_ltc_g_elpg_flush_locked(struct gk20a *g)
266 "g_elpg_flush too many retries"); 266 "g_elpg_flush too many retries");
267} 267}
268 268
269u32 gm20b_ltc_cbc_fix_config(struct gk20a *g, int base) 269static u32 gm20b_ltc_cbc_fix_config(struct gk20a *g, int base)
270{ 270{
271 u32 val = gk20a_readl(g, ltc_ltcs_ltss_cbc_num_active_ltcs_r()); 271 u32 val = gk20a_readl(g, ltc_ltcs_ltss_cbc_num_active_ltcs_r());
272 if (val == 2) { 272 if (val == 2) {
@@ -282,7 +282,7 @@ u32 gm20b_ltc_cbc_fix_config(struct gk20a *g, int base)
282/* 282/*
283 * Performs a full flush of the L2 cache. 283 * Performs a full flush of the L2 cache.
284 */ 284 */
285void gm20b_flush_ltc(struct gk20a *g) 285static void gm20b_flush_ltc(struct gk20a *g)
286{ 286{
287 u32 op_pending; 287 u32 op_pending;
288 unsigned long now, timeout; 288 unsigned long now, timeout;