summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv11b/ltc_gv11b.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/ltc_gv11b.c')
-rw-r--r--drivers/gpu/nvgpu/gv11b/ltc_gv11b.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/ltc_gv11b.c b/drivers/gpu/nvgpu/gv11b/ltc_gv11b.c
index 32f72208..d7c385a9 100644
--- a/drivers/gpu/nvgpu/gv11b/ltc_gv11b.c
+++ b/drivers/gpu/nvgpu/gv11b/ltc_gv11b.c
@@ -32,7 +32,6 @@
32#include <nvgpu/hw/gv11b/hw_mc_gv11b.h> 32#include <nvgpu/hw/gv11b/hw_mc_gv11b.h>
33#include <nvgpu/hw/gv11b/hw_top_gv11b.h> 33#include <nvgpu/hw/gv11b/hw_top_gv11b.h>
34#include <nvgpu/hw/gv11b/hw_mc_gv11b.h> 34#include <nvgpu/hw/gv11b/hw_mc_gv11b.h>
35#include <nvgpu/hw/gv11b/hw_pri_ringmaster_gv11b.h>
36 35
37#include <nvgpu/utils.h> 36#include <nvgpu/utils.h>
38 37
@@ -62,7 +61,7 @@ void gv11b_ltc_init_fs_state(struct gk20a *g)
62 nvgpu_log_info(g, "initialize gv11b l2"); 61 nvgpu_log_info(g, "initialize gv11b l2");
63 62
64 g->max_ltc_count = gk20a_readl(g, top_num_ltcs_r()); 63 g->max_ltc_count = gk20a_readl(g, top_num_ltcs_r());
65 g->ltc_count = gk20a_readl(g, pri_ringmaster_enum_ltc_r()); 64 g->ltc_count = g->ops.priv_ring.enum_ltc(g);
66 nvgpu_log_info(g, "%u ltcs out of %u", g->ltc_count, g->max_ltc_count); 65 nvgpu_log_info(g, "%u ltcs out of %u", g->ltc_count, g->max_ltc_count);
67 66
68 reg = gk20a_readl(g, ltc_ltcs_ltss_cbc_param_r()); 67 reg = gk20a_readl(g, ltc_ltcs_ltss_cbc_param_r());