summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/include
diff options
context:
space:
mode:
authorDeepak Nibade <dnibade@nvidia.com>2018-09-10 10:18:14 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-09-25 16:57:52 -0400
commitb96a6506d0095ef7271b9fadaba2e0dc6ca33484 (patch)
treed0046293da8b6afc316da9ad16955efb056ff932 /drivers/gpu/nvgpu/include
parent7e1dbd8303f40292cd406671a835764b16153e99 (diff)
gpu: nvgpu: rename PMU perf unit to pmu_perf
Move all files under perf/* to pmu_perf/* since pmu_perf is logically appropriate name for PMU's perf unit Rename perf.c to pmu_perf.c Also rename the HAL from gops.perf to gops.pmu_perf Jira NVGPU-1102 Change-Id: I79e73b8b102ddf6b49783c2f38d861cd43b0b4c6 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1819301 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/gk20a.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/gk20a.h b/drivers/gpu/nvgpu/include/nvgpu/gk20a.h
index 43bc58f7..fa31d0e1 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/gk20a.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/gk20a.h
@@ -72,7 +72,7 @@ struct nvgpu_gpfifo_args;
72#include "gk20a/ce2_gk20a.h" 72#include "gk20a/ce2_gk20a.h"
73#include "gk20a/fifo_gk20a.h" 73#include "gk20a/fifo_gk20a.h"
74#include "clk/clk.h" 74#include "clk/clk.h"
75#include "perf/perf.h" 75#include "pmu_perf/pmu_perf.h"
76#include "pmgr/pmgr.h" 76#include "pmgr/pmgr.h"
77#include "therm/thrm.h" 77#include "therm/thrm.h"
78 78
@@ -1129,7 +1129,7 @@ struct gpu_ops {
1129 } clk_arb; 1129 } clk_arb;
1130 struct { 1130 struct {
1131 int (*handle_pmu_perf_event)(struct gk20a *g, void *pmu_msg); 1131 int (*handle_pmu_perf_event)(struct gk20a *g, void *pmu_msg);
1132 } perf; 1132 } pmu_perf;
1133 struct { 1133 struct {
1134 int (*exec_regops)(struct dbg_session_gk20a *dbg_s, 1134 int (*exec_regops)(struct dbg_session_gk20a *dbg_s,
1135 struct nvgpu_dbg_reg_op *ops, 1135 struct nvgpu_dbg_reg_op *ops,