gpu: nvgpu: Refactor Clk unit.

As a part of refactoring, need to move clk sw/pmu setup functions
from pmu_pstate unit to clk unit as it belongs there.

In this patch the public API is moved from pmu_pstate to clk unit and
named according to private/public API.

NVGPU-4491

Change-Id: I90a7dc821e3a3633c7ac657b398f90e374663d61
Signed-off-by: Abdul Salam <absalam@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2282937
Reviewed-by: Vaibhav Kachore <vkachore@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
This commit is contained in:
Abdul Salam
2020-01-27 16:56:45 +05:30
committed by Alex Waterman
parent 273ffae939
commit 11b34e891f
21 changed files with 282 additions and 211 deletions

View File

@@ -780,6 +780,7 @@ pmu:
safe: yes
gpu: dgpu
sources: [ common/pmu/clk/clk_fll.c,
common/pmu/clk/clk_fll.h,
include/nvgpu/pmu/clk/clk_fll.h ]
prog:
@@ -793,6 +794,7 @@ pmu:
safe: yes
gpu: dgpu
sources: [ common/pmu/clk/clk_vf_point.c,
common/pmu/clk/clk_vf_point.h,
include/nvgpu/pmu/clk/clk_vf_point.h ]
vin:
safe: yes