summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/acr_gm20b.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/acr_gm20b.c')
-rw-r--r--drivers/gpu/nvgpu/gm20b/acr_gm20b.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/acr_gm20b.c b/drivers/gpu/nvgpu/gm20b/acr_gm20b.c
index 310a3bc8..f9e2d477 100644
--- a/drivers/gpu/nvgpu/gm20b/acr_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/acr_gm20b.c
@@ -94,8 +94,14 @@ static void gm20b_wpr_info(struct gk20a *g, struct wpr_carveout_info *inf)
94 inf->size = mem_inf.size; 94 inf->size = mem_inf.size;
95} 95}
96 96
97static bool gm20b_is_pmu_supported(struct gk20a *g)
98{
99 return true;
100}
101
97void gm20b_init_secure_pmu(struct gpu_ops *gops) 102void gm20b_init_secure_pmu(struct gpu_ops *gops)
98{ 103{
104 gops->pmu.is_pmu_supported = gm20b_is_pmu_supported;
99 gops->pmu.prepare_ucode = prepare_ucode_blob; 105 gops->pmu.prepare_ucode = prepare_ucode_blob;
100 gops->pmu.pmu_setup_hw_and_bootstrap = gm20b_bootstrap_hs_flcn; 106 gops->pmu.pmu_setup_hw_and_bootstrap = gm20b_bootstrap_hs_flcn;
101 gops->pmu.is_lazy_bootstrap = gm20b_is_lazy_bootstrap; 107 gops->pmu.is_lazy_bootstrap = gm20b_is_lazy_bootstrap;