From 6194cfdef52afcb17aa2921685f370e4c5d27819 Mon Sep 17 00:00:00 2001 From: Supriya Date: Tue, 31 Oct 2017 11:54:53 +0530 Subject: gpu: nvgpu: split init_falcon_setup_hw This CL is as part of phased changes to support NO LSPMU Changes done are to add new pmu ops : - setup_apertures - update_lspmu_cmdline_args These would be called from pmu op init_falcon_setup_hw JIRA NVGPU-296 Change-Id: Idbcec5c93ca3150df5c9fb81d65b9fce778cecb8 Signed-off-by: Supriya Reviewed-on: https://git-master.nvidia.com/r/1589004 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Vijayakumar Subbu Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gm20b/hal_gm20b.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'drivers/gpu/nvgpu/gm20b/hal_gm20b.c') diff --git a/drivers/gpu/nvgpu/gm20b/hal_gm20b.c b/drivers/gpu/nvgpu/gm20b/hal_gm20b.c index 779dde3d..920a3e9b 100644 --- a/drivers/gpu/nvgpu/gm20b/hal_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/hal_gm20b.c @@ -660,6 +660,9 @@ int gm20b_init_hal(struct gk20a *g) gops->pmu.falcon_clear_halt_interrupt_status = clear_halt_interrupt_status; gops->pmu.init_falcon_setup_hw = gm20b_init_pmu_setup_hw1; + gops->pmu.update_lspmu_cmdline_args = + gm20b_update_lspmu_cmdline_args; + gops->pmu.setup_apertures = gm20b_setup_apertures; gops->pmu.init_wpr_region = gm20b_pmu_init_acr; gops->pmu.load_lsfalcon_ucode = gm20b_load_falcon_ucode; -- cgit v1.2.2