summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/acr_gm20b.c
diff options
context:
space:
mode:
authorMahantesh Kumbar <mkumbar@nvidia.com>2016-05-30 13:24:32 -0400
committerTerje Bergstrom <tbergstrom@nvidia.com>2016-06-01 14:23:27 -0400
commit772761e6f498cd4e9f869c7b57ec2ef70971d197 (patch)
tree05a4649f5ae8eacc583b0ce0fc5622d63495c425 /drivers/gpu/nvgpu/gm20b/acr_gm20b.c
parent37b747ca450a3afa5e7101f3c0d41929f472c721 (diff)
gpu: nvgpu: fixing sparse error/warning
- nvgpu/gm20b/acr_gm20b.c:88:6: warning: symbol 'gm20b_wpr_info' was not declared. Should it be static? - nvgpu/gm20b/acr_gm20b.c:1052:5: warning: symbol 'gm20b_bootstrap_hs_flcn' was not declared. Should it be static? Bug 200067946 Change-Id: I600f06055bd896a88eed5f5549310aa057f86e19 Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com> Reviewed-on: http://git-master/r/1156054 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/acr_gm20b.c')
-rw-r--r--drivers/gpu/nvgpu/gm20b/acr_gm20b.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/acr_gm20b.c b/drivers/gpu/nvgpu/gm20b/acr_gm20b.c
index 1f78749c..18ad818e 100644
--- a/drivers/gpu/nvgpu/gm20b/acr_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/acr_gm20b.c
@@ -65,6 +65,7 @@ static int gm20b_alloc_blob_space(struct gk20a *g,
65 size_t size, struct mem_desc *mem); 65 size_t size, struct mem_desc *mem);
66static bool gm20b_is_priv_load(u32 falcon_id); 66static bool gm20b_is_priv_load(u32 falcon_id);
67static bool gm20b_is_lazy_bootstrap(u32 falcon_id); 67static bool gm20b_is_lazy_bootstrap(u32 falcon_id);
68static void gm20b_wpr_info(struct gk20a *g, u64 *base, u64 *size);
68 69
69/*Globals*/ 70/*Globals*/
70static get_ucode_details pmu_acr_supp_ucode_list[] = { 71static get_ucode_details pmu_acr_supp_ucode_list[] = {
@@ -85,7 +86,7 @@ static void start_gm20b_pmu(struct gk20a *g)
85 pwr_falcon_cpuctl_startcpu_f(1)); 86 pwr_falcon_cpuctl_startcpu_f(1));
86} 87}
87 88
88void gm20b_wpr_info(struct gk20a *g, u64 *base, u64 *size) 89static void gm20b_wpr_info(struct gk20a *g, u64 *base, u64 *size)
89{ 90{
90 struct mc_carveout_info inf; 91 struct mc_carveout_info inf;
91 92
@@ -1049,7 +1050,7 @@ static int lsf_gen_wpr_requirements(struct gk20a *g, struct ls_flcn_mgr *plsfm)
1049 1050
1050/*Loads ACR bin to FB mem and bootstraps PMU with bootloader code 1051/*Loads ACR bin to FB mem and bootstraps PMU with bootloader code
1051 * start and end are addresses of ucode blob in non-WPR region*/ 1052 * start and end are addresses of ucode blob in non-WPR region*/
1052int gm20b_bootstrap_hs_flcn(struct gk20a *g) 1053static int gm20b_bootstrap_hs_flcn(struct gk20a *g)
1053{ 1054{
1054 struct mm_gk20a *mm = &g->mm; 1055 struct mm_gk20a *mm = &g->mm;
1055 struct vm_gk20a *vm = &mm->pmu.vm; 1056 struct vm_gk20a *vm = &mm->pmu.vm;