summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/perf
diff options
context:
space:
mode:
authorMahantesh Kumbar <mkumbar@nvidia.com>2017-05-10 11:05:24 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-06-05 02:05:18 -0400
commit673dd971600b26131c0afdb221e13c080da022fd (patch)
tree7c8416ac2ef61891812773d55c8c8dc61da824aa /drivers/gpu/nvgpu/perf
parent7668ccb2a2e4a8c13d82b427c65be79c725afe08 (diff)
gpu: nvgpu: moved & renamed "struct pmu_gk20a"
- Renamed "struct pmu_gk20a" to "struct nvgpu_pmu" then moved to file "pmu.h" under folder "drivers/gpu/nvgpu/include/nvgpu/" - Included header file "pmu.h" to dependent file & removed "pmu_gk20a.h" include if its usage is not present. - Replaced "struct pmu_gk20a" with "struct nvgpu_pmu" in dependent source & header files. JIRA NVGPU-56 Change-Id: Ia3c606616831027093d5c216959c6a40d7c2632e Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com> Reviewed-on: http://git-master/r/1479209 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/perf')
-rw-r--r--drivers/gpu/nvgpu/perf/perf.c6
-rw-r--r--drivers/gpu/nvgpu/perf/vfe_equ.c1
-rw-r--r--drivers/gpu/nvgpu/perf/vfe_var.c1
3 files changed, 3 insertions, 5 deletions
diff --git a/drivers/gpu/nvgpu/perf/perf.c b/drivers/gpu/nvgpu/perf/perf.c
index 9adcadb6..f07a1ffd 100644
--- a/drivers/gpu/nvgpu/perf/perf.c
+++ b/drivers/gpu/nvgpu/perf/perf.c
@@ -11,13 +11,13 @@
11 * more details. 11 * more details.
12 */ 12 */
13 13
14#include <nvgpu/bug.h>
15#include <nvgpu/pmu.h>
16
14#include "gk20a/gk20a.h" 17#include "gk20a/gk20a.h"
15#include "perf.h" 18#include "perf.h"
16#include "gk20a/pmu_gk20a.h"
17#include "clk/clk_arb.h" 19#include "clk/clk_arb.h"
18 20
19#include <nvgpu/bug.h>
20
21struct perfrpc_pmucmdhandler_params { 21struct perfrpc_pmucmdhandler_params {
22 struct nv_pmu_perf_rpc *prpccall; 22 struct nv_pmu_perf_rpc *prpccall;
23 u32 success; 23 u32 success;
diff --git a/drivers/gpu/nvgpu/perf/vfe_equ.c b/drivers/gpu/nvgpu/perf/vfe_equ.c
index bb443265..bb9939f9 100644
--- a/drivers/gpu/nvgpu/perf/vfe_equ.c
+++ b/drivers/gpu/nvgpu/perf/vfe_equ.c
@@ -20,7 +20,6 @@
20#include "boardobj/boardobjgrp_e255.h" 20#include "boardobj/boardobjgrp_e255.h"
21#include "ctrl/ctrlclk.h" 21#include "ctrl/ctrlclk.h"
22#include "ctrl/ctrlvolt.h" 22#include "ctrl/ctrlvolt.h"
23#include "gk20a/pmu_gk20a.h"
24 23
25static struct vfe_equ *construct_vfe_equ(struct gk20a *g, void *pargs); 24static struct vfe_equ *construct_vfe_equ(struct gk20a *g, void *pargs);
26static u32 devinit_get_vfe_equ_table(struct gk20a *g, 25static u32 devinit_get_vfe_equ_table(struct gk20a *g,
diff --git a/drivers/gpu/nvgpu/perf/vfe_var.c b/drivers/gpu/nvgpu/perf/vfe_var.c
index c1f87c25..f3f8ee02 100644
--- a/drivers/gpu/nvgpu/perf/vfe_var.c
+++ b/drivers/gpu/nvgpu/perf/vfe_var.c
@@ -20,7 +20,6 @@
20#include "boardobj/boardobjgrp_e32.h" 20#include "boardobj/boardobjgrp_e32.h"
21#include "ctrl/ctrlclk.h" 21#include "ctrl/ctrlclk.h"
22#include "ctrl/ctrlvolt.h" 22#include "ctrl/ctrlvolt.h"
23#include "gk20a/pmu_gk20a.h"
24 23
25static u32 devinit_get_vfe_var_table(struct gk20a *g, 24static u32 devinit_get_vfe_var_table(struct gk20a *g,
26 struct vfe_vars *pvarobjs); 25 struct vfe_vars *pvarobjs);