diff --git a/drivers/gpu/nvgpu/common/ltc/ltc.c b/drivers/gpu/nvgpu/common/ltc/ltc.c index bb8dce3ad..d5ccc69af 100644 --- a/drivers/gpu/nvgpu/common/ltc/ltc.c +++ b/drivers/gpu/nvgpu/common/ltc/ltc.c @@ -73,6 +73,10 @@ int nvgpu_init_ltc_support(struct gk20a *g) } } + if (g->ops.ltc.ltc_lts_set_mgmt_setup != NULL) { + g->ops.ltc.ltc_lts_set_mgmt_setup(g); + } + if (g->ops.ltc.intr.configure != NULL) { nvgpu_cic_mon_intr_stall_unit_config(g, NVGPU_CIC_INTR_UNIT_LTC, NVGPU_CIC_INTR_ENABLE); diff --git a/drivers/gpu/nvgpu/include/nvgpu/gops/ltc.h b/drivers/gpu/nvgpu/include/nvgpu/gops/ltc.h index e5a7bc884..431703d59 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/gops/ltc.h +++ b/drivers/gpu/nvgpu/include/nvgpu/gops/ltc.h @@ -137,6 +137,7 @@ struct gops_ltc { void (*init_fs_state)(struct gk20a *g); void (*set_enabled)(struct gk20a *g, bool enabled); + void (*ltc_lts_set_mgmt_setup)(struct gk20a *g); #ifdef CONFIG_NVGPU_GRAPHICS void (*set_zbc_color_entry)(struct gk20a *g, u32 *color_val_l2, u32 index); @@ -164,7 +165,6 @@ struct gops_ltc { u32 policy); #if defined(CONFIG_NVGPU_HAL_NON_FUSA) u32 (*pri_shared_addr)(struct gk20a *g, u32 addr); - void (*ltc_lts_set_mgmt_setup)(struct gk20a *g); #endif #endif /** @endcond DOXYGEN_SHOULD_SKIP_THIS */