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 <absalam@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2029911
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: svc-misra-checker <svc-misra-checker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Abdul Salam
2019-02-28 14:53:02 +05:30
committed by mobile promotions
parent 492b3e05fe
commit b75ff25b5e

View File

@@ -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;
}