From b75ff25b5ef5c63f47d4a5aa49e03a84ae433cfc Mon Sep 17 00:00:00 2001 From: Abdul Salam Date: Thu, 28 Feb 2019 14:53:02 +0530 Subject: [PATCH] gpu: nvgpu: Skip printing VF margin idx Skip printing missing volt and freq margin idx. This spams the console when the idx is missing in vbios. Bug 200492048 Change-Id: If8b552297c9dd5b4d3479e5bdd20e5c9594e9efe Signed-off-by: Abdul Salam Reviewed-on: https://git-master.nvidia.com/r/2029911 Reviewed-by: svc-mobile-coverity Reviewed-by: svc-mobile-misra Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: svc-misra-checker GVS: Gerrit_Virtual_Submit Reviewed-by: Vijayakumar Subbu Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/common/pmu/perf/vfe_equ.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/nvgpu/common/pmu/perf/vfe_equ.c b/drivers/gpu/nvgpu/common/pmu/perf/vfe_equ.c index 23eedcdca..033a8b60f 100644 --- a/drivers/gpu/nvgpu/common/pmu/perf/vfe_equ.c +++ b/drivers/gpu/nvgpu/common/pmu/perf/vfe_equ.c @@ -749,7 +749,6 @@ int nvgpu_vfe_get_volt_margin_limit(struct gk20a *g, u32 *vmargin_uv) vmargin_idx = g->ops.pmu_ver.volt.volt_get_vmargin(g); if (vmargin_idx == 0U) { - nvgpu_info(g, "Skipping volt margin idx"); return 0; } @@ -778,7 +777,6 @@ int nvgpu_vfe_get_freq_margin_limit(struct gk20a *g, u32 *fmargin_mhz) fmargin_idx = pfllobjs->freq_margin_vfe_idx; if (fmargin_idx == 255U) { - nvgpu_info(g, "Skipping freq margin idx"); return 0; }