gpu:nvgpu: Move nvgpu_clk_pmupstate into nvgpu_pmu

Moved nvgpu_clk_pmupstate structure from gk20a to
nvgpu_pmu.The aim is to have single pmu structure inside
gk20a, that is "nvgpu_pmu" struct and all the global
structures of all units in PMU should be included in
"nvgpu_pmu" struct.

NVGPU-3220

Change-Id: I531aab568a692c55e640ca2c33aa7508b83a9593
Signed-off-by: rmylavarapu <rmylavarapu@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2104129
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
rmylavarapu
2019-04-24 15:06:35 +05:30
committed by mobile promotions
parent a4357b0354
commit be0eabeb6c
17 changed files with 156 additions and 149 deletions

View File

@@ -131,7 +131,7 @@ static void build_change_seq_boot (struct gk20a *g)
script_last->buf.change.data.flags = CTRL_PERF_CHANGE_SEQ_CHANGE_NONE;
BOARDOBJGRP_FOR_EACH(&(g->clk_pmu->clk_domainobjs->super.super),
BOARDOBJGRP_FOR_EACH(&(g->pmu.clk_pmu->clk_domainobjs->super.super),
struct nvgpu_clk_domain *, pdomain, i) {
p0_info = nvgpu_pmu_perf_pstate_get_clk_set_info(g,