mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
nvgpu: gpu: Adding voltage margin
As support for a guaranteed frequency, voltage margin need to be added to the voltage in change seq request. As part of refactoring this part of the code is removed which is needed for guaranteed frequency. Change-Id: Ifcee88939c291fb0c1504ddcf00a568490220e92 Signed-off-by: rmylavarapu <rmylavarapu@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2224155 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-misra <svc-mobile-misra@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:
committed by
Alex Waterman
parent
72fc890f51
commit
d77a8c52a9
@@ -316,6 +316,7 @@ int nvgpu_clk_set_req_fll_clk_ps35(struct gk20a *g,
|
|||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gpcclk_voltuv += vmargin_uv;
|
||||||
status = nvgpu_volt_get_vmin_vmax_ps35(g, &vmin_uv, &vmax_uv);
|
status = nvgpu_volt_get_vmin_vmax_ps35(g, &vmin_uv, &vmax_uv);
|
||||||
if (status != 0) {
|
if (status != 0) {
|
||||||
nvgpu_pmu_dbg(g, "Get vmin,vmax failed, proceeding with "
|
nvgpu_pmu_dbg(g, "Get vmin,vmax failed, proceeding with "
|
||||||
|
|||||||
Reference in New Issue
Block a user